Manipulate Presence
Explore how to manipulate user presence on Slack with Python by using the users.setPresence and users.getPresence endpoints. Learn to authenticate with user tokens and apply OAuth scopes to control active or away status effectively.
We'll cover the following...
We'll cover the following...
Overview
We’ll cover the following endpoints from Slack’s Users API in this lesson.
users.setPresence: This endpoint manually sets user .presence This is a flag with the value of either “auto” or “away”. When it is set to “away” the user is shown as non-active. users.getPresence: This endpoint gets user presence information.
Even though our application can set its presence with our current token, this isn’t that ...