signaller/internal/models/whoami/whoami.go

7 lines
215 B
Go
Raw Permalink Normal View History

2019-07-23 14:37:02 +00:00
package whoami
// https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-account-whoami
type Response struct {
UserID string `json:"user_id"` // Required. The user id that owns the access token.
}