Slack.Web.Presence.set

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

set(presence, optional_params \\ %{})

View Source

Manually set user presence

Required Params

  • presence - Either active or away ex: away

Errors the API can return:

  • invalid_presence - Value passed for presence was invalid.