Slack.Web.Users.set_presence

You're seeing just the function set_presence, go back to Slack.Web.Users module for more information.
Link to this function

set_presence(presence, optional_params \\ %{})

View Source

Manually sets user presence.

Required Params

  • presence - Either auto or away ex: away

Errors the API can return:

  • invalid_presence - Value passed for presence was invalid.