Slack v0.2.1 Slack.User.Profile View Source
Functions for working with user profiles
Link to this section Summary
Link to this section Functions
Link to this function
get(client, query \\ [])
View Sourceget(Slack.Client.t(), Keyword.t()) :: Slack.slack_response()
Get the profile information of a user.
https://api.slack.com/methods/users.profile.get
Examples
Slack.User.Profile.get(client, user: "U1234567890")
Link to this function
set(client, body \\ [])
View Sourceset(Slack.Client.t(), Keyword.t()) :: Slack.slack_response()
Set the profile information of a user.
https://api.slack.com/methods/users.profile.set
Examples
Slack.User.Profile.set(client, user: "U1234567890", name: "Name")