MCPcopy Create free account
hub / github.com/RocketChat/Rocket.Chat.Go.SDK / SetUserAvatar

Method SetUserAvatar

rest/users.go:170–175  ·  view source on GitHub ↗

SetUserAvatar updates a user's avatar being logged in with a user that has permission to do so. Currently only passing an URL is possible. https://rocket.chat/docs/developer-guides/rest-api/users/setavatar/

(userID, username, avatarURL string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

PostMethod · 0.95

Tested by

no test coverage detected