Documentation ¶
Index ¶
- Constants
- func GetRemoteIP(r *http.Request) string
- type AccountData
- type AccountDataCapn
- type AccountDataCapn_List
- type AccountDataCapn_Promise
- type AuthData
- type AuthDataCapn
- func (s AuthDataCapn) HasSession() bool
- func (s AuthDataCapn) HasType() bool
- func (s AuthDataCapn) Session() (string, error)
- func (s AuthDataCapn) SessionBytes() ([]byte, error)
- func (s AuthDataCapn) SetSession(v string) error
- func (s AuthDataCapn) SetType(v string) error
- func (s AuthDataCapn) String() string
- func (s AuthDataCapn) Type() (string, error)
- func (s AuthDataCapn) TypeBytes() ([]byte, error)
- type AuthDataCapn_List
- type AuthDataCapn_Promise
- type AuthDict
- type AuthDictCapn
- func (s AuthDictCapn) HasMac() bool
- func (s AuthDictCapn) HasResponse() bool
- func (s AuthDictCapn) HasSession() bool
- func (s AuthDictCapn) HasType() bool
- func (s AuthDictCapn) Mac() ([]byte, error)
- func (s AuthDictCapn) Response() (string, error)
- func (s AuthDictCapn) ResponseBytes() ([]byte, error)
- func (s AuthDictCapn) Session() (string, error)
- func (s AuthDictCapn) SessionBytes() ([]byte, error)
- func (s AuthDictCapn) SetMac(v []byte) error
- func (s AuthDictCapn) SetResponse(v string) error
- func (s AuthDictCapn) SetSession(v string) error
- func (s AuthDictCapn) SetType(v string) error
- func (s AuthDictCapn) String() string
- func (s AuthDictCapn) Type() (string, error)
- func (s AuthDictCapn) TypeBytes() ([]byte, error)
- type AuthDictCapn_List
- type AuthDictCapn_Promise
- type AuthFlow
- type AuthFlowCapn
- type AuthFlowCapn_List
- type AuthFlowCapn_Promise
- type ConnectionInfo
- type DelDeviceAuthResponse
- type DelDeviceRequest
- type DelDeviceRequestCapn
- func (s DelDeviceRequestCapn) Auth() (DeviceAuthDictCapn, error)
- func (s DelDeviceRequestCapn) DeviceID() (string, error)
- func (s DelDeviceRequestCapn) DeviceIDBytes() ([]byte, error)
- func (s DelDeviceRequestCapn) HasAuth() bool
- func (s DelDeviceRequestCapn) HasDeviceID() bool
- func (s DelDeviceRequestCapn) NewAuth() (DeviceAuthDictCapn, error)
- func (s DelDeviceRequestCapn) SetAuth(v DeviceAuthDictCapn) error
- func (s DelDeviceRequestCapn) SetDeviceID(v string) error
- func (s DelDeviceRequestCapn) String() string
- type DelDeviceRequestCapn_List
- type DelDeviceRequestCapn_Promise
- type DelDevicesByIDRequest
- type DelDevicesByIDRequestCapn
- func (s DelDevicesByIDRequestCapn) Auth() (AuthDataCapn, error)
- func (s DelDevicesByIDRequestCapn) DeviceId() (string, error)
- func (s DelDevicesByIDRequestCapn) DeviceIdBytes() ([]byte, error)
- func (s DelDevicesByIDRequestCapn) HasAuth() bool
- func (s DelDevicesByIDRequestCapn) HasDeviceId() bool
- func (s DelDevicesByIDRequestCapn) NewAuth() (AuthDataCapn, error)
- func (s DelDevicesByIDRequestCapn) SetAuth(v AuthDataCapn) error
- func (s DelDevicesByIDRequestCapn) SetDeviceId(v string) error
- func (s DelDevicesByIDRequestCapn) String() string
- type DelDevicesByIDRequestCapn_List
- type DelDevicesByIDRequestCapn_Promise
- type DelDirectoryRoomAliasRequest
- type DelDirectoryRoomAliasRequestCapn
- func NewDelDirectoryRoomAliasRequestCapn(s *capnp.Segment) (DelDirectoryRoomAliasRequestCapn, error)
- func NewRootDelDirectoryRoomAliasRequestCapn(s *capnp.Segment) (DelDirectoryRoomAliasRequestCapn, error)
- func ReadRootDelDirectoryRoomAliasRequestCapn(msg *capnp.Message) (DelDirectoryRoomAliasRequestCapn, error)
- func (s DelDirectoryRoomAliasRequestCapn) HasRoomAlias() bool
- func (s DelDirectoryRoomAliasRequestCapn) RoomAlias() (string, error)
- func (s DelDirectoryRoomAliasRequestCapn) RoomAliasBytes() ([]byte, error)
- func (s DelDirectoryRoomAliasRequestCapn) SetRoomAlias(v string) error
- func (s DelDirectoryRoomAliasRequestCapn) String() string
- type DelDirectoryRoomAliasRequestCapn_List
- type DelDirectoryRoomAliasRequestCapn_Promise
- type DelPushrulesByIDRequest
- type DelPushrulesByIDRequestCapn
- func (s DelPushrulesByIDRequestCapn) HasKind() bool
- func (s DelPushrulesByIDRequestCapn) HasRuleID() bool
- func (s DelPushrulesByIDRequestCapn) HasScope() bool
- func (s DelPushrulesByIDRequestCapn) Kind() (string, error)
- func (s DelPushrulesByIDRequestCapn) KindBytes() ([]byte, error)
- func (s DelPushrulesByIDRequestCapn) RuleID() (string, error)
- func (s DelPushrulesByIDRequestCapn) RuleIDBytes() ([]byte, error)
- func (s DelPushrulesByIDRequestCapn) Scope() (string, error)
- func (s DelPushrulesByIDRequestCapn) ScopeBytes() ([]byte, error)
- func (s DelPushrulesByIDRequestCapn) SetKind(v string) error
- func (s DelPushrulesByIDRequestCapn) SetRuleID(v string) error
- func (s DelPushrulesByIDRequestCapn) SetScope(v string) error
- func (s DelPushrulesByIDRequestCapn) String() string
- type DelPushrulesByIDRequestCapn_List
- type DelPushrulesByIDRequestCapn_Promise
- type DelRoomsTagsByIDRequest
- type DelRoomsTagsByIDRequestCapn
- func (s DelRoomsTagsByIDRequestCapn) HasRoomId() bool
- func (s DelRoomsTagsByIDRequestCapn) HasTag() bool
- func (s DelRoomsTagsByIDRequestCapn) HasUserId() bool
- func (s DelRoomsTagsByIDRequestCapn) RoomId() (string, error)
- func (s DelRoomsTagsByIDRequestCapn) RoomIdBytes() ([]byte, error)
- func (s DelRoomsTagsByIDRequestCapn) SetRoomId(v string) error
- func (s DelRoomsTagsByIDRequestCapn) SetTag(v string) error
- func (s DelRoomsTagsByIDRequestCapn) SetUserId(v string) error
- func (s DelRoomsTagsByIDRequestCapn) String() string
- func (s DelRoomsTagsByIDRequestCapn) Tag() (string, error)
- func (s DelRoomsTagsByIDRequestCapn) TagBytes() ([]byte, error)
- func (s DelRoomsTagsByIDRequestCapn) UserId() (string, error)
- func (s DelRoomsTagsByIDRequestCapn) UserIdBytes() ([]byte, error)
- type DelRoomsTagsByIDRequestCapn_List
- type DelRoomsTagsByIDRequestCapn_Promise
- type DeleteUserInfoRequest
- type Device
- type DeviceAuthDict
- type DeviceAuthDictCapn
- func (s DeviceAuthDictCapn) HasPassword() bool
- func (s DeviceAuthDictCapn) HasSession() bool
- func (s DeviceAuthDictCapn) HasType() bool
- func (s DeviceAuthDictCapn) HasUser() bool
- func (s DeviceAuthDictCapn) Password() (string, error)
- func (s DeviceAuthDictCapn) PasswordBytes() ([]byte, error)
- func (s DeviceAuthDictCapn) Session() (string, error)
- func (s DeviceAuthDictCapn) SessionBytes() ([]byte, error)
- func (s DeviceAuthDictCapn) SetPassword(v string) error
- func (s DeviceAuthDictCapn) SetSession(v string) error
- func (s DeviceAuthDictCapn) SetType(v string) error
- func (s DeviceAuthDictCapn) SetUser(v string) error
- func (s DeviceAuthDictCapn) String() string
- func (s DeviceAuthDictCapn) Type() (string, error)
- func (s DeviceAuthDictCapn) TypeBytes() ([]byte, error)
- func (s DeviceAuthDictCapn) User() (string, error)
- func (s DeviceAuthDictCapn) UserBytes() ([]byte, error)
- type DeviceAuthDictCapn_List
- type DeviceAuthDictCapn_Promise
- type DeviceCapn
- func (s DeviceCapn) DeviceID() (string, error)
- func (s DeviceCapn) DeviceIDBytes() ([]byte, error)
- func (s DeviceCapn) DisplayName() (string, error)
- func (s DeviceCapn) DisplayNameBytes() ([]byte, error)
- func (s DeviceCapn) HasDeviceID() bool
- func (s DeviceCapn) HasDisplayName() bool
- func (s DeviceCapn) HasLastSeenIP() bool
- func (s DeviceCapn) HasUserID() bool
- func (s DeviceCapn) LastSeenIP() (string, error)
- func (s DeviceCapn) LastSeenIPBytes() ([]byte, error)
- func (s DeviceCapn) LastSeenTs() int64
- func (s DeviceCapn) SetDeviceID(v string) error
- func (s DeviceCapn) SetDisplayName(v string) error
- func (s DeviceCapn) SetLastSeenIP(v string) error
- func (s DeviceCapn) SetLastSeenTs(v int64)
- func (s DeviceCapn) SetUserID(v string) error
- func (s DeviceCapn) String() string
- func (s DeviceCapn) UserID() (string, error)
- func (s DeviceCapn) UserIDBytes() ([]byte, error)
- type DeviceCapn_List
- type DeviceCapn_Promise
- type DeviceInfo
- type DeviceKeys
- type DeviceList
- type DeviceListCapn
- type DeviceListCapn_List
- type DeviceListCapn_Promise
- type DeviceLists
- type DeviceListsCapn
- func (s DeviceListsCapn) Changed() (capnp.TextList, error)
- func (s DeviceListsCapn) HasChanged() bool
- func (s DeviceListsCapn) HasLeft() bool
- func (s DeviceListsCapn) Left() (capnp.TextList, error)
- func (s DeviceListsCapn) NewChanged(n int32) (capnp.TextList, error)
- func (s DeviceListsCapn) NewLeft(n int32) (capnp.TextList, error)
- func (s DeviceListsCapn) SetChanged(v capnp.TextList) error
- func (s DeviceListsCapn) SetLeft(v capnp.TextList) error
- func (s DeviceListsCapn) String() string
- type DeviceListsCapn_List
- type DeviceListsCapn_Promise
- type DismissRoomRequest
- type DismissRoomResponse
- type Ephemeral
- type EphemeralCapn
- type EphemeralCapn_List
- type EphemeralCapn_Promise
- type Event
- type EventCapn
- func (s EventCapn) Content() ([]byte, error)
- func (s EventCapn) HasContent() bool
- func (s EventCapn) HasType() bool
- func (s EventCapn) SetContent(v []byte) error
- func (s EventCapn) SetType(v string) error
- func (s EventCapn) String() string
- func (s EventCapn) Type() (string, error)
- func (s EventCapn) TypeBytes() ([]byte, error)
- type EventCapn_List
- type EventCapn_Promise
- type EventContent
- type EventFilter
- type EventFilterCapn
- func (s EventFilterCapn) HasNotSenders() bool
- func (s EventFilterCapn) HasNotTypes() bool
- func (s EventFilterCapn) HasSenders() bool
- func (s EventFilterCapn) HasTypes() bool
- func (s EventFilterCapn) Limit() int64
- func (s EventFilterCapn) NewNotSenders(n int32) (capnp.TextList, error)
- func (s EventFilterCapn) NewNotTypes(n int32) (capnp.TextList, error)
- func (s EventFilterCapn) NewSenders(n int32) (capnp.TextList, error)
- func (s EventFilterCapn) NewTypes(n int32) (capnp.TextList, error)
- func (s EventFilterCapn) NotSenders() (capnp.TextList, error)
- func (s EventFilterCapn) NotTypes() (capnp.TextList, error)
- func (s EventFilterCapn) Senders() (capnp.TextList, error)
- func (s EventFilterCapn) SetLimit(v int64)
- func (s EventFilterCapn) SetNotSenders(v capnp.TextList) error
- func (s EventFilterCapn) SetNotTypes(v capnp.TextList) error
- func (s EventFilterCapn) SetSenders(v capnp.TextList) error
- func (s EventFilterCapn) SetTypes(v capnp.TextList) error
- func (s EventFilterCapn) String() string
- func (s EventFilterCapn) Types() (capnp.TextList, error)
- type EventFilterCapn_List
- type EventFilterCapn_Promise
- type FedJoinEvent
- type FieldsType
- type FilterCapn
- type FilterCapn_List
- type FilterCapn_Promise
- type Flow
- type FlowCapn
- func (s FlowCapn) HasStages() bool
- func (s FlowCapn) HasType() bool
- func (s FlowCapn) NewStages(n int32) (capnp.TextList, error)
- func (s FlowCapn) SetStages(v capnp.TextList) error
- func (s FlowCapn) SetType(v string) error
- func (s FlowCapn) Stages() (capnp.TextList, error)
- func (s FlowCapn) String() string
- func (s FlowCapn) Type() (string, error)
- func (s FlowCapn) TypeBytes() ([]byte, error)
- type FlowCapn_List
- type FlowCapn_Promise
- type Friendship
- type GetAccount3PIDResponse
- type GetAccount3PIDResponseCapn
- func (s GetAccount3PIDResponseCapn) HasThreePIDs() bool
- func (s GetAccount3PIDResponseCapn) NewThreePIDs() (ThirdPartyIdentifierCapn, error)
- func (s GetAccount3PIDResponseCapn) SetThreePIDs(v ThirdPartyIdentifierCapn) error
- func (s GetAccount3PIDResponseCapn) String() string
- func (s GetAccount3PIDResponseCapn) ThreePIDs() (ThirdPartyIdentifierCapn, error)
- type GetAccount3PIDResponseCapn_List
- type GetAccount3PIDResponseCapn_Promise
- type GetAccountWhoAmI
- type GetAccountWhoAmIResponse
- type GetAccountWhoAmIResponseCapn
- func (s GetAccountWhoAmIResponseCapn) HasUserID() bool
- func (s GetAccountWhoAmIResponseCapn) SetUserID(v string) error
- func (s GetAccountWhoAmIResponseCapn) String() string
- func (s GetAccountWhoAmIResponseCapn) UserID() (string, error)
- func (s GetAccountWhoAmIResponseCapn) UserIDBytes() ([]byte, error)
- type GetAccountWhoAmIResponseCapn_List
- type GetAccountWhoAmIResponseCapn_Promise
- type GetAccountWhoAmIRquestCapn
- type GetAccountWhoAmIRquestCapn_List
- type GetAccountWhoAmIRquestCapn_Promise
- type GetAvatarURLRequest
- type GetAvatarURLRequestCapn
- type GetAvatarURLRequestCapn_List
- type GetAvatarURLRequestCapn_Promise
- type GetAvatarURLResponse
- type GetAvatarURLResponseCapn
- type GetAvatarURLResponseCapn_List
- type GetAvatarURLResponseCapn_Promise
- type GetCasLoginRedirectRequest
- type GetCasLoginTickerRequest
- type GetDeviceRequest
- type GetDeviceRequestCapn
- type GetDeviceRequestCapn_List
- type GetDeviceRequestCapn_Promise
- type GetDevicesByIDRequest
- type GetDevicesByIDRequestCapn
- type GetDevicesByIDRequestCapn_List
- type GetDevicesByIDRequestCapn_Promise
- type GetDevicesByIDResponse
- type GetDevicesByIDResponseCapn
- func (s GetDevicesByIDResponseCapn) DeviceID() (string, error)
- func (s GetDevicesByIDResponseCapn) DeviceIDBytes() ([]byte, error)
- func (s GetDevicesByIDResponseCapn) DisplayName() (string, error)
- func (s GetDevicesByIDResponseCapn) DisplayNameBytes() ([]byte, error)
- func (s GetDevicesByIDResponseCapn) HasDeviceID() bool
- func (s GetDevicesByIDResponseCapn) HasDisplayName() bool
- func (s GetDevicesByIDResponseCapn) HasLastSeenIP() bool
- func (s GetDevicesByIDResponseCapn) LastSeenIP() (string, error)
- func (s GetDevicesByIDResponseCapn) LastSeenIPBytes() ([]byte, error)
- func (s GetDevicesByIDResponseCapn) LastSeenTS() int64
- func (s GetDevicesByIDResponseCapn) SetDeviceID(v string) error
- func (s GetDevicesByIDResponseCapn) SetDisplayName(v string) error
- func (s GetDevicesByIDResponseCapn) SetLastSeenIP(v string) error
- func (s GetDevicesByIDResponseCapn) SetLastSeenTS(v int64)
- func (s GetDevicesByIDResponseCapn) String() string
- type GetDevicesByIDResponseCapn_List
- type GetDevicesByIDResponseCapn_Promise
- type GetDevicesResponse
- type GetDevicesResponseCapn
- func (s GetDevicesResponseCapn) Devices() (DeviceCapn_List, error)
- func (s GetDevicesResponseCapn) HasDevices() bool
- func (s GetDevicesResponseCapn) NewDevices(n int32) (DeviceCapn_List, error)
- func (s GetDevicesResponseCapn) SetDevices(v DeviceCapn_List) error
- func (s GetDevicesResponseCapn) String() string
- type GetDevicesResponseCapn_List
- type GetDevicesResponseCapn_Promise
- type GetDirectoryRoomAliasRequest
- type GetDirectoryRoomAliasRequestCapn
- func NewGetDirectoryRoomAliasRequestCapn(s *capnp.Segment) (GetDirectoryRoomAliasRequestCapn, error)
- func NewRootGetDirectoryRoomAliasRequestCapn(s *capnp.Segment) (GetDirectoryRoomAliasRequestCapn, error)
- func ReadRootGetDirectoryRoomAliasRequestCapn(msg *capnp.Message) (GetDirectoryRoomAliasRequestCapn, error)
- func (s GetDirectoryRoomAliasRequestCapn) HasRoomAlias() bool
- func (s GetDirectoryRoomAliasRequestCapn) RoomAlias() (string, error)
- func (s GetDirectoryRoomAliasRequestCapn) RoomAliasBytes() ([]byte, error)
- func (s GetDirectoryRoomAliasRequestCapn) SetRoomAlias(v string) error
- func (s GetDirectoryRoomAliasRequestCapn) String() string
- type GetDirectoryRoomAliasRequestCapn_List
- type GetDirectoryRoomAliasRequestCapn_Promise
- type GetDirectoryRoomAliasResponse
- type GetDirectoryRoomAliasResponseCapn
- func NewGetDirectoryRoomAliasResponseCapn(s *capnp.Segment) (GetDirectoryRoomAliasResponseCapn, error)
- func NewRootGetDirectoryRoomAliasResponseCapn(s *capnp.Segment) (GetDirectoryRoomAliasResponseCapn, error)
- func ReadRootGetDirectoryRoomAliasResponseCapn(msg *capnp.Message) (GetDirectoryRoomAliasResponseCapn, error)
- func (s GetDirectoryRoomAliasResponseCapn) HasRoomID() bool
- func (s GetDirectoryRoomAliasResponseCapn) HasServers() bool
- func (s GetDirectoryRoomAliasResponseCapn) NewServers(n int32) (capnp.TextList, error)
- func (s GetDirectoryRoomAliasResponseCapn) RoomID() (string, error)
- func (s GetDirectoryRoomAliasResponseCapn) RoomIDBytes() ([]byte, error)
- func (s GetDirectoryRoomAliasResponseCapn) Servers() (capnp.TextList, error)
- func (s GetDirectoryRoomAliasResponseCapn) SetRoomID(v string) error
- func (s GetDirectoryRoomAliasResponseCapn) SetServers(v capnp.TextList) error
- func (s GetDirectoryRoomAliasResponseCapn) String() string
- type GetDirectoryRoomAliasResponseCapn_List
- type GetDirectoryRoomAliasResponseCapn_Promise
- type GetDirectoryRoomRequest
- type GetDirectoryRoomRequestCapn
- type GetDirectoryRoomRequestCapn_List
- type GetDirectoryRoomRequestCapn_Promise
- type GetDirectoryRoomResponse
- type GetDirectoryRoomResponseCapn
- func (s GetDirectoryRoomResponseCapn) HasVisibility() bool
- func (s GetDirectoryRoomResponseCapn) SetVisibility(v string) error
- func (s GetDirectoryRoomResponseCapn) String() string
- func (s GetDirectoryRoomResponseCapn) Visibility() (string, error)
- func (s GetDirectoryRoomResponseCapn) VisibilityBytes() ([]byte, error)
- type GetDirectoryRoomResponseCapn_List
- type GetDirectoryRoomResponseCapn_Promise
- type GetDisplayNameRequest
- type GetDisplayNameRequestCapn
- type GetDisplayNameRequestCapn_List
- type GetDisplayNameRequestCapn_Promise
- type GetDisplayNameResponse
- type GetDisplayNameResponseCapn
- func (s GetDisplayNameResponseCapn) DisplayName() (string, error)
- func (s GetDisplayNameResponseCapn) DisplayNameBytes() ([]byte, error)
- func (s GetDisplayNameResponseCapn) HasDisplayName() bool
- func (s GetDisplayNameResponseCapn) SetDisplayName(v string) error
- func (s GetDisplayNameResponseCapn) String() string
- type GetDisplayNameResponseCapn_List
- type GetDisplayNameResponseCapn_Promise
- type GetEventAuthRequest
- type GetEventAuthResponse
- type GetEventByIDRequest
- type GetEventByIDRequestCapn
- type GetEventByIDRequestCapn_List
- type GetEventByIDRequestCapn_Promise
- type GetEventByIDResponse
- type GetEventRequest
- type GetEventResponse
- type GetEventsRequest
- type GetEventsResponse
- type GetFedBackFillRequest
- type GetFedDirectoryRequest
- type GetFedDirectoryResponse
- type GetFedDownloadRequest
- type GetFedDownloadResponse
- type GetFedPublicRoomsRequest
- type GetFedPublicRoomsResponse
- type GetFedRoomStateRequest
- type GetFriendshipRequest
- type GetFriendshipResponse
- type GetFriendshipsRequest
- type GetFriendshipsResponse
- type GetInitialSyncRequest
- type GetInitialSyncRequestCapn
- func (s GetInitialSyncRequestCapn) Archived() bool
- func (s GetInitialSyncRequestCapn) From() (string, error)
- func (s GetInitialSyncRequestCapn) FromBytes() ([]byte, error)
- func (s GetInitialSyncRequestCapn) FullState() (string, error)
- func (s GetInitialSyncRequestCapn) FullStateBytes() ([]byte, error)
- func (s GetInitialSyncRequestCapn) HasFrom() bool
- func (s GetInitialSyncRequestCapn) HasFullState() bool
- func (s GetInitialSyncRequestCapn) HasSetPresence() bool
- func (s GetInitialSyncRequestCapn) HasSince() bool
- func (s GetInitialSyncRequestCapn) Limit() int64
- func (s GetInitialSyncRequestCapn) SetArchived(v bool)
- func (s GetInitialSyncRequestCapn) SetFrom(v string) error
- func (s GetInitialSyncRequestCapn) SetFullState(v string) error
- func (s GetInitialSyncRequestCapn) SetLimit(v int64)
- func (s GetInitialSyncRequestCapn) SetPresence() (string, error)
- func (s GetInitialSyncRequestCapn) SetPresenceBytes() ([]byte, error)
- func (s GetInitialSyncRequestCapn) SetSetPresence(v string) error
- func (s GetInitialSyncRequestCapn) SetSince(v string) error
- func (s GetInitialSyncRequestCapn) SetTimeout(v int64)
- func (s GetInitialSyncRequestCapn) Since() (string, error)
- func (s GetInitialSyncRequestCapn) SinceBytes() ([]byte, error)
- func (s GetInitialSyncRequestCapn) String() string
- func (s GetInitialSyncRequestCapn) Timeout() int64
- type GetInitialSyncRequestCapn_List
- type GetInitialSyncRequestCapn_Promise
- type GetInitialSyncResponse
- type GetJoinedMemberRequest
- type GetJoinedMemberRequestCapn
- type GetJoinedMemberRequestCapn_List
- type GetJoinedMemberRequestCapn_Promise
- type GetJoinedMemberResponse
- type GetJoinedRoomsResponse
- type GetJoinedRoomsResponseCapn
- func (s GetJoinedRoomsResponseCapn) HasJoinedRooms() bool
- func (s GetJoinedRoomsResponseCapn) JoinedRooms() (capnp.TextList, error)
- func (s GetJoinedRoomsResponseCapn) NewJoinedRooms(n int32) (capnp.TextList, error)
- func (s GetJoinedRoomsResponseCapn) SetJoinedRooms(v capnp.TextList) error
- func (s GetJoinedRoomsResponseCapn) String() string
- type GetJoinedRoomsResponseCapn_List
- type GetJoinedRoomsResponseCapn_Promise
- type GetKeysChangesRequest
- type GetKeysChangesRequestCapn
- func (s GetKeysChangesRequestCapn) From() (string, error)
- func (s GetKeysChangesRequestCapn) FromBytes() ([]byte, error)
- func (s GetKeysChangesRequestCapn) HasFrom() bool
- func (s GetKeysChangesRequestCapn) HasTo() bool
- func (s GetKeysChangesRequestCapn) SetFrom(v string) error
- func (s GetKeysChangesRequestCapn) SetTo(v string) error
- func (s GetKeysChangesRequestCapn) String() string
- func (s GetKeysChangesRequestCapn) To() (string, error)
- func (s GetKeysChangesRequestCapn) ToBytes() ([]byte, error)
- type GetKeysChangesRequestCapn_List
- type GetKeysChangesRequestCapn_Promise
- type GetKeysChangesResponse
- type GetKeysChangesResponseCapn
- func (s GetKeysChangesResponseCapn) Changed() (capnp.TextList, error)
- func (s GetKeysChangesResponseCapn) HasChanged() bool
- func (s GetKeysChangesResponseCapn) HasLeft() bool
- func (s GetKeysChangesResponseCapn) Left() (capnp.TextList, error)
- func (s GetKeysChangesResponseCapn) NewChanged(n int32) (capnp.TextList, error)
- func (s GetKeysChangesResponseCapn) NewLeft(n int32) (capnp.TextList, error)
- func (s GetKeysChangesResponseCapn) SetChanged(v capnp.TextList) error
- func (s GetKeysChangesResponseCapn) SetLeft(v capnp.TextList) error
- func (s GetKeysChangesResponseCapn) String() string
- type GetKeysChangesResponseCapn_List
- type GetKeysChangesResponseCapn_Promise
- type GetLoginAdminRequest
- type GetLoginRequest
- type GetLoginRequestCapn
- type GetLoginRequestCapn_List
- type GetLoginRequestCapn_Promise
- type GetLoginResponse
- type GetLoginResponseCapn
- type GetLoginResponseCapn_List
- type GetLoginResponseCapn_Promise
- type GetMakeJoinRequest
- type GetMakeLeaveRequest
- type GetMediaDownloadByFileNameRequest
- type GetMediaDownloadByFileNameRequestCapn
- func NewGetMediaDownloadByFileNameRequestCapn(s *capnp.Segment) (GetMediaDownloadByFileNameRequestCapn, error)
- func NewRootGetMediaDownloadByFileNameRequestCapn(s *capnp.Segment) (GetMediaDownloadByFileNameRequestCapn, error)
- func ReadRootGetMediaDownloadByFileNameRequestCapn(msg *capnp.Message) (GetMediaDownloadByFileNameRequestCapn, error)
- func (s GetMediaDownloadByFileNameRequestCapn) AllowRemote() (string, error)
- func (s GetMediaDownloadByFileNameRequestCapn) AllowRemoteBytes() ([]byte, error)
- func (s GetMediaDownloadByFileNameRequestCapn) FileName() (string, error)
- func (s GetMediaDownloadByFileNameRequestCapn) FileNameBytes() ([]byte, error)
- func (s GetMediaDownloadByFileNameRequestCapn) HasAllowRemote() bool
- func (s GetMediaDownloadByFileNameRequestCapn) HasFileName() bool
- func (s GetMediaDownloadByFileNameRequestCapn) HasMediaID() bool
- func (s GetMediaDownloadByFileNameRequestCapn) HasServerName() bool
- func (s GetMediaDownloadByFileNameRequestCapn) MediaID() (string, error)
- func (s GetMediaDownloadByFileNameRequestCapn) MediaIDBytes() ([]byte, error)
- func (s GetMediaDownloadByFileNameRequestCapn) ServerName() (string, error)
- func (s GetMediaDownloadByFileNameRequestCapn) ServerNameBytes() ([]byte, error)
- func (s GetMediaDownloadByFileNameRequestCapn) SetAllowRemote(v string) error
- func (s GetMediaDownloadByFileNameRequestCapn) SetFileName(v string) error
- func (s GetMediaDownloadByFileNameRequestCapn) SetMediaID(v string) error
- func (s GetMediaDownloadByFileNameRequestCapn) SetServerName(v string) error
- func (s GetMediaDownloadByFileNameRequestCapn) String() string
- type GetMediaDownloadByFileNameRequestCapn_List
- type GetMediaDownloadByFileNameRequestCapn_Promise
- type GetMediaDownloadRequest
- type GetMediaDownloadRequestCapn
- func (s GetMediaDownloadRequestCapn) AllowRemote() (string, error)
- func (s GetMediaDownloadRequestCapn) AllowRemoteBytes() ([]byte, error)
- func (s GetMediaDownloadRequestCapn) HasAllowRemote() bool
- func (s GetMediaDownloadRequestCapn) HasMediaID() bool
- func (s GetMediaDownloadRequestCapn) HasServerName() bool
- func (s GetMediaDownloadRequestCapn) MediaID() (string, error)
- func (s GetMediaDownloadRequestCapn) MediaIDBytes() ([]byte, error)
- func (s GetMediaDownloadRequestCapn) ServerName() (string, error)
- func (s GetMediaDownloadRequestCapn) ServerNameBytes() ([]byte, error)
- func (s GetMediaDownloadRequestCapn) SetAllowRemote(v string) error
- func (s GetMediaDownloadRequestCapn) SetMediaID(v string) error
- func (s GetMediaDownloadRequestCapn) SetServerName(v string) error
- func (s GetMediaDownloadRequestCapn) String() string
- type GetMediaDownloadRequestCapn_List
- type GetMediaDownloadRequestCapn_Promise
- type GetMediaPreviewURLRequest
- type GetMediaPreviewURLRequestCapn
- func (s GetMediaPreviewURLRequestCapn) HasURL() bool
- func (s GetMediaPreviewURLRequestCapn) SetTs(v int64)
- func (s GetMediaPreviewURLRequestCapn) SetURL(v string) error
- func (s GetMediaPreviewURLRequestCapn) String() string
- func (s GetMediaPreviewURLRequestCapn) Ts() int64
- func (s GetMediaPreviewURLRequestCapn) URL() (string, error)
- func (s GetMediaPreviewURLRequestCapn) URLBytes() ([]byte, error)
- type GetMediaPreviewURLRequestCapn_List
- type GetMediaPreviewURLRequestCapn_Promise
- type GetMediaPreviewURLResponse
- type GetMediaPreviewURLResponseCapn
- func NewGetMediaPreviewURLResponseCapn(s *capnp.Segment) (GetMediaPreviewURLResponseCapn, error)
- func NewRootGetMediaPreviewURLResponseCapn(s *capnp.Segment) (GetMediaPreviewURLResponseCapn, error)
- func ReadRootGetMediaPreviewURLResponseCapn(msg *capnp.Message) (GetMediaPreviewURLResponseCapn, error)
- func (s GetMediaPreviewURLResponseCapn) HasImage() bool
- func (s GetMediaPreviewURLResponseCapn) Image() (string, error)
- func (s GetMediaPreviewURLResponseCapn) ImageBytes() ([]byte, error)
- func (s GetMediaPreviewURLResponseCapn) SetImage(v string) error
- func (s GetMediaPreviewURLResponseCapn) SetSize(v int64)
- func (s GetMediaPreviewURLResponseCapn) Size() int64
- func (s GetMediaPreviewURLResponseCapn) String() string
- type GetMediaPreviewURLResponseCapn_List
- type GetMediaPreviewURLResponseCapn_Promise
- type GetMediaThumbnailRequest
- type GetMediaThumbnailRequestCapn
- func (s GetMediaThumbnailRequestCapn) AllowRemote() (string, error)
- func (s GetMediaThumbnailRequestCapn) AllowRemoteBytes() ([]byte, error)
- func (s GetMediaThumbnailRequestCapn) HasAllowRemote() bool
- func (s GetMediaThumbnailRequestCapn) HasMediaID() bool
- func (s GetMediaThumbnailRequestCapn) HasServerName() bool
- func (s GetMediaThumbnailRequestCapn) Height() int64
- func (s GetMediaThumbnailRequestCapn) MediaID() (string, error)
- func (s GetMediaThumbnailRequestCapn) MediaIDBytes() ([]byte, error)
- func (s GetMediaThumbnailRequestCapn) Method() int64
- func (s GetMediaThumbnailRequestCapn) ServerName() (string, error)
- func (s GetMediaThumbnailRequestCapn) ServerNameBytes() ([]byte, error)
- func (s GetMediaThumbnailRequestCapn) SetAllowRemote(v string) error
- func (s GetMediaThumbnailRequestCapn) SetHeight(v int64)
- func (s GetMediaThumbnailRequestCapn) SetMediaID(v string) error
- func (s GetMediaThumbnailRequestCapn) SetMethod(v int64)
- func (s GetMediaThumbnailRequestCapn) SetServerName(v string) error
- func (s GetMediaThumbnailRequestCapn) SetWidth(v int64)
- func (s GetMediaThumbnailRequestCapn) String() string
- func (s GetMediaThumbnailRequestCapn) Width() int64
- type GetMediaThumbnailRequestCapn_List
- type GetMediaThumbnailRequestCapn_Promise
- type GetMissingEventsRequest
- type GetMissingEventsResponse
- type GetNotificationsRequest
- type GetNotificationsRequestCapn
- func (s GetNotificationsRequestCapn) From() (string, error)
- func (s GetNotificationsRequestCapn) FromBytes() ([]byte, error)
- func (s GetNotificationsRequestCapn) HasFrom() bool
- func (s GetNotificationsRequestCapn) HasOnly() bool
- func (s GetNotificationsRequestCapn) Limit() int64
- func (s GetNotificationsRequestCapn) Only() (string, error)
- func (s GetNotificationsRequestCapn) OnlyBytes() ([]byte, error)
- func (s GetNotificationsRequestCapn) SetFrom(v string) error
- func (s GetNotificationsRequestCapn) SetLimit(v int64)
- func (s GetNotificationsRequestCapn) SetOnly(v string) error
- func (s GetNotificationsRequestCapn) String() string
- type GetNotificationsRequestCapn_List
- type GetNotificationsRequestCapn_Promise
- type GetNotificationsResponse
- type GetPresenceListRequest
- type GetPresenceListRequestCapn
- type GetPresenceListRequestCapn_List
- type GetPresenceListRequestCapn_Promise
- type GetPresenceListResponse
- type GetPresenceListResponseCapn
- func (s GetPresenceListResponseCapn) HasPresenceList() bool
- func (s GetPresenceListResponseCapn) NewPresenceList(n int32) (PresenceJSONCapn_List, error)
- func (s GetPresenceListResponseCapn) PresenceList() (PresenceJSONCapn_List, error)
- func (s GetPresenceListResponseCapn) SetPresenceList(v PresenceJSONCapn_List) error
- func (s GetPresenceListResponseCapn) String() string
- type GetPresenceListResponseCapn_List
- type GetPresenceListResponseCapn_Promise
- type GetPresenceRequest
- type GetPresenceRequestCapn
- type GetPresenceRequestCapn_List
- type GetPresenceRequestCapn_Promise
- type GetPresenceResponse
- type GetPresenceResponseCapn
- func (s GetPresenceResponseCapn) CurrentlyActive() bool
- func (s GetPresenceResponseCapn) ExtStatusMsg() (string, error)
- func (s GetPresenceResponseCapn) ExtStatusMsgBytes() ([]byte, error)
- func (s GetPresenceResponseCapn) HasExtStatusMsg() bool
- func (s GetPresenceResponseCapn) HasPresence() bool
- func (s GetPresenceResponseCapn) HasStatusMsg() bool
- func (s GetPresenceResponseCapn) LastActiveAgo() int64
- func (s GetPresenceResponseCapn) Presence() (string, error)
- func (s GetPresenceResponseCapn) PresenceBytes() ([]byte, error)
- func (s GetPresenceResponseCapn) SetCurrentlyActive(v bool)
- func (s GetPresenceResponseCapn) SetExtStatusMsg(v string) error
- func (s GetPresenceResponseCapn) SetLastActiveAgo(v int64)
- func (s GetPresenceResponseCapn) SetPresence(v string) error
- func (s GetPresenceResponseCapn) SetStatusMsg(v string) error
- func (s GetPresenceResponseCapn) StatusMsg() (string, error)
- func (s GetPresenceResponseCapn) StatusMsgBytes() ([]byte, error)
- func (s GetPresenceResponseCapn) String() string
- type GetPresenceResponseCapn_List
- type GetPresenceResponseCapn_Promise
- type GetProfileRequest
- type GetProfileRequestCapn
- type GetProfileRequestCapn_List
- type GetProfileRequestCapn_Promise
- type GetProfileResponse
- type GetProfileResponseCapn
- func (s GetProfileResponseCapn) AvatarURL() (string, error)
- func (s GetProfileResponseCapn) AvatarURLBytes() ([]byte, error)
- func (s GetProfileResponseCapn) DisplayName() (string, error)
- func (s GetProfileResponseCapn) DisplayNameBytes() ([]byte, error)
- func (s GetProfileResponseCapn) HasAvatarURL() bool
- func (s GetProfileResponseCapn) HasDisplayName() bool
- func (s GetProfileResponseCapn) SetAvatarURL(v string) error
- func (s GetProfileResponseCapn) SetDisplayName(v string) error
- func (s GetProfileResponseCapn) String() string
- type GetProfileResponseCapn_List
- type GetProfileResponseCapn_Promise
- type GetProfilesRequest
- type GetProfilesResponse
- type GetPublicRoomsRequest
- type GetPublicRoomsRequestCapn
- func (s GetPublicRoomsRequestCapn) Filter() (FilterCapn, error)
- func (s GetPublicRoomsRequestCapn) HasFilter() bool
- func (s GetPublicRoomsRequestCapn) HasSince() bool
- func (s GetPublicRoomsRequestCapn) Limit() int64
- func (s GetPublicRoomsRequestCapn) NewFilter() (FilterCapn, error)
- func (s GetPublicRoomsRequestCapn) SetFilter(v FilterCapn) error
- func (s GetPublicRoomsRequestCapn) SetLimit(v int64)
- func (s GetPublicRoomsRequestCapn) SetSince(v string) error
- func (s GetPublicRoomsRequestCapn) Since() (string, error)
- func (s GetPublicRoomsRequestCapn) SinceBytes() ([]byte, error)
- func (s GetPublicRoomsRequestCapn) String() string
- type GetPublicRoomsRequestCapn_List
- type GetPublicRoomsRequestCapn_Promise
- type GetPublicRoomsResponse
- type GetPublicRoomsResponseCapn
- func (s GetPublicRoomsResponseCapn) Chunk() (PublicRoomsChunkCapn_List, error)
- func (s GetPublicRoomsResponseCapn) HasChunk() bool
- func (s GetPublicRoomsResponseCapn) HasNextBatch() bool
- func (s GetPublicRoomsResponseCapn) HasPrevBatch() bool
- func (s GetPublicRoomsResponseCapn) NewChunk(n int32) (PublicRoomsChunkCapn_List, error)
- func (s GetPublicRoomsResponseCapn) NextBatch() (string, error)
- func (s GetPublicRoomsResponseCapn) NextBatchBytes() ([]byte, error)
- func (s GetPublicRoomsResponseCapn) PrevBatch() (string, error)
- func (s GetPublicRoomsResponseCapn) PrevBatchBytes() ([]byte, error)
- func (s GetPublicRoomsResponseCapn) SetChunk(v PublicRoomsChunkCapn_List) error
- func (s GetPublicRoomsResponseCapn) SetNextBatch(v string) error
- func (s GetPublicRoomsResponseCapn) SetPrevBatch(v string) error
- func (s GetPublicRoomsResponseCapn) SetTotal(v int64)
- func (s GetPublicRoomsResponseCapn) String() string
- func (s GetPublicRoomsResponseCapn) Total() int64
- type GetPublicRoomsResponseCapn_List
- type GetPublicRoomsResponseCapn_Promise
- type GetPushersResponse
- type GetPushersResponseCapn
- func (s GetPushersResponseCapn) HasPusher() bool
- func (s GetPushersResponseCapn) NewPusher(n int32) (PusherCapn_List, error)
- func (s GetPushersResponseCapn) Pusher() (PusherCapn_List, error)
- func (s GetPushersResponseCapn) SetPusher(v PusherCapn_List) error
- func (s GetPushersResponseCapn) String() string
- type GetPushersResponseCapn_List
- type GetPushersResponseCapn_Promise
- type GetPushrulesActionsByIDRequest
- type GetPushrulesActionsByIDRequestCapn
- func NewGetPushrulesActionsByIDRequestCapn(s *capnp.Segment) (GetPushrulesActionsByIDRequestCapn, error)
- func NewRootGetPushrulesActionsByIDRequestCapn(s *capnp.Segment) (GetPushrulesActionsByIDRequestCapn, error)
- func ReadRootGetPushrulesActionsByIDRequestCapn(msg *capnp.Message) (GetPushrulesActionsByIDRequestCapn, error)
- func (s GetPushrulesActionsByIDRequestCapn) HasKind() bool
- func (s GetPushrulesActionsByIDRequestCapn) HasRuleID() bool
- func (s GetPushrulesActionsByIDRequestCapn) HasScope() bool
- func (s GetPushrulesActionsByIDRequestCapn) Kind() (string, error)
- func (s GetPushrulesActionsByIDRequestCapn) KindBytes() ([]byte, error)
- func (s GetPushrulesActionsByIDRequestCapn) RuleID() (string, error)
- func (s GetPushrulesActionsByIDRequestCapn) RuleIDBytes() ([]byte, error)
- func (s GetPushrulesActionsByIDRequestCapn) Scope() (string, error)
- func (s GetPushrulesActionsByIDRequestCapn) ScopeBytes() ([]byte, error)
- func (s GetPushrulesActionsByIDRequestCapn) SetKind(v string) error
- func (s GetPushrulesActionsByIDRequestCapn) SetRuleID(v string) error
- func (s GetPushrulesActionsByIDRequestCapn) SetScope(v string) error
- func (s GetPushrulesActionsByIDRequestCapn) String() string
- type GetPushrulesActionsByIDRequestCapn_List
- type GetPushrulesActionsByIDRequestCapn_Promise
- type GetPushrulesActionsByIDResponse
- type GetPushrulesActionsByIDResponseCapn
- func NewGetPushrulesActionsByIDResponseCapn(s *capnp.Segment) (GetPushrulesActionsByIDResponseCapn, error)
- func NewRootGetPushrulesActionsByIDResponseCapn(s *capnp.Segment) (GetPushrulesActionsByIDResponseCapn, error)
- func ReadRootGetPushrulesActionsByIDResponseCapn(msg *capnp.Message) (GetPushrulesActionsByIDResponseCapn, error)
- func (s GetPushrulesActionsByIDResponseCapn) Actions() (capnp.TextList, error)
- func (s GetPushrulesActionsByIDResponseCapn) HasActions() bool
- func (s GetPushrulesActionsByIDResponseCapn) NewActions(n int32) (capnp.TextList, error)
- func (s GetPushrulesActionsByIDResponseCapn) SetActions(v capnp.TextList) error
- func (s GetPushrulesActionsByIDResponseCapn) String() string
- type GetPushrulesActionsByIDResponseCapn_List
- type GetPushrulesActionsByIDResponseCapn_Promise
- type GetPushrulesByIDRequest
- type GetPushrulesByIDRequestCapn
- func (s GetPushrulesByIDRequestCapn) HasKind() bool
- func (s GetPushrulesByIDRequestCapn) HasRuleID() bool
- func (s GetPushrulesByIDRequestCapn) HasScope() bool
- func (s GetPushrulesByIDRequestCapn) Kind() (string, error)
- func (s GetPushrulesByIDRequestCapn) KindBytes() ([]byte, error)
- func (s GetPushrulesByIDRequestCapn) RuleID() (string, error)
- func (s GetPushrulesByIDRequestCapn) RuleIDBytes() ([]byte, error)
- func (s GetPushrulesByIDRequestCapn) Scope() (string, error)
- func (s GetPushrulesByIDRequestCapn) ScopeBytes() ([]byte, error)
- func (s GetPushrulesByIDRequestCapn) SetKind(v string) error
- func (s GetPushrulesByIDRequestCapn) SetRuleID(v string) error
- func (s GetPushrulesByIDRequestCapn) SetScope(v string) error
- func (s GetPushrulesByIDRequestCapn) String() string
- type GetPushrulesByIDRequestCapn_List
- type GetPushrulesByIDRequestCapn_Promise
- type GetPushrulesByIDResponse
- type GetPushrulesEnabledByIDRequest
- type GetPushrulesEnabledByIDRequestCapn
- func NewGetPushrulesEnabledByIDRequestCapn(s *capnp.Segment) (GetPushrulesEnabledByIDRequestCapn, error)
- func NewRootGetPushrulesEnabledByIDRequestCapn(s *capnp.Segment) (GetPushrulesEnabledByIDRequestCapn, error)
- func ReadRootGetPushrulesEnabledByIDRequestCapn(msg *capnp.Message) (GetPushrulesEnabledByIDRequestCapn, error)
- func (s GetPushrulesEnabledByIDRequestCapn) HasKind() bool
- func (s GetPushrulesEnabledByIDRequestCapn) HasRuleID() bool
- func (s GetPushrulesEnabledByIDRequestCapn) HasScope() bool
- func (s GetPushrulesEnabledByIDRequestCapn) Kind() (string, error)
- func (s GetPushrulesEnabledByIDRequestCapn) KindBytes() ([]byte, error)
- func (s GetPushrulesEnabledByIDRequestCapn) RuleID() (string, error)
- func (s GetPushrulesEnabledByIDRequestCapn) RuleIDBytes() ([]byte, error)
- func (s GetPushrulesEnabledByIDRequestCapn) Scope() (string, error)
- func (s GetPushrulesEnabledByIDRequestCapn) ScopeBytes() ([]byte, error)
- func (s GetPushrulesEnabledByIDRequestCapn) SetKind(v string) error
- func (s GetPushrulesEnabledByIDRequestCapn) SetRuleID(v string) error
- func (s GetPushrulesEnabledByIDRequestCapn) SetScope(v string) error
- func (s GetPushrulesEnabledByIDRequestCapn) String() string
- type GetPushrulesEnabledByIDRequestCapn_List
- type GetPushrulesEnabledByIDRequestCapn_Promise
- type GetPushrulesEnabledByIDResponse
- type GetPushrulesEnabledByIDResponseCapn
- func NewGetPushrulesEnabledByIDResponseCapn(s *capnp.Segment) (GetPushrulesEnabledByIDResponseCapn, error)
- func NewRootGetPushrulesEnabledByIDResponseCapn(s *capnp.Segment) (GetPushrulesEnabledByIDResponseCapn, error)
- func ReadRootGetPushrulesEnabledByIDResponseCapn(msg *capnp.Message) (GetPushrulesEnabledByIDResponseCapn, error)
- type GetPushrulesEnabledByIDResponseCapn_List
- type GetPushrulesEnabledByIDResponseCapn_Promise
- type GetPushrulesGlobalResponse
- type GetPushrulesResponse
- type GetRegisterAvail
- type GetRegisterAvailCapn
- type GetRegisterAvailCapn_List
- type GetRegisterAvailCapn_Promise
- type GetRegisterAvailResponse
- type GetRegisterAvailResponseCapn
- type GetRegisterAvailResponseCapn_List
- type GetRegisterAvailResponseCapn_Promise
- type GetRoomEventByIDRequest
- type GetRoomEventByIDRequestCapn
- func (s GetRoomEventByIDRequestCapn) EventID() (string, error)
- func (s GetRoomEventByIDRequestCapn) EventIDBytes() ([]byte, error)
- func (s GetRoomEventByIDRequestCapn) HasEventID() bool
- func (s GetRoomEventByIDRequestCapn) HasRoomID() bool
- func (s GetRoomEventByIDRequestCapn) RoomID() (string, error)
- func (s GetRoomEventByIDRequestCapn) RoomIDBytes() ([]byte, error)
- func (s GetRoomEventByIDRequestCapn) SetEventID(v string) error
- func (s GetRoomEventByIDRequestCapn) SetRoomID(v string) error
- func (s GetRoomEventByIDRequestCapn) String() string
- type GetRoomEventByIDRequestCapn_List
- type GetRoomEventByIDRequestCapn_Promise
- type GetRoomEventByIDResponse
- type GetRoomEventContextRequest
- type GetRoomEventContextRequestCapn
- func NewGetRoomEventContextRequestCapn(s *capnp.Segment) (GetRoomEventContextRequestCapn, error)
- func NewRootGetRoomEventContextRequestCapn(s *capnp.Segment) (GetRoomEventContextRequestCapn, error)
- func ReadRootGetRoomEventContextRequestCapn(msg *capnp.Message) (GetRoomEventContextRequestCapn, error)
- func (s GetRoomEventContextRequestCapn) EventID() (string, error)
- func (s GetRoomEventContextRequestCapn) EventIDBytes() ([]byte, error)
- func (s GetRoomEventContextRequestCapn) HasEventID() bool
- func (s GetRoomEventContextRequestCapn) HasRoomID() bool
- func (s GetRoomEventContextRequestCapn) Limit() int64
- func (s GetRoomEventContextRequestCapn) RoomID() (string, error)
- func (s GetRoomEventContextRequestCapn) RoomIDBytes() ([]byte, error)
- func (s GetRoomEventContextRequestCapn) SetEventID(v string) error
- func (s GetRoomEventContextRequestCapn) SetLimit(v int64)
- func (s GetRoomEventContextRequestCapn) SetRoomID(v string) error
- func (s GetRoomEventContextRequestCapn) String() string
- type GetRoomEventContextRequestCapn_List
- type GetRoomEventContextRequestCapn_Promise
- type GetRoomEventContextResponse
- type GetRoomInfo
- type GetRoomInfoRequest
- type GetRoomInfoResponse
- type GetRoomInitialSyncRequest
- type GetRoomInitialSyncRequestCapn
- func (s GetRoomInitialSyncRequestCapn) HasRoomID() bool
- func (s GetRoomInitialSyncRequestCapn) RoomID() (string, error)
- func (s GetRoomInitialSyncRequestCapn) RoomIDBytes() ([]byte, error)
- func (s GetRoomInitialSyncRequestCapn) SetRoomID(v string) error
- func (s GetRoomInitialSyncRequestCapn) String() string
- type GetRoomInitialSyncRequestCapn_List
- type GetRoomInitialSyncRequestCapn_Promise
- type GetRoomJoinedMembersRequest
- type GetRoomJoinedMembersRequestCapn
- func NewGetRoomJoinedMembersRequestCapn(s *capnp.Segment) (GetRoomJoinedMembersRequestCapn, error)
- func NewRootGetRoomJoinedMembersRequestCapn(s *capnp.Segment) (GetRoomJoinedMembersRequestCapn, error)
- func ReadRootGetRoomJoinedMembersRequestCapn(msg *capnp.Message) (GetRoomJoinedMembersRequestCapn, error)
- func (s GetRoomJoinedMembersRequestCapn) HasRoomID() bool
- func (s GetRoomJoinedMembersRequestCapn) RoomID() (string, error)
- func (s GetRoomJoinedMembersRequestCapn) RoomIDBytes() ([]byte, error)
- func (s GetRoomJoinedMembersRequestCapn) SetRoomID(v string) error
- func (s GetRoomJoinedMembersRequestCapn) String() string
- type GetRoomJoinedMembersRequestCapn_List
- type GetRoomJoinedMembersRequestCapn_Promise
- type GetRoomJoinedMembersResponse
- type GetRoomMembersRequest
- type GetRoomMembersRequestCapn
- type GetRoomMembersRequestCapn_List
- type GetRoomMembersRequestCapn_Promise
- type GetRoomMembersResponse
- type GetRoomMessagesRequest
- type GetRoomMessagesRequestCapn
- func (s GetRoomMessagesRequestCapn) Dir() (string, error)
- func (s GetRoomMessagesRequestCapn) DirBytes() ([]byte, error)
- func (s GetRoomMessagesRequestCapn) Filter() (string, error)
- func (s GetRoomMessagesRequestCapn) FilterBytes() ([]byte, error)
- func (s GetRoomMessagesRequestCapn) From() (string, error)
- func (s GetRoomMessagesRequestCapn) FromBytes() ([]byte, error)
- func (s GetRoomMessagesRequestCapn) HasDir() bool
- func (s GetRoomMessagesRequestCapn) HasFilter() bool
- func (s GetRoomMessagesRequestCapn) HasFrom() bool
- func (s GetRoomMessagesRequestCapn) HasLimit() bool
- func (s GetRoomMessagesRequestCapn) HasRoomID() bool
- func (s GetRoomMessagesRequestCapn) Limit() (string, error)
- func (s GetRoomMessagesRequestCapn) LimitBytes() ([]byte, error)
- func (s GetRoomMessagesRequestCapn) RoomID() (string, error)
- func (s GetRoomMessagesRequestCapn) RoomIDBytes() ([]byte, error)
- func (s GetRoomMessagesRequestCapn) SetDir(v string) error
- func (s GetRoomMessagesRequestCapn) SetFilter(v string) error
- func (s GetRoomMessagesRequestCapn) SetFrom(v string) error
- func (s GetRoomMessagesRequestCapn) SetLimit(v string) error
- func (s GetRoomMessagesRequestCapn) SetRoomID(v string) error
- func (s GetRoomMessagesRequestCapn) String() string
- type GetRoomMessagesRequestCapn_List
- type GetRoomMessagesRequestCapn_Promise
- type GetRoomMessagesResponse
- type GetRoomMessagesResponseCapn
- func (s GetRoomMessagesResponseCapn) Chunk() (RoomEventCapn_List, error)
- func (s GetRoomMessagesResponseCapn) End() (string, error)
- func (s GetRoomMessagesResponseCapn) EndBytes() ([]byte, error)
- func (s GetRoomMessagesResponseCapn) HasChunk() bool
- func (s GetRoomMessagesResponseCapn) HasEnd() bool
- func (s GetRoomMessagesResponseCapn) HasStart() bool
- func (s GetRoomMessagesResponseCapn) NewChunk(n int32) (RoomEventCapn_List, error)
- func (s GetRoomMessagesResponseCapn) SetChunk(v RoomEventCapn_List) error
- func (s GetRoomMessagesResponseCapn) SetEnd(v string) error
- func (s GetRoomMessagesResponseCapn) SetStart(v string) error
- func (s GetRoomMessagesResponseCapn) Start() (string, error)
- func (s GetRoomMessagesResponseCapn) StartBytes() ([]byte, error)
- func (s GetRoomMessagesResponseCapn) String() string
- type GetRoomMessagesResponseCapn_List
- type GetRoomMessagesResponseCapn_Promise
- type GetRoomStateByTypeAndStateKeyRequest
- type GetRoomStateByTypeAndStateKeyRequestCapn
- func NewGetRoomStateByTypeAndStateKeyRequestCapn(s *capnp.Segment) (GetRoomStateByTypeAndStateKeyRequestCapn, error)
- func NewRootGetRoomStateByTypeAndStateKeyRequestCapn(s *capnp.Segment) (GetRoomStateByTypeAndStateKeyRequestCapn, error)
- func ReadRootGetRoomStateByTypeAndStateKeyRequestCapn(msg *capnp.Message) (GetRoomStateByTypeAndStateKeyRequestCapn, error)
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) EventType() (string, error)
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) EventTypeBytes() ([]byte, error)
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) HasEventType() bool
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) HasRoomID() bool
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) HasStateKey() bool
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) RoomID() (string, error)
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) RoomIDBytes() ([]byte, error)
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) SetEventType(v string) error
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) SetRoomID(v string) error
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) SetStateKey(v string) error
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) StateKey() (string, error)
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) StateKeyBytes() ([]byte, error)
- func (s GetRoomStateByTypeAndStateKeyRequestCapn) String() string
- type GetRoomStateByTypeAndStateKeyRequestCapn_List
- type GetRoomStateByTypeAndStateKeyRequestCapn_Promise
- type GetRoomStateByTypeRequest
- type GetRoomStateByTypeRequestCapn
- func (s GetRoomStateByTypeRequestCapn) EventType() (string, error)
- func (s GetRoomStateByTypeRequestCapn) EventTypeBytes() ([]byte, error)
- func (s GetRoomStateByTypeRequestCapn) HasEventType() bool
- func (s GetRoomStateByTypeRequestCapn) HasRoomID() bool
- func (s GetRoomStateByTypeRequestCapn) RoomID() (string, error)
- func (s GetRoomStateByTypeRequestCapn) RoomIDBytes() ([]byte, error)
- func (s GetRoomStateByTypeRequestCapn) SetEventType(v string) error
- func (s GetRoomStateByTypeRequestCapn) SetRoomID(v string) error
- func (s GetRoomStateByTypeRequestCapn) String() string
- type GetRoomStateByTypeRequestCapn_List
- type GetRoomStateByTypeRequestCapn_Promise
- type GetRoomStateRequest
- type GetRoomStateRequestCapn
- type GetRoomStateRequestCapn_List
- type GetRoomStateRequestCapn_Promise
- type GetRoomStateResponse
- type GetRoomVisibilityRangeRequest
- type GetRoomVisibilityRangeResponse
- type GetRoomsTagsByIDRequest
- type GetRoomsTagsByIDRequestCapn
- func (s GetRoomsTagsByIDRequestCapn) HasRoomId() bool
- func (s GetRoomsTagsByIDRequestCapn) HasUserId() bool
- func (s GetRoomsTagsByIDRequestCapn) RoomId() (string, error)
- func (s GetRoomsTagsByIDRequestCapn) RoomIdBytes() ([]byte, error)
- func (s GetRoomsTagsByIDRequestCapn) SetRoomId(v string) error
- func (s GetRoomsTagsByIDRequestCapn) SetUserId(v string) error
- func (s GetRoomsTagsByIDRequestCapn) String() string
- func (s GetRoomsTagsByIDRequestCapn) UserId() (string, error)
- func (s GetRoomsTagsByIDRequestCapn) UserIdBytes() ([]byte, error)
- type GetRoomsTagsByIDRequestCapn_List
- type GetRoomsTagsByIDRequestCapn_Promise
- type GetRoomsTagsByIDResponse
- type GetServerNamesResponse
- type GetStateIDsRequest
- type GetStateIDsResponse
- type GetSyncRequest
- type GetSyncRequestCapn
- func (s GetSyncRequestCapn) Filter() (string, error)
- func (s GetSyncRequestCapn) FilterBytes() ([]byte, error)
- func (s GetSyncRequestCapn) From() (string, error)
- func (s GetSyncRequestCapn) FromBytes() ([]byte, error)
- func (s GetSyncRequestCapn) FullState() (string, error)
- func (s GetSyncRequestCapn) FullStateBytes() ([]byte, error)
- func (s GetSyncRequestCapn) HasFilter() bool
- func (s GetSyncRequestCapn) HasFrom() bool
- func (s GetSyncRequestCapn) HasFullState() bool
- func (s GetSyncRequestCapn) HasSetPresence() bool
- func (s GetSyncRequestCapn) HasSince() bool
- func (s GetSyncRequestCapn) HasTimeOut() bool
- func (s GetSyncRequestCapn) SetFilter(v string) error
- func (s GetSyncRequestCapn) SetFrom(v string) error
- func (s GetSyncRequestCapn) SetFullState(v string) error
- func (s GetSyncRequestCapn) SetPresence() (string, error)
- func (s GetSyncRequestCapn) SetPresenceBytes() ([]byte, error)
- func (s GetSyncRequestCapn) SetSetPresence(v string) error
- func (s GetSyncRequestCapn) SetSince(v string) error
- func (s GetSyncRequestCapn) SetTimeOut(v string) error
- func (s GetSyncRequestCapn) Since() (string, error)
- func (s GetSyncRequestCapn) SinceBytes() ([]byte, error)
- func (s GetSyncRequestCapn) String() string
- func (s GetSyncRequestCapn) TimeOut() (string, error)
- func (s GetSyncRequestCapn) TimeOutBytes() ([]byte, error)
- type GetSyncRequestCapn_List
- type GetSyncRequestCapn_Promise
- type GetSyncResponse
- type GetThirdPartyLocationByProtocolRequest
- type GetThirdPartyLocationByProtocolResponse
- type GetThirdPartyLocationRequest
- type GetThirdPartyLocationResponse
- type GetThirdPartyProtocalByNameRequest
- type GetThirdPartyProtocalByNameResponse
- type GetThirdPartyProtocalsResponse
- type GetThirdPartyUserByProtocolRequest
- type GetThirdPartyUserByProtocolResponse
- type GetThirdPartyUserRequest
- type GetThirdPartyUserResponse
- type GetThreePIDsResponse
- type GetTurnServerResponse
- type GetTurnServerResponseCapn
- func (s GetTurnServerResponseCapn) HasPassword() bool
- func (s GetTurnServerResponseCapn) HasUris() bool
- func (s GetTurnServerResponseCapn) HasUserName() bool
- func (s GetTurnServerResponseCapn) NewUris(n int32) (capnp.TextList, error)
- func (s GetTurnServerResponseCapn) Password() (string, error)
- func (s GetTurnServerResponseCapn) PasswordBytes() ([]byte, error)
- func (s GetTurnServerResponseCapn) SetPassword(v string) error
- func (s GetTurnServerResponseCapn) SetTTL(v int64)
- func (s GetTurnServerResponseCapn) SetUris(v capnp.TextList) error
- func (s GetTurnServerResponseCapn) SetUserName(v string) error
- func (s GetTurnServerResponseCapn) String() string
- func (s GetTurnServerResponseCapn) TTL() int64
- func (s GetTurnServerResponseCapn) Uris() (capnp.TextList, error)
- func (s GetTurnServerResponseCapn) UserName() (string, error)
- func (s GetTurnServerResponseCapn) UserNameBytes() ([]byte, error)
- type GetTurnServerResponseCapn_List
- type GetTurnServerResponseCapn_Promise
- type GetUserFilterRequest
- type GetUserFilterRequestCapn
- func (s GetUserFilterRequestCapn) FilterID() (string, error)
- func (s GetUserFilterRequestCapn) FilterIDBytes() ([]byte, error)
- func (s GetUserFilterRequestCapn) HasFilterID() bool
- func (s GetUserFilterRequestCapn) HasUserID() bool
- func (s GetUserFilterRequestCapn) SetFilterID(v string) error
- func (s GetUserFilterRequestCapn) SetUserID(v string) error
- func (s GetUserFilterRequestCapn) String() string
- func (s GetUserFilterRequestCapn) UserID() (string, error)
- func (s GetUserFilterRequestCapn) UserIDBytes() ([]byte, error)
- type GetUserFilterRequestCapn_List
- type GetUserFilterRequestCapn_Promise
- type GetUserFilterResponse
- type GetUserInfoListRequest
- type GetUserInfoListResponse
- type GetUserInfoRequest
- type GetUserInfoResponse
- type GetUserPresenceListRequest
- type GetUserPresenceListRequestCapn
- func NewGetUserPresenceListRequestCapn(s *capnp.Segment) (GetUserPresenceListRequestCapn, error)
- func NewRootGetUserPresenceListRequestCapn(s *capnp.Segment) (GetUserPresenceListRequestCapn, error)
- func ReadRootGetUserPresenceListRequestCapn(msg *capnp.Message) (GetUserPresenceListRequestCapn, error)
- func (s GetUserPresenceListRequestCapn) HasUserID() bool
- func (s GetUserPresenceListRequestCapn) SetUserID(v string) error
- func (s GetUserPresenceListRequestCapn) String() string
- func (s GetUserPresenceListRequestCapn) UserID() (string, error)
- func (s GetUserPresenceListRequestCapn) UserIDBytes() ([]byte, error)
- type GetUserPresenceListRequestCapn_List
- type GetUserPresenceListRequestCapn_Promise
- type GetUserPresenceListResponse
- type GetUserPresenceRequest
- type GetUserPresenceRequestCapn
- type GetUserPresenceRequestCapn_List
- type GetUserPresenceRequestCapn_Promise
- type GetUserPresenceResponse
- type GetUserPresenceResponseCapn
- func (s GetUserPresenceResponseCapn) CurrentlyActive() bool
- func (s GetUserPresenceResponseCapn) HasPresence() bool
- func (s GetUserPresenceResponseCapn) HasStatus() bool
- func (s GetUserPresenceResponseCapn) LastActiveAgo() int64
- func (s GetUserPresenceResponseCapn) Presence() (string, error)
- func (s GetUserPresenceResponseCapn) PresenceBytes() ([]byte, error)
- func (s GetUserPresenceResponseCapn) SetCurrentlyActive(v bool)
- func (s GetUserPresenceResponseCapn) SetLastActiveAgo(v int64)
- func (s GetUserPresenceResponseCapn) SetPresence(v string) error
- func (s GetUserPresenceResponseCapn) SetStatus(v string) error
- func (s GetUserPresenceResponseCapn) Status() (string, error)
- func (s GetUserPresenceResponseCapn) StatusBytes() ([]byte, error)
- func (s GetUserPresenceResponseCapn) String() string
- type GetUserPresenceResponseCapn_List
- type GetUserPresenceResponseCapn_Promise
- type GetUserProfileAvatarURLRequest
- type GetUserProfileAvatarURLRequestCapn
- func NewGetUserProfileAvatarURLRequestCapn(s *capnp.Segment) (GetUserProfileAvatarURLRequestCapn, error)
- func NewRootGetUserProfileAvatarURLRequestCapn(s *capnp.Segment) (GetUserProfileAvatarURLRequestCapn, error)
- func ReadRootGetUserProfileAvatarURLRequestCapn(msg *capnp.Message) (GetUserProfileAvatarURLRequestCapn, error)
- func (s GetUserProfileAvatarURLRequestCapn) HasUserID() bool
- func (s GetUserProfileAvatarURLRequestCapn) SetUserID(v string) error
- func (s GetUserProfileAvatarURLRequestCapn) String() string
- func (s GetUserProfileAvatarURLRequestCapn) UserID() (string, error)
- func (s GetUserProfileAvatarURLRequestCapn) UserIDBytes() ([]byte, error)
- type GetUserProfileAvatarURLRequestCapn_List
- type GetUserProfileAvatarURLRequestCapn_Promise
- type GetUserProfileDisplayNameRequest
- type GetUserProfileDisplayNameRequestCapn
- func NewGetUserProfileDisplayNameRequestCapn(s *capnp.Segment) (GetUserProfileDisplayNameRequestCapn, error)
- func NewRootGetUserProfileDisplayNameRequestCapn(s *capnp.Segment) (GetUserProfileDisplayNameRequestCapn, error)
- func ReadRootGetUserProfileDisplayNameRequestCapn(msg *capnp.Message) (GetUserProfileDisplayNameRequestCapn, error)
- func (s GetUserProfileDisplayNameRequestCapn) HasUserID() bool
- func (s GetUserProfileDisplayNameRequestCapn) SetUserID(v string) error
- func (s GetUserProfileDisplayNameRequestCapn) String() string
- func (s GetUserProfileDisplayNameRequestCapn) UserID() (string, error)
- func (s GetUserProfileDisplayNameRequestCapn) UserIDBytes() ([]byte, error)
- type GetUserProfileDisplayNameRequestCapn_List
- type GetUserProfileDisplayNameRequestCapn_Promise
- type GetUserProfileRequest
- type GetUserProfileRequestCapn
- type GetUserProfileRequestCapn_List
- type GetUserProfileRequestCapn_Promise
- type GetUserUnread
- type GetWhoIsRequest
- type GetWhoIsResponse
- type Invite
- type Invite3pid
- type Invite3pidCapn
- func (s Invite3pidCapn) Address() (capnp.TextList, error)
- func (s Invite3pidCapn) HasAddress() bool
- func (s Invite3pidCapn) HasIDServer() bool
- func (s Invite3pidCapn) HasMedium() bool
- func (s Invite3pidCapn) IDServer() (string, error)
- func (s Invite3pidCapn) IDServerBytes() ([]byte, error)
- func (s Invite3pidCapn) Medium() (string, error)
- func (s Invite3pidCapn) MediumBytes() ([]byte, error)
- func (s Invite3pidCapn) NewAddress(n int32) (capnp.TextList, error)
- func (s Invite3pidCapn) SetAddress(v capnp.TextList) error
- func (s Invite3pidCapn) SetIDServer(v string) error
- func (s Invite3pidCapn) SetMedium(v string) error
- func (s Invite3pidCapn) String() string
- type Invite3pidCapn_List
- type Invite3pidCapn_Promise
- type InviteCapn
- func (s InviteCapn) DisplayName() (string, error)
- func (s InviteCapn) DisplayNameBytes() ([]byte, error)
- func (s InviteCapn) HasDisplayName() bool
- func (s InviteCapn) HasSigned() bool
- func (s InviteCapn) NewSigned() (SignedCapn, error)
- func (s InviteCapn) SetDisplayName(v string) error
- func (s InviteCapn) SetSigned(v SignedCapn) error
- func (s InviteCapn) Signed() (SignedCapn, error)
- func (s InviteCapn) String() string
- type InviteCapn_List
- type InviteCapn_Promise
- type InviteEvent
- type InviteState
- type InvitedRoom
- type JoinedRoom
- type LeftRoom
- type LegacyRegisterRequest
- type LegacyRegisterRequestCapn
- func (s LegacyRegisterRequestCapn) Admin() bool
- func (s LegacyRegisterRequestCapn) HasMac() bool
- func (s LegacyRegisterRequestCapn) HasPassword() bool
- func (s LegacyRegisterRequestCapn) HasType() bool
- func (s LegacyRegisterRequestCapn) HasUsername() bool
- func (s LegacyRegisterRequestCapn) Mac() ([]byte, error)
- func (s LegacyRegisterRequestCapn) Password() (string, error)
- func (s LegacyRegisterRequestCapn) PasswordBytes() ([]byte, error)
- func (s LegacyRegisterRequestCapn) SetAdmin(v bool)
- func (s LegacyRegisterRequestCapn) SetMac(v []byte) error
- func (s LegacyRegisterRequestCapn) SetPassword(v string) error
- func (s LegacyRegisterRequestCapn) SetType(v string) error
- func (s LegacyRegisterRequestCapn) SetUsername(v string) error
- func (s LegacyRegisterRequestCapn) String() string
- func (s LegacyRegisterRequestCapn) Type() (string, error)
- func (s LegacyRegisterRequestCapn) TypeBytes() ([]byte, error)
- func (s LegacyRegisterRequestCapn) Username() (string, error)
- func (s LegacyRegisterRequestCapn) UsernameBytes() ([]byte, error)
- type LegacyRegisterRequestCapn_List
- type LegacyRegisterRequestCapn_Promise
- type Location
- type MemberContent
- type MemberEvent
- type Notification
- type PaginationChunk
- type PaginationChunkCapn
- func (s PaginationChunkCapn) Chunk() (RoomEventCapn_List, error)
- func (s PaginationChunkCapn) End() (string, error)
- func (s PaginationChunkCapn) EndBytes() ([]byte, error)
- func (s PaginationChunkCapn) HasChunk() bool
- func (s PaginationChunkCapn) HasEnd() bool
- func (s PaginationChunkCapn) HasStart() bool
- func (s PaginationChunkCapn) NewChunk(n int32) (RoomEventCapn_List, error)
- func (s PaginationChunkCapn) SetChunk(v RoomEventCapn_List) error
- func (s PaginationChunkCapn) SetEnd(v string) error
- func (s PaginationChunkCapn) SetStart(v string) error
- func (s PaginationChunkCapn) Start() (string, error)
- func (s PaginationChunkCapn) StartBytes() ([]byte, error)
- func (s PaginationChunkCapn) String() string
- type PaginationChunkCapn_List
- type PaginationChunkCapn_Promise
- type PostAccount3PIDDelRequest
- type PostAccount3PIDDelRequestCapn
- func (s PostAccount3PIDDelRequestCapn) Address() (string, error)
- func (s PostAccount3PIDDelRequestCapn) AddressBytes() ([]byte, error)
- func (s PostAccount3PIDDelRequestCapn) HasAddress() bool
- func (s PostAccount3PIDDelRequestCapn) HasMedium() bool
- func (s PostAccount3PIDDelRequestCapn) Medium() (string, error)
- func (s PostAccount3PIDDelRequestCapn) MediumBytes() ([]byte, error)
- func (s PostAccount3PIDDelRequestCapn) SetAddress(v string) error
- func (s PostAccount3PIDDelRequestCapn) SetMedium(v string) error
- func (s PostAccount3PIDDelRequestCapn) String() string
- type PostAccount3PIDDelRequestCapn_List
- type PostAccount3PIDDelRequestCapn_Promise
- type PostAccount3PIDEmailRequest
- type PostAccount3PIDEmailRequestCapn
- func NewPostAccount3PIDEmailRequestCapn(s *capnp.Segment) (PostAccount3PIDEmailRequestCapn, error)
- func NewRootPostAccount3PIDEmailRequestCapn(s *capnp.Segment) (PostAccount3PIDEmailRequestCapn, error)
- func ReadRootPostAccount3PIDEmailRequestCapn(msg *capnp.Message) (PostAccount3PIDEmailRequestCapn, error)
- func (s PostAccount3PIDEmailRequestCapn) ClientSecret() (string, error)
- func (s PostAccount3PIDEmailRequestCapn) ClientSecretBytes() ([]byte, error)
- func (s PostAccount3PIDEmailRequestCapn) Email() (string, error)
- func (s PostAccount3PIDEmailRequestCapn) EmailBytes() ([]byte, error)
- func (s PostAccount3PIDEmailRequestCapn) HasClientSecret() bool
- func (s PostAccount3PIDEmailRequestCapn) HasEmail() bool
- func (s PostAccount3PIDEmailRequestCapn) HasIdServer() bool
- func (s PostAccount3PIDEmailRequestCapn) HasNextLink() bool
- func (s PostAccount3PIDEmailRequestCapn) HasPath() bool
- func (s PostAccount3PIDEmailRequestCapn) HasSendAttempt() bool
- func (s PostAccount3PIDEmailRequestCapn) IdServer() (string, error)
- func (s PostAccount3PIDEmailRequestCapn) IdServerBytes() ([]byte, error)
- func (s PostAccount3PIDEmailRequestCapn) NextLink() (string, error)
- func (s PostAccount3PIDEmailRequestCapn) NextLinkBytes() ([]byte, error)
- func (s PostAccount3PIDEmailRequestCapn) Path() (string, error)
- func (s PostAccount3PIDEmailRequestCapn) PathBytes() ([]byte, error)
- func (s PostAccount3PIDEmailRequestCapn) SendAttempt() (string, error)
- func (s PostAccount3PIDEmailRequestCapn) SendAttemptBytes() ([]byte, error)
- func (s PostAccount3PIDEmailRequestCapn) SetClientSecret(v string) error
- func (s PostAccount3PIDEmailRequestCapn) SetEmail(v string) error
- func (s PostAccount3PIDEmailRequestCapn) SetIdServer(v string) error
- func (s PostAccount3PIDEmailRequestCapn) SetNextLink(v string) error
- func (s PostAccount3PIDEmailRequestCapn) SetPath(v string) error
- func (s PostAccount3PIDEmailRequestCapn) SetSendAttempt(v string) error
- func (s PostAccount3PIDEmailRequestCapn) String() string
- type PostAccount3PIDEmailRequestCapn_List
- type PostAccount3PIDEmailRequestCapn_Promise
- type PostAccount3PIDEmailResponse
- type PostAccount3PIDEmailResponseCapn
- func NewPostAccount3PIDEmailResponseCapn(s *capnp.Segment) (PostAccount3PIDEmailResponseCapn, error)
- func NewRootPostAccount3PIDEmailResponseCapn(s *capnp.Segment) (PostAccount3PIDEmailResponseCapn, error)
- func ReadRootPostAccount3PIDEmailResponseCapn(msg *capnp.Message) (PostAccount3PIDEmailResponseCapn, error)
- func (s PostAccount3PIDEmailResponseCapn) HasSid() bool
- func (s PostAccount3PIDEmailResponseCapn) SetSid(v string) error
- func (s PostAccount3PIDEmailResponseCapn) Sid() (string, error)
- func (s PostAccount3PIDEmailResponseCapn) SidBytes() ([]byte, error)
- func (s PostAccount3PIDEmailResponseCapn) String() string
- type PostAccount3PIDEmailResponseCapn_List
- type PostAccount3PIDEmailResponseCapn_Promise
- type PostAccount3PIDMsisdnRequest
- type PostAccount3PIDMsisdnRequestCapn
- func NewPostAccount3PIDMsisdnRequestCapn(s *capnp.Segment) (PostAccount3PIDMsisdnRequestCapn, error)
- func NewRootPostAccount3PIDMsisdnRequestCapn(s *capnp.Segment) (PostAccount3PIDMsisdnRequestCapn, error)
- func ReadRootPostAccount3PIDMsisdnRequestCapn(msg *capnp.Message) (PostAccount3PIDMsisdnRequestCapn, error)
- func (s PostAccount3PIDMsisdnRequestCapn) ClientSecret() (string, error)
- func (s PostAccount3PIDMsisdnRequestCapn) ClientSecretBytes() ([]byte, error)
- func (s PostAccount3PIDMsisdnRequestCapn) Country() (string, error)
- func (s PostAccount3PIDMsisdnRequestCapn) CountryBytes() ([]byte, error)
- func (s PostAccount3PIDMsisdnRequestCapn) HasClientSecret() bool
- func (s PostAccount3PIDMsisdnRequestCapn) HasCountry() bool
- func (s PostAccount3PIDMsisdnRequestCapn) HasIdServer() bool
- func (s PostAccount3PIDMsisdnRequestCapn) HasNextLink() bool
- func (s PostAccount3PIDMsisdnRequestCapn) HasPath() bool
- func (s PostAccount3PIDMsisdnRequestCapn) HasPhoneNumber() bool
- func (s PostAccount3PIDMsisdnRequestCapn) HasSendAttempt() bool
- func (s PostAccount3PIDMsisdnRequestCapn) IdServer() (string, error)
- func (s PostAccount3PIDMsisdnRequestCapn) IdServerBytes() ([]byte, error)
- func (s PostAccount3PIDMsisdnRequestCapn) NextLink() (string, error)
- func (s PostAccount3PIDMsisdnRequestCapn) NextLinkBytes() ([]byte, error)
- func (s PostAccount3PIDMsisdnRequestCapn) Path() (string, error)
- func (s PostAccount3PIDMsisdnRequestCapn) PathBytes() ([]byte, error)
- func (s PostAccount3PIDMsisdnRequestCapn) PhoneNumber() (string, error)
- func (s PostAccount3PIDMsisdnRequestCapn) PhoneNumberBytes() ([]byte, error)
- func (s PostAccount3PIDMsisdnRequestCapn) SendAttempt() (string, error)
- func (s PostAccount3PIDMsisdnRequestCapn) SendAttemptBytes() ([]byte, error)
- func (s PostAccount3PIDMsisdnRequestCapn) SetClientSecret(v string) error
- func (s PostAccount3PIDMsisdnRequestCapn) SetCountry(v string) error
- func (s PostAccount3PIDMsisdnRequestCapn) SetIdServer(v string) error
- func (s PostAccount3PIDMsisdnRequestCapn) SetNextLink(v string) error
- func (s PostAccount3PIDMsisdnRequestCapn) SetPath(v string) error
- func (s PostAccount3PIDMsisdnRequestCapn) SetPhoneNumber(v string) error
- func (s PostAccount3PIDMsisdnRequestCapn) SetSendAttempt(v string) error
- func (s PostAccount3PIDMsisdnRequestCapn) String() string
- type PostAccount3PIDMsisdnRequestCapn_List
- type PostAccount3PIDMsisdnRequestCapn_Promise
- type PostAccount3PIDMsisdnResponse
- type PostAccount3PIDMsisdnResponseCapn
- func NewPostAccount3PIDMsisdnResponseCapn(s *capnp.Segment) (PostAccount3PIDMsisdnResponseCapn, error)
- func NewRootPostAccount3PIDMsisdnResponseCapn(s *capnp.Segment) (PostAccount3PIDMsisdnResponseCapn, error)
- func ReadRootPostAccount3PIDMsisdnResponseCapn(msg *capnp.Message) (PostAccount3PIDMsisdnResponseCapn, error)
- func (s PostAccount3PIDMsisdnResponseCapn) HasSid() bool
- func (s PostAccount3PIDMsisdnResponseCapn) SetSid(v string) error
- func (s PostAccount3PIDMsisdnResponseCapn) Sid() (string, error)
- func (s PostAccount3PIDMsisdnResponseCapn) SidBytes() ([]byte, error)
- func (s PostAccount3PIDMsisdnResponseCapn) String() string
- type PostAccount3PIDMsisdnResponseCapn_List
- type PostAccount3PIDMsisdnResponseCapn_Promise
- type PostAccount3PIDRequest
- type PostAccount3PIDRequestCapn
- func (s PostAccount3PIDRequestCapn) Bind() bool
- func (s PostAccount3PIDRequestCapn) HasThreePIDCreds() bool
- func (s PostAccount3PIDRequestCapn) NewThreePIDCreds() (ThreePidCredentialsCapn, error)
- func (s PostAccount3PIDRequestCapn) SetBind(v bool)
- func (s PostAccount3PIDRequestCapn) SetThreePIDCreds(v ThreePidCredentialsCapn) error
- func (s PostAccount3PIDRequestCapn) String() string
- func (s PostAccount3PIDRequestCapn) ThreePIDCreds() (ThreePidCredentialsCapn, error)
- type PostAccount3PIDRequestCapn_List
- type PostAccount3PIDRequestCapn_Promise
- type PostAccountDeactivateRequest
- type PostAccountDeactivateRequestCapn
- func NewPostAccountDeactivateRequestCapn(s *capnp.Segment) (PostAccountDeactivateRequestCapn, error)
- func NewRootPostAccountDeactivateRequestCapn(s *capnp.Segment) (PostAccountDeactivateRequestCapn, error)
- func ReadRootPostAccountDeactivateRequestCapn(msg *capnp.Message) (PostAccountDeactivateRequestCapn, error)
- func (s PostAccountDeactivateRequestCapn) Auth() (AuthDataCapn, error)
- func (s PostAccountDeactivateRequestCapn) HasAuth() bool
- func (s PostAccountDeactivateRequestCapn) NewAuth() (AuthDataCapn, error)
- func (s PostAccountDeactivateRequestCapn) SetAuth(v AuthDataCapn) error
- func (s PostAccountDeactivateRequestCapn) String() string
- type PostAccountDeactivateRequestCapn_List
- type PostAccountDeactivateRequestCapn_Promise
- type PostAccountPasswordEmailRequest
- type PostAccountPasswordEmailRequestCapn
- func NewPostAccountPasswordEmailRequestCapn(s *capnp.Segment) (PostAccountPasswordEmailRequestCapn, error)
- func NewRootPostAccountPasswordEmailRequestCapn(s *capnp.Segment) (PostAccountPasswordEmailRequestCapn, error)
- func ReadRootPostAccountPasswordEmailRequestCapn(msg *capnp.Message) (PostAccountPasswordEmailRequestCapn, error)
- func (s PostAccountPasswordEmailRequestCapn) ClientSecret() (string, error)
- func (s PostAccountPasswordEmailRequestCapn) ClientSecretBytes() ([]byte, error)
- func (s PostAccountPasswordEmailRequestCapn) Email() (string, error)
- func (s PostAccountPasswordEmailRequestCapn) EmailBytes() ([]byte, error)
- func (s PostAccountPasswordEmailRequestCapn) HasClientSecret() bool
- func (s PostAccountPasswordEmailRequestCapn) HasEmail() bool
- func (s PostAccountPasswordEmailRequestCapn) HasIDServer() bool
- func (s PostAccountPasswordEmailRequestCapn) HasNextLink() bool
- func (s PostAccountPasswordEmailRequestCapn) IDServer() (string, error)
- func (s PostAccountPasswordEmailRequestCapn) IDServerBytes() ([]byte, error)
- func (s PostAccountPasswordEmailRequestCapn) NextLink() (string, error)
- func (s PostAccountPasswordEmailRequestCapn) NextLinkBytes() ([]byte, error)
- func (s PostAccountPasswordEmailRequestCapn) SendAttempt() int64
- func (s PostAccountPasswordEmailRequestCapn) SetClientSecret(v string) error
- func (s PostAccountPasswordEmailRequestCapn) SetEmail(v string) error
- func (s PostAccountPasswordEmailRequestCapn) SetIDServer(v string) error
- func (s PostAccountPasswordEmailRequestCapn) SetNextLink(v string) error
- func (s PostAccountPasswordEmailRequestCapn) SetSendAttempt(v int64)
- func (s PostAccountPasswordEmailRequestCapn) String() string
- type PostAccountPasswordEmailRequestCapn_List
- type PostAccountPasswordEmailRequestCapn_Promise
- type PostAccountPasswordEmailResponse
- type PostAccountPasswordEmailResponseCapn
- func NewPostAccountPasswordEmailResponseCapn(s *capnp.Segment) (PostAccountPasswordEmailResponseCapn, error)
- func NewRootPostAccountPasswordEmailResponseCapn(s *capnp.Segment) (PostAccountPasswordEmailResponseCapn, error)
- func ReadRootPostAccountPasswordEmailResponseCapn(msg *capnp.Message) (PostAccountPasswordEmailResponseCapn, error)
- func (s PostAccountPasswordEmailResponseCapn) HasSID() bool
- func (s PostAccountPasswordEmailResponseCapn) SID() (string, error)
- func (s PostAccountPasswordEmailResponseCapn) SIDBytes() ([]byte, error)
- func (s PostAccountPasswordEmailResponseCapn) SetSID(v string) error
- func (s PostAccountPasswordEmailResponseCapn) String() string
- type PostAccountPasswordEmailResponseCapn_List
- type PostAccountPasswordEmailResponseCapn_Promise
- type PostAccountPasswordMsisdResponse
- type PostAccountPasswordMsisdResponseCapn
- func NewPostAccountPasswordMsisdResponseCapn(s *capnp.Segment) (PostAccountPasswordMsisdResponseCapn, error)
- func NewRootPostAccountPasswordMsisdResponseCapn(s *capnp.Segment) (PostAccountPasswordMsisdResponseCapn, error)
- func ReadRootPostAccountPasswordMsisdResponseCapn(msg *capnp.Message) (PostAccountPasswordMsisdResponseCapn, error)
- func (s PostAccountPasswordMsisdResponseCapn) HasSID() bool
- func (s PostAccountPasswordMsisdResponseCapn) SID() (string, error)
- func (s PostAccountPasswordMsisdResponseCapn) SIDBytes() ([]byte, error)
- func (s PostAccountPasswordMsisdResponseCapn) SetSID(v string) error
- func (s PostAccountPasswordMsisdResponseCapn) String() string
- type PostAccountPasswordMsisdResponseCapn_List
- type PostAccountPasswordMsisdResponseCapn_Promise
- type PostAccountPasswordMsisdnRequest
- type PostAccountPasswordMsisdnRequestCapn
- func NewPostAccountPasswordMsisdnRequestCapn(s *capnp.Segment) (PostAccountPasswordMsisdnRequestCapn, error)
- func NewRootPostAccountPasswordMsisdnRequestCapn(s *capnp.Segment) (PostAccountPasswordMsisdnRequestCapn, error)
- func ReadRootPostAccountPasswordMsisdnRequestCapn(msg *capnp.Message) (PostAccountPasswordMsisdnRequestCapn, error)
- func (s PostAccountPasswordMsisdnRequestCapn) ClientSecret() (string, error)
- func (s PostAccountPasswordMsisdnRequestCapn) ClientSecretBytes() ([]byte, error)
- func (s PostAccountPasswordMsisdnRequestCapn) Country() (string, error)
- func (s PostAccountPasswordMsisdnRequestCapn) CountryBytes() ([]byte, error)
- func (s PostAccountPasswordMsisdnRequestCapn) HasClientSecret() bool
- func (s PostAccountPasswordMsisdnRequestCapn) HasCountry() bool
- func (s PostAccountPasswordMsisdnRequestCapn) HasIDServer() bool
- func (s PostAccountPasswordMsisdnRequestCapn) HasNextLink() bool
- func (s PostAccountPasswordMsisdnRequestCapn) HasPhoneNumber() bool
- func (s PostAccountPasswordMsisdnRequestCapn) IDServer() (string, error)
- func (s PostAccountPasswordMsisdnRequestCapn) IDServerBytes() ([]byte, error)
- func (s PostAccountPasswordMsisdnRequestCapn) NextLink() (string, error)
- func (s PostAccountPasswordMsisdnRequestCapn) NextLinkBytes() ([]byte, error)
- func (s PostAccountPasswordMsisdnRequestCapn) PhoneNumber() (string, error)
- func (s PostAccountPasswordMsisdnRequestCapn) PhoneNumberBytes() ([]byte, error)
- func (s PostAccountPasswordMsisdnRequestCapn) SendAttempt() int64
- func (s PostAccountPasswordMsisdnRequestCapn) SetClientSecret(v string) error
- func (s PostAccountPasswordMsisdnRequestCapn) SetCountry(v string) error
- func (s PostAccountPasswordMsisdnRequestCapn) SetIDServer(v string) error
- func (s PostAccountPasswordMsisdnRequestCapn) SetNextLink(v string) error
- func (s PostAccountPasswordMsisdnRequestCapn) SetPhoneNumber(v string) error
- func (s PostAccountPasswordMsisdnRequestCapn) SetSendAttempt(v int64)
- func (s PostAccountPasswordMsisdnRequestCapn) String() string
- type PostAccountPasswordMsisdnRequestCapn_List
- type PostAccountPasswordMsisdnRequestCapn_Promise
- type PostAccountPasswordRequest
- type PostAccountPasswordRequestCapn
- func NewPostAccountPasswordRequestCapn(s *capnp.Segment) (PostAccountPasswordRequestCapn, error)
- func NewRootPostAccountPasswordRequestCapn(s *capnp.Segment) (PostAccountPasswordRequestCapn, error)
- func ReadRootPostAccountPasswordRequestCapn(msg *capnp.Message) (PostAccountPasswordRequestCapn, error)
- func (s PostAccountPasswordRequestCapn) Auth() (AuthDataCapn, error)
- func (s PostAccountPasswordRequestCapn) HasAuth() bool
- func (s PostAccountPasswordRequestCapn) HasNewPassword() bool
- func (s PostAccountPasswordRequestCapn) NewAuth() (AuthDataCapn, error)
- func (s PostAccountPasswordRequestCapn) NewPassword() (string, error)
- func (s PostAccountPasswordRequestCapn) NewPasswordBytes() ([]byte, error)
- func (s PostAccountPasswordRequestCapn) SetAuth(v AuthDataCapn) error
- func (s PostAccountPasswordRequestCapn) SetNewPassword(v string) error
- func (s PostAccountPasswordRequestCapn) String() string
- type PostAccountPasswordRequestCapn_List
- type PostAccountPasswordRequestCapn_Promise
- type PostClaimClientKeysRequest
- type PostClaimClientKeysResponse
- type PostClaimKeysRequest
- type PostClaimKeysResponse
- type PostCreateRoomRequest
- type PostCreateRoomResponse
- type PostCreateRoomResponseCapn
- func (s PostCreateRoomResponseCapn) HasRoomAlias() bool
- func (s PostCreateRoomResponseCapn) HasRoomID() bool
- func (s PostCreateRoomResponseCapn) RoomAlias() (string, error)
- func (s PostCreateRoomResponseCapn) RoomAliasBytes() ([]byte, error)
- func (s PostCreateRoomResponseCapn) RoomID() (string, error)
- func (s PostCreateRoomResponseCapn) RoomIDBytes() ([]byte, error)
- func (s PostCreateRoomResponseCapn) SetRoomAlias(v string) error
- func (s PostCreateRoomResponseCapn) SetRoomID(v string) error
- func (s PostCreateRoomResponseCapn) String() string
- type PostCreateRoomResponseCapn_List
- type PostCreateRoomResponseCapn_Promise
- type PostDelDevicesRequest
- type PostDevicesDelRequest
- type PostDevicesDelRequestCapn
- func (s PostDevicesDelRequestCapn) Auth() (AuthDataCapn, error)
- func (s PostDevicesDelRequestCapn) Devices() (capnp.TextList, error)
- func (s PostDevicesDelRequestCapn) HasAuth() bool
- func (s PostDevicesDelRequestCapn) HasDevices() bool
- func (s PostDevicesDelRequestCapn) NewAuth() (AuthDataCapn, error)
- func (s PostDevicesDelRequestCapn) NewDevices(n int32) (capnp.TextList, error)
- func (s PostDevicesDelRequestCapn) SetAuth(v AuthDataCapn) error
- func (s PostDevicesDelRequestCapn) SetDevices(v capnp.TextList) error
- func (s PostDevicesDelRequestCapn) String() string
- type PostDevicesDelRequestCapn_List
- type PostDevicesDelRequestCapn_Promise
- type PostFedPublicRoomsRequest
- type PostFedPublicRoomsResponse
- type PostLoginAdminRequest
- type PostLoginRequest
- type PostLoginResponse
- type PostLoginResponseCapn
- func (s PostLoginResponseCapn) AccessToken() (string, error)
- func (s PostLoginResponseCapn) AccessTokenBytes() ([]byte, error)
- func (s PostLoginResponseCapn) DeviceID() (string, error)
- func (s PostLoginResponseCapn) DeviceIDBytes() ([]byte, error)
- func (s PostLoginResponseCapn) HasAccessToken() bool
- func (s PostLoginResponseCapn) HasDeviceID() bool
- func (s PostLoginResponseCapn) HasHomeServer() bool
- func (s PostLoginResponseCapn) HasUserID() bool
- func (s PostLoginResponseCapn) HomeServer() (string, error)
- func (s PostLoginResponseCapn) HomeServerBytes() ([]byte, error)
- func (s PostLoginResponseCapn) SetAccessToken(v string) error
- func (s PostLoginResponseCapn) SetDeviceID(v string) error
- func (s PostLoginResponseCapn) SetHomeServer(v string) error
- func (s PostLoginResponseCapn) SetUserID(v string) error
- func (s PostLoginResponseCapn) String() string
- func (s PostLoginResponseCapn) UserID() (string, error)
- func (s PostLoginResponseCapn) UserIDBytes() ([]byte, error)
- type PostLoginResponseCapn_List
- type PostLoginResponseCapn_Promise
- type PostMediaUploadRequest
- type PostMediaUploadRequestCapn
- func (s PostMediaUploadRequestCapn) ContentType() (string, error)
- func (s PostMediaUploadRequestCapn) ContentTypeBytes() ([]byte, error)
- func (s PostMediaUploadRequestCapn) FileName() (string, error)
- func (s PostMediaUploadRequestCapn) FileNameBytes() ([]byte, error)
- func (s PostMediaUploadRequestCapn) HasContentType() bool
- func (s PostMediaUploadRequestCapn) HasFileName() bool
- func (s PostMediaUploadRequestCapn) SetContentType(v string) error
- func (s PostMediaUploadRequestCapn) SetFileName(v string) error
- func (s PostMediaUploadRequestCapn) String() string
- type PostMediaUploadRequestCapn_List
- type PostMediaUploadRequestCapn_Promise
- type PostMediaUploadResponse
- type PostMediaUploadResponseCapn
- func (s PostMediaUploadResponseCapn) ContentURI() (string, error)
- func (s PostMediaUploadResponseCapn) ContentURIBytes() ([]byte, error)
- func (s PostMediaUploadResponseCapn) HasContentURI() bool
- func (s PostMediaUploadResponseCapn) SetContentURI(v string) error
- func (s PostMediaUploadResponseCapn) String() string
- type PostMediaUploadResponseCapn_List
- type PostMediaUploadResponseCapn_Promise
- type PostPresenceListRequest
- type PostPresenceListRequestCapn
- func (s PostPresenceListRequestCapn) Drop() (capnp.TextList, error)
- func (s PostPresenceListRequestCapn) HasDrop() bool
- func (s PostPresenceListRequestCapn) HasInvite() bool
- func (s PostPresenceListRequestCapn) HasUserID() bool
- func (s PostPresenceListRequestCapn) Invite() (capnp.TextList, error)
- func (s PostPresenceListRequestCapn) NewDrop(n int32) (capnp.TextList, error)
- func (s PostPresenceListRequestCapn) NewInvite(n int32) (capnp.TextList, error)
- func (s PostPresenceListRequestCapn) SetDrop(v capnp.TextList) error
- func (s PostPresenceListRequestCapn) SetInvite(v capnp.TextList) error
- func (s PostPresenceListRequestCapn) SetUserID(v string) error
- func (s PostPresenceListRequestCapn) String() string
- func (s PostPresenceListRequestCapn) UserID() (string, error)
- func (s PostPresenceListRequestCapn) UserIDBytes() ([]byte, error)
- type PostPresenceListRequestCapn_List
- type PostPresenceListRequestCapn_Promise
- type PostPublicRoomsRequest
- type PostPublicRoomsRequestCapn
- func (s PostPublicRoomsRequestCapn) Filter() (FilterCapn, error)
- func (s PostPublicRoomsRequestCapn) HasFilter() bool
- func (s PostPublicRoomsRequestCapn) HasServer() bool
- func (s PostPublicRoomsRequestCapn) HasSince() bool
- func (s PostPublicRoomsRequestCapn) HasThirdPartyInstanceID() bool
- func (s PostPublicRoomsRequestCapn) IncludeAllNetworks() bool
- func (s PostPublicRoomsRequestCapn) Limit() int64
- func (s PostPublicRoomsRequestCapn) NewFilter() (FilterCapn, error)
- func (s PostPublicRoomsRequestCapn) Server() (string, error)
- func (s PostPublicRoomsRequestCapn) ServerBytes() ([]byte, error)
- func (s PostPublicRoomsRequestCapn) SetFilter(v FilterCapn) error
- func (s PostPublicRoomsRequestCapn) SetIncludeAllNetworks(v bool)
- func (s PostPublicRoomsRequestCapn) SetLimit(v int64)
- func (s PostPublicRoomsRequestCapn) SetServer(v string) error
- func (s PostPublicRoomsRequestCapn) SetSince(v string) error
- func (s PostPublicRoomsRequestCapn) SetThirdPartyInstanceID(v string) error
- func (s PostPublicRoomsRequestCapn) Since() (string, error)
- func (s PostPublicRoomsRequestCapn) SinceBytes() ([]byte, error)
- func (s PostPublicRoomsRequestCapn) String() string
- func (s PostPublicRoomsRequestCapn) ThirdPartyInstanceID() (string, error)
- func (s PostPublicRoomsRequestCapn) ThirdPartyInstanceIDBytes() ([]byte, error)
- type PostPublicRoomsRequestCapn_List
- type PostPublicRoomsRequestCapn_Promise
- type PostPublicRoomsResponse
- type PostPublicRoomsResponseCapn
- func (s PostPublicRoomsResponseCapn) Chunk() (PublicRoomsChunkCapn_List, error)
- func (s PostPublicRoomsResponseCapn) HasChunk() bool
- func (s PostPublicRoomsResponseCapn) HasNextBatch() bool
- func (s PostPublicRoomsResponseCapn) HasPrevBatch() bool
- func (s PostPublicRoomsResponseCapn) NewChunk(n int32) (PublicRoomsChunkCapn_List, error)
- func (s PostPublicRoomsResponseCapn) NextBatch() (string, error)
- func (s PostPublicRoomsResponseCapn) NextBatchBytes() ([]byte, error)
- func (s PostPublicRoomsResponseCapn) PrevBatch() (string, error)
- func (s PostPublicRoomsResponseCapn) PrevBatchBytes() ([]byte, error)
- func (s PostPublicRoomsResponseCapn) SetChunk(v PublicRoomsChunkCapn_List) error
- func (s PostPublicRoomsResponseCapn) SetNextBatch(v string) error
- func (s PostPublicRoomsResponseCapn) SetPrevBatch(v string) error
- func (s PostPublicRoomsResponseCapn) SetTotal(v int64)
- func (s PostPublicRoomsResponseCapn) String() string
- func (s PostPublicRoomsResponseCapn) Total() int64
- type PostPublicRoomsResponseCapn_List
- type PostPublicRoomsResponseCapn_Promise
- type PostQueryAuthRequest
- type PostQueryAuthResponse
- type PostQueryClientKeysRequest
- type PostQueryClientKeysResponse
- type PostQueryKeysRequest
- type PostQueryKeysResponse
- type PostRegisterEmailRequest
- type PostRegisterEmailRequestCapn
- func (s PostRegisterEmailRequestCapn) ClientSecret() (string, error)
- func (s PostRegisterEmailRequestCapn) ClientSecretBytes() ([]byte, error)
- func (s PostRegisterEmailRequestCapn) Email() (string, error)
- func (s PostRegisterEmailRequestCapn) EmailBytes() ([]byte, error)
- func (s PostRegisterEmailRequestCapn) HasClientSecret() bool
- func (s PostRegisterEmailRequestCapn) HasEmail() bool
- func (s PostRegisterEmailRequestCapn) HasIDServer() bool
- func (s PostRegisterEmailRequestCapn) HasNextLink() bool
- func (s PostRegisterEmailRequestCapn) IDServer() (string, error)
- func (s PostRegisterEmailRequestCapn) IDServerBytes() ([]byte, error)
- func (s PostRegisterEmailRequestCapn) NextLink() (string, error)
- func (s PostRegisterEmailRequestCapn) NextLinkBytes() ([]byte, error)
- func (s PostRegisterEmailRequestCapn) SendAttempt() int64
- func (s PostRegisterEmailRequestCapn) SetClientSecret(v string) error
- func (s PostRegisterEmailRequestCapn) SetEmail(v string) error
- func (s PostRegisterEmailRequestCapn) SetIDServer(v string) error
- func (s PostRegisterEmailRequestCapn) SetNextLink(v string) error
- func (s PostRegisterEmailRequestCapn) SetSendAttempt(v int64)
- func (s PostRegisterEmailRequestCapn) String() string
- type PostRegisterEmailRequestCapn_List
- type PostRegisterEmailRequestCapn_Promise
- type PostRegisterEmailResponse
- type PostRegisterEmailResponseCapn
- type PostRegisterEmailResponseCapn_List
- type PostRegisterEmailResponseCapn_Promise
- type PostRegisterMsisdResponse
- type PostRegisterMsisdResponseCapn
- type PostRegisterMsisdResponseCapn_List
- type PostRegisterMsisdResponseCapn_Promise
- type PostRegisterMsisdnRequest
- type PostRegisterMsisdnRequestCapn
- func (s PostRegisterMsisdnRequestCapn) ClientSecret() (string, error)
- func (s PostRegisterMsisdnRequestCapn) ClientSecretBytes() ([]byte, error)
- func (s PostRegisterMsisdnRequestCapn) Country() (string, error)
- func (s PostRegisterMsisdnRequestCapn) CountryBytes() ([]byte, error)
- func (s PostRegisterMsisdnRequestCapn) HasClientSecret() bool
- func (s PostRegisterMsisdnRequestCapn) HasCountry() bool
- func (s PostRegisterMsisdnRequestCapn) HasIDServer() bool
- func (s PostRegisterMsisdnRequestCapn) HasNextLink() bool
- func (s PostRegisterMsisdnRequestCapn) HasPhoneNumber() bool
- func (s PostRegisterMsisdnRequestCapn) IDServer() (string, error)
- func (s PostRegisterMsisdnRequestCapn) IDServerBytes() ([]byte, error)
- func (s PostRegisterMsisdnRequestCapn) NextLink() (string, error)
- func (s PostRegisterMsisdnRequestCapn) NextLinkBytes() ([]byte, error)
- func (s PostRegisterMsisdnRequestCapn) PhoneNumber() (string, error)
- func (s PostRegisterMsisdnRequestCapn) PhoneNumberBytes() ([]byte, error)
- func (s PostRegisterMsisdnRequestCapn) SendAttempt() int64
- func (s PostRegisterMsisdnRequestCapn) SetClientSecret(v string) error
- func (s PostRegisterMsisdnRequestCapn) SetCountry(v string) error
- func (s PostRegisterMsisdnRequestCapn) SetIDServer(v string) error
- func (s PostRegisterMsisdnRequestCapn) SetNextLink(v string) error
- func (s PostRegisterMsisdnRequestCapn) SetPhoneNumber(v string) error
- func (s PostRegisterMsisdnRequestCapn) SetSendAttempt(v int64)
- func (s PostRegisterMsisdnRequestCapn) String() string
- type PostRegisterMsisdnRequestCapn_List
- type PostRegisterMsisdnRequestCapn_Promise
- type PostRegisterRequest
- type PostRegisterRequestCapn
- func (s PostRegisterRequestCapn) AccessToken() (string, error)
- func (s PostRegisterRequestCapn) AccessTokenBytes() ([]byte, error)
- func (s PostRegisterRequestCapn) Admin() bool
- func (s PostRegisterRequestCapn) Auth() (AuthDictCapn, error)
- func (s PostRegisterRequestCapn) BindEmail() bool
- func (s PostRegisterRequestCapn) DeviceID() (string, error)
- func (s PostRegisterRequestCapn) DeviceIDBytes() ([]byte, error)
- func (s PostRegisterRequestCapn) Domain() (string, error)
- func (s PostRegisterRequestCapn) DomainBytes() ([]byte, error)
- func (s PostRegisterRequestCapn) HasAccessToken() bool
- func (s PostRegisterRequestCapn) HasAuth() bool
- func (s PostRegisterRequestCapn) HasDeviceID() bool
- func (s PostRegisterRequestCapn) HasDomain() bool
- func (s PostRegisterRequestCapn) HasInitialDisplayName() bool
- func (s PostRegisterRequestCapn) HasKind() bool
- func (s PostRegisterRequestCapn) HasPassword() bool
- func (s PostRegisterRequestCapn) HasRemoteAddr() bool
- func (s PostRegisterRequestCapn) HasUsername() bool
- func (s PostRegisterRequestCapn) InhibitLogin() bool
- func (s PostRegisterRequestCapn) InitialDisplayName() (string, error)
- func (s PostRegisterRequestCapn) InitialDisplayNameBytes() ([]byte, error)
- func (s PostRegisterRequestCapn) Kind() (string, error)
- func (s PostRegisterRequestCapn) KindBytes() ([]byte, error)
- func (s PostRegisterRequestCapn) NewAuth() (AuthDictCapn, error)
- func (s PostRegisterRequestCapn) Password() (string, error)
- func (s PostRegisterRequestCapn) PasswordBytes() ([]byte, error)
- func (s PostRegisterRequestCapn) RemoteAddr() (string, error)
- func (s PostRegisterRequestCapn) RemoteAddrBytes() ([]byte, error)
- func (s PostRegisterRequestCapn) SetAccessToken(v string) error
- func (s PostRegisterRequestCapn) SetAdmin(v bool)
- func (s PostRegisterRequestCapn) SetAuth(v AuthDictCapn) error
- func (s PostRegisterRequestCapn) SetBindEmail(v bool)
- func (s PostRegisterRequestCapn) SetDeviceID(v string) error
- func (s PostRegisterRequestCapn) SetDomain(v string) error
- func (s PostRegisterRequestCapn) SetInhibitLogin(v bool)
- func (s PostRegisterRequestCapn) SetInitialDisplayName(v string) error
- func (s PostRegisterRequestCapn) SetKind(v string) error
- func (s PostRegisterRequestCapn) SetPassword(v string) error
- func (s PostRegisterRequestCapn) SetRemoteAddr(v string) error
- func (s PostRegisterRequestCapn) SetUsername(v string) error
- func (s PostRegisterRequestCapn) String() string
- func (s PostRegisterRequestCapn) Username() (string, error)
- func (s PostRegisterRequestCapn) UsernameBytes() ([]byte, error)
- type PostRegisterRequestCapn_List
- type PostRegisterRequestCapn_Promise
- type PostReportDeviceState
- type PostReportMissingEventsRequest
- type PostReportRoomRequest
- type PostRoomReadMarkersRequest
- type PostRoomReadMarkersRequestCapn
- func NewPostRoomReadMarkersRequestCapn(s *capnp.Segment) (PostRoomReadMarkersRequestCapn, error)
- func NewRootPostRoomReadMarkersRequestCapn(s *capnp.Segment) (PostRoomReadMarkersRequestCapn, error)
- func ReadRootPostRoomReadMarkersRequestCapn(msg *capnp.Message) (PostRoomReadMarkersRequestCapn, error)
- func (s PostRoomReadMarkersRequestCapn) FullyRead() (string, error)
- func (s PostRoomReadMarkersRequestCapn) FullyReadBytes() ([]byte, error)
- func (s PostRoomReadMarkersRequestCapn) HasFullyRead() bool
- func (s PostRoomReadMarkersRequestCapn) HasRead() bool
- func (s PostRoomReadMarkersRequestCapn) HasReceiptType() bool
- func (s PostRoomReadMarkersRequestCapn) HasRoomID() bool
- func (s PostRoomReadMarkersRequestCapn) Read() (string, error)
- func (s PostRoomReadMarkersRequestCapn) ReadBytes() ([]byte, error)
- func (s PostRoomReadMarkersRequestCapn) ReceiptType() (string, error)
- func (s PostRoomReadMarkersRequestCapn) ReceiptTypeBytes() ([]byte, error)
- func (s PostRoomReadMarkersRequestCapn) RoomID() (string, error)
- func (s PostRoomReadMarkersRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PostRoomReadMarkersRequestCapn) SetFullyRead(v string) error
- func (s PostRoomReadMarkersRequestCapn) SetRead(v string) error
- func (s PostRoomReadMarkersRequestCapn) SetReceiptType(v string) error
- func (s PostRoomReadMarkersRequestCapn) SetRoomID(v string) error
- func (s PostRoomReadMarkersRequestCapn) String() string
- type PostRoomReadMarkersRequestCapn_List
- type PostRoomReadMarkersRequestCapn_Promise
- type PostRoomReceiptRequest
- type PostRoomReceiptRequestCapn
- func (s PostRoomReceiptRequestCapn) EventID() (string, error)
- func (s PostRoomReceiptRequestCapn) EventIDBytes() ([]byte, error)
- func (s PostRoomReceiptRequestCapn) HasEventID() bool
- func (s PostRoomReceiptRequestCapn) HasReceiptType() bool
- func (s PostRoomReceiptRequestCapn) HasRoomID() bool
- func (s PostRoomReceiptRequestCapn) ReceiptType() (string, error)
- func (s PostRoomReceiptRequestCapn) ReceiptTypeBytes() ([]byte, error)
- func (s PostRoomReceiptRequestCapn) RoomID() (string, error)
- func (s PostRoomReceiptRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PostRoomReceiptRequestCapn) SetEventID(v string) error
- func (s PostRoomReceiptRequestCapn) SetReceiptType(v string) error
- func (s PostRoomReceiptRequestCapn) SetRoomID(v string) error
- func (s PostRoomReceiptRequestCapn) String() string
- type PostRoomReceiptRequestCapn_List
- type PostRoomReceiptRequestCapn_Promise
- type PostRoomReportRequest
- type PostRoomsBanRequest
- type PostRoomsBanRequestCapn
- func (s PostRoomsBanRequestCapn) HasReason() bool
- func (s PostRoomsBanRequestCapn) HasRoomID() bool
- func (s PostRoomsBanRequestCapn) HasUserID() bool
- func (s PostRoomsBanRequestCapn) Reason() (string, error)
- func (s PostRoomsBanRequestCapn) ReasonBytes() ([]byte, error)
- func (s PostRoomsBanRequestCapn) RoomID() (string, error)
- func (s PostRoomsBanRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PostRoomsBanRequestCapn) SetReason(v string) error
- func (s PostRoomsBanRequestCapn) SetRoomID(v string) error
- func (s PostRoomsBanRequestCapn) SetUserID(v string) error
- func (s PostRoomsBanRequestCapn) String() string
- func (s PostRoomsBanRequestCapn) UserID() (string, error)
- func (s PostRoomsBanRequestCapn) UserIDBytes() ([]byte, error)
- type PostRoomsBanRequestCapn_List
- type PostRoomsBanRequestCapn_Promise
- type PostRoomsForgetRequest
- type PostRoomsForgetRequestCapn
- type PostRoomsForgetRequestCapn_List
- type PostRoomsForgetRequestCapn_Promise
- type PostRoomsInviteRequest
- type PostRoomsInviteRequestCapn
- func (s PostRoomsInviteRequestCapn) HasRoomID() bool
- func (s PostRoomsInviteRequestCapn) HasUserID() bool
- func (s PostRoomsInviteRequestCapn) RoomID() (string, error)
- func (s PostRoomsInviteRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PostRoomsInviteRequestCapn) SetRoomID(v string) error
- func (s PostRoomsInviteRequestCapn) SetUserID(v string) error
- func (s PostRoomsInviteRequestCapn) String() string
- func (s PostRoomsInviteRequestCapn) UserID() (string, error)
- func (s PostRoomsInviteRequestCapn) UserIDBytes() ([]byte, error)
- type PostRoomsInviteRequestCapn_List
- type PostRoomsInviteRequestCapn_Promise
- type PostRoomsJoinByAliasRequest
- type PostRoomsJoinByAliasResponse
- type PostRoomsJoinByAliasResponseCapn
- func NewPostRoomsJoinByAliasResponseCapn(s *capnp.Segment) (PostRoomsJoinByAliasResponseCapn, error)
- func NewRootPostRoomsJoinByAliasResponseCapn(s *capnp.Segment) (PostRoomsJoinByAliasResponseCapn, error)
- func ReadRootPostRoomsJoinByAliasResponseCapn(msg *capnp.Message) (PostRoomsJoinByAliasResponseCapn, error)
- func (s PostRoomsJoinByAliasResponseCapn) HasRoomID() bool
- func (s PostRoomsJoinByAliasResponseCapn) RoomID() (string, error)
- func (s PostRoomsJoinByAliasResponseCapn) RoomIDBytes() ([]byte, error)
- func (s PostRoomsJoinByAliasResponseCapn) SetRoomID(v string) error
- func (s PostRoomsJoinByAliasResponseCapn) String() string
- type PostRoomsJoinByAliasResponseCapn_List
- type PostRoomsJoinByAliasResponseCapn_Promise
- type PostRoomsJoinResponseCapn
- type PostRoomsJoinResponseCapn_List
- type PostRoomsJoinResponseCapn_Promise
- type PostRoomsKickRequest
- type PostRoomsKickRequestCapn
- func (s PostRoomsKickRequestCapn) HasReason() bool
- func (s PostRoomsKickRequestCapn) HasRoomID() bool
- func (s PostRoomsKickRequestCapn) HasUserID() bool
- func (s PostRoomsKickRequestCapn) Reason() (string, error)
- func (s PostRoomsKickRequestCapn) ReasonBytes() ([]byte, error)
- func (s PostRoomsKickRequestCapn) RoomID() (string, error)
- func (s PostRoomsKickRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PostRoomsKickRequestCapn) SetReason(v string) error
- func (s PostRoomsKickRequestCapn) SetRoomID(v string) error
- func (s PostRoomsKickRequestCapn) SetUserID(v string) error
- func (s PostRoomsKickRequestCapn) String() string
- func (s PostRoomsKickRequestCapn) UserID() (string, error)
- func (s PostRoomsKickRequestCapn) UserIDBytes() ([]byte, error)
- type PostRoomsKickRequestCapn_List
- type PostRoomsKickRequestCapn_Promise
- type PostRoomsLeaveRequest
- type PostRoomsLeaveRequestCapn
- type PostRoomsLeaveRequestCapn_List
- type PostRoomsLeaveRequestCapn_Promise
- type PostRoomsMembershipRequest
- type PostRoomsMembershipResponse
- type PostRoomsUnbanRequest
- type PostRoomsUnbanRequestCapn
- func (s PostRoomsUnbanRequestCapn) HasRoomID() bool
- func (s PostRoomsUnbanRequestCapn) HasUserID() bool
- func (s PostRoomsUnbanRequestCapn) RoomID() (string, error)
- func (s PostRoomsUnbanRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PostRoomsUnbanRequestCapn) SetRoomID(v string) error
- func (s PostRoomsUnbanRequestCapn) SetUserID(v string) error
- func (s PostRoomsUnbanRequestCapn) String() string
- func (s PostRoomsUnbanRequestCapn) UserID() (string, error)
- func (s PostRoomsUnbanRequestCapn) UserIDBytes() ([]byte, error)
- type PostRoomsUnbanRequestCapn_List
- type PostRoomsUnbanRequestCapn_Promise
- type PostSetPushersRequest
- type PostSetPushersRequestCapn
- func (s PostSetPushersRequestCapn) AppDisplayName() (string, error)
- func (s PostSetPushersRequestCapn) AppDisplayNameBytes() ([]byte, error)
- func (s PostSetPushersRequestCapn) AppID() (string, error)
- func (s PostSetPushersRequestCapn) AppIDBytes() ([]byte, error)
- func (s PostSetPushersRequestCapn) Append() bool
- func (s PostSetPushersRequestCapn) Data() (PusherDataCapn, error)
- func (s PostSetPushersRequestCapn) DeviceDisplayName() (string, error)
- func (s PostSetPushersRequestCapn) DeviceDisplayNameBytes() ([]byte, error)
- func (s PostSetPushersRequestCapn) HasAppDisplayName() bool
- func (s PostSetPushersRequestCapn) HasAppID() bool
- func (s PostSetPushersRequestCapn) HasData() bool
- func (s PostSetPushersRequestCapn) HasDeviceDisplayName() bool
- func (s PostSetPushersRequestCapn) HasKind() bool
- func (s PostSetPushersRequestCapn) HasLang() bool
- func (s PostSetPushersRequestCapn) HasProfileTag() bool
- func (s PostSetPushersRequestCapn) HasPushkey() bool
- func (s PostSetPushersRequestCapn) Kind() (string, error)
- func (s PostSetPushersRequestCapn) KindBytes() ([]byte, error)
- func (s PostSetPushersRequestCapn) Lang() (string, error)
- func (s PostSetPushersRequestCapn) LangBytes() ([]byte, error)
- func (s PostSetPushersRequestCapn) NewData() (PusherDataCapn, error)
- func (s PostSetPushersRequestCapn) ProfileTag() (string, error)
- func (s PostSetPushersRequestCapn) ProfileTagBytes() ([]byte, error)
- func (s PostSetPushersRequestCapn) Pushkey() (string, error)
- func (s PostSetPushersRequestCapn) PushkeyBytes() ([]byte, error)
- func (s PostSetPushersRequestCapn) SetAppDisplayName(v string) error
- func (s PostSetPushersRequestCapn) SetAppID(v string) error
- func (s PostSetPushersRequestCapn) SetAppend(v bool)
- func (s PostSetPushersRequestCapn) SetData(v PusherDataCapn) error
- func (s PostSetPushersRequestCapn) SetDeviceDisplayName(v string) error
- func (s PostSetPushersRequestCapn) SetKind(v string) error
- func (s PostSetPushersRequestCapn) SetLang(v string) error
- func (s PostSetPushersRequestCapn) SetProfileTag(v string) error
- func (s PostSetPushersRequestCapn) SetPushkey(v string) error
- func (s PostSetPushersRequestCapn) String() string
- type PostSetPushersRequestCapn_List
- type PostSetPushersRequestCapn_Promise
- type PostSystemManagerRequest
- type PostUploadKeysRequest
- type PostUploadKeysResponse
- type PostUserFilterRequest
- type PostUserFilterResponse
- type PostUserFilterResponseCapn
- func (s PostUserFilterResponseCapn) FilterID() (string, error)
- func (s PostUserFilterResponseCapn) FilterIDBytes() ([]byte, error)
- func (s PostUserFilterResponseCapn) HasFilterID() bool
- func (s PostUserFilterResponseCapn) SetFilterID(v string) error
- func (s PostUserFilterResponseCapn) String() string
- type PostUserFilterResponseCapn_List
- type PostUserFilterResponseCapn_Promise
- type PostUserInfoRequest
- type PostUserOpenIDRequest
- type PostUserOpenIDResponse
- type PostUserPresenceListRequest
- type PostUserPresenceListRequestCapn
- func NewPostUserPresenceListRequestCapn(s *capnp.Segment) (PostUserPresenceListRequestCapn, error)
- func NewRootPostUserPresenceListRequestCapn(s *capnp.Segment) (PostUserPresenceListRequestCapn, error)
- func ReadRootPostUserPresenceListRequestCapn(msg *capnp.Message) (PostUserPresenceListRequestCapn, error)
- func (s PostUserPresenceListRequestCapn) Drop() (capnp.TextList, error)
- func (s PostUserPresenceListRequestCapn) HasDrop() bool
- func (s PostUserPresenceListRequestCapn) HasInvite() bool
- func (s PostUserPresenceListRequestCapn) HasUserID() bool
- func (s PostUserPresenceListRequestCapn) Invite() (capnp.TextList, error)
- func (s PostUserPresenceListRequestCapn) NewDrop(n int32) (capnp.TextList, error)
- func (s PostUserPresenceListRequestCapn) NewInvite(n int32) (capnp.TextList, error)
- func (s PostUserPresenceListRequestCapn) SetDrop(v capnp.TextList) error
- func (s PostUserPresenceListRequestCapn) SetInvite(v capnp.TextList) error
- func (s PostUserPresenceListRequestCapn) SetUserID(v string) error
- func (s PostUserPresenceListRequestCapn) String() string
- func (s PostUserPresenceListRequestCapn) UserID() (string, error)
- func (s PostUserPresenceListRequestCapn) UserIDBytes() ([]byte, error)
- type PostUserPresenceListRequestCapn_List
- type PostUserPresenceListRequestCapn_Promise
- type PostUserSearchRequest
- type PostUserSearchRequestCapn
- func (s PostUserSearchRequestCapn) HasSearchTerm() bool
- func (s PostUserSearchRequestCapn) Limit() int64
- func (s PostUserSearchRequestCapn) SearchTerm() (string, error)
- func (s PostUserSearchRequestCapn) SearchTermBytes() ([]byte, error)
- func (s PostUserSearchRequestCapn) SetLimit(v int64)
- func (s PostUserSearchRequestCapn) SetSearchTerm(v string) error
- func (s PostUserSearchRequestCapn) String() string
- type PostUserSearchRequestCapn_List
- type PostUserSearchRequestCapn_Promise
- type PostUserSearchResponse
- type PostUserSearchResponseCapn
- func (s PostUserSearchResponseCapn) HasResults() bool
- func (s PostUserSearchResponseCapn) Limited() bool
- func (s PostUserSearchResponseCapn) NewResults(n int32) (UserCapn_List, error)
- func (s PostUserSearchResponseCapn) Results() (UserCapn_List, error)
- func (s PostUserSearchResponseCapn) SetLimited(v bool)
- func (s PostUserSearchResponseCapn) SetResults(v UserCapn_List) error
- func (s PostUserSearchResponseCapn) String() string
- type PostUserSearchResponseCapn_List
- type PostUserSearchResponseCapn_Promise
- type PostUsersPushKeyRequest
- type PostUsersPushKeyResponse
- type PostVoipTurnServerResponse
- type Presence
- type PresenceCapn
- type PresenceCapn_List
- type PresenceCapn_Promise
- type PresenceEvent
- type PresenceJSON
- type PresenceJSONCapn
- func (s PresenceJSONCapn) AvatarURL() (string, error)
- func (s PresenceJSONCapn) AvatarURLBytes() ([]byte, error)
- func (s PresenceJSONCapn) CurrentlyActive() bool
- func (s PresenceJSONCapn) DisplayName() (string, error)
- func (s PresenceJSONCapn) DisplayNameBytes() ([]byte, error)
- func (s PresenceJSONCapn) ExtStatusMsg() (string, error)
- func (s PresenceJSONCapn) ExtStatusMsgBytes() ([]byte, error)
- func (s PresenceJSONCapn) HasAvatarURL() bool
- func (s PresenceJSONCapn) HasDisplayName() bool
- func (s PresenceJSONCapn) HasExtStatusMsg() bool
- func (s PresenceJSONCapn) HasPresence() bool
- func (s PresenceJSONCapn) HasStatusMsg() bool
- func (s PresenceJSONCapn) HasUserID() bool
- func (s PresenceJSONCapn) LastActiveAgo() int64
- func (s PresenceJSONCapn) Presence() (string, error)
- func (s PresenceJSONCapn) PresenceBytes() ([]byte, error)
- func (s PresenceJSONCapn) SetAvatarURL(v string) error
- func (s PresenceJSONCapn) SetCurrentlyActive(v bool)
- func (s PresenceJSONCapn) SetDisplayName(v string) error
- func (s PresenceJSONCapn) SetExtStatusMsg(v string) error
- func (s PresenceJSONCapn) SetLastActiveAgo(v int64)
- func (s PresenceJSONCapn) SetPresence(v string) error
- func (s PresenceJSONCapn) SetStatusMsg(v string) error
- func (s PresenceJSONCapn) SetUserID(v string) error
- func (s PresenceJSONCapn) StatusMsg() (string, error)
- func (s PresenceJSONCapn) StatusMsgBytes() ([]byte, error)
- func (s PresenceJSONCapn) String() string
- func (s PresenceJSONCapn) UserID() (string, error)
- func (s PresenceJSONCapn) UserIDBytes() ([]byte, error)
- type PresenceJSONCapn_List
- type PresenceJSONCapn_Promise
- type PresenceListJSON
- type PresenceListJSONCapn
- func (s PresenceListJSONCapn) Content() (PresenceJSONCapn, error)
- func (s PresenceListJSONCapn) HasContent() bool
- func (s PresenceListJSONCapn) HasTyp() bool
- func (s PresenceListJSONCapn) NewContent() (PresenceJSONCapn, error)
- func (s PresenceListJSONCapn) SetContent(v PresenceJSONCapn) error
- func (s PresenceListJSONCapn) SetTyp(v string) error
- func (s PresenceListJSONCapn) String() string
- func (s PresenceListJSONCapn) Typ() (string, error)
- func (s PresenceListJSONCapn) TypBytes() ([]byte, error)
- type PresenceListJSONCapn_List
- type PresenceListJSONCapn_Promise
- type ProfileItem
- type ProtocolInstance
- type PublicRoomsChunk
- type PublicRoomsChunkCapn
- func (s PublicRoomsChunkCapn) Aliases() (capnp.TextList, error)
- func (s PublicRoomsChunkCapn) AvatarURL() (string, error)
- func (s PublicRoomsChunkCapn) AvatarURLBytes() ([]byte, error)
- func (s PublicRoomsChunkCapn) CanonicalAlias() (string, error)
- func (s PublicRoomsChunkCapn) CanonicalAliasBytes() ([]byte, error)
- func (s PublicRoomsChunkCapn) GuestCanJoin() bool
- func (s PublicRoomsChunkCapn) HasAliases() bool
- func (s PublicRoomsChunkCapn) HasAvatarURL() bool
- func (s PublicRoomsChunkCapn) HasCanonicalAlias() bool
- func (s PublicRoomsChunkCapn) HasName() bool
- func (s PublicRoomsChunkCapn) HasRoomID() bool
- func (s PublicRoomsChunkCapn) HasTopic() bool
- func (s PublicRoomsChunkCapn) Name() (string, error)
- func (s PublicRoomsChunkCapn) NameBytes() ([]byte, error)
- func (s PublicRoomsChunkCapn) NewAliases(n int32) (capnp.TextList, error)
- func (s PublicRoomsChunkCapn) NumJoinedMembers() int64
- func (s PublicRoomsChunkCapn) RoomID() (string, error)
- func (s PublicRoomsChunkCapn) RoomIDBytes() ([]byte, error)
- func (s PublicRoomsChunkCapn) SetAliases(v capnp.TextList) error
- func (s PublicRoomsChunkCapn) SetAvatarURL(v string) error
- func (s PublicRoomsChunkCapn) SetCanonicalAlias(v string) error
- func (s PublicRoomsChunkCapn) SetGuestCanJoin(v bool)
- func (s PublicRoomsChunkCapn) SetName(v string) error
- func (s PublicRoomsChunkCapn) SetNumJoinedMembers(v int64)
- func (s PublicRoomsChunkCapn) SetRoomID(v string) error
- func (s PublicRoomsChunkCapn) SetTopic(v string) error
- func (s PublicRoomsChunkCapn) SetWorldReadable(v bool)
- func (s PublicRoomsChunkCapn) String() string
- func (s PublicRoomsChunkCapn) Topic() (string, error)
- func (s PublicRoomsChunkCapn) TopicBytes() ([]byte, error)
- func (s PublicRoomsChunkCapn) WorldReadable() bool
- type PublicRoomsChunkCapn_List
- type PublicRoomsChunkCapn_Promise
- type PushCondition
- type PushConditionCapn
- func (s PushConditionCapn) HasIs() bool
- func (s PushConditionCapn) HasKey() bool
- func (s PushConditionCapn) HasKind() bool
- func (s PushConditionCapn) HasPattern() bool
- func (s PushConditionCapn) Is() (string, error)
- func (s PushConditionCapn) IsBytes() ([]byte, error)
- func (s PushConditionCapn) Key() (string, error)
- func (s PushConditionCapn) KeyBytes() ([]byte, error)
- func (s PushConditionCapn) Kind() (string, error)
- func (s PushConditionCapn) KindBytes() ([]byte, error)
- func (s PushConditionCapn) Pattern() (string, error)
- func (s PushConditionCapn) PatternBytes() ([]byte, error)
- func (s PushConditionCapn) SetIs(v string) error
- func (s PushConditionCapn) SetKey(v string) error
- func (s PushConditionCapn) SetKind(v string) error
- func (s PushConditionCapn) SetPattern(v string) error
- func (s PushConditionCapn) String() string
- type PushConditionCapn_List
- type PushConditionCapn_Promise
- type PushRule
- type Pusher
- type PusherCapn
- func (s PusherCapn) AppDisplayName() (string, error)
- func (s PusherCapn) AppDisplayNameBytes() ([]byte, error)
- func (s PusherCapn) AppID() (string, error)
- func (s PusherCapn) AppIDBytes() ([]byte, error)
- func (s PusherCapn) Data() (PusherDataCapn, error)
- func (s PusherCapn) DeviceDisplayName() (string, error)
- func (s PusherCapn) DeviceDisplayNameBytes() ([]byte, error)
- func (s PusherCapn) HasAppDisplayName() bool
- func (s PusherCapn) HasAppID() bool
- func (s PusherCapn) HasData() bool
- func (s PusherCapn) HasDeviceDisplayName() bool
- func (s PusherCapn) HasKind() bool
- func (s PusherCapn) HasLang() bool
- func (s PusherCapn) HasProfileTag() bool
- func (s PusherCapn) HasPushkey() bool
- func (s PusherCapn) Kind() (string, error)
- func (s PusherCapn) KindBytes() ([]byte, error)
- func (s PusherCapn) Lang() (string, error)
- func (s PusherCapn) LangBytes() ([]byte, error)
- func (s PusherCapn) NewData() (PusherDataCapn, error)
- func (s PusherCapn) ProfileTag() (string, error)
- func (s PusherCapn) ProfileTagBytes() ([]byte, error)
- func (s PusherCapn) Pushkey() (string, error)
- func (s PusherCapn) PushkeyBytes() ([]byte, error)
- func (s PusherCapn) SetAppDisplayName(v string) error
- func (s PusherCapn) SetAppID(v string) error
- func (s PusherCapn) SetData(v PusherDataCapn) error
- func (s PusherCapn) SetDeviceDisplayName(v string) error
- func (s PusherCapn) SetKind(v string) error
- func (s PusherCapn) SetLang(v string) error
- func (s PusherCapn) SetProfileTag(v string) error
- func (s PusherCapn) SetPushkey(v string) error
- func (s PusherCapn) String() string
- type PusherCapn_List
- type PusherCapn_Promise
- type PusherData
- type PusherDataCapn
- func (s PusherDataCapn) Format() (string, error)
- func (s PusherDataCapn) FormatBytes() ([]byte, error)
- func (s PusherDataCapn) HasFormat() bool
- func (s PusherDataCapn) HasPushChannel() bool
- func (s PusherDataCapn) HasPushType() bool
- func (s PusherDataCapn) HasURL() bool
- func (s PusherDataCapn) PushChannel() (string, error)
- func (s PusherDataCapn) PushChannelBytes() ([]byte, error)
- func (s PusherDataCapn) PushType() (string, error)
- func (s PusherDataCapn) PushTypeBytes() ([]byte, error)
- func (s PusherDataCapn) SetFormat(v string) error
- func (s PusherDataCapn) SetPushChannel(v string) error
- func (s PusherDataCapn) SetPushType(v string) error
- func (s PusherDataCapn) SetURL(v string) error
- func (s PusherDataCapn) String() string
- func (s PusherDataCapn) URL() (string, error)
- func (s PusherDataCapn) URLBytes() ([]byte, error)
- type PusherDataCapn_List
- type PusherDataCapn_Promise
- type PusherRes
- type PutAvatarURLRequest
- type PutAvatarURLRequestCapn
- func (s PutAvatarURLRequestCapn) AvatarURL() (string, error)
- func (s PutAvatarURLRequestCapn) AvatarURLBytes() ([]byte, error)
- func (s PutAvatarURLRequestCapn) HasAvatarURL() bool
- func (s PutAvatarURLRequestCapn) HasUserID() bool
- func (s PutAvatarURLRequestCapn) SetAvatarURL(v string) error
- func (s PutAvatarURLRequestCapn) SetUserID(v string) error
- func (s PutAvatarURLRequestCapn) String() string
- func (s PutAvatarURLRequestCapn) UserID() (string, error)
- func (s PutAvatarURLRequestCapn) UserIDBytes() ([]byte, error)
- type PutAvatarURLRequestCapn_List
- type PutAvatarURLRequestCapn_Promise
- type PutDeviceRequest
- type PutDeviceRequestCapn
- func (s PutDeviceRequestCapn) DeviceID() (string, error)
- func (s PutDeviceRequestCapn) DeviceIDBytes() ([]byte, error)
- func (s PutDeviceRequestCapn) DisplayName() (string, error)
- func (s PutDeviceRequestCapn) DisplayNameBytes() ([]byte, error)
- func (s PutDeviceRequestCapn) HasDeviceID() bool
- func (s PutDeviceRequestCapn) HasDisplayName() bool
- func (s PutDeviceRequestCapn) SetDeviceID(v string) error
- func (s PutDeviceRequestCapn) SetDisplayName(v string) error
- func (s PutDeviceRequestCapn) String() string
- type PutDeviceRequestCapn_List
- type PutDeviceRequestCapn_Promise
- type PutDevicesByIDRequest
- type PutDevicesByIDRequestCapn
- func (s PutDevicesByIDRequestCapn) DeviceId() (string, error)
- func (s PutDevicesByIDRequestCapn) DeviceIdBytes() ([]byte, error)
- func (s PutDevicesByIDRequestCapn) DisplayName() (string, error)
- func (s PutDevicesByIDRequestCapn) DisplayNameBytes() ([]byte, error)
- func (s PutDevicesByIDRequestCapn) HasDeviceId() bool
- func (s PutDevicesByIDRequestCapn) HasDisplayName() bool
- func (s PutDevicesByIDRequestCapn) SetDeviceId(v string) error
- func (s PutDevicesByIDRequestCapn) SetDisplayName(v string) error
- func (s PutDevicesByIDRequestCapn) String() string
- type PutDevicesByIDRequestCapn_List
- type PutDevicesByIDRequestCapn_Promise
- type PutDirectoryRoomAliasRequest
- type PutDirectoryRoomAliasRequestCapn
- func NewPutDirectoryRoomAliasRequestCapn(s *capnp.Segment) (PutDirectoryRoomAliasRequestCapn, error)
- func NewRootPutDirectoryRoomAliasRequestCapn(s *capnp.Segment) (PutDirectoryRoomAliasRequestCapn, error)
- func ReadRootPutDirectoryRoomAliasRequestCapn(msg *capnp.Message) (PutDirectoryRoomAliasRequestCapn, error)
- func (s PutDirectoryRoomAliasRequestCapn) HasRoomAlias() bool
- func (s PutDirectoryRoomAliasRequestCapn) HasRoomID() bool
- func (s PutDirectoryRoomAliasRequestCapn) RoomAlias() (string, error)
- func (s PutDirectoryRoomAliasRequestCapn) RoomAliasBytes() ([]byte, error)
- func (s PutDirectoryRoomAliasRequestCapn) RoomID() (string, error)
- func (s PutDirectoryRoomAliasRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PutDirectoryRoomAliasRequestCapn) SetRoomAlias(v string) error
- func (s PutDirectoryRoomAliasRequestCapn) SetRoomID(v string) error
- func (s PutDirectoryRoomAliasRequestCapn) String() string
- type PutDirectoryRoomAliasRequestCapn_List
- type PutDirectoryRoomAliasRequestCapn_Promise
- type PutDirectoryRoomRequest
- type PutDirectoryRoomRequestCapn
- func (s PutDirectoryRoomRequestCapn) HasRoomID() bool
- func (s PutDirectoryRoomRequestCapn) HasVisibility() bool
- func (s PutDirectoryRoomRequestCapn) RoomID() (string, error)
- func (s PutDirectoryRoomRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PutDirectoryRoomRequestCapn) SetRoomID(v string) error
- func (s PutDirectoryRoomRequestCapn) SetVisibility(v string) error
- func (s PutDirectoryRoomRequestCapn) String() string
- func (s PutDirectoryRoomRequestCapn) Visibility() (string, error)
- func (s PutDirectoryRoomRequestCapn) VisibilityBytes() ([]byte, error)
- type PutDirectoryRoomRequestCapn_List
- type PutDirectoryRoomRequestCapn_Promise
- type PutDisplayNameRequest
- type PutDisplayNameRequestCapn
- func (s PutDisplayNameRequestCapn) DisplayName() (string, error)
- func (s PutDisplayNameRequestCapn) DisplayNameBytes() ([]byte, error)
- func (s PutDisplayNameRequestCapn) HasDisplayName() bool
- func (s PutDisplayNameRequestCapn) HasUserID() bool
- func (s PutDisplayNameRequestCapn) SetDisplayName(v string) error
- func (s PutDisplayNameRequestCapn) SetUserID(v string) error
- func (s PutDisplayNameRequestCapn) String() string
- func (s PutDisplayNameRequestCapn) UserID() (string, error)
- func (s PutDisplayNameRequestCapn) UserIDBytes() ([]byte, error)
- type PutDisplayNameRequestCapn_List
- type PutDisplayNameRequestCapn_Promise
- type PutFedInviteRequest
- type PutPresenceRequest
- type PutPresenceRequestCapn
- func (s PutPresenceRequestCapn) ExtStatusMsg() (string, error)
- func (s PutPresenceRequestCapn) ExtStatusMsgBytes() ([]byte, error)
- func (s PutPresenceRequestCapn) HasExtStatusMsg() bool
- func (s PutPresenceRequestCapn) HasPresence() bool
- func (s PutPresenceRequestCapn) HasStatusMsg() bool
- func (s PutPresenceRequestCapn) HasUserID() bool
- func (s PutPresenceRequestCapn) Presence() (string, error)
- func (s PutPresenceRequestCapn) PresenceBytes() ([]byte, error)
- func (s PutPresenceRequestCapn) SetExtStatusMsg(v string) error
- func (s PutPresenceRequestCapn) SetPresence(v string) error
- func (s PutPresenceRequestCapn) SetStatusMsg(v string) error
- func (s PutPresenceRequestCapn) SetUserID(v string) error
- func (s PutPresenceRequestCapn) StatusMsg() (string, error)
- func (s PutPresenceRequestCapn) StatusMsgBytes() ([]byte, error)
- func (s PutPresenceRequestCapn) String() string
- func (s PutPresenceRequestCapn) UserID() (string, error)
- func (s PutPresenceRequestCapn) UserIDBytes() ([]byte, error)
- type PutPresenceRequestCapn_List
- type PutPresenceRequestCapn_Promise
- type PutPushrulesActionsByIDRequest
- type PutPushrulesActionsByIDRequestCapn
- func NewPutPushrulesActionsByIDRequestCapn(s *capnp.Segment) (PutPushrulesActionsByIDRequestCapn, error)
- func NewRootPutPushrulesActionsByIDRequestCapn(s *capnp.Segment) (PutPushrulesActionsByIDRequestCapn, error)
- func ReadRootPutPushrulesActionsByIDRequestCapn(msg *capnp.Message) (PutPushrulesActionsByIDRequestCapn, error)
- func (s PutPushrulesActionsByIDRequestCapn) Actions() (capnp.TextList, error)
- func (s PutPushrulesActionsByIDRequestCapn) HasActions() bool
- func (s PutPushrulesActionsByIDRequestCapn) HasKind() bool
- func (s PutPushrulesActionsByIDRequestCapn) HasRuleID() bool
- func (s PutPushrulesActionsByIDRequestCapn) HasScope() bool
- func (s PutPushrulesActionsByIDRequestCapn) Kind() (string, error)
- func (s PutPushrulesActionsByIDRequestCapn) KindBytes() ([]byte, error)
- func (s PutPushrulesActionsByIDRequestCapn) NewActions(n int32) (capnp.TextList, error)
- func (s PutPushrulesActionsByIDRequestCapn) RuleID() (string, error)
- func (s PutPushrulesActionsByIDRequestCapn) RuleIDBytes() ([]byte, error)
- func (s PutPushrulesActionsByIDRequestCapn) Scope() (string, error)
- func (s PutPushrulesActionsByIDRequestCapn) ScopeBytes() ([]byte, error)
- func (s PutPushrulesActionsByIDRequestCapn) SetActions(v capnp.TextList) error
- func (s PutPushrulesActionsByIDRequestCapn) SetKind(v string) error
- func (s PutPushrulesActionsByIDRequestCapn) SetRuleID(v string) error
- func (s PutPushrulesActionsByIDRequestCapn) SetScope(v string) error
- func (s PutPushrulesActionsByIDRequestCapn) String() string
- type PutPushrulesActionsByIDRequestCapn_List
- type PutPushrulesActionsByIDRequestCapn_Promise
- type PutPushrulesByIDRequest
- type PutPushrulesByIDRequestCapn
- func (s PutPushrulesByIDRequestCapn) Actions() (capnp.TextList, error)
- func (s PutPushrulesByIDRequestCapn) After() (string, error)
- func (s PutPushrulesByIDRequestCapn) AfterBytes() ([]byte, error)
- func (s PutPushrulesByIDRequestCapn) Before() (string, error)
- func (s PutPushrulesByIDRequestCapn) BeforeBytes() ([]byte, error)
- func (s PutPushrulesByIDRequestCapn) Conditions() (PushConditionCapn_List, error)
- func (s PutPushrulesByIDRequestCapn) HasActions() bool
- func (s PutPushrulesByIDRequestCapn) HasAfter() bool
- func (s PutPushrulesByIDRequestCapn) HasBefore() bool
- func (s PutPushrulesByIDRequestCapn) HasConditions() bool
- func (s PutPushrulesByIDRequestCapn) HasKind() bool
- func (s PutPushrulesByIDRequestCapn) HasPattern() bool
- func (s PutPushrulesByIDRequestCapn) HasRuleID() bool
- func (s PutPushrulesByIDRequestCapn) HasScope() bool
- func (s PutPushrulesByIDRequestCapn) Kind() (string, error)
- func (s PutPushrulesByIDRequestCapn) KindBytes() ([]byte, error)
- func (s PutPushrulesByIDRequestCapn) NewActions(n int32) (capnp.TextList, error)
- func (s PutPushrulesByIDRequestCapn) NewConditions(n int32) (PushConditionCapn_List, error)
- func (s PutPushrulesByIDRequestCapn) Pattern() (string, error)
- func (s PutPushrulesByIDRequestCapn) PatternBytes() ([]byte, error)
- func (s PutPushrulesByIDRequestCapn) RuleID() (string, error)
- func (s PutPushrulesByIDRequestCapn) RuleIDBytes() ([]byte, error)
- func (s PutPushrulesByIDRequestCapn) Scope() (string, error)
- func (s PutPushrulesByIDRequestCapn) ScopeBytes() ([]byte, error)
- func (s PutPushrulesByIDRequestCapn) SetActions(v capnp.TextList) error
- func (s PutPushrulesByIDRequestCapn) SetAfter(v string) error
- func (s PutPushrulesByIDRequestCapn) SetBefore(v string) error
- func (s PutPushrulesByIDRequestCapn) SetConditions(v PushConditionCapn_List) error
- func (s PutPushrulesByIDRequestCapn) SetKind(v string) error
- func (s PutPushrulesByIDRequestCapn) SetPattern(v string) error
- func (s PutPushrulesByIDRequestCapn) SetRuleID(v string) error
- func (s PutPushrulesByIDRequestCapn) SetScope(v string) error
- func (s PutPushrulesByIDRequestCapn) String() string
- type PutPushrulesByIDRequestCapn_List
- type PutPushrulesByIDRequestCapn_Promise
- type PutPushrulesEnabledByIDRequest
- type PutPushrulesEnabledByIDRequestCapn
- func NewPutPushrulesEnabledByIDRequestCapn(s *capnp.Segment) (PutPushrulesEnabledByIDRequestCapn, error)
- func NewRootPutPushrulesEnabledByIDRequestCapn(s *capnp.Segment) (PutPushrulesEnabledByIDRequestCapn, error)
- func ReadRootPutPushrulesEnabledByIDRequestCapn(msg *capnp.Message) (PutPushrulesEnabledByIDRequestCapn, error)
- func (s PutPushrulesEnabledByIDRequestCapn) Enabled() bool
- func (s PutPushrulesEnabledByIDRequestCapn) HasKind() bool
- func (s PutPushrulesEnabledByIDRequestCapn) HasRuleID() bool
- func (s PutPushrulesEnabledByIDRequestCapn) HasScope() bool
- func (s PutPushrulesEnabledByIDRequestCapn) Kind() (string, error)
- func (s PutPushrulesEnabledByIDRequestCapn) KindBytes() ([]byte, error)
- func (s PutPushrulesEnabledByIDRequestCapn) RuleID() (string, error)
- func (s PutPushrulesEnabledByIDRequestCapn) RuleIDBytes() ([]byte, error)
- func (s PutPushrulesEnabledByIDRequestCapn) Scope() (string, error)
- func (s PutPushrulesEnabledByIDRequestCapn) ScopeBytes() ([]byte, error)
- func (s PutPushrulesEnabledByIDRequestCapn) SetEnabled(v bool)
- func (s PutPushrulesEnabledByIDRequestCapn) SetKind(v string) error
- func (s PutPushrulesEnabledByIDRequestCapn) SetRuleID(v string) error
- func (s PutPushrulesEnabledByIDRequestCapn) SetScope(v string) error
- func (s PutPushrulesEnabledByIDRequestCapn) String() string
- type PutPushrulesEnabledByIDRequestCapn_List
- type PutPushrulesEnabledByIDRequestCapn_Promise
- type PutRedactEventRequest
- type PutRedactEventRequestCapn
- func (s PutRedactEventRequestCapn) Content() ([]byte, error)
- func (s PutRedactEventRequestCapn) EventID() (string, error)
- func (s PutRedactEventRequestCapn) EventIDBytes() ([]byte, error)
- func (s PutRedactEventRequestCapn) HasContent() bool
- func (s PutRedactEventRequestCapn) HasEventID() bool
- func (s PutRedactEventRequestCapn) HasReason() bool
- func (s PutRedactEventRequestCapn) HasRoomID() bool
- func (s PutRedactEventRequestCapn) Reason() (string, error)
- func (s PutRedactEventRequestCapn) ReasonBytes() ([]byte, error)
- func (s PutRedactEventRequestCapn) RoomID() (string, error)
- func (s PutRedactEventRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PutRedactEventRequestCapn) SetContent(v []byte) error
- func (s PutRedactEventRequestCapn) SetEventID(v string) error
- func (s PutRedactEventRequestCapn) SetReason(v string) error
- func (s PutRedactEventRequestCapn) SetRoomID(v string) error
- func (s PutRedactEventRequestCapn) String() string
- type PutRedactEventRequestCapn_List
- type PutRedactEventRequestCapn_Promise
- type PutRedactEventResponse
- type PutRedactEventResponseCapn
- type PutRedactEventResponseCapn_List
- type PutRedactEventResponseCapn_Promise
- type PutRedactWithTxnIDEventRequest
- type PutRedactWithTxnIDEventRequestCapn
- func NewPutRedactWithTxnIDEventRequestCapn(s *capnp.Segment) (PutRedactWithTxnIDEventRequestCapn, error)
- func NewRootPutRedactWithTxnIDEventRequestCapn(s *capnp.Segment) (PutRedactWithTxnIDEventRequestCapn, error)
- func ReadRootPutRedactWithTxnIDEventRequestCapn(msg *capnp.Message) (PutRedactWithTxnIDEventRequestCapn, error)
- func (s PutRedactWithTxnIDEventRequestCapn) Content() ([]byte, error)
- func (s PutRedactWithTxnIDEventRequestCapn) EventID() (string, error)
- func (s PutRedactWithTxnIDEventRequestCapn) EventIDBytes() ([]byte, error)
- func (s PutRedactWithTxnIDEventRequestCapn) HasContent() bool
- func (s PutRedactWithTxnIDEventRequestCapn) HasEventID() bool
- func (s PutRedactWithTxnIDEventRequestCapn) HasReason() bool
- func (s PutRedactWithTxnIDEventRequestCapn) HasRoomID() bool
- func (s PutRedactWithTxnIDEventRequestCapn) HasTxnID() bool
- func (s PutRedactWithTxnIDEventRequestCapn) Reason() (string, error)
- func (s PutRedactWithTxnIDEventRequestCapn) ReasonBytes() ([]byte, error)
- func (s PutRedactWithTxnIDEventRequestCapn) RoomID() (string, error)
- func (s PutRedactWithTxnIDEventRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PutRedactWithTxnIDEventRequestCapn) SetContent(v []byte) error
- func (s PutRedactWithTxnIDEventRequestCapn) SetEventID(v string) error
- func (s PutRedactWithTxnIDEventRequestCapn) SetReason(v string) error
- func (s PutRedactWithTxnIDEventRequestCapn) SetRoomID(v string) error
- func (s PutRedactWithTxnIDEventRequestCapn) SetTxnID(v string) error
- func (s PutRedactWithTxnIDEventRequestCapn) String() string
- func (s PutRedactWithTxnIDEventRequestCapn) TxnID() (string, error)
- func (s PutRedactWithTxnIDEventRequestCapn) TxnIDBytes() ([]byte, error)
- type PutRedactWithTxnIDEventRequestCapn_List
- type PutRedactWithTxnIDEventRequestCapn_Promise
- type PutRoomAccountDataRequest
- type PutRoomAccountDataRequestCapn
- func (s PutRoomAccountDataRequestCapn) Content() ([]byte, error)
- func (s PutRoomAccountDataRequestCapn) HasContent() bool
- func (s PutRoomAccountDataRequestCapn) HasRoomID() bool
- func (s PutRoomAccountDataRequestCapn) HasType() bool
- func (s PutRoomAccountDataRequestCapn) HasUserId() bool
- func (s PutRoomAccountDataRequestCapn) RoomID() (string, error)
- func (s PutRoomAccountDataRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PutRoomAccountDataRequestCapn) SetContent(v []byte) error
- func (s PutRoomAccountDataRequestCapn) SetRoomID(v string) error
- func (s PutRoomAccountDataRequestCapn) SetType(v string) error
- func (s PutRoomAccountDataRequestCapn) SetUserId(v string) error
- func (s PutRoomAccountDataRequestCapn) String() string
- func (s PutRoomAccountDataRequestCapn) Type() (string, error)
- func (s PutRoomAccountDataRequestCapn) TypeBytes() ([]byte, error)
- func (s PutRoomAccountDataRequestCapn) UserId() (string, error)
- func (s PutRoomAccountDataRequestCapn) UserIdBytes() ([]byte, error)
- type PutRoomAccountDataRequestCapn_List
- type PutRoomAccountDataRequestCapn_Promise
- type PutRoomStateByType
- type PutRoomStateByTypeAndStateKey
- type PutRoomStateByTypeAndStateKeyCapn
- func NewPutRoomStateByTypeAndStateKeyCapn(s *capnp.Segment) (PutRoomStateByTypeAndStateKeyCapn, error)
- func NewRootPutRoomStateByTypeAndStateKeyCapn(s *capnp.Segment) (PutRoomStateByTypeAndStateKeyCapn, error)
- func ReadRootPutRoomStateByTypeAndStateKeyCapn(msg *capnp.Message) (PutRoomStateByTypeAndStateKeyCapn, error)
- func (s PutRoomStateByTypeAndStateKeyCapn) Content() ([]byte, error)
- func (s PutRoomStateByTypeAndStateKeyCapn) EventType() (string, error)
- func (s PutRoomStateByTypeAndStateKeyCapn) EventTypeBytes() ([]byte, error)
- func (s PutRoomStateByTypeAndStateKeyCapn) HasContent() bool
- func (s PutRoomStateByTypeAndStateKeyCapn) HasEventType() bool
- func (s PutRoomStateByTypeAndStateKeyCapn) HasRoomID() bool
- func (s PutRoomStateByTypeAndStateKeyCapn) HasStateKey() bool
- func (s PutRoomStateByTypeAndStateKeyCapn) RoomID() (string, error)
- func (s PutRoomStateByTypeAndStateKeyCapn) RoomIDBytes() ([]byte, error)
- func (s PutRoomStateByTypeAndStateKeyCapn) SetContent(v []byte) error
- func (s PutRoomStateByTypeAndStateKeyCapn) SetEventType(v string) error
- func (s PutRoomStateByTypeAndStateKeyCapn) SetRoomID(v string) error
- func (s PutRoomStateByTypeAndStateKeyCapn) SetStateKey(v string) error
- func (s PutRoomStateByTypeAndStateKeyCapn) StateKey() (string, error)
- func (s PutRoomStateByTypeAndStateKeyCapn) StateKeyBytes() ([]byte, error)
- func (s PutRoomStateByTypeAndStateKeyCapn) String() string
- type PutRoomStateByTypeAndStateKeyCapn_List
- type PutRoomStateByTypeAndStateKeyCapn_Promise
- type PutRoomStateByTypeCapn
- func (s PutRoomStateByTypeCapn) Content() ([]byte, error)
- func (s PutRoomStateByTypeCapn) EventType() (string, error)
- func (s PutRoomStateByTypeCapn) EventTypeBytes() ([]byte, error)
- func (s PutRoomStateByTypeCapn) HasContent() bool
- func (s PutRoomStateByTypeCapn) HasEventType() bool
- func (s PutRoomStateByTypeCapn) HasRoomID() bool
- func (s PutRoomStateByTypeCapn) RoomID() (string, error)
- func (s PutRoomStateByTypeCapn) RoomIDBytes() ([]byte, error)
- func (s PutRoomStateByTypeCapn) SetContent(v []byte) error
- func (s PutRoomStateByTypeCapn) SetEventType(v string) error
- func (s PutRoomStateByTypeCapn) SetRoomID(v string) error
- func (s PutRoomStateByTypeCapn) String() string
- type PutRoomStateByTypeCapn_List
- type PutRoomStateByTypeCapn_Promise
- type PutRoomStateByTypeResponse
- type PutRoomStateByTypeResponseCapn
- func NewPutRoomStateByTypeResponseCapn(s *capnp.Segment) (PutRoomStateByTypeResponseCapn, error)
- func NewRootPutRoomStateByTypeResponseCapn(s *capnp.Segment) (PutRoomStateByTypeResponseCapn, error)
- func ReadRootPutRoomStateByTypeResponseCapn(msg *capnp.Message) (PutRoomStateByTypeResponseCapn, error)
- func (s PutRoomStateByTypeResponseCapn) EventID() (string, error)
- func (s PutRoomStateByTypeResponseCapn) EventIDBytes() ([]byte, error)
- func (s PutRoomStateByTypeResponseCapn) HasEventID() bool
- func (s PutRoomStateByTypeResponseCapn) SetEventID(v string) error
- func (s PutRoomStateByTypeResponseCapn) String() string
- type PutRoomStateByTypeResponseCapn_List
- type PutRoomStateByTypeResponseCapn_Promise
- type PutRoomStateByTypeWithTxnID
- type PutRoomStateByTypeWithTxnIDCapn
- func NewPutRoomStateByTypeWithTxnIDCapn(s *capnp.Segment) (PutRoomStateByTypeWithTxnIDCapn, error)
- func NewRootPutRoomStateByTypeWithTxnIDCapn(s *capnp.Segment) (PutRoomStateByTypeWithTxnIDCapn, error)
- func ReadRootPutRoomStateByTypeWithTxnIDCapn(msg *capnp.Message) (PutRoomStateByTypeWithTxnIDCapn, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) Content() ([]byte, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) EventType() (string, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) EventTypeBytes() ([]byte, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) HasContent() bool
- func (s PutRoomStateByTypeWithTxnIDCapn) HasEventType() bool
- func (s PutRoomStateByTypeWithTxnIDCapn) HasIp() bool
- func (s PutRoomStateByTypeWithTxnIDCapn) HasRoomID() bool
- func (s PutRoomStateByTypeWithTxnIDCapn) HasStateKey() bool
- func (s PutRoomStateByTypeWithTxnIDCapn) HasTxnID() bool
- func (s PutRoomStateByTypeWithTxnIDCapn) Ip() (string, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) IpBytes() ([]byte, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) RoomID() (string, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) RoomIDBytes() ([]byte, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) SetContent(v []byte) error
- func (s PutRoomStateByTypeWithTxnIDCapn) SetEventType(v string) error
- func (s PutRoomStateByTypeWithTxnIDCapn) SetIp(v string) error
- func (s PutRoomStateByTypeWithTxnIDCapn) SetRoomID(v string) error
- func (s PutRoomStateByTypeWithTxnIDCapn) SetStateKey(v string) error
- func (s PutRoomStateByTypeWithTxnIDCapn) SetTxnID(v string) error
- func (s PutRoomStateByTypeWithTxnIDCapn) StateKey() (string, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) StateKeyBytes() ([]byte, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) String() string
- func (s PutRoomStateByTypeWithTxnIDCapn) TxnID() (string, error)
- func (s PutRoomStateByTypeWithTxnIDCapn) TxnIDBytes() ([]byte, error)
- type PutRoomStateByTypeWithTxnIDCapn_List
- type PutRoomStateByTypeWithTxnIDCapn_Promise
- type PutRoomStateByTypeWithTxnIDResponse
- type PutRoomStateByTypeWithTxnIDResponseCapn
- func NewPutRoomStateByTypeWithTxnIDResponseCapn(s *capnp.Segment) (PutRoomStateByTypeWithTxnIDResponseCapn, error)
- func NewRootPutRoomStateByTypeWithTxnIDResponseCapn(s *capnp.Segment) (PutRoomStateByTypeWithTxnIDResponseCapn, error)
- func ReadRootPutRoomStateByTypeWithTxnIDResponseCapn(msg *capnp.Message) (PutRoomStateByTypeWithTxnIDResponseCapn, error)
- func (s PutRoomStateByTypeWithTxnIDResponseCapn) EventID() (string, error)
- func (s PutRoomStateByTypeWithTxnIDResponseCapn) EventIDBytes() ([]byte, error)
- func (s PutRoomStateByTypeWithTxnIDResponseCapn) HasEventID() bool
- func (s PutRoomStateByTypeWithTxnIDResponseCapn) SetEventID(v string) error
- func (s PutRoomStateByTypeWithTxnIDResponseCapn) String() string
- type PutRoomStateByTypeWithTxnIDResponseCapn_List
- type PutRoomStateByTypeWithTxnIDResponseCapn_Promise
- type PutRoomStateResponse
- type PutRoomStateResponseCapn
- type PutRoomStateResponseCapn_List
- type PutRoomStateResponseCapn_Promise
- type PutRoomUserTypingRequest
- type PutRoomUserTypingRequestCapn
- func (s PutRoomUserTypingRequestCapn) HasRoomID() bool
- func (s PutRoomUserTypingRequestCapn) HasUserID() bool
- func (s PutRoomUserTypingRequestCapn) RoomID() (string, error)
- func (s PutRoomUserTypingRequestCapn) RoomIDBytes() ([]byte, error)
- func (s PutRoomUserTypingRequestCapn) SetRoomID(v string) error
- func (s PutRoomUserTypingRequestCapn) SetTimeOut(v int64)
- func (s PutRoomUserTypingRequestCapn) SetTyping(v bool)
- func (s PutRoomUserTypingRequestCapn) SetUserID(v string) error
- func (s PutRoomUserTypingRequestCapn) String() string
- func (s PutRoomUserTypingRequestCapn) TimeOut() int64
- func (s PutRoomUserTypingRequestCapn) Typing() bool
- func (s PutRoomUserTypingRequestCapn) UserID() (string, error)
- func (s PutRoomUserTypingRequestCapn) UserIDBytes() ([]byte, error)
- type PutRoomUserTypingRequestCapn_List
- type PutRoomUserTypingRequestCapn_Promise
- type PutRoomsTagsByIDRequest
- type PutRoomsTagsByIDRequestCapn
- func (s PutRoomsTagsByIDRequestCapn) Content() ([]byte, error)
- func (s PutRoomsTagsByIDRequestCapn) HasContent() bool
- func (s PutRoomsTagsByIDRequestCapn) HasRoomId() bool
- func (s PutRoomsTagsByIDRequestCapn) HasTag() bool
- func (s PutRoomsTagsByIDRequestCapn) HasUserId() bool
- func (s PutRoomsTagsByIDRequestCapn) Order() float32
- func (s PutRoomsTagsByIDRequestCapn) RoomId() (string, error)
- func (s PutRoomsTagsByIDRequestCapn) RoomIdBytes() ([]byte, error)
- func (s PutRoomsTagsByIDRequestCapn) SetContent(v []byte) error
- func (s PutRoomsTagsByIDRequestCapn) SetOrder(v float32)
- func (s PutRoomsTagsByIDRequestCapn) SetRoomId(v string) error
- func (s PutRoomsTagsByIDRequestCapn) SetTag(v string) error
- func (s PutRoomsTagsByIDRequestCapn) SetUserId(v string) error
- func (s PutRoomsTagsByIDRequestCapn) String() string
- func (s PutRoomsTagsByIDRequestCapn) Tag() (string, error)
- func (s PutRoomsTagsByIDRequestCapn) TagBytes() ([]byte, error)
- func (s PutRoomsTagsByIDRequestCapn) UserId() (string, error)
- func (s PutRoomsTagsByIDRequestCapn) UserIdBytes() ([]byte, error)
- type PutRoomsTagsByIDRequestCapn_List
- type PutRoomsTagsByIDRequestCapn_Promise
- type PutSendJoinRequest
- type PutSendJoinResponseRoomState
- type PutSendLeaveRequest
- type PutSendToDeviceRequest
- type PutUserAccountDataRequest
- type PutUserAccountDataRequestCapn
- func (s PutUserAccountDataRequestCapn) Content() ([]byte, error)
- func (s PutUserAccountDataRequestCapn) HasContent() bool
- func (s PutUserAccountDataRequestCapn) HasType() bool
- func (s PutUserAccountDataRequestCapn) HasUserId() bool
- func (s PutUserAccountDataRequestCapn) SetContent(v []byte) error
- func (s PutUserAccountDataRequestCapn) SetType(v string) error
- func (s PutUserAccountDataRequestCapn) SetUserId(v string) error
- func (s PutUserAccountDataRequestCapn) String() string
- func (s PutUserAccountDataRequestCapn) Type() (string, error)
- func (s PutUserAccountDataRequestCapn) TypeBytes() ([]byte, error)
- func (s PutUserAccountDataRequestCapn) UserId() (string, error)
- func (s PutUserAccountDataRequestCapn) UserIdBytes() ([]byte, error)
- type PutUserAccountDataRequestCapn_List
- type PutUserAccountDataRequestCapn_Promise
- type PutUserInfoRequest
- type PutUserPresenceRequest
- type PutUserPresenceRequestCapn
- func (s PutUserPresenceRequestCapn) HasPresence() bool
- func (s PutUserPresenceRequestCapn) HasStatus() bool
- func (s PutUserPresenceRequestCapn) HasUserID() bool
- func (s PutUserPresenceRequestCapn) Presence() (string, error)
- func (s PutUserPresenceRequestCapn) PresenceBytes() ([]byte, error)
- func (s PutUserPresenceRequestCapn) SetPresence(v string) error
- func (s PutUserPresenceRequestCapn) SetStatus(v string) error
- func (s PutUserPresenceRequestCapn) SetUserID(v string) error
- func (s PutUserPresenceRequestCapn) Status() (string, error)
- func (s PutUserPresenceRequestCapn) StatusBytes() ([]byte, error)
- func (s PutUserPresenceRequestCapn) String() string
- func (s PutUserPresenceRequestCapn) UserID() (string, error)
- func (s PutUserPresenceRequestCapn) UserIDBytes() ([]byte, error)
- type PutUserPresenceRequestCapn_List
- type PutUserPresenceRequestCapn_Promise
- type PutUserProfileAvatarURLRequest
- type PutUserProfileAvatarURLRequestCapn
- func NewPutUserProfileAvatarURLRequestCapn(s *capnp.Segment) (PutUserProfileAvatarURLRequestCapn, error)
- func NewRootPutUserProfileAvatarURLRequestCapn(s *capnp.Segment) (PutUserProfileAvatarURLRequestCapn, error)
- func ReadRootPutUserProfileAvatarURLRequestCapn(msg *capnp.Message) (PutUserProfileAvatarURLRequestCapn, error)
- func (s PutUserProfileAvatarURLRequestCapn) AvatarURL() (string, error)
- func (s PutUserProfileAvatarURLRequestCapn) AvatarURLBytes() ([]byte, error)
- func (s PutUserProfileAvatarURLRequestCapn) HasAvatarURL() bool
- func (s PutUserProfileAvatarURLRequestCapn) HasUserID() bool
- func (s PutUserProfileAvatarURLRequestCapn) SetAvatarURL(v string) error
- func (s PutUserProfileAvatarURLRequestCapn) SetUserID(v string) error
- func (s PutUserProfileAvatarURLRequestCapn) String() string
- func (s PutUserProfileAvatarURLRequestCapn) UserID() (string, error)
- func (s PutUserProfileAvatarURLRequestCapn) UserIDBytes() ([]byte, error)
- type PutUserProfileAvatarURLRequestCapn_List
- type PutUserProfileAvatarURLRequestCapn_Promise
- type PutUserProfileDisplayNameRequest
- type PutUserProfileDisplayNameRequestCapn
- func NewPutUserProfileDisplayNameRequestCapn(s *capnp.Segment) (PutUserProfileDisplayNameRequestCapn, error)
- func NewRootPutUserProfileDisplayNameRequestCapn(s *capnp.Segment) (PutUserProfileDisplayNameRequestCapn, error)
- func ReadRootPutUserProfileDisplayNameRequestCapn(msg *capnp.Message) (PutUserProfileDisplayNameRequestCapn, error)
- func (s PutUserProfileDisplayNameRequestCapn) DisplayName() (string, error)
- func (s PutUserProfileDisplayNameRequestCapn) DisplayNameBytes() ([]byte, error)
- func (s PutUserProfileDisplayNameRequestCapn) HasDisplayName() bool
- func (s PutUserProfileDisplayNameRequestCapn) HasUserID() bool
- func (s PutUserProfileDisplayNameRequestCapn) SetDisplayName(v string) error
- func (s PutUserProfileDisplayNameRequestCapn) SetUserID(v string) error
- func (s PutUserProfileDisplayNameRequestCapn) String() string
- func (s PutUserProfileDisplayNameRequestCapn) UserID() (string, error)
- func (s PutUserProfileDisplayNameRequestCapn) UserIDBytes() ([]byte, error)
- type PutUserProfileDisplayNameRequestCapn_List
- type PutUserProfileDisplayNameRequestCapn_Promise
- type RegisterResponse
- type RegisterResponseCapn
- func (s RegisterResponseCapn) AccessToken() (string, error)
- func (s RegisterResponseCapn) AccessTokenBytes() ([]byte, error)
- func (s RegisterResponseCapn) DeviceID() (string, error)
- func (s RegisterResponseCapn) DeviceIDBytes() ([]byte, error)
- func (s RegisterResponseCapn) HasAccessToken() bool
- func (s RegisterResponseCapn) HasDeviceID() bool
- func (s RegisterResponseCapn) HasHomeServer() bool
- func (s RegisterResponseCapn) HasUserID() bool
- func (s RegisterResponseCapn) HomeServer() (string, error)
- func (s RegisterResponseCapn) HomeServerBytes() ([]byte, error)
- func (s RegisterResponseCapn) SetAccessToken(v string) error
- func (s RegisterResponseCapn) SetDeviceID(v string) error
- func (s RegisterResponseCapn) SetHomeServer(v string) error
- func (s RegisterResponseCapn) SetUserID(v string) error
- func (s RegisterResponseCapn) String() string
- func (s RegisterResponseCapn) UserID() (string, error)
- func (s RegisterResponseCapn) UserIDBytes() ([]byte, error)
- type RegisterResponseCapn_List
- type RegisterResponseCapn_Promise
- type ReqGetSettingRequest
- type ReqPostNotaryNoticeRequest
- type ReqPostNotaryNoticeResponse
- type ReqPutSettingRequest
- type RoomEvent
- type RoomEventCapn
- func (s RoomEventCapn) Content() ([]byte, error)
- func (s RoomEventCapn) EventID() (string, error)
- func (s RoomEventCapn) EventIDBytes() ([]byte, error)
- func (s RoomEventCapn) HasContent() bool
- func (s RoomEventCapn) HasEventID() bool
- func (s RoomEventCapn) HasRoomID() bool
- func (s RoomEventCapn) HasSender() bool
- func (s RoomEventCapn) HasType() bool
- func (s RoomEventCapn) HasUnsigned() bool
- func (s RoomEventCapn) NewUnsigned() (UnsignedDataCapn, error)
- func (s RoomEventCapn) OriginServerTS() int64
- func (s RoomEventCapn) RoomID() (string, error)
- func (s RoomEventCapn) RoomIDBytes() ([]byte, error)
- func (s RoomEventCapn) Sender() (string, error)
- func (s RoomEventCapn) SenderBytes() ([]byte, error)
- func (s RoomEventCapn) SetContent(v []byte) error
- func (s RoomEventCapn) SetEventID(v string) error
- func (s RoomEventCapn) SetOriginServerTS(v int64)
- func (s RoomEventCapn) SetRoomID(v string) error
- func (s RoomEventCapn) SetSender(v string) error
- func (s RoomEventCapn) SetType(v string) error
- func (s RoomEventCapn) SetUnsigned(v UnsignedDataCapn) error
- func (s RoomEventCapn) String() string
- func (s RoomEventCapn) Type() (string, error)
- func (s RoomEventCapn) TypeBytes() ([]byte, error)
- func (s RoomEventCapn) Unsigned() (UnsignedDataCapn, error)
- type RoomEventCapn_List
- type RoomEventCapn_Promise
- type RoomEventFilter
- type RoomEventFilterCapn
- func (s RoomEventFilterCapn) ContainsURL() bool
- func (s RoomEventFilterCapn) EventFilter() (EventFilterCapn, error)
- func (s RoomEventFilterCapn) HasEventFilter() bool
- func (s RoomEventFilterCapn) HasNotRooms() bool
- func (s RoomEventFilterCapn) HasRooms() bool
- func (s RoomEventFilterCapn) NewEventFilter() (EventFilterCapn, error)
- func (s RoomEventFilterCapn) NewNotRooms(n int32) (capnp.TextList, error)
- func (s RoomEventFilterCapn) NewRooms(n int32) (capnp.TextList, error)
- func (s RoomEventFilterCapn) NotRooms() (capnp.TextList, error)
- func (s RoomEventFilterCapn) Rooms() (capnp.TextList, error)
- func (s RoomEventFilterCapn) SetContainsURL(v bool)
- func (s RoomEventFilterCapn) SetEventFilter(v EventFilterCapn) error
- func (s RoomEventFilterCapn) SetNotRooms(v capnp.TextList) error
- func (s RoomEventFilterCapn) SetRooms(v capnp.TextList) error
- func (s RoomEventFilterCapn) String() string
- type RoomEventFilterCapn_List
- type RoomEventFilterCapn_Promise
- type RoomInfo
- type RoomMember
- type Ruleset
- type ServerNameCfgRequest
- type SessionInfo
- type Signatures
- type Signed
- type SignedCapn
- func (s SignedCapn) HasMxID() bool
- func (s SignedCapn) HasSignatures() bool
- func (s SignedCapn) HasToken() bool
- func (s SignedCapn) MxID() (string, error)
- func (s SignedCapn) MxIDBytes() ([]byte, error)
- func (s SignedCapn) SetMxID(v string) error
- func (s SignedCapn) SetSignatures(v string) error
- func (s SignedCapn) SetToken(v string) error
- func (s SignedCapn) Signatures() (string, error)
- func (s SignedCapn) SignaturesBytes() ([]byte, error)
- func (s SignedCapn) String() string
- func (s SignedCapn) Token() (string, error)
- func (s SignedCapn) TokenBytes() ([]byte, error)
- type SignedCapn_List
- type SignedCapn_Promise
- type State
- type StateEvent
- type StrippedState
- type TPInvite
- type TPInviteSigned
- type Tag
- type TagCapn
- type TagCapn_List
- type TagCapn_Promise
- type ThirdPartyIdentifier
- type ThirdPartyIdentifierCapn
- func (s ThirdPartyIdentifierCapn) AddedAt() int64
- func (s ThirdPartyIdentifierCapn) Address() (string, error)
- func (s ThirdPartyIdentifierCapn) AddressBytes() ([]byte, error)
- func (s ThirdPartyIdentifierCapn) HasAddress() bool
- func (s ThirdPartyIdentifierCapn) HasMedium() bool
- func (s ThirdPartyIdentifierCapn) Medium() (string, error)
- func (s ThirdPartyIdentifierCapn) MediumBytes() ([]byte, error)
- func (s ThirdPartyIdentifierCapn) SetAddedAt(v int64)
- func (s ThirdPartyIdentifierCapn) SetAddress(v string) error
- func (s ThirdPartyIdentifierCapn) SetMedium(v string) error
- func (s ThirdPartyIdentifierCapn) SetValidatedAt(v int64)
- func (s ThirdPartyIdentifierCapn) String() string
- func (s ThirdPartyIdentifierCapn) ValidatedAt() int64
- type ThirdPartyIdentifierCapn_List
- type ThirdPartyIdentifierCapn_Promise
- type ThirdPartySigned
- type ThirdPartyUser
- type ThreePID
- type ThreePidCredentials
- type ThreePidCredentialsCapn
- func (s ThreePidCredentialsCapn) ClientSecret() (string, error)
- func (s ThreePidCredentialsCapn) ClientSecretBytes() ([]byte, error)
- func (s ThreePidCredentialsCapn) HasClientSecret() bool
- func (s ThreePidCredentialsCapn) HasIdServer() bool
- func (s ThreePidCredentialsCapn) HasSid() bool
- func (s ThreePidCredentialsCapn) IdServer() (string, error)
- func (s ThreePidCredentialsCapn) IdServerBytes() ([]byte, error)
- func (s ThreePidCredentialsCapn) SetClientSecret(v string) error
- func (s ThreePidCredentialsCapn) SetIdServer(v string) error
- func (s ThreePidCredentialsCapn) SetSid(v string) error
- func (s ThreePidCredentialsCapn) Sid() (string, error)
- func (s ThreePidCredentialsCapn) SidBytes() ([]byte, error)
- func (s ThreePidCredentialsCapn) String() string
- type ThreePidCredentialsCapn_List
- type ThreePidCredentialsCapn_Promise
- type Timeline
- type TimelineCapn
- func (s TimelineCapn) Events() (RoomEventCapn_List, error)
- func (s TimelineCapn) HasEvents() bool
- func (s TimelineCapn) HasPrevBatch() bool
- func (s TimelineCapn) Limited() bool
- func (s TimelineCapn) NewEvents(n int32) (RoomEventCapn_List, error)
- func (s TimelineCapn) PrevBatch() (string, error)
- func (s TimelineCapn) PrevBatchBytes() ([]byte, error)
- func (s TimelineCapn) SetEvents(v RoomEventCapn_List) error
- func (s TimelineCapn) SetLimited(v bool)
- func (s TimelineCapn) SetPrevBatch(v string) error
- func (s TimelineCapn) String() string
- type TimelineCapn_List
- type TimelineCapn_Promise
- type ToDevice
- type ToDeviceCapn
- type ToDeviceCapn_List
- type ToDeviceCapn_Promise
- type UnreadNotifications
- type UnreadNotificationsCapn
- type UnreadNotificationsCapn_List
- type UnreadNotificationsCapn_Promise
- type UnsignedData
- type UnsignedDataCapn
- func (s UnsignedDataCapn) Age() int64
- func (s UnsignedDataCapn) HasRedactedBecause() bool
- func (s UnsignedDataCapn) HasTransactionID() bool
- func (s UnsignedDataCapn) NewRedactedBecause() (EventCapn, error)
- func (s UnsignedDataCapn) RedactedBecause() (EventCapn, error)
- func (s UnsignedDataCapn) SetAge(v int64)
- func (s UnsignedDataCapn) SetRedactedBecause(v EventCapn) error
- func (s UnsignedDataCapn) SetTransactionID(v string) error
- func (s UnsignedDataCapn) String() string
- func (s UnsignedDataCapn) TransactionID() (string, error)
- func (s UnsignedDataCapn) TransactionIDBytes() ([]byte, error)
- type UnsignedDataCapn_List
- type UnsignedDataCapn_Promise
- type UnsignedDeviceInfo
- type UnsignedDeviceInfoCapn
- func (s UnsignedDeviceInfoCapn) DeviceDisplayName() (string, error)
- func (s UnsignedDeviceInfoCapn) DeviceDisplayNameBytes() ([]byte, error)
- func (s UnsignedDeviceInfoCapn) HasDeviceDisplayName() bool
- func (s UnsignedDeviceInfoCapn) SetDeviceDisplayName(v string) error
- func (s UnsignedDeviceInfoCapn) String() string
- type UnsignedDeviceInfoCapn_List
- type UnsignedDeviceInfoCapn_Promise
- type User
- type UserCapn
- func (s UserCapn) AvatarURL() (string, error)
- func (s UserCapn) AvatarURLBytes() ([]byte, error)
- func (s UserCapn) DisplayName() (string, error)
- func (s UserCapn) DisplayNameBytes() ([]byte, error)
- func (s UserCapn) HasAvatarURL() bool
- func (s UserCapn) HasDisplayName() bool
- func (s UserCapn) HasUserID() bool
- func (s UserCapn) SetAvatarURL(v string) error
- func (s UserCapn) SetDisplayName(v string) error
- func (s UserCapn) SetUserID(v string) error
- func (s UserCapn) String() string
- func (s UserCapn) UserID() (string, error)
- func (s UserCapn) UserIDBytes() ([]byte, error)
- type UserCapn_List
- type UserCapn_Promise
- type UserIdentifier
- type UserIdentifierCapn
- type UserIdentifierCapn_List
- type UserIdentifierCapn_Promise
- type UserInfoItem
- type UserInteractiveResponse
Constants ¶
const AccountDataCapn_TypeID = 0xec66b586e9b30696
AccountDataCapn_TypeID is the unique identifier for the type AccountDataCapn.
const AuthDataCapn_TypeID = 0xcfbff7df7450a508
AuthDataCapn_TypeID is the unique identifier for the type AuthDataCapn.
const AuthDictCapn_TypeID = 0xeee54a14f2c8c4f3
AuthDictCapn_TypeID is the unique identifier for the type AuthDictCapn.
const AuthFlowCapn_TypeID = 0xa57da608a1e656cd
AuthFlowCapn_TypeID is the unique identifier for the type AuthFlowCapn.
const DelDeviceRequestCapn_TypeID = 0xcb0e6b8da42d98b7
DelDeviceRequestCapn_TypeID is the unique identifier for the type DelDeviceRequestCapn.
const DelDevicesByIDRequestCapn_TypeID = 0xaf2c8e1482733e39
DelDevicesByIDRequestCapn_TypeID is the unique identifier for the type DelDevicesByIDRequestCapn.
const DelDirectoryRoomAliasRequestCapn_TypeID = 0xdd685532e70ac5cf
DelDirectoryRoomAliasRequestCapn_TypeID is the unique identifier for the type DelDirectoryRoomAliasRequestCapn.
const DelPushrulesByIDRequestCapn_TypeID = 0xfcd7f6cdba6022fa
DelPushrulesByIDRequestCapn_TypeID is the unique identifier for the type DelPushrulesByIDRequestCapn.
const DelRoomsTagsByIDRequestCapn_TypeID = 0xfd765c10c8315840
DelRoomsTagsByIDRequestCapn_TypeID is the unique identifier for the type DelRoomsTagsByIDRequestCapn.
const DeviceAuthDictCapn_TypeID = 0xb7628e8135d9844e
DeviceAuthDictCapn_TypeID is the unique identifier for the type DeviceAuthDictCapn.
const DeviceCapn_TypeID = 0xf882edf00b3cf3b7
DeviceCapn_TypeID is the unique identifier for the type DeviceCapn.
const DeviceListCapn_TypeID = 0x8434d739f5fd7da6
DeviceListCapn_TypeID is the unique identifier for the type DeviceListCapn.
const DeviceListsCapn_TypeID = 0xd0826f72f7a0b6d8
DeviceListsCapn_TypeID is the unique identifier for the type DeviceListsCapn.
const EphemeralCapn_TypeID = 0xf6c06e60c9f8ba9d
EphemeralCapn_TypeID is the unique identifier for the type EphemeralCapn.
const EventCapn_TypeID = 0xfa27d6ab30deafd8
EventCapn_TypeID is the unique identifier for the type EventCapn.
const EventFilterCapn_TypeID = 0xc3019559a9c4b193
EventFilterCapn_TypeID is the unique identifier for the type EventFilterCapn.
const FilterCapn_TypeID = 0xbd580a6d0364043f
FilterCapn_TypeID is the unique identifier for the type FilterCapn.
const FlowCapn_TypeID = 0x9ab73643587fe10c
FlowCapn_TypeID is the unique identifier for the type FlowCapn.
const GetAccount3PIDResponseCapn_TypeID = 0xfce92fabcab7ecbb
GetAccount3PIDResponseCapn_TypeID is the unique identifier for the type GetAccount3PIDResponseCapn.
const GetAccountWhoAmIResponseCapn_TypeID = 0x982630eb369fc653
GetAccountWhoAmIResponseCapn_TypeID is the unique identifier for the type GetAccountWhoAmIResponseCapn.
const GetAccountWhoAmIRquestCapn_TypeID = 0xa65517d19c535006
GetAccountWhoAmIRquestCapn_TypeID is the unique identifier for the type GetAccountWhoAmIRquestCapn.
const GetAvatarURLRequestCapn_TypeID = 0xbe5e69974aa5e7af
GetAvatarURLRequestCapn_TypeID is the unique identifier for the type GetAvatarURLRequestCapn.
const GetAvatarURLResponseCapn_TypeID = 0x97c59b2360f2bd24
GetAvatarURLResponseCapn_TypeID is the unique identifier for the type GetAvatarURLResponseCapn.
const GetDeviceRequestCapn_TypeID = 0xb886e6d051434b84
GetDeviceRequestCapn_TypeID is the unique identifier for the type GetDeviceRequestCapn.
const GetDevicesByIDRequestCapn_TypeID = 0x9368ba1f37b34503
GetDevicesByIDRequestCapn_TypeID is the unique identifier for the type GetDevicesByIDRequestCapn.
const GetDevicesByIDResponseCapn_TypeID = 0xbf1d23c7af967ed0
GetDevicesByIDResponseCapn_TypeID is the unique identifier for the type GetDevicesByIDResponseCapn.
const GetDevicesResponseCapn_TypeID = 0xd3d9a3cbe851ea30
GetDevicesResponseCapn_TypeID is the unique identifier for the type GetDevicesResponseCapn.
const GetDirectoryRoomAliasRequestCapn_TypeID = 0xf90baea598307491
GetDirectoryRoomAliasRequestCapn_TypeID is the unique identifier for the type GetDirectoryRoomAliasRequestCapn.
const GetDirectoryRoomAliasResponseCapn_TypeID = 0xbc8fa0773bb12e2f
GetDirectoryRoomAliasResponseCapn_TypeID is the unique identifier for the type GetDirectoryRoomAliasResponseCapn.
const GetDirectoryRoomRequestCapn_TypeID = 0xfbfb84869193203d
GetDirectoryRoomRequestCapn_TypeID is the unique identifier for the type GetDirectoryRoomRequestCapn.
const GetDirectoryRoomResponseCapn_TypeID = 0xa862165daa39f9fc
GetDirectoryRoomResponseCapn_TypeID is the unique identifier for the type GetDirectoryRoomResponseCapn.
const GetDisplayNameRequestCapn_TypeID = 0x87aeb8fbedaaf0a1
GetDisplayNameRequestCapn_TypeID is the unique identifier for the type GetDisplayNameRequestCapn.
const GetDisplayNameResponseCapn_TypeID = 0xb46aae264582eaec
GetDisplayNameResponseCapn_TypeID is the unique identifier for the type GetDisplayNameResponseCapn.
const GetEventByIDRequestCapn_TypeID = 0xdf6a3f4de866ea46
GetEventByIDRequestCapn_TypeID is the unique identifier for the type GetEventByIDRequestCapn.
const GetInitialSyncRequestCapn_TypeID = 0xb20092cd70a1cc25
GetInitialSyncRequestCapn_TypeID is the unique identifier for the type GetInitialSyncRequestCapn.
const GetJoinedMemberRequestCapn_TypeID = 0xd2a899805e30f215
GetJoinedMemberRequestCapn_TypeID is the unique identifier for the type GetJoinedMemberRequestCapn.
const GetJoinedRoomsResponseCapn_TypeID = 0xa794acd355ffccfd
GetJoinedRoomsResponseCapn_TypeID is the unique identifier for the type GetJoinedRoomsResponseCapn.
const GetKeysChangesRequestCapn_TypeID = 0xd93ba80c73591bb5
GetKeysChangesRequestCapn_TypeID is the unique identifier for the type GetKeysChangesRequestCapn.
const GetKeysChangesResponseCapn_TypeID = 0xc3ff4ffb72f00f5a
GetKeysChangesResponseCapn_TypeID is the unique identifier for the type GetKeysChangesResponseCapn.
const GetLoginRequestCapn_TypeID = 0xf9423d522bc945c9
GetLoginRequestCapn_TypeID is the unique identifier for the type GetLoginRequestCapn.
const GetLoginResponseCapn_TypeID = 0x9aa6454a3699f75b
GetLoginResponseCapn_TypeID is the unique identifier for the type GetLoginResponseCapn.
const GetMediaDownloadByFileNameRequestCapn_TypeID = 0xf436c006ff483bce
GetMediaDownloadByFileNameRequestCapn_TypeID is the unique identifier for the type GetMediaDownloadByFileNameRequestCapn.
const GetMediaDownloadRequestCapn_TypeID = 0x9b419f9b5478dbf2
GetMediaDownloadRequestCapn_TypeID is the unique identifier for the type GetMediaDownloadRequestCapn.
const GetMediaPreviewURLRequestCapn_TypeID = 0xd0a84875fef820a3
GetMediaPreviewURLRequestCapn_TypeID is the unique identifier for the type GetMediaPreviewURLRequestCapn.
const GetMediaPreviewURLResponseCapn_TypeID = 0x9f5f6c6fca7ffb80
GetMediaPreviewURLResponseCapn_TypeID is the unique identifier for the type GetMediaPreviewURLResponseCapn.
const GetMediaThumbnailRequestCapn_TypeID = 0x997bda7db590d5c6
GetMediaThumbnailRequestCapn_TypeID is the unique identifier for the type GetMediaThumbnailRequestCapn.
const GetNotificationsRequestCapn_TypeID = 0xf77c358ea390ed11
GetNotificationsRequestCapn_TypeID is the unique identifier for the type GetNotificationsRequestCapn.
const GetPresenceListRequestCapn_TypeID = 0xf4e0bdebc456b808
GetPresenceListRequestCapn_TypeID is the unique identifier for the type GetPresenceListRequestCapn.
const GetPresenceListResponseCapn_TypeID = 0x8c923144e5ae124a
GetPresenceListResponseCapn_TypeID is the unique identifier for the type GetPresenceListResponseCapn.
const GetPresenceRequestCapn_TypeID = 0x9e7b01a107712f9a
GetPresenceRequestCapn_TypeID is the unique identifier for the type GetPresenceRequestCapn.
const GetPresenceResponseCapn_TypeID = 0x862b8d8c39fb26aa
GetPresenceResponseCapn_TypeID is the unique identifier for the type GetPresenceResponseCapn.
const GetProfileRequestCapn_TypeID = 0xade4a4f4ea93c7c2
GetProfileRequestCapn_TypeID is the unique identifier for the type GetProfileRequestCapn.
const GetProfileResponseCapn_TypeID = 0xef61725d5fccd6e0
GetProfileResponseCapn_TypeID is the unique identifier for the type GetProfileResponseCapn.
const GetPublicRoomsRequestCapn_TypeID = 0xb7b6a444f547d023
GetPublicRoomsRequestCapn_TypeID is the unique identifier for the type GetPublicRoomsRequestCapn.
const GetPublicRoomsResponseCapn_TypeID = 0xf670fb1dce242bce
GetPublicRoomsResponseCapn_TypeID is the unique identifier for the type GetPublicRoomsResponseCapn.
const GetPushersResponseCapn_TypeID = 0xd9f727ecee5ee43c
GetPushersResponseCapn_TypeID is the unique identifier for the type GetPushersResponseCapn.
const GetPushrulesActionsByIDRequestCapn_TypeID = 0xa995fd3d9ddd6004
GetPushrulesActionsByIDRequestCapn_TypeID is the unique identifier for the type GetPushrulesActionsByIDRequestCapn.
const GetPushrulesActionsByIDResponseCapn_TypeID = 0x908f5faf45cee64a
GetPushrulesActionsByIDResponseCapn_TypeID is the unique identifier for the type GetPushrulesActionsByIDResponseCapn.
const GetPushrulesByIDRequestCapn_TypeID = 0xf265eb9956096e1a
GetPushrulesByIDRequestCapn_TypeID is the unique identifier for the type GetPushrulesByIDRequestCapn.
const GetPushrulesEnabledByIDRequestCapn_TypeID = 0xe0ded00e8fbdb14e
GetPushrulesEnabledByIDRequestCapn_TypeID is the unique identifier for the type GetPushrulesEnabledByIDRequestCapn.
const GetPushrulesEnabledByIDResponseCapn_TypeID = 0xf4649c850b964682
GetPushrulesEnabledByIDResponseCapn_TypeID is the unique identifier for the type GetPushrulesEnabledByIDResponseCapn.
const GetRegisterAvailCapn_TypeID = 0xcf61d6ea9e767aec
GetRegisterAvailCapn_TypeID is the unique identifier for the type GetRegisterAvailCapn.
const GetRegisterAvailResponseCapn_TypeID = 0xb1b696634fdb6440
GetRegisterAvailResponseCapn_TypeID is the unique identifier for the type GetRegisterAvailResponseCapn.
const GetRoomEventByIDRequestCapn_TypeID = 0xfb8dbe4d0597d4d2
GetRoomEventByIDRequestCapn_TypeID is the unique identifier for the type GetRoomEventByIDRequestCapn.
const GetRoomEventContextRequestCapn_TypeID = 0x88862da4a1ad5ec6
GetRoomEventContextRequestCapn_TypeID is the unique identifier for the type GetRoomEventContextRequestCapn.
const GetRoomInitialSyncRequestCapn_TypeID = 0xdbacb3ecab06ab9c
GetRoomInitialSyncRequestCapn_TypeID is the unique identifier for the type GetRoomInitialSyncRequestCapn.
const GetRoomJoinedMembersRequestCapn_TypeID = 0xbc4451c596bcc6f4
GetRoomJoinedMembersRequestCapn_TypeID is the unique identifier for the type GetRoomJoinedMembersRequestCapn.
const GetRoomMembersRequestCapn_TypeID = 0xc49e0ab3045cd4b4
GetRoomMembersRequestCapn_TypeID is the unique identifier for the type GetRoomMembersRequestCapn.
const GetRoomMessagesRequestCapn_TypeID = 0xf5445595caf11a6b
GetRoomMessagesRequestCapn_TypeID is the unique identifier for the type GetRoomMessagesRequestCapn.
const GetRoomMessagesResponseCapn_TypeID = 0xde6caf190dd671a4
GetRoomMessagesResponseCapn_TypeID is the unique identifier for the type GetRoomMessagesResponseCapn.
const GetRoomStateByTypeAndStateKeyRequestCapn_TypeID = 0xe2ddb73031c5cfa8
GetRoomStateByTypeAndStateKeyRequestCapn_TypeID is the unique identifier for the type GetRoomStateByTypeAndStateKeyRequestCapn.
const GetRoomStateByTypeRequestCapn_TypeID = 0xae02a9fed52b9614
GetRoomStateByTypeRequestCapn_TypeID is the unique identifier for the type GetRoomStateByTypeRequestCapn.
const GetRoomStateRequestCapn_TypeID = 0xfec0fff1bb69900e
GetRoomStateRequestCapn_TypeID is the unique identifier for the type GetRoomStateRequestCapn.
const GetRoomsTagsByIDRequestCapn_TypeID = 0xa5f80cf922cc6108
GetRoomsTagsByIDRequestCapn_TypeID is the unique identifier for the type GetRoomsTagsByIDRequestCapn.
const GetSyncRequestCapn_TypeID = 0xd95d27a9d1615c89
GetSyncRequestCapn_TypeID is the unique identifier for the type GetSyncRequestCapn.
const GetTurnServerResponseCapn_TypeID = 0x9937e45d6fe307c9
GetTurnServerResponseCapn_TypeID is the unique identifier for the type GetTurnServerResponseCapn.
const GetUserFilterRequestCapn_TypeID = 0xf442e4831014c326
GetUserFilterRequestCapn_TypeID is the unique identifier for the type GetUserFilterRequestCapn.
const GetUserPresenceListRequestCapn_TypeID = 0xc6bdc797e7c265c2
GetUserPresenceListRequestCapn_TypeID is the unique identifier for the type GetUserPresenceListRequestCapn.
const GetUserPresenceRequestCapn_TypeID = 0xbecbbb45b11284db
GetUserPresenceRequestCapn_TypeID is the unique identifier for the type GetUserPresenceRequestCapn.
const GetUserPresenceResponseCapn_TypeID = 0xb582089c13a1a1be
GetUserPresenceResponseCapn_TypeID is the unique identifier for the type GetUserPresenceResponseCapn.
const GetUserProfileAvatarURLRequestCapn_TypeID = 0xc88cd0641eca2e2d
GetUserProfileAvatarURLRequestCapn_TypeID is the unique identifier for the type GetUserProfileAvatarURLRequestCapn.
const GetUserProfileDisplayNameRequestCapn_TypeID = 0xfd6e19082b99c691
GetUserProfileDisplayNameRequestCapn_TypeID is the unique identifier for the type GetUserProfileDisplayNameRequestCapn.
const GetUserProfileRequestCapn_TypeID = 0xd0cf8d14918db5d7
GetUserProfileRequestCapn_TypeID is the unique identifier for the type GetUserProfileRequestCapn.
const Invite3pidCapn_TypeID = 0xfb575c1e07d9a223
Invite3pidCapn_TypeID is the unique identifier for the type Invite3pidCapn.
const InviteCapn_TypeID = 0x8456848ac50636fd
InviteCapn_TypeID is the unique identifier for the type InviteCapn.
const LegacyRegisterRequestCapn_TypeID = 0xbc488e8c2c6feb49
LegacyRegisterRequestCapn_TypeID is the unique identifier for the type LegacyRegisterRequestCapn.
const PaginationChunkCapn_TypeID = 0xd316696667594fde
PaginationChunkCapn_TypeID is the unique identifier for the type PaginationChunkCapn.
const PostAccount3PIDDelRequestCapn_TypeID = 0xe78a51ebcbc478f8
PostAccount3PIDDelRequestCapn_TypeID is the unique identifier for the type PostAccount3PIDDelRequestCapn.
const PostAccount3PIDEmailRequestCapn_TypeID = 0xffc9d189008a8c80
PostAccount3PIDEmailRequestCapn_TypeID is the unique identifier for the type PostAccount3PIDEmailRequestCapn.
const PostAccount3PIDEmailResponseCapn_TypeID = 0xf96d2f3fb936fb2e
PostAccount3PIDEmailResponseCapn_TypeID is the unique identifier for the type PostAccount3PIDEmailResponseCapn.
const PostAccount3PIDMsisdnRequestCapn_TypeID = 0xaaaa4c6433148b94
PostAccount3PIDMsisdnRequestCapn_TypeID is the unique identifier for the type PostAccount3PIDMsisdnRequestCapn.
const PostAccount3PIDMsisdnResponseCapn_TypeID = 0xc8a9640b58c1a854
PostAccount3PIDMsisdnResponseCapn_TypeID is the unique identifier for the type PostAccount3PIDMsisdnResponseCapn.
const PostAccount3PIDRequestCapn_TypeID = 0x9cac11bd6cf7b473
PostAccount3PIDRequestCapn_TypeID is the unique identifier for the type PostAccount3PIDRequestCapn.
const PostAccountDeactivateRequestCapn_TypeID = 0xa21771bc6cc61e96
PostAccountDeactivateRequestCapn_TypeID is the unique identifier for the type PostAccountDeactivateRequestCapn.
const PostAccountPasswordEmailRequestCapn_TypeID = 0xf09a324b6bda508f
PostAccountPasswordEmailRequestCapn_TypeID is the unique identifier for the type PostAccountPasswordEmailRequestCapn.
const PostAccountPasswordEmailResponseCapn_TypeID = 0xc7c6444c378939c5
PostAccountPasswordEmailResponseCapn_TypeID is the unique identifier for the type PostAccountPasswordEmailResponseCapn.
const PostAccountPasswordMsisdResponseCapn_TypeID = 0xb640c6d52e6203d6
PostAccountPasswordMsisdResponseCapn_TypeID is the unique identifier for the type PostAccountPasswordMsisdResponseCapn.
const PostAccountPasswordMsisdnRequestCapn_TypeID = 0xcd4ca44e7984ba13
PostAccountPasswordMsisdnRequestCapn_TypeID is the unique identifier for the type PostAccountPasswordMsisdnRequestCapn.
const PostAccountPasswordRequestCapn_TypeID = 0x879fbb16e05a3c03
PostAccountPasswordRequestCapn_TypeID is the unique identifier for the type PostAccountPasswordRequestCapn.
const PostCreateRoomResponseCapn_TypeID = 0xd1296631ed66a902
PostCreateRoomResponseCapn_TypeID is the unique identifier for the type PostCreateRoomResponseCapn.
const PostDevicesDelRequestCapn_TypeID = 0xa239fcb8475d850e
PostDevicesDelRequestCapn_TypeID is the unique identifier for the type PostDevicesDelRequestCapn.
const PostLoginResponseCapn_TypeID = 0xc853484cccd8383e
PostLoginResponseCapn_TypeID is the unique identifier for the type PostLoginResponseCapn.
const PostMediaUploadRequestCapn_TypeID = 0x90b1759d5878cb69
PostMediaUploadRequestCapn_TypeID is the unique identifier for the type PostMediaUploadRequestCapn.
const PostMediaUploadResponseCapn_TypeID = 0xeee2b14b3603048e
PostMediaUploadResponseCapn_TypeID is the unique identifier for the type PostMediaUploadResponseCapn.
const PostPresenceListRequestCapn_TypeID = 0x953b13c141bb03e9
PostPresenceListRequestCapn_TypeID is the unique identifier for the type PostPresenceListRequestCapn.
const PostPublicRoomsRequestCapn_TypeID = 0x9e62b64dff4f727a
PostPublicRoomsRequestCapn_TypeID is the unique identifier for the type PostPublicRoomsRequestCapn.
const PostPublicRoomsResponseCapn_TypeID = 0x890a46554859e99b
PostPublicRoomsResponseCapn_TypeID is the unique identifier for the type PostPublicRoomsResponseCapn.
const PostRegisterEmailRequestCapn_TypeID = 0xc092d29cb93f86dc
PostRegisterEmailRequestCapn_TypeID is the unique identifier for the type PostRegisterEmailRequestCapn.
const PostRegisterEmailResponseCapn_TypeID = 0xa5508c34544c0f89
PostRegisterEmailResponseCapn_TypeID is the unique identifier for the type PostRegisterEmailResponseCapn.
const PostRegisterMsisdResponseCapn_TypeID = 0x9b22e2590a4c4fb9
PostRegisterMsisdResponseCapn_TypeID is the unique identifier for the type PostRegisterMsisdResponseCapn.
const PostRegisterMsisdnRequestCapn_TypeID = 0xdaab6ace151da989
PostRegisterMsisdnRequestCapn_TypeID is the unique identifier for the type PostRegisterMsisdnRequestCapn.
const PostRegisterRequestCapn_TypeID = 0xf8d8657dfb7a1b21
PostRegisterRequestCapn_TypeID is the unique identifier for the type PostRegisterRequestCapn.
const PostRoomReadMarkersRequestCapn_TypeID = 0xea3bee07164ac635
PostRoomReadMarkersRequestCapn_TypeID is the unique identifier for the type PostRoomReadMarkersRequestCapn.
const PostRoomReceiptRequestCapn_TypeID = 0xcfd91ead8f7b5072
PostRoomReceiptRequestCapn_TypeID is the unique identifier for the type PostRoomReceiptRequestCapn.
const PostRoomsBanRequestCapn_TypeID = 0xf9ba5593e92ae524
PostRoomsBanRequestCapn_TypeID is the unique identifier for the type PostRoomsBanRequestCapn.
const PostRoomsForgetRequestCapn_TypeID = 0xe8b6e1c2d03dc54d
PostRoomsForgetRequestCapn_TypeID is the unique identifier for the type PostRoomsForgetRequestCapn.
const PostRoomsInviteRequestCapn_TypeID = 0x87637c467db85004
PostRoomsInviteRequestCapn_TypeID is the unique identifier for the type PostRoomsInviteRequestCapn.
const PostRoomsJoinByAliasResponseCapn_TypeID = 0xbcc64224ccd365c7
PostRoomsJoinByAliasResponseCapn_TypeID is the unique identifier for the type PostRoomsJoinByAliasResponseCapn.
const PostRoomsJoinResponseCapn_TypeID = 0xd417786d9842a89f
PostRoomsJoinResponseCapn_TypeID is the unique identifier for the type PostRoomsJoinResponseCapn.
const PostRoomsKickRequestCapn_TypeID = 0xed01775f09089582
PostRoomsKickRequestCapn_TypeID is the unique identifier for the type PostRoomsKickRequestCapn.
const PostRoomsLeaveRequestCapn_TypeID = 0x934f648e0d74fd74
PostRoomsLeaveRequestCapn_TypeID is the unique identifier for the type PostRoomsLeaveRequestCapn.
const PostRoomsUnbanRequestCapn_TypeID = 0xcd5e8de4cbfaa8aa
PostRoomsUnbanRequestCapn_TypeID is the unique identifier for the type PostRoomsUnbanRequestCapn.
const PostSetPushersRequestCapn_TypeID = 0xa14867b80f309cef
PostSetPushersRequestCapn_TypeID is the unique identifier for the type PostSetPushersRequestCapn.
const PostUserFilterResponseCapn_TypeID = 0xdd42575c766d4d06
PostUserFilterResponseCapn_TypeID is the unique identifier for the type PostUserFilterResponseCapn.
const PostUserPresenceListRequestCapn_TypeID = 0xa6f3c02597d54668
PostUserPresenceListRequestCapn_TypeID is the unique identifier for the type PostUserPresenceListRequestCapn.
const PostUserSearchRequestCapn_TypeID = 0x96745109c202f5a6
PostUserSearchRequestCapn_TypeID is the unique identifier for the type PostUserSearchRequestCapn.
const PostUserSearchResponseCapn_TypeID = 0x9e37487e38669298
PostUserSearchResponseCapn_TypeID is the unique identifier for the type PostUserSearchResponseCapn.
const PresenceCapn_TypeID = 0xdd6124c301545f8a
PresenceCapn_TypeID is the unique identifier for the type PresenceCapn.
const PresenceJSONCapn_TypeID = 0x8e0938e8642b7812
PresenceJSONCapn_TypeID is the unique identifier for the type PresenceJSONCapn.
const PresenceListJSONCapn_TypeID = 0xead5939a85a0b5aa
PresenceListJSONCapn_TypeID is the unique identifier for the type PresenceListJSONCapn.
const PublicRoomsChunkCapn_TypeID = 0xb61747f4954fbc62
PublicRoomsChunkCapn_TypeID is the unique identifier for the type PublicRoomsChunkCapn.
const PushConditionCapn_TypeID = 0xa880dd00c26faed7
PushConditionCapn_TypeID is the unique identifier for the type PushConditionCapn.
const PusherCapn_TypeID = 0xcc42e08dd7871e92
PusherCapn_TypeID is the unique identifier for the type PusherCapn.
const PusherDataCapn_TypeID = 0x91d24b11533004f1
PusherDataCapn_TypeID is the unique identifier for the type PusherDataCapn.
const PutAvatarURLRequestCapn_TypeID = 0x81d3b998d0131f72
PutAvatarURLRequestCapn_TypeID is the unique identifier for the type PutAvatarURLRequestCapn.
const PutDeviceRequestCapn_TypeID = 0xf8ed5b72a4f56af4
PutDeviceRequestCapn_TypeID is the unique identifier for the type PutDeviceRequestCapn.
const PutDevicesByIDRequestCapn_TypeID = 0xed35f846661c4ab1
PutDevicesByIDRequestCapn_TypeID is the unique identifier for the type PutDevicesByIDRequestCapn.
const PutDirectoryRoomAliasRequestCapn_TypeID = 0x93d6020cb05ef19d
PutDirectoryRoomAliasRequestCapn_TypeID is the unique identifier for the type PutDirectoryRoomAliasRequestCapn.
const PutDirectoryRoomRequestCapn_TypeID = 0xce92df9750c55155
PutDirectoryRoomRequestCapn_TypeID is the unique identifier for the type PutDirectoryRoomRequestCapn.
const PutDisplayNameRequestCapn_TypeID = 0xc2c09e43569e01b4
PutDisplayNameRequestCapn_TypeID is the unique identifier for the type PutDisplayNameRequestCapn.
const PutPresenceRequestCapn_TypeID = 0x83607ef79f6ff6c1
PutPresenceRequestCapn_TypeID is the unique identifier for the type PutPresenceRequestCapn.
const PutPushrulesActionsByIDRequestCapn_TypeID = 0xd7072ed77da85079
PutPushrulesActionsByIDRequestCapn_TypeID is the unique identifier for the type PutPushrulesActionsByIDRequestCapn.
const PutPushrulesByIDRequestCapn_TypeID = 0x9dc2714f425b716f
PutPushrulesByIDRequestCapn_TypeID is the unique identifier for the type PutPushrulesByIDRequestCapn.
const PutPushrulesEnabledByIDRequestCapn_TypeID = 0x9d30e8d535c6968f
PutPushrulesEnabledByIDRequestCapn_TypeID is the unique identifier for the type PutPushrulesEnabledByIDRequestCapn.
const PutRedactEventRequestCapn_TypeID = 0x932e5c0a6f21237e
PutRedactEventRequestCapn_TypeID is the unique identifier for the type PutRedactEventRequestCapn.
const PutRedactEventResponseCapn_TypeID = 0xbb6484418a95c835
PutRedactEventResponseCapn_TypeID is the unique identifier for the type PutRedactEventResponseCapn.
const PutRedactWithTxnIDEventRequestCapn_TypeID = 0x8c953b47310a1cd2
PutRedactWithTxnIDEventRequestCapn_TypeID is the unique identifier for the type PutRedactWithTxnIDEventRequestCapn.
const PutRoomAccountDataRequestCapn_TypeID = 0xb6c107e5e2b2c313
PutRoomAccountDataRequestCapn_TypeID is the unique identifier for the type PutRoomAccountDataRequestCapn.
const PutRoomStateByTypeAndStateKeyCapn_TypeID = 0xd8a50d37465756ba
PutRoomStateByTypeAndStateKeyCapn_TypeID is the unique identifier for the type PutRoomStateByTypeAndStateKeyCapn.
const PutRoomStateByTypeCapn_TypeID = 0xdd77bae6bf7da064
PutRoomStateByTypeCapn_TypeID is the unique identifier for the type PutRoomStateByTypeCapn.
const PutRoomStateByTypeResponseCapn_TypeID = 0xd698ad3cbbe793bf
PutRoomStateByTypeResponseCapn_TypeID is the unique identifier for the type PutRoomStateByTypeResponseCapn.
const PutRoomStateByTypeWithTxnIDCapn_TypeID = 0xb36573fb1405d102
PutRoomStateByTypeWithTxnIDCapn_TypeID is the unique identifier for the type PutRoomStateByTypeWithTxnIDCapn.
const PutRoomStateByTypeWithTxnIDResponseCapn_TypeID = 0xc6d061bd109054f6
PutRoomStateByTypeWithTxnIDResponseCapn_TypeID is the unique identifier for the type PutRoomStateByTypeWithTxnIDResponseCapn.
const PutRoomStateResponseCapn_TypeID = 0xfdc9b13568f8b176
PutRoomStateResponseCapn_TypeID is the unique identifier for the type PutRoomStateResponseCapn.
const PutRoomUserTypingRequestCapn_TypeID = 0x9a93ff9b5b722a9b
PutRoomUserTypingRequestCapn_TypeID is the unique identifier for the type PutRoomUserTypingRequestCapn.
const PutRoomsTagsByIDRequestCapn_TypeID = 0xfa0a3636d28f9d54
PutRoomsTagsByIDRequestCapn_TypeID is the unique identifier for the type PutRoomsTagsByIDRequestCapn.
const PutUserAccountDataRequestCapn_TypeID = 0x9a549238d044f5ea
PutUserAccountDataRequestCapn_TypeID is the unique identifier for the type PutUserAccountDataRequestCapn.
const PutUserPresenceRequestCapn_TypeID = 0xea85a408c105eb35
PutUserPresenceRequestCapn_TypeID is the unique identifier for the type PutUserPresenceRequestCapn.
const PutUserProfileAvatarURLRequestCapn_TypeID = 0xb43eb716e2a47a96
PutUserProfileAvatarURLRequestCapn_TypeID is the unique identifier for the type PutUserProfileAvatarURLRequestCapn.
const PutUserProfileDisplayNameRequestCapn_TypeID = 0xc216de4a31403538
PutUserProfileDisplayNameRequestCapn_TypeID is the unique identifier for the type PutUserProfileDisplayNameRequestCapn.
const (
RCSFriendshipTypeBot = "bot"
)
const RegisterResponseCapn_TypeID = 0xc235bc5c20ec749c
RegisterResponseCapn_TypeID is the unique identifier for the type RegisterResponseCapn.
const RoomEventCapn_TypeID = 0xac8778e2250d9d0a
RoomEventCapn_TypeID is the unique identifier for the type RoomEventCapn.
const RoomEventFilterCapn_TypeID = 0xb6bafdf57d7bf0ba
RoomEventFilterCapn_TypeID is the unique identifier for the type RoomEventFilterCapn.
const SignedCapn_TypeID = 0xdfdd3852b87451ee
SignedCapn_TypeID is the unique identifier for the type SignedCapn.
const TagCapn_TypeID = 0x97c7370c0d585a33
TagCapn_TypeID is the unique identifier for the type TagCapn.
const ThirdPartyIdentifierCapn_TypeID = 0xe655e4b76632c41e
ThirdPartyIdentifierCapn_TypeID is the unique identifier for the type ThirdPartyIdentifierCapn.
const ThreePidCredentialsCapn_TypeID = 0x899eb1d8ee3e229a
ThreePidCredentialsCapn_TypeID is the unique identifier for the type ThreePidCredentialsCapn.
const TimelineCapn_TypeID = 0xb97e0a59e5e53b7a
TimelineCapn_TypeID is the unique identifier for the type TimelineCapn.
const ToDeviceCapn_TypeID = 0xca2680723f430e09
ToDeviceCapn_TypeID is the unique identifier for the type ToDeviceCapn.
const UnreadNotificationsCapn_TypeID = 0xed463b2d9fbf779e
UnreadNotificationsCapn_TypeID is the unique identifier for the type UnreadNotificationsCapn.
const UnsignedDataCapn_TypeID = 0xca2c12f486663543
UnsignedDataCapn_TypeID is the unique identifier for the type UnsignedDataCapn.
const UnsignedDeviceInfoCapn_TypeID = 0xfe0f2919237fc7f5
UnsignedDeviceInfoCapn_TypeID is the unique identifier for the type UnsignedDeviceInfoCapn.
const UserCapn_TypeID = 0xde55d01bc299d3b9
UserCapn_TypeID is the unique identifier for the type UserCapn.
const UserIdentifierCapn_TypeID = 0xa7908122e94773cc
UserIdentifierCapn_TypeID is the unique identifier for the type UserIdentifierCapn.
Variables ¶
This section is empty.
Functions ¶
func GetRemoteIP ¶
Types ¶
type AccountData ¶
type AccountData struct {
Events []Event `json:"events"`
}
type AccountDataCapn ¶
func NewAccountDataCapn ¶
func NewAccountDataCapn(s *capnp.Segment) (AccountDataCapn, error)
func NewRootAccountDataCapn ¶
func NewRootAccountDataCapn(s *capnp.Segment) (AccountDataCapn, error)
func ReadRootAccountDataCapn ¶
func ReadRootAccountDataCapn(msg *capnp.Message) (AccountDataCapn, error)
func (AccountDataCapn) Events ¶
func (s AccountDataCapn) Events() (EventCapn_List, error)
func (AccountDataCapn) HasEvents ¶
func (s AccountDataCapn) HasEvents() bool
func (AccountDataCapn) NewEvents ¶
func (s AccountDataCapn) NewEvents(n int32) (EventCapn_List, error)
NewEvents sets the events field to a newly allocated EventCapn_List, preferring placement in s's segment.
func (AccountDataCapn) SetEvents ¶
func (s AccountDataCapn) SetEvents(v EventCapn_List) error
func (AccountDataCapn) String ¶
func (s AccountDataCapn) String() string
type AccountDataCapn_List ¶
AccountDataCapn_List is a list of AccountDataCapn.
func NewAccountDataCapn_List ¶
func NewAccountDataCapn_List(s *capnp.Segment, sz int32) (AccountDataCapn_List, error)
NewAccountDataCapn creates a new list of AccountDataCapn.
func (AccountDataCapn_List) At ¶
func (s AccountDataCapn_List) At(i int) AccountDataCapn
func (AccountDataCapn_List) Set ¶
func (s AccountDataCapn_List) Set(i int, v AccountDataCapn) error
func (AccountDataCapn_List) String ¶
func (s AccountDataCapn_List) String() string
type AccountDataCapn_Promise ¶
AccountDataCapn_Promise is a wrapper for a AccountDataCapn promised by a client call.
func (AccountDataCapn_Promise) Struct ¶
func (p AccountDataCapn_Promise) Struct() (AccountDataCapn, error)
type AuthDataCapn ¶
func NewAuthDataCapn ¶
func NewAuthDataCapn(s *capnp.Segment) (AuthDataCapn, error)
func NewRootAuthDataCapn ¶
func NewRootAuthDataCapn(s *capnp.Segment) (AuthDataCapn, error)
func ReadRootAuthDataCapn ¶
func ReadRootAuthDataCapn(msg *capnp.Message) (AuthDataCapn, error)
func (AuthDataCapn) HasSession ¶
func (s AuthDataCapn) HasSession() bool
func (AuthDataCapn) HasType ¶
func (s AuthDataCapn) HasType() bool
func (AuthDataCapn) Session ¶
func (s AuthDataCapn) Session() (string, error)
func (AuthDataCapn) SessionBytes ¶
func (s AuthDataCapn) SessionBytes() ([]byte, error)
func (AuthDataCapn) SetSession ¶
func (s AuthDataCapn) SetSession(v string) error
func (AuthDataCapn) SetType ¶
func (s AuthDataCapn) SetType(v string) error
func (AuthDataCapn) String ¶
func (s AuthDataCapn) String() string
func (AuthDataCapn) Type ¶
func (s AuthDataCapn) Type() (string, error)
func (AuthDataCapn) TypeBytes ¶
func (s AuthDataCapn) TypeBytes() ([]byte, error)
type AuthDataCapn_List ¶
AuthDataCapn_List is a list of AuthDataCapn.
func NewAuthDataCapn_List ¶
func NewAuthDataCapn_List(s *capnp.Segment, sz int32) (AuthDataCapn_List, error)
NewAuthDataCapn creates a new list of AuthDataCapn.
func (AuthDataCapn_List) At ¶
func (s AuthDataCapn_List) At(i int) AuthDataCapn
func (AuthDataCapn_List) Set ¶
func (s AuthDataCapn_List) Set(i int, v AuthDataCapn) error
func (AuthDataCapn_List) String ¶
func (s AuthDataCapn_List) String() string
type AuthDataCapn_Promise ¶
AuthDataCapn_Promise is a wrapper for a AuthDataCapn promised by a client call.
func (AuthDataCapn_Promise) Struct ¶
func (p AuthDataCapn_Promise) Struct() (AuthDataCapn, error)
type AuthDict ¶
type AuthDict struct { Type string `json:"type"` Session string `json:"session"` Mac []byte `json:"mac"` Response string `json:"response"` }
POST /_matrix/client/r0/register request
type AuthDictCapn ¶
func NewAuthDictCapn ¶
func NewAuthDictCapn(s *capnp.Segment) (AuthDictCapn, error)
func NewRootAuthDictCapn ¶
func NewRootAuthDictCapn(s *capnp.Segment) (AuthDictCapn, error)
func ReadRootAuthDictCapn ¶
func ReadRootAuthDictCapn(msg *capnp.Message) (AuthDictCapn, error)
func (AuthDictCapn) HasMac ¶
func (s AuthDictCapn) HasMac() bool
func (AuthDictCapn) HasResponse ¶
func (s AuthDictCapn) HasResponse() bool
func (AuthDictCapn) HasSession ¶
func (s AuthDictCapn) HasSession() bool
func (AuthDictCapn) HasType ¶
func (s AuthDictCapn) HasType() bool
func (AuthDictCapn) Mac ¶
func (s AuthDictCapn) Mac() ([]byte, error)
func (AuthDictCapn) Response ¶
func (s AuthDictCapn) Response() (string, error)
func (AuthDictCapn) ResponseBytes ¶
func (s AuthDictCapn) ResponseBytes() ([]byte, error)
func (AuthDictCapn) Session ¶
func (s AuthDictCapn) Session() (string, error)
func (AuthDictCapn) SessionBytes ¶
func (s AuthDictCapn) SessionBytes() ([]byte, error)
func (AuthDictCapn) SetMac ¶
func (s AuthDictCapn) SetMac(v []byte) error
func (AuthDictCapn) SetResponse ¶
func (s AuthDictCapn) SetResponse(v string) error
func (AuthDictCapn) SetSession ¶
func (s AuthDictCapn) SetSession(v string) error
func (AuthDictCapn) SetType ¶
func (s AuthDictCapn) SetType(v string) error
func (AuthDictCapn) String ¶
func (s AuthDictCapn) String() string
func (AuthDictCapn) Type ¶
func (s AuthDictCapn) Type() (string, error)
func (AuthDictCapn) TypeBytes ¶
func (s AuthDictCapn) TypeBytes() ([]byte, error)
type AuthDictCapn_List ¶
AuthDictCapn_List is a list of AuthDictCapn.
func NewAuthDictCapn_List ¶
func NewAuthDictCapn_List(s *capnp.Segment, sz int32) (AuthDictCapn_List, error)
NewAuthDictCapn creates a new list of AuthDictCapn.
func (AuthDictCapn_List) At ¶
func (s AuthDictCapn_List) At(i int) AuthDictCapn
func (AuthDictCapn_List) Set ¶
func (s AuthDictCapn_List) Set(i int, v AuthDictCapn) error
func (AuthDictCapn_List) String ¶
func (s AuthDictCapn_List) String() string
type AuthDictCapn_Promise ¶
AuthDictCapn_Promise is a wrapper for a AuthDictCapn promised by a client call.
func (AuthDictCapn_Promise) Struct ¶
func (p AuthDictCapn_Promise) Struct() (AuthDictCapn, error)
type AuthFlow ¶
type AuthFlow struct {
Stages []string `json:"stages"`
}
Flow represents one possible way that the client can authenticate a request. https://matrix.org/docs/spec/client_server/r0.3.0.html#user-interactive-authentication-api
type AuthFlowCapn ¶
func NewAuthFlowCapn ¶
func NewAuthFlowCapn(s *capnp.Segment) (AuthFlowCapn, error)
func NewRootAuthFlowCapn ¶
func NewRootAuthFlowCapn(s *capnp.Segment) (AuthFlowCapn, error)
func ReadRootAuthFlowCapn ¶
func ReadRootAuthFlowCapn(msg *capnp.Message) (AuthFlowCapn, error)
func (AuthFlowCapn) HasStages ¶
func (s AuthFlowCapn) HasStages() bool
func (AuthFlowCapn) NewStages ¶
func (s AuthFlowCapn) NewStages(n int32) (capnp.TextList, error)
NewStages sets the stages field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (AuthFlowCapn) String ¶
func (s AuthFlowCapn) String() string
type AuthFlowCapn_List ¶
AuthFlowCapn_List is a list of AuthFlowCapn.
func NewAuthFlowCapn_List ¶
func NewAuthFlowCapn_List(s *capnp.Segment, sz int32) (AuthFlowCapn_List, error)
NewAuthFlowCapn creates a new list of AuthFlowCapn.
func (AuthFlowCapn_List) At ¶
func (s AuthFlowCapn_List) At(i int) AuthFlowCapn
func (AuthFlowCapn_List) Set ¶
func (s AuthFlowCapn_List) Set(i int, v AuthFlowCapn) error
func (AuthFlowCapn_List) String ¶
func (s AuthFlowCapn_List) String() string
type AuthFlowCapn_Promise ¶
AuthFlowCapn_Promise is a wrapper for a AuthFlowCapn promised by a client call.
func (AuthFlowCapn_Promise) Struct ¶
func (p AuthFlowCapn_Promise) Struct() (AuthFlowCapn, error)
type ConnectionInfo ¶
type DelDeviceAuthResponse ¶
type DelDeviceAuthResponse struct { Flows []Flow `json:"flows"` Params map[string]interface{} `json:"params"` Session string `json:"session"` }
func (*DelDeviceAuthResponse) Decode ¶
func (res *DelDeviceAuthResponse) Decode(input []byte) error
func (*DelDeviceAuthResponse) Encode ¶
func (res *DelDeviceAuthResponse) Encode() ([]byte, error)
type DelDeviceRequest ¶
type DelDeviceRequest struct { DeviceID string `json:"device_id"` Auth DeviceAuthDict `json:"auth"` }
DELETE /_matrix/client/r0/devices/{deviceId}
func (*DelDeviceRequest) Decode ¶
func (externalReq *DelDeviceRequest) Decode(input []byte) error
func (*DelDeviceRequest) Encode ¶
func (externalReq *DelDeviceRequest) Encode() ([]byte, error)
type DelDeviceRequestCapn ¶
func NewDelDeviceRequestCapn ¶
func NewDelDeviceRequestCapn(s *capnp.Segment) (DelDeviceRequestCapn, error)
func NewRootDelDeviceRequestCapn ¶
func NewRootDelDeviceRequestCapn(s *capnp.Segment) (DelDeviceRequestCapn, error)
func ReadRootDelDeviceRequestCapn ¶
func ReadRootDelDeviceRequestCapn(msg *capnp.Message) (DelDeviceRequestCapn, error)
func (DelDeviceRequestCapn) Auth ¶
func (s DelDeviceRequestCapn) Auth() (DeviceAuthDictCapn, error)
func (DelDeviceRequestCapn) DeviceID ¶
func (s DelDeviceRequestCapn) DeviceID() (string, error)
func (DelDeviceRequestCapn) DeviceIDBytes ¶
func (s DelDeviceRequestCapn) DeviceIDBytes() ([]byte, error)
func (DelDeviceRequestCapn) HasAuth ¶
func (s DelDeviceRequestCapn) HasAuth() bool
func (DelDeviceRequestCapn) HasDeviceID ¶
func (s DelDeviceRequestCapn) HasDeviceID() bool
func (DelDeviceRequestCapn) NewAuth ¶
func (s DelDeviceRequestCapn) NewAuth() (DeviceAuthDictCapn, error)
NewAuth sets the auth field to a newly allocated DeviceAuthDictCapn struct, preferring placement in s's segment.
func (DelDeviceRequestCapn) SetAuth ¶
func (s DelDeviceRequestCapn) SetAuth(v DeviceAuthDictCapn) error
func (DelDeviceRequestCapn) SetDeviceID ¶
func (s DelDeviceRequestCapn) SetDeviceID(v string) error
func (DelDeviceRequestCapn) String ¶
func (s DelDeviceRequestCapn) String() string
type DelDeviceRequestCapn_List ¶
DelDeviceRequestCapn_List is a list of DelDeviceRequestCapn.
func NewDelDeviceRequestCapn_List ¶
func NewDelDeviceRequestCapn_List(s *capnp.Segment, sz int32) (DelDeviceRequestCapn_List, error)
NewDelDeviceRequestCapn creates a new list of DelDeviceRequestCapn.
func (DelDeviceRequestCapn_List) At ¶
func (s DelDeviceRequestCapn_List) At(i int) DelDeviceRequestCapn
func (DelDeviceRequestCapn_List) Set ¶
func (s DelDeviceRequestCapn_List) Set(i int, v DelDeviceRequestCapn) error
func (DelDeviceRequestCapn_List) String ¶
func (s DelDeviceRequestCapn_List) String() string
type DelDeviceRequestCapn_Promise ¶
DelDeviceRequestCapn_Promise is a wrapper for a DelDeviceRequestCapn promised by a client call.
func (DelDeviceRequestCapn_Promise) Auth ¶
func (p DelDeviceRequestCapn_Promise) Auth() DeviceAuthDictCapn_Promise
func (DelDeviceRequestCapn_Promise) Struct ¶
func (p DelDeviceRequestCapn_Promise) Struct() (DelDeviceRequestCapn, error)
type DelDevicesByIDRequest ¶
DELETE /_matrix/client/r0/devices/{deviceId}
type DelDevicesByIDRequestCapn ¶
func NewDelDevicesByIDRequestCapn ¶
func NewDelDevicesByIDRequestCapn(s *capnp.Segment) (DelDevicesByIDRequestCapn, error)
func NewRootDelDevicesByIDRequestCapn ¶
func NewRootDelDevicesByIDRequestCapn(s *capnp.Segment) (DelDevicesByIDRequestCapn, error)
func ReadRootDelDevicesByIDRequestCapn ¶
func ReadRootDelDevicesByIDRequestCapn(msg *capnp.Message) (DelDevicesByIDRequestCapn, error)
func (DelDevicesByIDRequestCapn) Auth ¶
func (s DelDevicesByIDRequestCapn) Auth() (AuthDataCapn, error)
func (DelDevicesByIDRequestCapn) DeviceId ¶
func (s DelDevicesByIDRequestCapn) DeviceId() (string, error)
func (DelDevicesByIDRequestCapn) DeviceIdBytes ¶
func (s DelDevicesByIDRequestCapn) DeviceIdBytes() ([]byte, error)
func (DelDevicesByIDRequestCapn) HasAuth ¶
func (s DelDevicesByIDRequestCapn) HasAuth() bool
func (DelDevicesByIDRequestCapn) HasDeviceId ¶
func (s DelDevicesByIDRequestCapn) HasDeviceId() bool
func (DelDevicesByIDRequestCapn) NewAuth ¶
func (s DelDevicesByIDRequestCapn) NewAuth() (AuthDataCapn, error)
NewAuth sets the auth field to a newly allocated AuthDataCapn struct, preferring placement in s's segment.
func (DelDevicesByIDRequestCapn) SetAuth ¶
func (s DelDevicesByIDRequestCapn) SetAuth(v AuthDataCapn) error
func (DelDevicesByIDRequestCapn) SetDeviceId ¶
func (s DelDevicesByIDRequestCapn) SetDeviceId(v string) error
func (DelDevicesByIDRequestCapn) String ¶
func (s DelDevicesByIDRequestCapn) String() string
type DelDevicesByIDRequestCapn_List ¶
DelDevicesByIDRequestCapn_List is a list of DelDevicesByIDRequestCapn.
func NewDelDevicesByIDRequestCapn_List ¶
func NewDelDevicesByIDRequestCapn_List(s *capnp.Segment, sz int32) (DelDevicesByIDRequestCapn_List, error)
NewDelDevicesByIDRequestCapn creates a new list of DelDevicesByIDRequestCapn.
func (DelDevicesByIDRequestCapn_List) At ¶
func (s DelDevicesByIDRequestCapn_List) At(i int) DelDevicesByIDRequestCapn
func (DelDevicesByIDRequestCapn_List) Set ¶
func (s DelDevicesByIDRequestCapn_List) Set(i int, v DelDevicesByIDRequestCapn) error
func (DelDevicesByIDRequestCapn_List) String ¶
func (s DelDevicesByIDRequestCapn_List) String() string
type DelDevicesByIDRequestCapn_Promise ¶
DelDevicesByIDRequestCapn_Promise is a wrapper for a DelDevicesByIDRequestCapn promised by a client call.
func (DelDevicesByIDRequestCapn_Promise) Auth ¶
func (p DelDevicesByIDRequestCapn_Promise) Auth() AuthDataCapn_Promise
func (DelDevicesByIDRequestCapn_Promise) Struct ¶
func (p DelDevicesByIDRequestCapn_Promise) Struct() (DelDevicesByIDRequestCapn, error)
type DelDirectoryRoomAliasRequest ¶
type DelDirectoryRoomAliasRequest struct {
RoomAlias string `json:"roomAlias"`
}
DELETE /_matrix/client/r0/directory/room/{roomAlias}
func (*DelDirectoryRoomAliasRequest) Decode ¶
func (externalReq *DelDirectoryRoomAliasRequest) Decode(input []byte) error
func (*DelDirectoryRoomAliasRequest) Encode ¶
func (externalReq *DelDirectoryRoomAliasRequest) Encode() ([]byte, error)
type DelDirectoryRoomAliasRequestCapn ¶
func NewDelDirectoryRoomAliasRequestCapn ¶
func NewDelDirectoryRoomAliasRequestCapn(s *capnp.Segment) (DelDirectoryRoomAliasRequestCapn, error)
func NewRootDelDirectoryRoomAliasRequestCapn ¶
func NewRootDelDirectoryRoomAliasRequestCapn(s *capnp.Segment) (DelDirectoryRoomAliasRequestCapn, error)
func ReadRootDelDirectoryRoomAliasRequestCapn ¶
func ReadRootDelDirectoryRoomAliasRequestCapn(msg *capnp.Message) (DelDirectoryRoomAliasRequestCapn, error)
func (DelDirectoryRoomAliasRequestCapn) HasRoomAlias ¶
func (s DelDirectoryRoomAliasRequestCapn) HasRoomAlias() bool
func (DelDirectoryRoomAliasRequestCapn) RoomAlias ¶
func (s DelDirectoryRoomAliasRequestCapn) RoomAlias() (string, error)
func (DelDirectoryRoomAliasRequestCapn) RoomAliasBytes ¶
func (s DelDirectoryRoomAliasRequestCapn) RoomAliasBytes() ([]byte, error)
func (DelDirectoryRoomAliasRequestCapn) SetRoomAlias ¶
func (s DelDirectoryRoomAliasRequestCapn) SetRoomAlias(v string) error
func (DelDirectoryRoomAliasRequestCapn) String ¶
func (s DelDirectoryRoomAliasRequestCapn) String() string
type DelDirectoryRoomAliasRequestCapn_List ¶
DelDirectoryRoomAliasRequestCapn_List is a list of DelDirectoryRoomAliasRequestCapn.
func NewDelDirectoryRoomAliasRequestCapn_List ¶
func NewDelDirectoryRoomAliasRequestCapn_List(s *capnp.Segment, sz int32) (DelDirectoryRoomAliasRequestCapn_List, error)
NewDelDirectoryRoomAliasRequestCapn creates a new list of DelDirectoryRoomAliasRequestCapn.
func (DelDirectoryRoomAliasRequestCapn_List) Set ¶
func (s DelDirectoryRoomAliasRequestCapn_List) Set(i int, v DelDirectoryRoomAliasRequestCapn) error
func (DelDirectoryRoomAliasRequestCapn_List) String ¶
func (s DelDirectoryRoomAliasRequestCapn_List) String() string
type DelDirectoryRoomAliasRequestCapn_Promise ¶
DelDirectoryRoomAliasRequestCapn_Promise is a wrapper for a DelDirectoryRoomAliasRequestCapn promised by a client call.
func (DelDirectoryRoomAliasRequestCapn_Promise) Struct ¶
func (p DelDirectoryRoomAliasRequestCapn_Promise) Struct() (DelDirectoryRoomAliasRequestCapn, error)
type DelPushrulesByIDRequest ¶
type DelPushrulesByIDRequest struct { Scope string `json:"scope"` Kind string `json:"kind"` RuleID string `json:"ruleId"` }
DELETE /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}
func (*DelPushrulesByIDRequest) Decode ¶
func (externalReq *DelPushrulesByIDRequest) Decode(input []byte) error
func (*DelPushrulesByIDRequest) Encode ¶
func (externalReq *DelPushrulesByIDRequest) Encode() ([]byte, error)
type DelPushrulesByIDRequestCapn ¶
func NewDelPushrulesByIDRequestCapn ¶
func NewDelPushrulesByIDRequestCapn(s *capnp.Segment) (DelPushrulesByIDRequestCapn, error)
func NewRootDelPushrulesByIDRequestCapn ¶
func NewRootDelPushrulesByIDRequestCapn(s *capnp.Segment) (DelPushrulesByIDRequestCapn, error)
func ReadRootDelPushrulesByIDRequestCapn ¶
func ReadRootDelPushrulesByIDRequestCapn(msg *capnp.Message) (DelPushrulesByIDRequestCapn, error)
func (DelPushrulesByIDRequestCapn) HasKind ¶
func (s DelPushrulesByIDRequestCapn) HasKind() bool
func (DelPushrulesByIDRequestCapn) HasRuleID ¶
func (s DelPushrulesByIDRequestCapn) HasRuleID() bool
func (DelPushrulesByIDRequestCapn) HasScope ¶
func (s DelPushrulesByIDRequestCapn) HasScope() bool
func (DelPushrulesByIDRequestCapn) Kind ¶
func (s DelPushrulesByIDRequestCapn) Kind() (string, error)
func (DelPushrulesByIDRequestCapn) KindBytes ¶
func (s DelPushrulesByIDRequestCapn) KindBytes() ([]byte, error)
func (DelPushrulesByIDRequestCapn) RuleID ¶
func (s DelPushrulesByIDRequestCapn) RuleID() (string, error)
func (DelPushrulesByIDRequestCapn) RuleIDBytes ¶
func (s DelPushrulesByIDRequestCapn) RuleIDBytes() ([]byte, error)
func (DelPushrulesByIDRequestCapn) Scope ¶
func (s DelPushrulesByIDRequestCapn) Scope() (string, error)
func (DelPushrulesByIDRequestCapn) ScopeBytes ¶
func (s DelPushrulesByIDRequestCapn) ScopeBytes() ([]byte, error)
func (DelPushrulesByIDRequestCapn) SetKind ¶
func (s DelPushrulesByIDRequestCapn) SetKind(v string) error
func (DelPushrulesByIDRequestCapn) SetRuleID ¶
func (s DelPushrulesByIDRequestCapn) SetRuleID(v string) error
func (DelPushrulesByIDRequestCapn) SetScope ¶
func (s DelPushrulesByIDRequestCapn) SetScope(v string) error
func (DelPushrulesByIDRequestCapn) String ¶
func (s DelPushrulesByIDRequestCapn) String() string
type DelPushrulesByIDRequestCapn_List ¶
DelPushrulesByIDRequestCapn_List is a list of DelPushrulesByIDRequestCapn.
func NewDelPushrulesByIDRequestCapn_List ¶
func NewDelPushrulesByIDRequestCapn_List(s *capnp.Segment, sz int32) (DelPushrulesByIDRequestCapn_List, error)
NewDelPushrulesByIDRequestCapn creates a new list of DelPushrulesByIDRequestCapn.
func (DelPushrulesByIDRequestCapn_List) At ¶
func (s DelPushrulesByIDRequestCapn_List) At(i int) DelPushrulesByIDRequestCapn
func (DelPushrulesByIDRequestCapn_List) Set ¶
func (s DelPushrulesByIDRequestCapn_List) Set(i int, v DelPushrulesByIDRequestCapn) error
func (DelPushrulesByIDRequestCapn_List) String ¶
func (s DelPushrulesByIDRequestCapn_List) String() string
type DelPushrulesByIDRequestCapn_Promise ¶
DelPushrulesByIDRequestCapn_Promise is a wrapper for a DelPushrulesByIDRequestCapn promised by a client call.
func (DelPushrulesByIDRequestCapn_Promise) Struct ¶
func (p DelPushrulesByIDRequestCapn_Promise) Struct() (DelPushrulesByIDRequestCapn, error)
type DelRoomsTagsByIDRequest ¶
type DelRoomsTagsByIDRequest struct { UserId string `json:"userId"` RoomId string `json:"roomId"` Tag string `json:"tag"` }
DELETE /_matrix/client/r0/user/{userId}/rooms/{roomId}/tags/{tag}
func (*DelRoomsTagsByIDRequest) Decode ¶
func (externalReq *DelRoomsTagsByIDRequest) Decode(input []byte) error
func (*DelRoomsTagsByIDRequest) Encode ¶
func (externalReq *DelRoomsTagsByIDRequest) Encode() ([]byte, error)
type DelRoomsTagsByIDRequestCapn ¶
func NewDelRoomsTagsByIDRequestCapn ¶
func NewDelRoomsTagsByIDRequestCapn(s *capnp.Segment) (DelRoomsTagsByIDRequestCapn, error)
func NewRootDelRoomsTagsByIDRequestCapn ¶
func NewRootDelRoomsTagsByIDRequestCapn(s *capnp.Segment) (DelRoomsTagsByIDRequestCapn, error)
func ReadRootDelRoomsTagsByIDRequestCapn ¶
func ReadRootDelRoomsTagsByIDRequestCapn(msg *capnp.Message) (DelRoomsTagsByIDRequestCapn, error)
func (DelRoomsTagsByIDRequestCapn) HasRoomId ¶
func (s DelRoomsTagsByIDRequestCapn) HasRoomId() bool
func (DelRoomsTagsByIDRequestCapn) HasTag ¶
func (s DelRoomsTagsByIDRequestCapn) HasTag() bool
func (DelRoomsTagsByIDRequestCapn) HasUserId ¶
func (s DelRoomsTagsByIDRequestCapn) HasUserId() bool
func (DelRoomsTagsByIDRequestCapn) RoomId ¶
func (s DelRoomsTagsByIDRequestCapn) RoomId() (string, error)
func (DelRoomsTagsByIDRequestCapn) RoomIdBytes ¶
func (s DelRoomsTagsByIDRequestCapn) RoomIdBytes() ([]byte, error)
func (DelRoomsTagsByIDRequestCapn) SetRoomId ¶
func (s DelRoomsTagsByIDRequestCapn) SetRoomId(v string) error
func (DelRoomsTagsByIDRequestCapn) SetTag ¶
func (s DelRoomsTagsByIDRequestCapn) SetTag(v string) error
func (DelRoomsTagsByIDRequestCapn) SetUserId ¶
func (s DelRoomsTagsByIDRequestCapn) SetUserId(v string) error
func (DelRoomsTagsByIDRequestCapn) String ¶
func (s DelRoomsTagsByIDRequestCapn) String() string
func (DelRoomsTagsByIDRequestCapn) Tag ¶
func (s DelRoomsTagsByIDRequestCapn) Tag() (string, error)
func (DelRoomsTagsByIDRequestCapn) TagBytes ¶
func (s DelRoomsTagsByIDRequestCapn) TagBytes() ([]byte, error)
func (DelRoomsTagsByIDRequestCapn) UserId ¶
func (s DelRoomsTagsByIDRequestCapn) UserId() (string, error)
func (DelRoomsTagsByIDRequestCapn) UserIdBytes ¶
func (s DelRoomsTagsByIDRequestCapn) UserIdBytes() ([]byte, error)
type DelRoomsTagsByIDRequestCapn_List ¶
DelRoomsTagsByIDRequestCapn_List is a list of DelRoomsTagsByIDRequestCapn.
func NewDelRoomsTagsByIDRequestCapn_List ¶
func NewDelRoomsTagsByIDRequestCapn_List(s *capnp.Segment, sz int32) (DelRoomsTagsByIDRequestCapn_List, error)
NewDelRoomsTagsByIDRequestCapn creates a new list of DelRoomsTagsByIDRequestCapn.
func (DelRoomsTagsByIDRequestCapn_List) At ¶
func (s DelRoomsTagsByIDRequestCapn_List) At(i int) DelRoomsTagsByIDRequestCapn
func (DelRoomsTagsByIDRequestCapn_List) Set ¶
func (s DelRoomsTagsByIDRequestCapn_List) Set(i int, v DelRoomsTagsByIDRequestCapn) error
func (DelRoomsTagsByIDRequestCapn_List) String ¶
func (s DelRoomsTagsByIDRequestCapn_List) String() string
type DelRoomsTagsByIDRequestCapn_Promise ¶
DelRoomsTagsByIDRequestCapn_Promise is a wrapper for a DelRoomsTagsByIDRequestCapn promised by a client call.
func (DelRoomsTagsByIDRequestCapn_Promise) Struct ¶
func (p DelRoomsTagsByIDRequestCapn_Promise) Struct() (DelRoomsTagsByIDRequestCapn, error)
type DeleteUserInfoRequest ¶
type DeleteUserInfoRequest struct {
UserID string `json:"userID"`
}
DELETE /_matrix/client/r0/user_info/{userID}
func (*DeleteUserInfoRequest) Decode ¶
func (externalReq *DeleteUserInfoRequest) Decode(data []byte) error
func (*DeleteUserInfoRequest) Encode ¶
func (externalReq *DeleteUserInfoRequest) Encode() ([]byte, error)
type Device ¶
type Device struct { DeviceID string `json:"device_id"` DisplayName string `json:"display_name"` LastSeenIP string `json:"last_seen_ip"` LastSeenTs int `json:"last_seen_ts"` UserID string `json:"user_id,omitempty"` //deprecated }
response
type DeviceAuthDict ¶
type DeviceAuthDictCapn ¶
func NewDeviceAuthDictCapn ¶
func NewDeviceAuthDictCapn(s *capnp.Segment) (DeviceAuthDictCapn, error)
func NewRootDeviceAuthDictCapn ¶
func NewRootDeviceAuthDictCapn(s *capnp.Segment) (DeviceAuthDictCapn, error)
func ReadRootDeviceAuthDictCapn ¶
func ReadRootDeviceAuthDictCapn(msg *capnp.Message) (DeviceAuthDictCapn, error)
func (DeviceAuthDictCapn) HasPassword ¶
func (s DeviceAuthDictCapn) HasPassword() bool
func (DeviceAuthDictCapn) HasSession ¶
func (s DeviceAuthDictCapn) HasSession() bool
func (DeviceAuthDictCapn) HasType ¶
func (s DeviceAuthDictCapn) HasType() bool
func (DeviceAuthDictCapn) HasUser ¶
func (s DeviceAuthDictCapn) HasUser() bool
func (DeviceAuthDictCapn) Password ¶
func (s DeviceAuthDictCapn) Password() (string, error)
func (DeviceAuthDictCapn) PasswordBytes ¶
func (s DeviceAuthDictCapn) PasswordBytes() ([]byte, error)
func (DeviceAuthDictCapn) Session ¶
func (s DeviceAuthDictCapn) Session() (string, error)
func (DeviceAuthDictCapn) SessionBytes ¶
func (s DeviceAuthDictCapn) SessionBytes() ([]byte, error)
func (DeviceAuthDictCapn) SetPassword ¶
func (s DeviceAuthDictCapn) SetPassword(v string) error
func (DeviceAuthDictCapn) SetSession ¶
func (s DeviceAuthDictCapn) SetSession(v string) error
func (DeviceAuthDictCapn) SetType ¶
func (s DeviceAuthDictCapn) SetType(v string) error
func (DeviceAuthDictCapn) SetUser ¶
func (s DeviceAuthDictCapn) SetUser(v string) error
func (DeviceAuthDictCapn) String ¶
func (s DeviceAuthDictCapn) String() string
func (DeviceAuthDictCapn) Type ¶
func (s DeviceAuthDictCapn) Type() (string, error)
func (DeviceAuthDictCapn) TypeBytes ¶
func (s DeviceAuthDictCapn) TypeBytes() ([]byte, error)
func (DeviceAuthDictCapn) User ¶
func (s DeviceAuthDictCapn) User() (string, error)
func (DeviceAuthDictCapn) UserBytes ¶
func (s DeviceAuthDictCapn) UserBytes() ([]byte, error)
type DeviceAuthDictCapn_List ¶
DeviceAuthDictCapn_List is a list of DeviceAuthDictCapn.
func NewDeviceAuthDictCapn_List ¶
func NewDeviceAuthDictCapn_List(s *capnp.Segment, sz int32) (DeviceAuthDictCapn_List, error)
NewDeviceAuthDictCapn creates a new list of DeviceAuthDictCapn.
func (DeviceAuthDictCapn_List) At ¶
func (s DeviceAuthDictCapn_List) At(i int) DeviceAuthDictCapn
func (DeviceAuthDictCapn_List) Set ¶
func (s DeviceAuthDictCapn_List) Set(i int, v DeviceAuthDictCapn) error
func (DeviceAuthDictCapn_List) String ¶
func (s DeviceAuthDictCapn_List) String() string
type DeviceAuthDictCapn_Promise ¶
DeviceAuthDictCapn_Promise is a wrapper for a DeviceAuthDictCapn promised by a client call.
func (DeviceAuthDictCapn_Promise) Struct ¶
func (p DeviceAuthDictCapn_Promise) Struct() (DeviceAuthDictCapn, error)
type DeviceCapn ¶
func NewDeviceCapn ¶
func NewDeviceCapn(s *capnp.Segment) (DeviceCapn, error)
func NewRootDeviceCapn ¶
func NewRootDeviceCapn(s *capnp.Segment) (DeviceCapn, error)
func ReadRootDeviceCapn ¶
func ReadRootDeviceCapn(msg *capnp.Message) (DeviceCapn, error)
func (DeviceCapn) DeviceID ¶
func (s DeviceCapn) DeviceID() (string, error)
func (DeviceCapn) DeviceIDBytes ¶
func (s DeviceCapn) DeviceIDBytes() ([]byte, error)
func (DeviceCapn) DisplayName ¶
func (s DeviceCapn) DisplayName() (string, error)
func (DeviceCapn) DisplayNameBytes ¶
func (s DeviceCapn) DisplayNameBytes() ([]byte, error)
func (DeviceCapn) HasDeviceID ¶
func (s DeviceCapn) HasDeviceID() bool
func (DeviceCapn) HasDisplayName ¶
func (s DeviceCapn) HasDisplayName() bool
func (DeviceCapn) HasLastSeenIP ¶
func (s DeviceCapn) HasLastSeenIP() bool
func (DeviceCapn) HasUserID ¶
func (s DeviceCapn) HasUserID() bool
func (DeviceCapn) LastSeenIP ¶
func (s DeviceCapn) LastSeenIP() (string, error)
func (DeviceCapn) LastSeenIPBytes ¶
func (s DeviceCapn) LastSeenIPBytes() ([]byte, error)
func (DeviceCapn) LastSeenTs ¶
func (s DeviceCapn) LastSeenTs() int64
func (DeviceCapn) SetDeviceID ¶
func (s DeviceCapn) SetDeviceID(v string) error
func (DeviceCapn) SetDisplayName ¶
func (s DeviceCapn) SetDisplayName(v string) error
func (DeviceCapn) SetLastSeenIP ¶
func (s DeviceCapn) SetLastSeenIP(v string) error
func (DeviceCapn) SetLastSeenTs ¶
func (s DeviceCapn) SetLastSeenTs(v int64)
func (DeviceCapn) SetUserID ¶
func (s DeviceCapn) SetUserID(v string) error
func (DeviceCapn) String ¶
func (s DeviceCapn) String() string
func (DeviceCapn) UserID ¶
func (s DeviceCapn) UserID() (string, error)
func (DeviceCapn) UserIDBytes ¶
func (s DeviceCapn) UserIDBytes() ([]byte, error)
type DeviceCapn_List ¶
DeviceCapn_List is a list of DeviceCapn.
func NewDeviceCapn_List ¶
func NewDeviceCapn_List(s *capnp.Segment, sz int32) (DeviceCapn_List, error)
NewDeviceCapn creates a new list of DeviceCapn.
func (DeviceCapn_List) At ¶
func (s DeviceCapn_List) At(i int) DeviceCapn
func (DeviceCapn_List) Set ¶
func (s DeviceCapn_List) Set(i int, v DeviceCapn) error
func (DeviceCapn_List) String ¶
func (s DeviceCapn_List) String() string
type DeviceCapn_Promise ¶
DeviceCapn_Promise is a wrapper for a DeviceCapn promised by a client call.
func (DeviceCapn_Promise) Struct ¶
func (p DeviceCapn_Promise) Struct() (DeviceCapn, error)
type DeviceInfo ¶
type DeviceInfo struct {
Sessions []SessionInfo `json:"sessions"`
}
type DeviceKeys ¶
type DeviceList ¶
type DeviceList struct {
Devices []Device `json:"devices"`
}
GET /_matrix/client/r0/devices response
func (*DeviceList) Decode ¶
func (res *DeviceList) Decode(input []byte) error
func (*DeviceList) Encode ¶
func (res *DeviceList) Encode() ([]byte, error)
type DeviceListCapn ¶
func NewDeviceListCapn ¶
func NewDeviceListCapn(s *capnp.Segment) (DeviceListCapn, error)
func NewRootDeviceListCapn ¶
func NewRootDeviceListCapn(s *capnp.Segment) (DeviceListCapn, error)
func ReadRootDeviceListCapn ¶
func ReadRootDeviceListCapn(msg *capnp.Message) (DeviceListCapn, error)
func (DeviceListCapn) Devices ¶
func (s DeviceListCapn) Devices() (DeviceCapn_List, error)
func (DeviceListCapn) HasDevices ¶
func (s DeviceListCapn) HasDevices() bool
func (DeviceListCapn) NewDevices ¶
func (s DeviceListCapn) NewDevices(n int32) (DeviceCapn_List, error)
NewDevices sets the devices field to a newly allocated DeviceCapn_List, preferring placement in s's segment.
func (DeviceListCapn) SetDevices ¶
func (s DeviceListCapn) SetDevices(v DeviceCapn_List) error
func (DeviceListCapn) String ¶
func (s DeviceListCapn) String() string
type DeviceListCapn_List ¶
DeviceListCapn_List is a list of DeviceListCapn.
func NewDeviceListCapn_List ¶
func NewDeviceListCapn_List(s *capnp.Segment, sz int32) (DeviceListCapn_List, error)
NewDeviceListCapn creates a new list of DeviceListCapn.
func (DeviceListCapn_List) At ¶
func (s DeviceListCapn_List) At(i int) DeviceListCapn
func (DeviceListCapn_List) Set ¶
func (s DeviceListCapn_List) Set(i int, v DeviceListCapn) error
func (DeviceListCapn_List) String ¶
func (s DeviceListCapn_List) String() string
type DeviceListCapn_Promise ¶
DeviceListCapn_Promise is a wrapper for a DeviceListCapn promised by a client call.
func (DeviceListCapn_Promise) Struct ¶
func (p DeviceListCapn_Promise) Struct() (DeviceListCapn, error)
type DeviceLists ¶
type DeviceListsCapn ¶
func NewDeviceListsCapn ¶
func NewDeviceListsCapn(s *capnp.Segment) (DeviceListsCapn, error)
func NewRootDeviceListsCapn ¶
func NewRootDeviceListsCapn(s *capnp.Segment) (DeviceListsCapn, error)
func ReadRootDeviceListsCapn ¶
func ReadRootDeviceListsCapn(msg *capnp.Message) (DeviceListsCapn, error)
func (DeviceListsCapn) HasChanged ¶
func (s DeviceListsCapn) HasChanged() bool
func (DeviceListsCapn) HasLeft ¶
func (s DeviceListsCapn) HasLeft() bool
func (DeviceListsCapn) NewChanged ¶
func (s DeviceListsCapn) NewChanged(n int32) (capnp.TextList, error)
NewChanged sets the changed field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (DeviceListsCapn) NewLeft ¶
func (s DeviceListsCapn) NewLeft(n int32) (capnp.TextList, error)
NewLeft sets the left field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (DeviceListsCapn) SetChanged ¶
func (s DeviceListsCapn) SetChanged(v capnp.TextList) error
func (DeviceListsCapn) String ¶
func (s DeviceListsCapn) String() string
type DeviceListsCapn_List ¶
DeviceListsCapn_List is a list of DeviceListsCapn.
func NewDeviceListsCapn_List ¶
func NewDeviceListsCapn_List(s *capnp.Segment, sz int32) (DeviceListsCapn_List, error)
NewDeviceListsCapn creates a new list of DeviceListsCapn.
func (DeviceListsCapn_List) At ¶
func (s DeviceListsCapn_List) At(i int) DeviceListsCapn
func (DeviceListsCapn_List) Set ¶
func (s DeviceListsCapn_List) Set(i int, v DeviceListsCapn) error
func (DeviceListsCapn_List) String ¶
func (s DeviceListsCapn_List) String() string
type DeviceListsCapn_Promise ¶
DeviceListsCapn_Promise is a wrapper for a DeviceListsCapn promised by a client call.
func (DeviceListsCapn_Promise) Struct ¶
func (p DeviceListsCapn_Promise) Struct() (DeviceListsCapn, error)
type DismissRoomRequest ¶
type DismissRoomRequest struct { RoomID string `json:"roomID"` UserID string `json:"userID,omitempty"` }
POST /_matrix/client/unstable/{roomID}/dismiss
func (*DismissRoomRequest) Decode ¶
func (externalReq *DismissRoomRequest) Decode(data []byte) error
func (*DismissRoomRequest) Encode ¶
func (externalReq *DismissRoomRequest) Encode() ([]byte, error)
type DismissRoomResponse ¶
type DismissRoomResponse struct { }
func (*DismissRoomResponse) Decode ¶
func (res *DismissRoomResponse) Decode(input []byte) error
func (*DismissRoomResponse) Encode ¶
func (res *DismissRoomResponse) Encode() ([]byte, error)
type EphemeralCapn ¶
func NewEphemeralCapn ¶
func NewEphemeralCapn(s *capnp.Segment) (EphemeralCapn, error)
func NewRootEphemeralCapn ¶
func NewRootEphemeralCapn(s *capnp.Segment) (EphemeralCapn, error)
func ReadRootEphemeralCapn ¶
func ReadRootEphemeralCapn(msg *capnp.Message) (EphemeralCapn, error)
func (EphemeralCapn) Events ¶
func (s EphemeralCapn) Events() (EventCapn_List, error)
func (EphemeralCapn) HasEvents ¶
func (s EphemeralCapn) HasEvents() bool
func (EphemeralCapn) NewEvents ¶
func (s EphemeralCapn) NewEvents(n int32) (EventCapn_List, error)
NewEvents sets the events field to a newly allocated EventCapn_List, preferring placement in s's segment.
func (EphemeralCapn) SetEvents ¶
func (s EphemeralCapn) SetEvents(v EventCapn_List) error
func (EphemeralCapn) String ¶
func (s EphemeralCapn) String() string
type EphemeralCapn_List ¶
EphemeralCapn_List is a list of EphemeralCapn.
func NewEphemeralCapn_List ¶
func NewEphemeralCapn_List(s *capnp.Segment, sz int32) (EphemeralCapn_List, error)
NewEphemeralCapn creates a new list of EphemeralCapn.
func (EphemeralCapn_List) At ¶
func (s EphemeralCapn_List) At(i int) EphemeralCapn
func (EphemeralCapn_List) Set ¶
func (s EphemeralCapn_List) Set(i int, v EphemeralCapn) error
func (EphemeralCapn_List) String ¶
func (s EphemeralCapn_List) String() string
type EphemeralCapn_Promise ¶
EphemeralCapn_Promise is a wrapper for a EphemeralCapn promised by a client call.
func (EphemeralCapn_Promise) Struct ¶
func (p EphemeralCapn_Promise) Struct() (EphemeralCapn, error)
type Event ¶
type Event struct { Content jsonRaw.RawMessage `json:"content,omitempty"` Type string `json:"type,omitempty"` EventID string `json:"event_id,omitempty"` Sender string `json:"sender,omitempty"` }
type EventCapn_List ¶
EventCapn_List is a list of EventCapn.
func NewEventCapn_List ¶
func NewEventCapn_List(s *capnp.Segment, sz int32) (EventCapn_List, error)
NewEventCapn creates a new list of EventCapn.
func (EventCapn_List) At ¶
func (s EventCapn_List) At(i int) EventCapn
func (EventCapn_List) String ¶
func (s EventCapn_List) String() string
type EventCapn_Promise ¶
EventCapn_Promise is a wrapper for a EventCapn promised by a client call.
func (EventCapn_Promise) Struct ¶
func (p EventCapn_Promise) Struct() (EventCapn, error)
type EventContent ¶
type EventContent struct { AvatarURL string `json:"avatar_url,omitempty"` DisplayName *string `json:"displayname,omitempty"` MemberShip string `json:"membership,omitempty"` IsDirect bool `json:"is_direct,omitempty"` ThirdPartyInvite Invite `json:"third_party_invite,omitempty"` Unsigned UnsignedData `json:"unsigned,omitempty"` }
type EventFilter ¶
type EventFilterCapn ¶
func NewEventFilterCapn ¶
func NewEventFilterCapn(s *capnp.Segment) (EventFilterCapn, error)
func NewRootEventFilterCapn ¶
func NewRootEventFilterCapn(s *capnp.Segment) (EventFilterCapn, error)
func ReadRootEventFilterCapn ¶
func ReadRootEventFilterCapn(msg *capnp.Message) (EventFilterCapn, error)
func (EventFilterCapn) HasNotSenders ¶
func (s EventFilterCapn) HasNotSenders() bool
func (EventFilterCapn) HasNotTypes ¶
func (s EventFilterCapn) HasNotTypes() bool
func (EventFilterCapn) HasSenders ¶
func (s EventFilterCapn) HasSenders() bool
func (EventFilterCapn) HasTypes ¶
func (s EventFilterCapn) HasTypes() bool
func (EventFilterCapn) Limit ¶
func (s EventFilterCapn) Limit() int64
func (EventFilterCapn) NewNotSenders ¶
func (s EventFilterCapn) NewNotSenders(n int32) (capnp.TextList, error)
NewNotSenders sets the notSenders field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (EventFilterCapn) NewNotTypes ¶
func (s EventFilterCapn) NewNotTypes(n int32) (capnp.TextList, error)
NewNotTypes sets the notTypes field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (EventFilterCapn) NewSenders ¶
func (s EventFilterCapn) NewSenders(n int32) (capnp.TextList, error)
NewSenders sets the senders field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (EventFilterCapn) NewTypes ¶
func (s EventFilterCapn) NewTypes(n int32) (capnp.TextList, error)
NewTypes sets the types field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (EventFilterCapn) NotSenders ¶
func (s EventFilterCapn) NotSenders() (capnp.TextList, error)
func (EventFilterCapn) SetLimit ¶
func (s EventFilterCapn) SetLimit(v int64)
func (EventFilterCapn) SetNotSenders ¶
func (s EventFilterCapn) SetNotSenders(v capnp.TextList) error
func (EventFilterCapn) SetNotTypes ¶
func (s EventFilterCapn) SetNotTypes(v capnp.TextList) error
func (EventFilterCapn) SetSenders ¶
func (s EventFilterCapn) SetSenders(v capnp.TextList) error
func (EventFilterCapn) String ¶
func (s EventFilterCapn) String() string
type EventFilterCapn_List ¶
EventFilterCapn_List is a list of EventFilterCapn.
func NewEventFilterCapn_List ¶
func NewEventFilterCapn_List(s *capnp.Segment, sz int32) (EventFilterCapn_List, error)
NewEventFilterCapn creates a new list of EventFilterCapn.
func (EventFilterCapn_List) At ¶
func (s EventFilterCapn_List) At(i int) EventFilterCapn
func (EventFilterCapn_List) Set ¶
func (s EventFilterCapn_List) Set(i int, v EventFilterCapn) error
func (EventFilterCapn_List) String ¶
func (s EventFilterCapn_List) String() string
type EventFilterCapn_Promise ¶
EventFilterCapn_Promise is a wrapper for a EventFilterCapn promised by a client call.
func (EventFilterCapn_Promise) Struct ¶
func (p EventFilterCapn_Promise) Struct() (EventFilterCapn, error)
type FedJoinEvent ¶
type FieldsType ¶
type FilterCapn ¶
func NewFilterCapn ¶
func NewFilterCapn(s *capnp.Segment) (FilterCapn, error)
func NewRootFilterCapn ¶
func NewRootFilterCapn(s *capnp.Segment) (FilterCapn, error)
func ReadRootFilterCapn ¶
func ReadRootFilterCapn(msg *capnp.Message) (FilterCapn, error)
func (FilterCapn) HasSearchTerm ¶
func (s FilterCapn) HasSearchTerm() bool
func (FilterCapn) SearchTerm ¶
func (s FilterCapn) SearchTerm() (string, error)
func (FilterCapn) SearchTermBytes ¶
func (s FilterCapn) SearchTermBytes() ([]byte, error)
func (FilterCapn) SetSearchTerm ¶
func (s FilterCapn) SetSearchTerm(v string) error
func (FilterCapn) String ¶
func (s FilterCapn) String() string
type FilterCapn_List ¶
FilterCapn_List is a list of FilterCapn.
func NewFilterCapn_List ¶
func NewFilterCapn_List(s *capnp.Segment, sz int32) (FilterCapn_List, error)
NewFilterCapn creates a new list of FilterCapn.
func (FilterCapn_List) At ¶
func (s FilterCapn_List) At(i int) FilterCapn
func (FilterCapn_List) Set ¶
func (s FilterCapn_List) Set(i int, v FilterCapn) error
func (FilterCapn_List) String ¶
func (s FilterCapn_List) String() string
type FilterCapn_Promise ¶
FilterCapn_Promise is a wrapper for a FilterCapn promised by a client call.
func (FilterCapn_Promise) Struct ¶
func (p FilterCapn_Promise) Struct() (FilterCapn, error)
type FlowCapn ¶
type FlowCapn_List ¶
FlowCapn_List is a list of FlowCapn.
func NewFlowCapn_List ¶
func NewFlowCapn_List(s *capnp.Segment, sz int32) (FlowCapn_List, error)
NewFlowCapn creates a new list of FlowCapn.
func (FlowCapn_List) At ¶
func (s FlowCapn_List) At(i int) FlowCapn
func (FlowCapn_List) String ¶
func (s FlowCapn_List) String() string
type FlowCapn_Promise ¶
FlowCapn_Promise is a wrapper for a FlowCapn promised by a client call.
func (FlowCapn_Promise) Struct ¶
func (p FlowCapn_Promise) Struct() (FlowCapn, error)
type Friendship ¶
type GetAccount3PIDResponse ¶
type GetAccount3PIDResponse struct {
ThreePIDs ThirdPartyIdentifier `json:"threepids"`
}
GET /_matrix/client/r0/account/3pid
func (*GetAccount3PIDResponse) Decode ¶
func (res *GetAccount3PIDResponse) Decode(input []byte) error
func (*GetAccount3PIDResponse) Encode ¶
func (res *GetAccount3PIDResponse) Encode() ([]byte, error)
type GetAccount3PIDResponseCapn ¶
func NewGetAccount3PIDResponseCapn ¶
func NewGetAccount3PIDResponseCapn(s *capnp.Segment) (GetAccount3PIDResponseCapn, error)
func NewRootGetAccount3PIDResponseCapn ¶
func NewRootGetAccount3PIDResponseCapn(s *capnp.Segment) (GetAccount3PIDResponseCapn, error)
func ReadRootGetAccount3PIDResponseCapn ¶
func ReadRootGetAccount3PIDResponseCapn(msg *capnp.Message) (GetAccount3PIDResponseCapn, error)
func (GetAccount3PIDResponseCapn) HasThreePIDs ¶
func (s GetAccount3PIDResponseCapn) HasThreePIDs() bool
func (GetAccount3PIDResponseCapn) NewThreePIDs ¶
func (s GetAccount3PIDResponseCapn) NewThreePIDs() (ThirdPartyIdentifierCapn, error)
NewThreePIDs sets the threePIDs field to a newly allocated ThirdPartyIdentifierCapn struct, preferring placement in s's segment.
func (GetAccount3PIDResponseCapn) SetThreePIDs ¶
func (s GetAccount3PIDResponseCapn) SetThreePIDs(v ThirdPartyIdentifierCapn) error
func (GetAccount3PIDResponseCapn) String ¶
func (s GetAccount3PIDResponseCapn) String() string
func (GetAccount3PIDResponseCapn) ThreePIDs ¶
func (s GetAccount3PIDResponseCapn) ThreePIDs() (ThirdPartyIdentifierCapn, error)
type GetAccount3PIDResponseCapn_List ¶
GetAccount3PIDResponseCapn_List is a list of GetAccount3PIDResponseCapn.
func NewGetAccount3PIDResponseCapn_List ¶
func NewGetAccount3PIDResponseCapn_List(s *capnp.Segment, sz int32) (GetAccount3PIDResponseCapn_List, error)
NewGetAccount3PIDResponseCapn creates a new list of GetAccount3PIDResponseCapn.
func (GetAccount3PIDResponseCapn_List) At ¶
func (s GetAccount3PIDResponseCapn_List) At(i int) GetAccount3PIDResponseCapn
func (GetAccount3PIDResponseCapn_List) Set ¶
func (s GetAccount3PIDResponseCapn_List) Set(i int, v GetAccount3PIDResponseCapn) error
func (GetAccount3PIDResponseCapn_List) String ¶
func (s GetAccount3PIDResponseCapn_List) String() string
type GetAccount3PIDResponseCapn_Promise ¶
GetAccount3PIDResponseCapn_Promise is a wrapper for a GetAccount3PIDResponseCapn promised by a client call.
func (GetAccount3PIDResponseCapn_Promise) Struct ¶
func (p GetAccount3PIDResponseCapn_Promise) Struct() (GetAccount3PIDResponseCapn, error)
func (GetAccount3PIDResponseCapn_Promise) ThreePIDs ¶
func (p GetAccount3PIDResponseCapn_Promise) ThreePIDs() ThirdPartyIdentifierCapn_Promise
type GetAccountWhoAmI ¶
type GetAccountWhoAmI struct {
UserID string `json:"user_id"`
}
GET /_matrix/client/r0/account/whoami
func (*GetAccountWhoAmI) Decode ¶
func (res *GetAccountWhoAmI) Decode(input []byte) error
func (*GetAccountWhoAmI) Encode ¶
func (res *GetAccountWhoAmI) Encode() ([]byte, error)
type GetAccountWhoAmIResponse ¶
type GetAccountWhoAmIResponse struct {
UserID string `json:"user_id"`
}
GET /_matrix/client/r0/account/whoami
func (*GetAccountWhoAmIResponse) Decode ¶
func (res *GetAccountWhoAmIResponse) Decode(input []byte) error
func (*GetAccountWhoAmIResponse) Encode ¶
func (res *GetAccountWhoAmIResponse) Encode() ([]byte, error)
type GetAccountWhoAmIResponseCapn ¶
func NewGetAccountWhoAmIResponseCapn ¶
func NewGetAccountWhoAmIResponseCapn(s *capnp.Segment) (GetAccountWhoAmIResponseCapn, error)
func NewRootGetAccountWhoAmIResponseCapn ¶
func NewRootGetAccountWhoAmIResponseCapn(s *capnp.Segment) (GetAccountWhoAmIResponseCapn, error)
func ReadRootGetAccountWhoAmIResponseCapn ¶
func ReadRootGetAccountWhoAmIResponseCapn(msg *capnp.Message) (GetAccountWhoAmIResponseCapn, error)
func (GetAccountWhoAmIResponseCapn) HasUserID ¶
func (s GetAccountWhoAmIResponseCapn) HasUserID() bool
func (GetAccountWhoAmIResponseCapn) SetUserID ¶
func (s GetAccountWhoAmIResponseCapn) SetUserID(v string) error
func (GetAccountWhoAmIResponseCapn) String ¶
func (s GetAccountWhoAmIResponseCapn) String() string
func (GetAccountWhoAmIResponseCapn) UserID ¶
func (s GetAccountWhoAmIResponseCapn) UserID() (string, error)
func (GetAccountWhoAmIResponseCapn) UserIDBytes ¶
func (s GetAccountWhoAmIResponseCapn) UserIDBytes() ([]byte, error)
type GetAccountWhoAmIResponseCapn_List ¶
GetAccountWhoAmIResponseCapn_List is a list of GetAccountWhoAmIResponseCapn.
func NewGetAccountWhoAmIResponseCapn_List ¶
func NewGetAccountWhoAmIResponseCapn_List(s *capnp.Segment, sz int32) (GetAccountWhoAmIResponseCapn_List, error)
NewGetAccountWhoAmIResponseCapn creates a new list of GetAccountWhoAmIResponseCapn.
func (GetAccountWhoAmIResponseCapn_List) At ¶
func (s GetAccountWhoAmIResponseCapn_List) At(i int) GetAccountWhoAmIResponseCapn
func (GetAccountWhoAmIResponseCapn_List) Set ¶
func (s GetAccountWhoAmIResponseCapn_List) Set(i int, v GetAccountWhoAmIResponseCapn) error
func (GetAccountWhoAmIResponseCapn_List) String ¶
func (s GetAccountWhoAmIResponseCapn_List) String() string
type GetAccountWhoAmIResponseCapn_Promise ¶
GetAccountWhoAmIResponseCapn_Promise is a wrapper for a GetAccountWhoAmIResponseCapn promised by a client call.
func (GetAccountWhoAmIResponseCapn_Promise) Struct ¶
func (p GetAccountWhoAmIResponseCapn_Promise) Struct() (GetAccountWhoAmIResponseCapn, error)
type GetAccountWhoAmIRquestCapn ¶
func NewGetAccountWhoAmIRquestCapn ¶
func NewGetAccountWhoAmIRquestCapn(s *capnp.Segment) (GetAccountWhoAmIRquestCapn, error)
func NewRootGetAccountWhoAmIRquestCapn ¶
func NewRootGetAccountWhoAmIRquestCapn(s *capnp.Segment) (GetAccountWhoAmIRquestCapn, error)
func ReadRootGetAccountWhoAmIRquestCapn ¶
func ReadRootGetAccountWhoAmIRquestCapn(msg *capnp.Message) (GetAccountWhoAmIRquestCapn, error)
func (GetAccountWhoAmIRquestCapn) HasUserID ¶
func (s GetAccountWhoAmIRquestCapn) HasUserID() bool
func (GetAccountWhoAmIRquestCapn) SetUserID ¶
func (s GetAccountWhoAmIRquestCapn) SetUserID(v string) error
func (GetAccountWhoAmIRquestCapn) String ¶
func (s GetAccountWhoAmIRquestCapn) String() string
func (GetAccountWhoAmIRquestCapn) UserID ¶
func (s GetAccountWhoAmIRquestCapn) UserID() (string, error)
func (GetAccountWhoAmIRquestCapn) UserIDBytes ¶
func (s GetAccountWhoAmIRquestCapn) UserIDBytes() ([]byte, error)
type GetAccountWhoAmIRquestCapn_List ¶
GetAccountWhoAmIRquestCapn_List is a list of GetAccountWhoAmIRquestCapn.
func NewGetAccountWhoAmIRquestCapn_List ¶
func NewGetAccountWhoAmIRquestCapn_List(s *capnp.Segment, sz int32) (GetAccountWhoAmIRquestCapn_List, error)
NewGetAccountWhoAmIRquestCapn creates a new list of GetAccountWhoAmIRquestCapn.
func (GetAccountWhoAmIRquestCapn_List) At ¶
func (s GetAccountWhoAmIRquestCapn_List) At(i int) GetAccountWhoAmIRquestCapn
func (GetAccountWhoAmIRquestCapn_List) Set ¶
func (s GetAccountWhoAmIRquestCapn_List) Set(i int, v GetAccountWhoAmIRquestCapn) error
func (GetAccountWhoAmIRquestCapn_List) String ¶
func (s GetAccountWhoAmIRquestCapn_List) String() string
type GetAccountWhoAmIRquestCapn_Promise ¶
GetAccountWhoAmIRquestCapn_Promise is a wrapper for a GetAccountWhoAmIRquestCapn promised by a client call.
func (GetAccountWhoAmIRquestCapn_Promise) Struct ¶
func (p GetAccountWhoAmIRquestCapn_Promise) Struct() (GetAccountWhoAmIRquestCapn, error)
type GetAvatarURLRequest ¶
type GetAvatarURLRequest struct {
UserID string `json:"user_id"`
}
GET /_matrix/client/r0/profile/{userID}/avatar_url
func (*GetAvatarURLRequest) Decode ¶
func (externalReq *GetAvatarURLRequest) Decode(input []byte) error
func (*GetAvatarURLRequest) Encode ¶
func (externalReq *GetAvatarURLRequest) Encode() ([]byte, error)
type GetAvatarURLRequestCapn ¶
func NewGetAvatarURLRequestCapn ¶
func NewGetAvatarURLRequestCapn(s *capnp.Segment) (GetAvatarURLRequestCapn, error)
func NewRootGetAvatarURLRequestCapn ¶
func NewRootGetAvatarURLRequestCapn(s *capnp.Segment) (GetAvatarURLRequestCapn, error)
func ReadRootGetAvatarURLRequestCapn ¶
func ReadRootGetAvatarURLRequestCapn(msg *capnp.Message) (GetAvatarURLRequestCapn, error)
func (GetAvatarURLRequestCapn) HasUserID ¶
func (s GetAvatarURLRequestCapn) HasUserID() bool
func (GetAvatarURLRequestCapn) SetUserID ¶
func (s GetAvatarURLRequestCapn) SetUserID(v string) error
func (GetAvatarURLRequestCapn) String ¶
func (s GetAvatarURLRequestCapn) String() string
func (GetAvatarURLRequestCapn) UserID ¶
func (s GetAvatarURLRequestCapn) UserID() (string, error)
func (GetAvatarURLRequestCapn) UserIDBytes ¶
func (s GetAvatarURLRequestCapn) UserIDBytes() ([]byte, error)
type GetAvatarURLRequestCapn_List ¶
GetAvatarURLRequestCapn_List is a list of GetAvatarURLRequestCapn.
func NewGetAvatarURLRequestCapn_List ¶
func NewGetAvatarURLRequestCapn_List(s *capnp.Segment, sz int32) (GetAvatarURLRequestCapn_List, error)
NewGetAvatarURLRequestCapn creates a new list of GetAvatarURLRequestCapn.
func (GetAvatarURLRequestCapn_List) At ¶
func (s GetAvatarURLRequestCapn_List) At(i int) GetAvatarURLRequestCapn
func (GetAvatarURLRequestCapn_List) Set ¶
func (s GetAvatarURLRequestCapn_List) Set(i int, v GetAvatarURLRequestCapn) error
func (GetAvatarURLRequestCapn_List) String ¶
func (s GetAvatarURLRequestCapn_List) String() string
type GetAvatarURLRequestCapn_Promise ¶
GetAvatarURLRequestCapn_Promise is a wrapper for a GetAvatarURLRequestCapn promised by a client call.
func (GetAvatarURLRequestCapn_Promise) Struct ¶
func (p GetAvatarURLRequestCapn_Promise) Struct() (GetAvatarURLRequestCapn, error)
type GetAvatarURLResponse ¶
type GetAvatarURLResponse struct {
AvatarURL string `json:"avatar_url"`
}
func (*GetAvatarURLResponse) Decode ¶
func (res *GetAvatarURLResponse) Decode(input []byte) error
func (*GetAvatarURLResponse) Encode ¶
func (res *GetAvatarURLResponse) Encode() ([]byte, error)
type GetAvatarURLResponseCapn ¶
func NewGetAvatarURLResponseCapn ¶
func NewGetAvatarURLResponseCapn(s *capnp.Segment) (GetAvatarURLResponseCapn, error)
func NewRootGetAvatarURLResponseCapn ¶
func NewRootGetAvatarURLResponseCapn(s *capnp.Segment) (GetAvatarURLResponseCapn, error)
func ReadRootGetAvatarURLResponseCapn ¶
func ReadRootGetAvatarURLResponseCapn(msg *capnp.Message) (GetAvatarURLResponseCapn, error)
func (GetAvatarURLResponseCapn) AvatarURL ¶
func (s GetAvatarURLResponseCapn) AvatarURL() (string, error)
func (GetAvatarURLResponseCapn) AvatarURLBytes ¶
func (s GetAvatarURLResponseCapn) AvatarURLBytes() ([]byte, error)
func (GetAvatarURLResponseCapn) HasAvatarURL ¶
func (s GetAvatarURLResponseCapn) HasAvatarURL() bool
func (GetAvatarURLResponseCapn) SetAvatarURL ¶
func (s GetAvatarURLResponseCapn) SetAvatarURL(v string) error
func (GetAvatarURLResponseCapn) String ¶
func (s GetAvatarURLResponseCapn) String() string
type GetAvatarURLResponseCapn_List ¶
GetAvatarURLResponseCapn_List is a list of GetAvatarURLResponseCapn.
func NewGetAvatarURLResponseCapn_List ¶
func NewGetAvatarURLResponseCapn_List(s *capnp.Segment, sz int32) (GetAvatarURLResponseCapn_List, error)
NewGetAvatarURLResponseCapn creates a new list of GetAvatarURLResponseCapn.
func (GetAvatarURLResponseCapn_List) At ¶
func (s GetAvatarURLResponseCapn_List) At(i int) GetAvatarURLResponseCapn
func (GetAvatarURLResponseCapn_List) Set ¶
func (s GetAvatarURLResponseCapn_List) Set(i int, v GetAvatarURLResponseCapn) error
func (GetAvatarURLResponseCapn_List) String ¶
func (s GetAvatarURLResponseCapn_List) String() string
type GetAvatarURLResponseCapn_Promise ¶
GetAvatarURLResponseCapn_Promise is a wrapper for a GetAvatarURLResponseCapn promised by a client call.
func (GetAvatarURLResponseCapn_Promise) Struct ¶
func (p GetAvatarURLResponseCapn_Promise) Struct() (GetAvatarURLResponseCapn, error)
type GetCasLoginRedirectRequest ¶
type GetCasLoginRedirectRequest struct {
RedirectURL string `json:"redirectUrl"`
}
GET /_matrix/client/r0/login/cas/redirect
func (*GetCasLoginRedirectRequest) Decode ¶
func (externalReq *GetCasLoginRedirectRequest) Decode(input []byte) error
func (*GetCasLoginRedirectRequest) Encode ¶
func (externalReq *GetCasLoginRedirectRequest) Encode() ([]byte, error)
type GetCasLoginTickerRequest ¶
type GetCasLoginTickerRequest struct { RedirectURL string `json:"redirectUrl"` Ticket string `json:"ticket"` }
GET /_matrix/client/r0/login/cas/ticket
func (*GetCasLoginTickerRequest) Decode ¶
func (externalReq *GetCasLoginTickerRequest) Decode(input []byte) error
func (*GetCasLoginTickerRequest) Encode ¶
func (externalReq *GetCasLoginTickerRequest) Encode() ([]byte, error)
type GetDeviceRequest ¶
type GetDeviceRequest struct {
DeviceID string `json:"device_id"`
}
GET /_matrix/client/r0/devices/{deviceId}
func (*GetDeviceRequest) Decode ¶
func (externalReq *GetDeviceRequest) Decode(input []byte) error
func (*GetDeviceRequest) Encode ¶
func (externalReq *GetDeviceRequest) Encode() ([]byte, error)
type GetDeviceRequestCapn ¶
func NewGetDeviceRequestCapn ¶
func NewGetDeviceRequestCapn(s *capnp.Segment) (GetDeviceRequestCapn, error)
func NewRootGetDeviceRequestCapn ¶
func NewRootGetDeviceRequestCapn(s *capnp.Segment) (GetDeviceRequestCapn, error)
func ReadRootGetDeviceRequestCapn ¶
func ReadRootGetDeviceRequestCapn(msg *capnp.Message) (GetDeviceRequestCapn, error)
func (GetDeviceRequestCapn) DeviceID ¶
func (s GetDeviceRequestCapn) DeviceID() (string, error)
func (GetDeviceRequestCapn) DeviceIDBytes ¶
func (s GetDeviceRequestCapn) DeviceIDBytes() ([]byte, error)
func (GetDeviceRequestCapn) HasDeviceID ¶
func (s GetDeviceRequestCapn) HasDeviceID() bool
func (GetDeviceRequestCapn) SetDeviceID ¶
func (s GetDeviceRequestCapn) SetDeviceID(v string) error
func (GetDeviceRequestCapn) String ¶
func (s GetDeviceRequestCapn) String() string
type GetDeviceRequestCapn_List ¶
GetDeviceRequestCapn_List is a list of GetDeviceRequestCapn.
func NewGetDeviceRequestCapn_List ¶
func NewGetDeviceRequestCapn_List(s *capnp.Segment, sz int32) (GetDeviceRequestCapn_List, error)
NewGetDeviceRequestCapn creates a new list of GetDeviceRequestCapn.
func (GetDeviceRequestCapn_List) At ¶
func (s GetDeviceRequestCapn_List) At(i int) GetDeviceRequestCapn
func (GetDeviceRequestCapn_List) Set ¶
func (s GetDeviceRequestCapn_List) Set(i int, v GetDeviceRequestCapn) error
func (GetDeviceRequestCapn_List) String ¶
func (s GetDeviceRequestCapn_List) String() string
type GetDeviceRequestCapn_Promise ¶
GetDeviceRequestCapn_Promise is a wrapper for a GetDeviceRequestCapn promised by a client call.
func (GetDeviceRequestCapn_Promise) Struct ¶
func (p GetDeviceRequestCapn_Promise) Struct() (GetDeviceRequestCapn, error)
type GetDevicesByIDRequest ¶
type GetDevicesByIDRequest struct {
DeviceId string `json:"deviceId"`
}
GET /_matrix/client/r0/devices/{deviceId}
type GetDevicesByIDRequestCapn ¶
func NewGetDevicesByIDRequestCapn ¶
func NewGetDevicesByIDRequestCapn(s *capnp.Segment) (GetDevicesByIDRequestCapn, error)
func NewRootGetDevicesByIDRequestCapn ¶
func NewRootGetDevicesByIDRequestCapn(s *capnp.Segment) (GetDevicesByIDRequestCapn, error)
func ReadRootGetDevicesByIDRequestCapn ¶
func ReadRootGetDevicesByIDRequestCapn(msg *capnp.Message) (GetDevicesByIDRequestCapn, error)
func (GetDevicesByIDRequestCapn) DeviceId ¶
func (s GetDevicesByIDRequestCapn) DeviceId() (string, error)
func (GetDevicesByIDRequestCapn) DeviceIdBytes ¶
func (s GetDevicesByIDRequestCapn) DeviceIdBytes() ([]byte, error)
func (GetDevicesByIDRequestCapn) HasDeviceId ¶
func (s GetDevicesByIDRequestCapn) HasDeviceId() bool
func (GetDevicesByIDRequestCapn) SetDeviceId ¶
func (s GetDevicesByIDRequestCapn) SetDeviceId(v string) error
func (GetDevicesByIDRequestCapn) String ¶
func (s GetDevicesByIDRequestCapn) String() string
type GetDevicesByIDRequestCapn_List ¶
GetDevicesByIDRequestCapn_List is a list of GetDevicesByIDRequestCapn.
func NewGetDevicesByIDRequestCapn_List ¶
func NewGetDevicesByIDRequestCapn_List(s *capnp.Segment, sz int32) (GetDevicesByIDRequestCapn_List, error)
NewGetDevicesByIDRequestCapn creates a new list of GetDevicesByIDRequestCapn.
func (GetDevicesByIDRequestCapn_List) At ¶
func (s GetDevicesByIDRequestCapn_List) At(i int) GetDevicesByIDRequestCapn
func (GetDevicesByIDRequestCapn_List) Set ¶
func (s GetDevicesByIDRequestCapn_List) Set(i int, v GetDevicesByIDRequestCapn) error
func (GetDevicesByIDRequestCapn_List) String ¶
func (s GetDevicesByIDRequestCapn_List) String() string
type GetDevicesByIDRequestCapn_Promise ¶
GetDevicesByIDRequestCapn_Promise is a wrapper for a GetDevicesByIDRequestCapn promised by a client call.
func (GetDevicesByIDRequestCapn_Promise) Struct ¶
func (p GetDevicesByIDRequestCapn_Promise) Struct() (GetDevicesByIDRequestCapn, error)
type GetDevicesByIDResponse ¶
type GetDevicesByIDResponse struct { DeviceID string `json:"device_id"` DisplayName string `json:"display_name"` LastSeenIP string `json:"last_seen_ip"` LastSeenTS int `json:"last_seen_ts` }
func (*GetDevicesByIDResponse) Decode ¶
func (res *GetDevicesByIDResponse) Decode(input []byte) error
func (*GetDevicesByIDResponse) Encode ¶
func (res *GetDevicesByIDResponse) Encode() ([]byte, error)
type GetDevicesByIDResponseCapn ¶
func NewGetDevicesByIDResponseCapn ¶
func NewGetDevicesByIDResponseCapn(s *capnp.Segment) (GetDevicesByIDResponseCapn, error)
func NewRootGetDevicesByIDResponseCapn ¶
func NewRootGetDevicesByIDResponseCapn(s *capnp.Segment) (GetDevicesByIDResponseCapn, error)
func ReadRootGetDevicesByIDResponseCapn ¶
func ReadRootGetDevicesByIDResponseCapn(msg *capnp.Message) (GetDevicesByIDResponseCapn, error)
func (GetDevicesByIDResponseCapn) DeviceID ¶
func (s GetDevicesByIDResponseCapn) DeviceID() (string, error)
func (GetDevicesByIDResponseCapn) DeviceIDBytes ¶
func (s GetDevicesByIDResponseCapn) DeviceIDBytes() ([]byte, error)
func (GetDevicesByIDResponseCapn) DisplayName ¶
func (s GetDevicesByIDResponseCapn) DisplayName() (string, error)
func (GetDevicesByIDResponseCapn) DisplayNameBytes ¶
func (s GetDevicesByIDResponseCapn) DisplayNameBytes() ([]byte, error)
func (GetDevicesByIDResponseCapn) HasDeviceID ¶
func (s GetDevicesByIDResponseCapn) HasDeviceID() bool
func (GetDevicesByIDResponseCapn) HasDisplayName ¶
func (s GetDevicesByIDResponseCapn) HasDisplayName() bool
func (GetDevicesByIDResponseCapn) HasLastSeenIP ¶
func (s GetDevicesByIDResponseCapn) HasLastSeenIP() bool
func (GetDevicesByIDResponseCapn) LastSeenIP ¶
func (s GetDevicesByIDResponseCapn) LastSeenIP() (string, error)
func (GetDevicesByIDResponseCapn) LastSeenIPBytes ¶
func (s GetDevicesByIDResponseCapn) LastSeenIPBytes() ([]byte, error)
func (GetDevicesByIDResponseCapn) LastSeenTS ¶
func (s GetDevicesByIDResponseCapn) LastSeenTS() int64
func (GetDevicesByIDResponseCapn) SetDeviceID ¶
func (s GetDevicesByIDResponseCapn) SetDeviceID(v string) error
func (GetDevicesByIDResponseCapn) SetDisplayName ¶
func (s GetDevicesByIDResponseCapn) SetDisplayName(v string) error
func (GetDevicesByIDResponseCapn) SetLastSeenIP ¶
func (s GetDevicesByIDResponseCapn) SetLastSeenIP(v string) error
func (GetDevicesByIDResponseCapn) SetLastSeenTS ¶
func (s GetDevicesByIDResponseCapn) SetLastSeenTS(v int64)
func (GetDevicesByIDResponseCapn) String ¶
func (s GetDevicesByIDResponseCapn) String() string
type GetDevicesByIDResponseCapn_List ¶
GetDevicesByIDResponseCapn_List is a list of GetDevicesByIDResponseCapn.
func NewGetDevicesByIDResponseCapn_List ¶
func NewGetDevicesByIDResponseCapn_List(s *capnp.Segment, sz int32) (GetDevicesByIDResponseCapn_List, error)
NewGetDevicesByIDResponseCapn creates a new list of GetDevicesByIDResponseCapn.
func (GetDevicesByIDResponseCapn_List) At ¶
func (s GetDevicesByIDResponseCapn_List) At(i int) GetDevicesByIDResponseCapn
func (GetDevicesByIDResponseCapn_List) Set ¶
func (s GetDevicesByIDResponseCapn_List) Set(i int, v GetDevicesByIDResponseCapn) error
func (GetDevicesByIDResponseCapn_List) String ¶
func (s GetDevicesByIDResponseCapn_List) String() string
type GetDevicesByIDResponseCapn_Promise ¶
GetDevicesByIDResponseCapn_Promise is a wrapper for a GetDevicesByIDResponseCapn promised by a client call.
func (GetDevicesByIDResponseCapn_Promise) Struct ¶
func (p GetDevicesByIDResponseCapn_Promise) Struct() (GetDevicesByIDResponseCapn, error)
type GetDevicesResponse ¶
type GetDevicesResponse struct {
Devices []Device `json:"devices"`
}
GET /_matrix/client/r0/devices
func (*GetDevicesResponse) Decode ¶
func (res *GetDevicesResponse) Decode(input []byte) error
func (*GetDevicesResponse) Encode ¶
func (res *GetDevicesResponse) Encode() ([]byte, error)
type GetDevicesResponseCapn ¶
func NewGetDevicesResponseCapn ¶
func NewGetDevicesResponseCapn(s *capnp.Segment) (GetDevicesResponseCapn, error)
func NewRootGetDevicesResponseCapn ¶
func NewRootGetDevicesResponseCapn(s *capnp.Segment) (GetDevicesResponseCapn, error)
func ReadRootGetDevicesResponseCapn ¶
func ReadRootGetDevicesResponseCapn(msg *capnp.Message) (GetDevicesResponseCapn, error)
func (GetDevicesResponseCapn) Devices ¶
func (s GetDevicesResponseCapn) Devices() (DeviceCapn_List, error)
func (GetDevicesResponseCapn) HasDevices ¶
func (s GetDevicesResponseCapn) HasDevices() bool
func (GetDevicesResponseCapn) NewDevices ¶
func (s GetDevicesResponseCapn) NewDevices(n int32) (DeviceCapn_List, error)
NewDevices sets the devices field to a newly allocated DeviceCapn_List, preferring placement in s's segment.
func (GetDevicesResponseCapn) SetDevices ¶
func (s GetDevicesResponseCapn) SetDevices(v DeviceCapn_List) error
func (GetDevicesResponseCapn) String ¶
func (s GetDevicesResponseCapn) String() string
type GetDevicesResponseCapn_List ¶
GetDevicesResponseCapn_List is a list of GetDevicesResponseCapn.
func NewGetDevicesResponseCapn_List ¶
func NewGetDevicesResponseCapn_List(s *capnp.Segment, sz int32) (GetDevicesResponseCapn_List, error)
NewGetDevicesResponseCapn creates a new list of GetDevicesResponseCapn.
func (GetDevicesResponseCapn_List) At ¶
func (s GetDevicesResponseCapn_List) At(i int) GetDevicesResponseCapn
func (GetDevicesResponseCapn_List) Set ¶
func (s GetDevicesResponseCapn_List) Set(i int, v GetDevicesResponseCapn) error
func (GetDevicesResponseCapn_List) String ¶
func (s GetDevicesResponseCapn_List) String() string
type GetDevicesResponseCapn_Promise ¶
GetDevicesResponseCapn_Promise is a wrapper for a GetDevicesResponseCapn promised by a client call.
func (GetDevicesResponseCapn_Promise) Struct ¶
func (p GetDevicesResponseCapn_Promise) Struct() (GetDevicesResponseCapn, error)
type GetDirectoryRoomAliasRequest ¶
type GetDirectoryRoomAliasRequest struct {
RoomAlias string `json:"roomAlias"`
}
GET /_matrix/client/r0/directory/room/{roomAlias}
func (*GetDirectoryRoomAliasRequest) Decode ¶
func (externalReq *GetDirectoryRoomAliasRequest) Decode(input []byte) error
func (*GetDirectoryRoomAliasRequest) Encode ¶
func (externalReq *GetDirectoryRoomAliasRequest) Encode() ([]byte, error)
type GetDirectoryRoomAliasRequestCapn ¶
func NewGetDirectoryRoomAliasRequestCapn ¶
func NewGetDirectoryRoomAliasRequestCapn(s *capnp.Segment) (GetDirectoryRoomAliasRequestCapn, error)
func NewRootGetDirectoryRoomAliasRequestCapn ¶
func NewRootGetDirectoryRoomAliasRequestCapn(s *capnp.Segment) (GetDirectoryRoomAliasRequestCapn, error)
func ReadRootGetDirectoryRoomAliasRequestCapn ¶
func ReadRootGetDirectoryRoomAliasRequestCapn(msg *capnp.Message) (GetDirectoryRoomAliasRequestCapn, error)
func (GetDirectoryRoomAliasRequestCapn) HasRoomAlias ¶
func (s GetDirectoryRoomAliasRequestCapn) HasRoomAlias() bool
func (GetDirectoryRoomAliasRequestCapn) RoomAlias ¶
func (s GetDirectoryRoomAliasRequestCapn) RoomAlias() (string, error)
func (GetDirectoryRoomAliasRequestCapn) RoomAliasBytes ¶
func (s GetDirectoryRoomAliasRequestCapn) RoomAliasBytes() ([]byte, error)
func (GetDirectoryRoomAliasRequestCapn) SetRoomAlias ¶
func (s GetDirectoryRoomAliasRequestCapn) SetRoomAlias(v string) error
func (GetDirectoryRoomAliasRequestCapn) String ¶
func (s GetDirectoryRoomAliasRequestCapn) String() string
type GetDirectoryRoomAliasRequestCapn_List ¶
GetDirectoryRoomAliasRequestCapn_List is a list of GetDirectoryRoomAliasRequestCapn.
func NewGetDirectoryRoomAliasRequestCapn_List ¶
func NewGetDirectoryRoomAliasRequestCapn_List(s *capnp.Segment, sz int32) (GetDirectoryRoomAliasRequestCapn_List, error)
NewGetDirectoryRoomAliasRequestCapn creates a new list of GetDirectoryRoomAliasRequestCapn.
func (GetDirectoryRoomAliasRequestCapn_List) Set ¶
func (s GetDirectoryRoomAliasRequestCapn_List) Set(i int, v GetDirectoryRoomAliasRequestCapn) error
func (GetDirectoryRoomAliasRequestCapn_List) String ¶
func (s GetDirectoryRoomAliasRequestCapn_List) String() string
type GetDirectoryRoomAliasRequestCapn_Promise ¶
GetDirectoryRoomAliasRequestCapn_Promise is a wrapper for a GetDirectoryRoomAliasRequestCapn promised by a client call.
func (GetDirectoryRoomAliasRequestCapn_Promise) Struct ¶
func (p GetDirectoryRoomAliasRequestCapn_Promise) Struct() (GetDirectoryRoomAliasRequestCapn, error)
type GetDirectoryRoomAliasResponse ¶
type GetDirectoryRoomAliasResponse struct { RoomID string `json:"room_id"` Servers []string `json:"servers"` }
func (*GetDirectoryRoomAliasResponse) Decode ¶
func (res *GetDirectoryRoomAliasResponse) Decode(input []byte) error
func (*GetDirectoryRoomAliasResponse) Encode ¶
func (res *GetDirectoryRoomAliasResponse) Encode() ([]byte, error)
type GetDirectoryRoomAliasResponseCapn ¶
func NewGetDirectoryRoomAliasResponseCapn ¶
func NewGetDirectoryRoomAliasResponseCapn(s *capnp.Segment) (GetDirectoryRoomAliasResponseCapn, error)
func NewRootGetDirectoryRoomAliasResponseCapn ¶
func NewRootGetDirectoryRoomAliasResponseCapn(s *capnp.Segment) (GetDirectoryRoomAliasResponseCapn, error)
func ReadRootGetDirectoryRoomAliasResponseCapn ¶
func ReadRootGetDirectoryRoomAliasResponseCapn(msg *capnp.Message) (GetDirectoryRoomAliasResponseCapn, error)
func (GetDirectoryRoomAliasResponseCapn) HasRoomID ¶
func (s GetDirectoryRoomAliasResponseCapn) HasRoomID() bool
func (GetDirectoryRoomAliasResponseCapn) HasServers ¶
func (s GetDirectoryRoomAliasResponseCapn) HasServers() bool
func (GetDirectoryRoomAliasResponseCapn) NewServers ¶
func (s GetDirectoryRoomAliasResponseCapn) NewServers(n int32) (capnp.TextList, error)
NewServers sets the servers field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (GetDirectoryRoomAliasResponseCapn) RoomID ¶
func (s GetDirectoryRoomAliasResponseCapn) RoomID() (string, error)
func (GetDirectoryRoomAliasResponseCapn) RoomIDBytes ¶
func (s GetDirectoryRoomAliasResponseCapn) RoomIDBytes() ([]byte, error)
func (GetDirectoryRoomAliasResponseCapn) Servers ¶
func (s GetDirectoryRoomAliasResponseCapn) Servers() (capnp.TextList, error)
func (GetDirectoryRoomAliasResponseCapn) SetRoomID ¶
func (s GetDirectoryRoomAliasResponseCapn) SetRoomID(v string) error
func (GetDirectoryRoomAliasResponseCapn) SetServers ¶
func (s GetDirectoryRoomAliasResponseCapn) SetServers(v capnp.TextList) error
func (GetDirectoryRoomAliasResponseCapn) String ¶
func (s GetDirectoryRoomAliasResponseCapn) String() string
type GetDirectoryRoomAliasResponseCapn_List ¶
GetDirectoryRoomAliasResponseCapn_List is a list of GetDirectoryRoomAliasResponseCapn.
func NewGetDirectoryRoomAliasResponseCapn_List ¶
func NewGetDirectoryRoomAliasResponseCapn_List(s *capnp.Segment, sz int32) (GetDirectoryRoomAliasResponseCapn_List, error)
NewGetDirectoryRoomAliasResponseCapn creates a new list of GetDirectoryRoomAliasResponseCapn.
func (GetDirectoryRoomAliasResponseCapn_List) Set ¶
func (s GetDirectoryRoomAliasResponseCapn_List) Set(i int, v GetDirectoryRoomAliasResponseCapn) error
func (GetDirectoryRoomAliasResponseCapn_List) String ¶
func (s GetDirectoryRoomAliasResponseCapn_List) String() string
type GetDirectoryRoomAliasResponseCapn_Promise ¶
GetDirectoryRoomAliasResponseCapn_Promise is a wrapper for a GetDirectoryRoomAliasResponseCapn promised by a client call.
func (GetDirectoryRoomAliasResponseCapn_Promise) Struct ¶
func (p GetDirectoryRoomAliasResponseCapn_Promise) Struct() (GetDirectoryRoomAliasResponseCapn, error)
type GetDirectoryRoomRequest ¶
type GetDirectoryRoomRequest struct {
RoomID string `json:"room_id"`
}
GET /_matrix/client/r0/directory/list/room/{roomId}
func (*GetDirectoryRoomRequest) Decode ¶
func (externalReq *GetDirectoryRoomRequest) Decode(input []byte) error
func (*GetDirectoryRoomRequest) Encode ¶
func (externalReq *GetDirectoryRoomRequest) Encode() ([]byte, error)
type GetDirectoryRoomRequestCapn ¶
func NewGetDirectoryRoomRequestCapn ¶
func NewGetDirectoryRoomRequestCapn(s *capnp.Segment) (GetDirectoryRoomRequestCapn, error)
func NewRootGetDirectoryRoomRequestCapn ¶
func NewRootGetDirectoryRoomRequestCapn(s *capnp.Segment) (GetDirectoryRoomRequestCapn, error)
func ReadRootGetDirectoryRoomRequestCapn ¶
func ReadRootGetDirectoryRoomRequestCapn(msg *capnp.Message) (GetDirectoryRoomRequestCapn, error)
func (GetDirectoryRoomRequestCapn) HasRoomID ¶
func (s GetDirectoryRoomRequestCapn) HasRoomID() bool
func (GetDirectoryRoomRequestCapn) RoomID ¶
func (s GetDirectoryRoomRequestCapn) RoomID() (string, error)
func (GetDirectoryRoomRequestCapn) RoomIDBytes ¶
func (s GetDirectoryRoomRequestCapn) RoomIDBytes() ([]byte, error)
func (GetDirectoryRoomRequestCapn) SetRoomID ¶
func (s GetDirectoryRoomRequestCapn) SetRoomID(v string) error
func (GetDirectoryRoomRequestCapn) String ¶
func (s GetDirectoryRoomRequestCapn) String() string
type GetDirectoryRoomRequestCapn_List ¶
GetDirectoryRoomRequestCapn_List is a list of GetDirectoryRoomRequestCapn.
func NewGetDirectoryRoomRequestCapn_List ¶
func NewGetDirectoryRoomRequestCapn_List(s *capnp.Segment, sz int32) (GetDirectoryRoomRequestCapn_List, error)
NewGetDirectoryRoomRequestCapn creates a new list of GetDirectoryRoomRequestCapn.
func (GetDirectoryRoomRequestCapn_List) At ¶
func (s GetDirectoryRoomRequestCapn_List) At(i int) GetDirectoryRoomRequestCapn
func (GetDirectoryRoomRequestCapn_List) Set ¶
func (s GetDirectoryRoomRequestCapn_List) Set(i int, v GetDirectoryRoomRequestCapn) error
func (GetDirectoryRoomRequestCapn_List) String ¶
func (s GetDirectoryRoomRequestCapn_List) String() string
type GetDirectoryRoomRequestCapn_Promise ¶
GetDirectoryRoomRequestCapn_Promise is a wrapper for a GetDirectoryRoomRequestCapn promised by a client call.
func (GetDirectoryRoomRequestCapn_Promise) Struct ¶
func (p GetDirectoryRoomRequestCapn_Promise) Struct() (GetDirectoryRoomRequestCapn, error)
type GetDirectoryRoomResponse ¶
type GetDirectoryRoomResponse struct {
Visibility string `json:"visibility"`
}
func (*GetDirectoryRoomResponse) Decode ¶
func (res *GetDirectoryRoomResponse) Decode(input []byte) error
func (*GetDirectoryRoomResponse) Encode ¶
func (res *GetDirectoryRoomResponse) Encode() ([]byte, error)
type GetDirectoryRoomResponseCapn ¶
func NewGetDirectoryRoomResponseCapn ¶
func NewGetDirectoryRoomResponseCapn(s *capnp.Segment) (GetDirectoryRoomResponseCapn, error)
func NewRootGetDirectoryRoomResponseCapn ¶
func NewRootGetDirectoryRoomResponseCapn(s *capnp.Segment) (GetDirectoryRoomResponseCapn, error)
func ReadRootGetDirectoryRoomResponseCapn ¶
func ReadRootGetDirectoryRoomResponseCapn(msg *capnp.Message) (GetDirectoryRoomResponseCapn, error)
func (GetDirectoryRoomResponseCapn) HasVisibility ¶
func (s GetDirectoryRoomResponseCapn) HasVisibility() bool
func (GetDirectoryRoomResponseCapn) SetVisibility ¶
func (s GetDirectoryRoomResponseCapn) SetVisibility(v string) error
func (GetDirectoryRoomResponseCapn) String ¶
func (s GetDirectoryRoomResponseCapn) String() string
func (GetDirectoryRoomResponseCapn) Visibility ¶
func (s GetDirectoryRoomResponseCapn) Visibility() (string, error)
func (GetDirectoryRoomResponseCapn) VisibilityBytes ¶
func (s GetDirectoryRoomResponseCapn) VisibilityBytes() ([]byte, error)
type GetDirectoryRoomResponseCapn_List ¶
GetDirectoryRoomResponseCapn_List is a list of GetDirectoryRoomResponseCapn.
func NewGetDirectoryRoomResponseCapn_List ¶
func NewGetDirectoryRoomResponseCapn_List(s *capnp.Segment, sz int32) (GetDirectoryRoomResponseCapn_List, error)
NewGetDirectoryRoomResponseCapn creates a new list of GetDirectoryRoomResponseCapn.
func (GetDirectoryRoomResponseCapn_List) At ¶
func (s GetDirectoryRoomResponseCapn_List) At(i int) GetDirectoryRoomResponseCapn
func (GetDirectoryRoomResponseCapn_List) Set ¶
func (s GetDirectoryRoomResponseCapn_List) Set(i int, v GetDirectoryRoomResponseCapn) error
func (GetDirectoryRoomResponseCapn_List) String ¶
func (s GetDirectoryRoomResponseCapn_List) String() string
type GetDirectoryRoomResponseCapn_Promise ¶
GetDirectoryRoomResponseCapn_Promise is a wrapper for a GetDirectoryRoomResponseCapn promised by a client call.
func (GetDirectoryRoomResponseCapn_Promise) Struct ¶
func (p GetDirectoryRoomResponseCapn_Promise) Struct() (GetDirectoryRoomResponseCapn, error)
type GetDisplayNameRequest ¶
type GetDisplayNameRequest struct {
UserID string `json:"user_id"`
}
GET /_matrix/client/r0/profile/{userID}/displayname
func (*GetDisplayNameRequest) Decode ¶
func (externalReq *GetDisplayNameRequest) Decode(input []byte) error
func (*GetDisplayNameRequest) Encode ¶
func (externalReq *GetDisplayNameRequest) Encode() ([]byte, error)
type GetDisplayNameRequestCapn ¶
func NewGetDisplayNameRequestCapn ¶
func NewGetDisplayNameRequestCapn(s *capnp.Segment) (GetDisplayNameRequestCapn, error)
func NewRootGetDisplayNameRequestCapn ¶
func NewRootGetDisplayNameRequestCapn(s *capnp.Segment) (GetDisplayNameRequestCapn, error)
func ReadRootGetDisplayNameRequestCapn ¶
func ReadRootGetDisplayNameRequestCapn(msg *capnp.Message) (GetDisplayNameRequestCapn, error)
func (GetDisplayNameRequestCapn) HasUserID ¶
func (s GetDisplayNameRequestCapn) HasUserID() bool
func (GetDisplayNameRequestCapn) SetUserID ¶
func (s GetDisplayNameRequestCapn) SetUserID(v string) error
func (GetDisplayNameRequestCapn) String ¶
func (s GetDisplayNameRequestCapn) String() string
func (GetDisplayNameRequestCapn) UserID ¶
func (s GetDisplayNameRequestCapn) UserID() (string, error)
func (GetDisplayNameRequestCapn) UserIDBytes ¶
func (s GetDisplayNameRequestCapn) UserIDBytes() ([]byte, error)
type GetDisplayNameRequestCapn_List ¶
GetDisplayNameRequestCapn_List is a list of GetDisplayNameRequestCapn.
func NewGetDisplayNameRequestCapn_List ¶
func NewGetDisplayNameRequestCapn_List(s *capnp.Segment, sz int32) (GetDisplayNameRequestCapn_List, error)
NewGetDisplayNameRequestCapn creates a new list of GetDisplayNameRequestCapn.
func (GetDisplayNameRequestCapn_List) At ¶
func (s GetDisplayNameRequestCapn_List) At(i int) GetDisplayNameRequestCapn
func (GetDisplayNameRequestCapn_List) Set ¶
func (s GetDisplayNameRequestCapn_List) Set(i int, v GetDisplayNameRequestCapn) error
func (GetDisplayNameRequestCapn_List) String ¶
func (s GetDisplayNameRequestCapn_List) String() string
type GetDisplayNameRequestCapn_Promise ¶
GetDisplayNameRequestCapn_Promise is a wrapper for a GetDisplayNameRequestCapn promised by a client call.
func (GetDisplayNameRequestCapn_Promise) Struct ¶
func (p GetDisplayNameRequestCapn_Promise) Struct() (GetDisplayNameRequestCapn, error)
type GetDisplayNameResponse ¶
type GetDisplayNameResponse struct {
DisplayName string `json:"displayname"`
}
func (*GetDisplayNameResponse) Decode ¶
func (res *GetDisplayNameResponse) Decode(input []byte) error
func (*GetDisplayNameResponse) Encode ¶
func (res *GetDisplayNameResponse) Encode() ([]byte, error)
type GetDisplayNameResponseCapn ¶
func NewGetDisplayNameResponseCapn ¶
func NewGetDisplayNameResponseCapn(s *capnp.Segment) (GetDisplayNameResponseCapn, error)
func NewRootGetDisplayNameResponseCapn ¶
func NewRootGetDisplayNameResponseCapn(s *capnp.Segment) (GetDisplayNameResponseCapn, error)
func ReadRootGetDisplayNameResponseCapn ¶
func ReadRootGetDisplayNameResponseCapn(msg *capnp.Message) (GetDisplayNameResponseCapn, error)
func (GetDisplayNameResponseCapn) DisplayName ¶
func (s GetDisplayNameResponseCapn) DisplayName() (string, error)
func (GetDisplayNameResponseCapn) DisplayNameBytes ¶
func (s GetDisplayNameResponseCapn) DisplayNameBytes() ([]byte, error)
func (GetDisplayNameResponseCapn) HasDisplayName ¶
func (s GetDisplayNameResponseCapn) HasDisplayName() bool
func (GetDisplayNameResponseCapn) SetDisplayName ¶
func (s GetDisplayNameResponseCapn) SetDisplayName(v string) error
func (GetDisplayNameResponseCapn) String ¶
func (s GetDisplayNameResponseCapn) String() string
type GetDisplayNameResponseCapn_List ¶
GetDisplayNameResponseCapn_List is a list of GetDisplayNameResponseCapn.
func NewGetDisplayNameResponseCapn_List ¶
func NewGetDisplayNameResponseCapn_List(s *capnp.Segment, sz int32) (GetDisplayNameResponseCapn_List, error)
NewGetDisplayNameResponseCapn creates a new list of GetDisplayNameResponseCapn.
func (GetDisplayNameResponseCapn_List) At ¶
func (s GetDisplayNameResponseCapn_List) At(i int) GetDisplayNameResponseCapn
func (GetDisplayNameResponseCapn_List) Set ¶
func (s GetDisplayNameResponseCapn_List) Set(i int, v GetDisplayNameResponseCapn) error
func (GetDisplayNameResponseCapn_List) String ¶
func (s GetDisplayNameResponseCapn_List) String() string
type GetDisplayNameResponseCapn_Promise ¶
GetDisplayNameResponseCapn_Promise is a wrapper for a GetDisplayNameResponseCapn promised by a client call.
func (GetDisplayNameResponseCapn_Promise) Struct ¶
func (p GetDisplayNameResponseCapn_Promise) Struct() (GetDisplayNameResponseCapn, error)
type GetEventAuthRequest ¶
func (*GetEventAuthRequest) Decode ¶
func (externalReq *GetEventAuthRequest) Decode(data []byte) error
func (*GetEventAuthRequest) Encode ¶
func (externalReq *GetEventAuthRequest) Encode() ([]byte, error)
type GetEventAuthResponse ¶
type GetEventAuthResponse struct {
AuthChain []gomatrixserverlib.Event `json:"auth_chain"`
}
func (*GetEventAuthResponse) Decode ¶
func (res *GetEventAuthResponse) Decode(input []byte) error
func (*GetEventAuthResponse) Encode ¶
func (r *GetEventAuthResponse) Encode() ([]byte, error)
type GetEventByIDRequest ¶
type GetEventByIDRequest struct {
EventID string `json:"eventId,omitempty"`
}
GET /_matrix/client/r0/events/{eventId}
func (*GetEventByIDRequest) Decode ¶
func (externalReq *GetEventByIDRequest) Decode(input []byte) error
func (*GetEventByIDRequest) Encode ¶
func (externalReq *GetEventByIDRequest) Encode() ([]byte, error)
type GetEventByIDRequestCapn ¶
func NewGetEventByIDRequestCapn ¶
func NewGetEventByIDRequestCapn(s *capnp.Segment) (GetEventByIDRequestCapn, error)
func NewRootGetEventByIDRequestCapn ¶
func NewRootGetEventByIDRequestCapn(s *capnp.Segment) (GetEventByIDRequestCapn, error)
func ReadRootGetEventByIDRequestCapn ¶
func ReadRootGetEventByIDRequestCapn(msg *capnp.Message) (GetEventByIDRequestCapn, error)
func (GetEventByIDRequestCapn) EventID ¶
func (s GetEventByIDRequestCapn) EventID() (string, error)
func (GetEventByIDRequestCapn) EventIDBytes ¶
func (s GetEventByIDRequestCapn) EventIDBytes() ([]byte, error)
func (GetEventByIDRequestCapn) HasEventID ¶
func (s GetEventByIDRequestCapn) HasEventID() bool
func (GetEventByIDRequestCapn) SetEventID ¶
func (s GetEventByIDRequestCapn) SetEventID(v string) error
func (GetEventByIDRequestCapn) String ¶
func (s GetEventByIDRequestCapn) String() string
type GetEventByIDRequestCapn_List ¶
GetEventByIDRequestCapn_List is a list of GetEventByIDRequestCapn.
func NewGetEventByIDRequestCapn_List ¶
func NewGetEventByIDRequestCapn_List(s *capnp.Segment, sz int32) (GetEventByIDRequestCapn_List, error)
NewGetEventByIDRequestCapn creates a new list of GetEventByIDRequestCapn.
func (GetEventByIDRequestCapn_List) At ¶
func (s GetEventByIDRequestCapn_List) At(i int) GetEventByIDRequestCapn
func (GetEventByIDRequestCapn_List) Set ¶
func (s GetEventByIDRequestCapn_List) Set(i int, v GetEventByIDRequestCapn) error
func (GetEventByIDRequestCapn_List) String ¶
func (s GetEventByIDRequestCapn_List) String() string
type GetEventByIDRequestCapn_Promise ¶
GetEventByIDRequestCapn_Promise is a wrapper for a GetEventByIDRequestCapn promised by a client call.
func (GetEventByIDRequestCapn_Promise) Struct ¶
func (p GetEventByIDRequestCapn_Promise) Struct() (GetEventByIDRequestCapn, error)
type GetEventByIDResponse ¶
type GetEventByIDResponse struct { Content interface{} `json:"content"` Type string `json:"type"` }
type GetEventRequest ¶
type GetEventRequest struct {
EventID string `json:"eventId"`
}
func (*GetEventRequest) Decode ¶
func (externalReq *GetEventRequest) Decode(data []byte) error
func (*GetEventRequest) Encode ¶
func (externalReq *GetEventRequest) Encode() ([]byte, error)
type GetEventResponse ¶
type GetEventResponse struct { Origin string `json:"origin"` OriginServerTS int64 `json:"origin_server_ts"` PDUs []gomatrixserverlib.Event `json:"pdus"` }
func (*GetEventResponse) Decode ¶
func (res *GetEventResponse) Decode(input []byte) error
func (*GetEventResponse) Encode ¶
func (r *GetEventResponse) Encode() ([]byte, error)
type GetEventsRequest ¶
type GetEventsRequest struct { From string `json:"from"` TimeOut string `json:"timeout"` FullState string `json:"full_state"` SetPresence string `json:"set_presence"` Since string `json:"since"` Filter string `json:"filter"` }
GET /_matrix/client/r0/events
func (*GetEventsRequest) Decode ¶
func (externalReq *GetEventsRequest) Decode(input []byte) error
func (*GetEventsRequest) Encode ¶
func (externalReq *GetEventsRequest) Encode() ([]byte, error)
type GetEventsResponse ¶
type GetEventsResponse struct { Start string `json:"start"` End string `json:"end"` Chunk []Event `json:"chunk"` }
func (*GetEventsResponse) Decode ¶
func (res *GetEventsResponse) Decode(input []byte) error
func (*GetEventsResponse) Encode ¶
func (res *GetEventsResponse) Encode() ([]byte, error)
type GetFedBackFillRequest ¶
type GetFedBackFillRequest struct { RoomID string `json:"roomId"` BackFillIds string `json:"v,omitempty"` Limit int `json:"limit,omitempty"` Dir string `json:"dir"` Domain string `json:"domain"` Origin string `json:"origin"` }
GET /_matrix/federation/v1/backfill/{roomId}
func (*GetFedBackFillRequest) Decode ¶
func (externalReq *GetFedBackFillRequest) Decode(input []byte) error
func (*GetFedBackFillRequest) Encode ¶
func (externalReq *GetFedBackFillRequest) Encode() ([]byte, error)
type GetFedDirectoryRequest ¶
type GetFedDirectoryRequest struct {
RoomAlias string `json:"room_alias"`
}
func (*GetFedDirectoryRequest) Decode ¶
func (externalReq *GetFedDirectoryRequest) Decode(data []byte) error
func (*GetFedDirectoryRequest) Encode ¶
func (externalReq *GetFedDirectoryRequest) Encode() ([]byte, error)
type GetFedDirectoryResponse ¶
type GetFedDirectoryResponse struct { RoomID string `json:"room_id"` Servers []string `json:"servers"` }
func (*GetFedDirectoryResponse) Decode ¶
func (res *GetFedDirectoryResponse) Decode(input []byte) error
func (*GetFedDirectoryResponse) Encode ¶
func (r *GetFedDirectoryResponse) Encode() ([]byte, error)
type GetFedDownloadRequest ¶
type GetFedDownloadRequest struct { ID string `json:"id"` FileType string `json:"fileType"` MediaID string `json:"mediaID"` Width string `json:"width,omitempty"` Method string `json:"method,omitempty"` }
GET /_matrix/federation/v1/media/download/{serverName}/{mediaId}
type GetFedDownloadResponse ¶
type GetFedPublicRoomsRequest ¶
type GetFedPublicRoomsRequest struct { Limit int64 `json:"limit"` Since string `json:"since"` IncludeAllNetworks bool `json:"include_all_networks"` ThirdPartyInstanceID string `json:"third_party_instance_id"` }
func (*GetFedPublicRoomsRequest) Decode ¶
func (externalReq *GetFedPublicRoomsRequest) Decode(data []byte) error
func (*GetFedPublicRoomsRequest) Encode ¶
func (externalReq *GetFedPublicRoomsRequest) Encode() ([]byte, error)
type GetFedPublicRoomsResponse ¶
type GetFedPublicRoomsResponse struct { Chunk []types.PublicRoom `json:"chunk"` NextBatch string `json:"next_batch,omitempty"` PrevBatch string `json:"prev_batch,omitempty"` Estimate int64 `json:"total_room_count_estimate,omitempty"` }
func (*GetFedPublicRoomsResponse) Decode ¶
func (res *GetFedPublicRoomsResponse) Decode(input []byte) error
func (*GetFedPublicRoomsResponse) Encode ¶
func (r *GetFedPublicRoomsResponse) Encode() ([]byte, error)
type GetFedRoomStateRequest ¶
type GetFedRoomStateRequest struct { RoomID string `json:"room_id"` EventID string `json:"event_id,omitempty"` }
GET /_matrix/federation/v1/state/{roomId}
type GetFriendshipRequest ¶
func (*GetFriendshipRequest) Decode ¶
func (externalReq *GetFriendshipRequest) Decode(data []byte) error
func (*GetFriendshipRequest) Encode ¶
func (externalReq *GetFriendshipRequest) Encode() ([]byte, error)
type GetFriendshipResponse ¶
type GetFriendshipResponse struct { FcID string `json:"fcid"` ToFcID string `json:"to_fcid"` RoomID string `json:"room_id"` FcIDState string `json:"fcid_state"` ToFcIDState string `json:"to_fcid_state"` }
func (*GetFriendshipResponse) Decode ¶
func (res *GetFriendshipResponse) Decode(input []byte) error
func (*GetFriendshipResponse) Encode ¶
func (r *GetFriendshipResponse) Encode() ([]byte, error)
type GetFriendshipsRequest ¶
type GetFriendshipsRequest struct {
Type string `json:"type"`
}
func (*GetFriendshipsRequest) Decode ¶
func (externalReq *GetFriendshipsRequest) Decode(data []byte) error
func (*GetFriendshipsRequest) Encode ¶
func (externalReq *GetFriendshipsRequest) Encode() ([]byte, error)
type GetFriendshipsResponse ¶
type GetFriendshipsResponse struct {
Friendships []Friendship `json:"friendships"`
}
func (*GetFriendshipsResponse) Decode ¶
func (res *GetFriendshipsResponse) Decode(input []byte) error
func (*GetFriendshipsResponse) Encode ¶
func (r *GetFriendshipsResponse) Encode() ([]byte, error)
type GetInitialSyncRequest ¶
type GetInitialSyncRequest struct { Limit int `json:"limit"` Archived bool `json:"archived"` Timeout int `json:"timeout"` FullState string `json:"full_state"` SetPresence string `json:"set_presence"` From string `json:"from"` Since string `json:"since"` }
GET /_matrix/client/r0/initialSync
func (*GetInitialSyncRequest) Decode ¶
func (externalReq *GetInitialSyncRequest) Decode(input []byte) error
func (*GetInitialSyncRequest) Encode ¶
func (externalReq *GetInitialSyncRequest) Encode() ([]byte, error)
type GetInitialSyncRequestCapn ¶
func NewGetInitialSyncRequestCapn ¶
func NewGetInitialSyncRequestCapn(s *capnp.Segment) (GetInitialSyncRequestCapn, error)
func NewRootGetInitialSyncRequestCapn ¶
func NewRootGetInitialSyncRequestCapn(s *capnp.Segment) (GetInitialSyncRequestCapn, error)
func ReadRootGetInitialSyncRequestCapn ¶
func ReadRootGetInitialSyncRequestCapn(msg *capnp.Message) (GetInitialSyncRequestCapn, error)
func (GetInitialSyncRequestCapn) Archived ¶
func (s GetInitialSyncRequestCapn) Archived() bool
func (GetInitialSyncRequestCapn) From ¶
func (s GetInitialSyncRequestCapn) From() (string, error)
func (GetInitialSyncRequestCapn) FromBytes ¶
func (s GetInitialSyncRequestCapn) FromBytes() ([]byte, error)
func (GetInitialSyncRequestCapn) FullState ¶
func (s GetInitialSyncRequestCapn) FullState() (string, error)
func (GetInitialSyncRequestCapn) FullStateBytes ¶
func (s GetInitialSyncRequestCapn) FullStateBytes() ([]byte, error)
func (GetInitialSyncRequestCapn) HasFrom ¶
func (s GetInitialSyncRequestCapn) HasFrom() bool
func (GetInitialSyncRequestCapn) HasFullState ¶
func (s GetInitialSyncRequestCapn) HasFullState() bool
func (GetInitialSyncRequestCapn) HasSetPresence ¶
func (s GetInitialSyncRequestCapn) HasSetPresence() bool
func (GetInitialSyncRequestCapn) HasSince ¶
func (s GetInitialSyncRequestCapn) HasSince() bool
func (GetInitialSyncRequestCapn) Limit ¶
func (s GetInitialSyncRequestCapn) Limit() int64
func (GetInitialSyncRequestCapn) SetArchived ¶
func (s GetInitialSyncRequestCapn) SetArchived(v bool)
func (GetInitialSyncRequestCapn) SetFrom ¶
func (s GetInitialSyncRequestCapn) SetFrom(v string) error
func (GetInitialSyncRequestCapn) SetFullState ¶
func (s GetInitialSyncRequestCapn) SetFullState(v string) error
func (GetInitialSyncRequestCapn) SetLimit ¶
func (s GetInitialSyncRequestCapn) SetLimit(v int64)
func (GetInitialSyncRequestCapn) SetPresence ¶
func (s GetInitialSyncRequestCapn) SetPresence() (string, error)
func (GetInitialSyncRequestCapn) SetPresenceBytes ¶
func (s GetInitialSyncRequestCapn) SetPresenceBytes() ([]byte, error)
func (GetInitialSyncRequestCapn) SetSetPresence ¶
func (s GetInitialSyncRequestCapn) SetSetPresence(v string) error
func (GetInitialSyncRequestCapn) SetSince ¶
func (s GetInitialSyncRequestCapn) SetSince(v string) error
func (GetInitialSyncRequestCapn) SetTimeout ¶
func (s GetInitialSyncRequestCapn) SetTimeout(v int64)
func (GetInitialSyncRequestCapn) Since ¶
func (s GetInitialSyncRequestCapn) Since() (string, error)
func (GetInitialSyncRequestCapn) SinceBytes ¶
func (s GetInitialSyncRequestCapn) SinceBytes() ([]byte, error)
func (GetInitialSyncRequestCapn) String ¶
func (s GetInitialSyncRequestCapn) String() string
func (GetInitialSyncRequestCapn) Timeout ¶
func (s GetInitialSyncRequestCapn) Timeout() int64
type GetInitialSyncRequestCapn_List ¶
GetInitialSyncRequestCapn_List is a list of GetInitialSyncRequestCapn.
func NewGetInitialSyncRequestCapn_List ¶
func NewGetInitialSyncRequestCapn_List(s *capnp.Segment, sz int32) (GetInitialSyncRequestCapn_List, error)
NewGetInitialSyncRequestCapn creates a new list of GetInitialSyncRequestCapn.
func (GetInitialSyncRequestCapn_List) At ¶
func (s GetInitialSyncRequestCapn_List) At(i int) GetInitialSyncRequestCapn
func (GetInitialSyncRequestCapn_List) Set ¶
func (s GetInitialSyncRequestCapn_List) Set(i int, v GetInitialSyncRequestCapn) error
func (GetInitialSyncRequestCapn_List) String ¶
func (s GetInitialSyncRequestCapn_List) String() string
type GetInitialSyncRequestCapn_Promise ¶
GetInitialSyncRequestCapn_Promise is a wrapper for a GetInitialSyncRequestCapn promised by a client call.
func (GetInitialSyncRequestCapn_Promise) Struct ¶
func (p GetInitialSyncRequestCapn_Promise) Struct() (GetInitialSyncRequestCapn, error)
type GetInitialSyncResponse ¶
type GetInitialSyncResponse struct { End string `json:"end"` Presence []Event `json:"presence"` AccountData []Event `json:"account_data"` Rooms []RoomInfo `json:"rooms"` }
func (*GetInitialSyncResponse) Decode ¶
func (res *GetInitialSyncResponse) Decode(input []byte) error
func (*GetInitialSyncResponse) Encode ¶
func (res *GetInitialSyncResponse) Encode() ([]byte, error)
type GetJoinedMemberRequest ¶
type GetJoinedMemberRequest struct {
RoomID string `json:"room_id"`
}
GET /_matrix/client/r0/rooms/{roomID}/joined_members
func (*GetJoinedMemberRequest) Decode ¶
func (externalReq *GetJoinedMemberRequest) Decode(input []byte) error
func (*GetJoinedMemberRequest) Encode ¶
func (externalReq *GetJoinedMemberRequest) Encode() ([]byte, error)
type GetJoinedMemberRequestCapn ¶
func NewGetJoinedMemberRequestCapn ¶
func NewGetJoinedMemberRequestCapn(s *capnp.Segment) (GetJoinedMemberRequestCapn, error)
func NewRootGetJoinedMemberRequestCapn ¶
func NewRootGetJoinedMemberRequestCapn(s *capnp.Segment) (GetJoinedMemberRequestCapn, error)
func ReadRootGetJoinedMemberRequestCapn ¶
func ReadRootGetJoinedMemberRequestCapn(msg *capnp.Message) (GetJoinedMemberRequestCapn, error)
func (GetJoinedMemberRequestCapn) HasRoomID ¶
func (s GetJoinedMemberRequestCapn) HasRoomID() bool
func (GetJoinedMemberRequestCapn) RoomID ¶
func (s GetJoinedMemberRequestCapn) RoomID() (string, error)
func (GetJoinedMemberRequestCapn) RoomIDBytes ¶
func (s GetJoinedMemberRequestCapn) RoomIDBytes() ([]byte, error)
func (GetJoinedMemberRequestCapn) SetRoomID ¶
func (s GetJoinedMemberRequestCapn) SetRoomID(v string) error
func (GetJoinedMemberRequestCapn) String ¶
func (s GetJoinedMemberRequestCapn) String() string
type GetJoinedMemberRequestCapn_List ¶
GetJoinedMemberRequestCapn_List is a list of GetJoinedMemberRequestCapn.
func NewGetJoinedMemberRequestCapn_List ¶
func NewGetJoinedMemberRequestCapn_List(s *capnp.Segment, sz int32) (GetJoinedMemberRequestCapn_List, error)
NewGetJoinedMemberRequestCapn creates a new list of GetJoinedMemberRequestCapn.
func (GetJoinedMemberRequestCapn_List) At ¶
func (s GetJoinedMemberRequestCapn_List) At(i int) GetJoinedMemberRequestCapn
func (GetJoinedMemberRequestCapn_List) Set ¶
func (s GetJoinedMemberRequestCapn_List) Set(i int, v GetJoinedMemberRequestCapn) error
func (GetJoinedMemberRequestCapn_List) String ¶
func (s GetJoinedMemberRequestCapn_List) String() string
type GetJoinedMemberRequestCapn_Promise ¶
GetJoinedMemberRequestCapn_Promise is a wrapper for a GetJoinedMemberRequestCapn promised by a client call.
func (GetJoinedMemberRequestCapn_Promise) Struct ¶
func (p GetJoinedMemberRequestCapn_Promise) Struct() (GetJoinedMemberRequestCapn, error)
type GetJoinedMemberResponse ¶
type GetJoinedMemberResponse struct {
Joined map[string]MemberContent `json:"joined"`
}
func (*GetJoinedMemberResponse) Decode ¶
func (res *GetJoinedMemberResponse) Decode(input []byte) error
func (*GetJoinedMemberResponse) Encode ¶
func (res *GetJoinedMemberResponse) Encode() ([]byte, error)
type GetJoinedRoomsResponse ¶
type GetJoinedRoomsResponse struct {
JoinedRooms []string `json:"joined_rooms,omitempty"`
}
GET /_matrix/client/r0/joined_rooms
func (*GetJoinedRoomsResponse) Decode ¶
func (res *GetJoinedRoomsResponse) Decode(input []byte) error
func (*GetJoinedRoomsResponse) Encode ¶
func (res *GetJoinedRoomsResponse) Encode() ([]byte, error)
type GetJoinedRoomsResponseCapn ¶
func NewGetJoinedRoomsResponseCapn ¶
func NewGetJoinedRoomsResponseCapn(s *capnp.Segment) (GetJoinedRoomsResponseCapn, error)
func NewRootGetJoinedRoomsResponseCapn ¶
func NewRootGetJoinedRoomsResponseCapn(s *capnp.Segment) (GetJoinedRoomsResponseCapn, error)
func ReadRootGetJoinedRoomsResponseCapn ¶
func ReadRootGetJoinedRoomsResponseCapn(msg *capnp.Message) (GetJoinedRoomsResponseCapn, error)
func (GetJoinedRoomsResponseCapn) HasJoinedRooms ¶
func (s GetJoinedRoomsResponseCapn) HasJoinedRooms() bool
func (GetJoinedRoomsResponseCapn) JoinedRooms ¶
func (s GetJoinedRoomsResponseCapn) JoinedRooms() (capnp.TextList, error)
func (GetJoinedRoomsResponseCapn) NewJoinedRooms ¶
func (s GetJoinedRoomsResponseCapn) NewJoinedRooms(n int32) (capnp.TextList, error)
NewJoinedRooms sets the joinedRooms field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (GetJoinedRoomsResponseCapn) SetJoinedRooms ¶
func (s GetJoinedRoomsResponseCapn) SetJoinedRooms(v capnp.TextList) error
func (GetJoinedRoomsResponseCapn) String ¶
func (s GetJoinedRoomsResponseCapn) String() string
type GetJoinedRoomsResponseCapn_List ¶
GetJoinedRoomsResponseCapn_List is a list of GetJoinedRoomsResponseCapn.
func NewGetJoinedRoomsResponseCapn_List ¶
func NewGetJoinedRoomsResponseCapn_List(s *capnp.Segment, sz int32) (GetJoinedRoomsResponseCapn_List, error)
NewGetJoinedRoomsResponseCapn creates a new list of GetJoinedRoomsResponseCapn.
func (GetJoinedRoomsResponseCapn_List) At ¶
func (s GetJoinedRoomsResponseCapn_List) At(i int) GetJoinedRoomsResponseCapn
func (GetJoinedRoomsResponseCapn_List) Set ¶
func (s GetJoinedRoomsResponseCapn_List) Set(i int, v GetJoinedRoomsResponseCapn) error
func (GetJoinedRoomsResponseCapn_List) String ¶
func (s GetJoinedRoomsResponseCapn_List) String() string
type GetJoinedRoomsResponseCapn_Promise ¶
GetJoinedRoomsResponseCapn_Promise is a wrapper for a GetJoinedRoomsResponseCapn promised by a client call.
func (GetJoinedRoomsResponseCapn_Promise) Struct ¶
func (p GetJoinedRoomsResponseCapn_Promise) Struct() (GetJoinedRoomsResponseCapn, error)
type GetKeysChangesRequest ¶
GET /_matrix/client/r0/keys/changes
func (*GetKeysChangesRequest) Decode ¶
func (externalReq *GetKeysChangesRequest) Decode(input []byte) error
func (*GetKeysChangesRequest) Encode ¶
func (externalReq *GetKeysChangesRequest) Encode() ([]byte, error)
type GetKeysChangesRequestCapn ¶
func NewGetKeysChangesRequestCapn ¶
func NewGetKeysChangesRequestCapn(s *capnp.Segment) (GetKeysChangesRequestCapn, error)
func NewRootGetKeysChangesRequestCapn ¶
func NewRootGetKeysChangesRequestCapn(s *capnp.Segment) (GetKeysChangesRequestCapn, error)
func ReadRootGetKeysChangesRequestCapn ¶
func ReadRootGetKeysChangesRequestCapn(msg *capnp.Message) (GetKeysChangesRequestCapn, error)
func (GetKeysChangesRequestCapn) From ¶
func (s GetKeysChangesRequestCapn) From() (string, error)
func (GetKeysChangesRequestCapn) FromBytes ¶
func (s GetKeysChangesRequestCapn) FromBytes() ([]byte, error)
func (GetKeysChangesRequestCapn) HasFrom ¶
func (s GetKeysChangesRequestCapn) HasFrom() bool
func (GetKeysChangesRequestCapn) HasTo ¶
func (s GetKeysChangesRequestCapn) HasTo() bool
func (GetKeysChangesRequestCapn) SetFrom ¶
func (s GetKeysChangesRequestCapn) SetFrom(v string) error
func (GetKeysChangesRequestCapn) SetTo ¶
func (s GetKeysChangesRequestCapn) SetTo(v string) error
func (GetKeysChangesRequestCapn) String ¶
func (s GetKeysChangesRequestCapn) String() string
func (GetKeysChangesRequestCapn) To ¶
func (s GetKeysChangesRequestCapn) To() (string, error)
func (GetKeysChangesRequestCapn) ToBytes ¶
func (s GetKeysChangesRequestCapn) ToBytes() ([]byte, error)
type GetKeysChangesRequestCapn_List ¶
GetKeysChangesRequestCapn_List is a list of GetKeysChangesRequestCapn.
func NewGetKeysChangesRequestCapn_List ¶
func NewGetKeysChangesRequestCapn_List(s *capnp.Segment, sz int32) (GetKeysChangesRequestCapn_List, error)
NewGetKeysChangesRequestCapn creates a new list of GetKeysChangesRequestCapn.
func (GetKeysChangesRequestCapn_List) At ¶
func (s GetKeysChangesRequestCapn_List) At(i int) GetKeysChangesRequestCapn
func (GetKeysChangesRequestCapn_List) Set ¶
func (s GetKeysChangesRequestCapn_List) Set(i int, v GetKeysChangesRequestCapn) error
func (GetKeysChangesRequestCapn_List) String ¶
func (s GetKeysChangesRequestCapn_List) String() string
type GetKeysChangesRequestCapn_Promise ¶
GetKeysChangesRequestCapn_Promise is a wrapper for a GetKeysChangesRequestCapn promised by a client call.
func (GetKeysChangesRequestCapn_Promise) Struct ¶
func (p GetKeysChangesRequestCapn_Promise) Struct() (GetKeysChangesRequestCapn, error)
type GetKeysChangesResponse ¶
type GetKeysChangesResponse struct { Changed []string `json:"changed"` Left []string `json:"left"` }
func (*GetKeysChangesResponse) Decode ¶
func (res *GetKeysChangesResponse) Decode(input []byte) error
func (*GetKeysChangesResponse) Encode ¶
func (res *GetKeysChangesResponse) Encode() ([]byte, error)
type GetKeysChangesResponseCapn ¶
func NewGetKeysChangesResponseCapn ¶
func NewGetKeysChangesResponseCapn(s *capnp.Segment) (GetKeysChangesResponseCapn, error)
func NewRootGetKeysChangesResponseCapn ¶
func NewRootGetKeysChangesResponseCapn(s *capnp.Segment) (GetKeysChangesResponseCapn, error)
func ReadRootGetKeysChangesResponseCapn ¶
func ReadRootGetKeysChangesResponseCapn(msg *capnp.Message) (GetKeysChangesResponseCapn, error)
func (GetKeysChangesResponseCapn) Changed ¶
func (s GetKeysChangesResponseCapn) Changed() (capnp.TextList, error)
func (GetKeysChangesResponseCapn) HasChanged ¶
func (s GetKeysChangesResponseCapn) HasChanged() bool
func (GetKeysChangesResponseCapn) HasLeft ¶
func (s GetKeysChangesResponseCapn) HasLeft() bool
func (GetKeysChangesResponseCapn) Left ¶
func (s GetKeysChangesResponseCapn) Left() (capnp.TextList, error)
func (GetKeysChangesResponseCapn) NewChanged ¶
func (s GetKeysChangesResponseCapn) NewChanged(n int32) (capnp.TextList, error)
NewChanged sets the changed field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (GetKeysChangesResponseCapn) NewLeft ¶
func (s GetKeysChangesResponseCapn) NewLeft(n int32) (capnp.TextList, error)
NewLeft sets the left field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (GetKeysChangesResponseCapn) SetChanged ¶
func (s GetKeysChangesResponseCapn) SetChanged(v capnp.TextList) error
func (GetKeysChangesResponseCapn) SetLeft ¶
func (s GetKeysChangesResponseCapn) SetLeft(v capnp.TextList) error
func (GetKeysChangesResponseCapn) String ¶
func (s GetKeysChangesResponseCapn) String() string
type GetKeysChangesResponseCapn_List ¶
GetKeysChangesResponseCapn_List is a list of GetKeysChangesResponseCapn.
func NewGetKeysChangesResponseCapn_List ¶
func NewGetKeysChangesResponseCapn_List(s *capnp.Segment, sz int32) (GetKeysChangesResponseCapn_List, error)
NewGetKeysChangesResponseCapn creates a new list of GetKeysChangesResponseCapn.
func (GetKeysChangesResponseCapn_List) At ¶
func (s GetKeysChangesResponseCapn_List) At(i int) GetKeysChangesResponseCapn
func (GetKeysChangesResponseCapn_List) Set ¶
func (s GetKeysChangesResponseCapn_List) Set(i int, v GetKeysChangesResponseCapn) error
func (GetKeysChangesResponseCapn_List) String ¶
func (s GetKeysChangesResponseCapn_List) String() string
type GetKeysChangesResponseCapn_Promise ¶
GetKeysChangesResponseCapn_Promise is a wrapper for a GetKeysChangesResponseCapn promised by a client call.
func (GetKeysChangesResponseCapn_Promise) Struct ¶
func (p GetKeysChangesResponseCapn_Promise) Struct() (GetKeysChangesResponseCapn, error)
type GetLoginAdminRequest ¶
type GetLoginAdminRequest GetLoginRequest
func (*GetLoginAdminRequest) Decode ¶
func (externalReq *GetLoginAdminRequest) Decode(input []byte) error
func (*GetLoginAdminRequest) Encode ¶
func (externalReq *GetLoginAdminRequest) Encode() ([]byte, error)
type GetLoginRequest ¶
type GetLoginRequest struct {
IsAdmin bool `json:"is_admin"`
}
GET /_matrix/client/r0/login
func (*GetLoginRequest) Decode ¶
func (externalReq *GetLoginRequest) Decode(input []byte) error
func (*GetLoginRequest) Encode ¶
func (externalReq *GetLoginRequest) Encode() ([]byte, error)
type GetLoginRequestCapn ¶
func NewGetLoginRequestCapn ¶
func NewGetLoginRequestCapn(s *capnp.Segment) (GetLoginRequestCapn, error)
func NewRootGetLoginRequestCapn ¶
func NewRootGetLoginRequestCapn(s *capnp.Segment) (GetLoginRequestCapn, error)
func ReadRootGetLoginRequestCapn ¶
func ReadRootGetLoginRequestCapn(msg *capnp.Message) (GetLoginRequestCapn, error)
func (GetLoginRequestCapn) IsAdmin ¶
func (s GetLoginRequestCapn) IsAdmin() bool
func (GetLoginRequestCapn) SetIsAdmin ¶
func (s GetLoginRequestCapn) SetIsAdmin(v bool)
func (GetLoginRequestCapn) String ¶
func (s GetLoginRequestCapn) String() string
type GetLoginRequestCapn_List ¶
GetLoginRequestCapn_List is a list of GetLoginRequestCapn.
func NewGetLoginRequestCapn_List ¶
func NewGetLoginRequestCapn_List(s *capnp.Segment, sz int32) (GetLoginRequestCapn_List, error)
NewGetLoginRequestCapn creates a new list of GetLoginRequestCapn.
func (GetLoginRequestCapn_List) At ¶
func (s GetLoginRequestCapn_List) At(i int) GetLoginRequestCapn
func (GetLoginRequestCapn_List) Set ¶
func (s GetLoginRequestCapn_List) Set(i int, v GetLoginRequestCapn) error
func (GetLoginRequestCapn_List) String ¶
func (s GetLoginRequestCapn_List) String() string
type GetLoginRequestCapn_Promise ¶
GetLoginRequestCapn_Promise is a wrapper for a GetLoginRequestCapn promised by a client call.
func (GetLoginRequestCapn_Promise) Struct ¶
func (p GetLoginRequestCapn_Promise) Struct() (GetLoginRequestCapn, error)
type GetLoginResponse ¶
type GetLoginResponse struct {
Flows []Flow `json:"flows"`
}
response
func (*GetLoginResponse) Decode ¶
func (res *GetLoginResponse) Decode(input []byte) error
func (*GetLoginResponse) Encode ¶
func (res *GetLoginResponse) Encode() ([]byte, error)
type GetLoginResponseCapn ¶
func NewGetLoginResponseCapn ¶
func NewGetLoginResponseCapn(s *capnp.Segment) (GetLoginResponseCapn, error)
func NewRootGetLoginResponseCapn ¶
func NewRootGetLoginResponseCapn(s *capnp.Segment) (GetLoginResponseCapn, error)
func ReadRootGetLoginResponseCapn ¶
func ReadRootGetLoginResponseCapn(msg *capnp.Message) (GetLoginResponseCapn, error)
func (GetLoginResponseCapn) Flows ¶
func (s GetLoginResponseCapn) Flows() (FlowCapn_List, error)
func (GetLoginResponseCapn) HasFlows ¶
func (s GetLoginResponseCapn) HasFlows() bool
func (GetLoginResponseCapn) NewFlows ¶
func (s GetLoginResponseCapn) NewFlows(n int32) (FlowCapn_List, error)
NewFlows sets the flows field to a newly allocated FlowCapn_List, preferring placement in s's segment.
func (GetLoginResponseCapn) SetFlows ¶
func (s GetLoginResponseCapn) SetFlows(v FlowCapn_List) error
func (GetLoginResponseCapn) String ¶
func (s GetLoginResponseCapn) String() string
type GetLoginResponseCapn_List ¶
GetLoginResponseCapn_List is a list of GetLoginResponseCapn.
func NewGetLoginResponseCapn_List ¶
func NewGetLoginResponseCapn_List(s *capnp.Segment, sz int32) (GetLoginResponseCapn_List, error)
NewGetLoginResponseCapn creates a new list of GetLoginResponseCapn.
func (GetLoginResponseCapn_List) At ¶
func (s GetLoginResponseCapn_List) At(i int) GetLoginResponseCapn
func (GetLoginResponseCapn_List) Set ¶
func (s GetLoginResponseCapn_List) Set(i int, v GetLoginResponseCapn) error
func (GetLoginResponseCapn_List) String ¶
func (s GetLoginResponseCapn_List) String() string
type GetLoginResponseCapn_Promise ¶
GetLoginResponseCapn_Promise is a wrapper for a GetLoginResponseCapn promised by a client call.
func (GetLoginResponseCapn_Promise) Struct ¶
func (p GetLoginResponseCapn_Promise) Struct() (GetLoginResponseCapn, error)
type GetMakeJoinRequest ¶
type GetMakeJoinRequest struct { RoomID string `json:"roomId"` UserID string `json:"userId"` Ver []string `json:"ver"` }
func (*GetMakeJoinRequest) Decode ¶
func (externalReq *GetMakeJoinRequest) Decode(data []byte) error
func (*GetMakeJoinRequest) Encode ¶
func (externalReq *GetMakeJoinRequest) Encode() ([]byte, error)
type GetMakeLeaveRequest ¶
func (*GetMakeLeaveRequest) Decode ¶
func (externalReq *GetMakeLeaveRequest) Decode(data []byte) error
func (*GetMakeLeaveRequest) Encode ¶
func (externalReq *GetMakeLeaveRequest) Encode() ([]byte, error)
type GetMediaDownloadByFileNameRequest ¶
type GetMediaDownloadByFileNameRequest struct { ServerName string `json:"serverName"` MediaID string `json:"mediaId"` FileName string `json:"fileName"` AllowRemote string `json:"allow_remote"` }
GET /_matrix/media/r0/download/{serverName}/{mediaId}/{fileName}
type GetMediaDownloadByFileNameRequestCapn ¶
func NewGetMediaDownloadByFileNameRequestCapn ¶
func NewGetMediaDownloadByFileNameRequestCapn(s *capnp.Segment) (GetMediaDownloadByFileNameRequestCapn, error)
func NewRootGetMediaDownloadByFileNameRequestCapn ¶
func NewRootGetMediaDownloadByFileNameRequestCapn(s *capnp.Segment) (GetMediaDownloadByFileNameRequestCapn, error)
func ReadRootGetMediaDownloadByFileNameRequestCapn ¶
func ReadRootGetMediaDownloadByFileNameRequestCapn(msg *capnp.Message) (GetMediaDownloadByFileNameRequestCapn, error)
func (GetMediaDownloadByFileNameRequestCapn) AllowRemote ¶
func (s GetMediaDownloadByFileNameRequestCapn) AllowRemote() (string, error)
func (GetMediaDownloadByFileNameRequestCapn) AllowRemoteBytes ¶
func (s GetMediaDownloadByFileNameRequestCapn) AllowRemoteBytes() ([]byte, error)
func (GetMediaDownloadByFileNameRequestCapn) FileName ¶
func (s GetMediaDownloadByFileNameRequestCapn) FileName() (string, error)
func (GetMediaDownloadByFileNameRequestCapn) FileNameBytes ¶
func (s GetMediaDownloadByFileNameRequestCapn) FileNameBytes() ([]byte, error)
func (GetMediaDownloadByFileNameRequestCapn) HasAllowRemote ¶
func (s GetMediaDownloadByFileNameRequestCapn) HasAllowRemote() bool
func (GetMediaDownloadByFileNameRequestCapn) HasFileName ¶
func (s GetMediaDownloadByFileNameRequestCapn) HasFileName() bool
func (GetMediaDownloadByFileNameRequestCapn) HasMediaID ¶
func (s GetMediaDownloadByFileNameRequestCapn) HasMediaID() bool
func (GetMediaDownloadByFileNameRequestCapn) HasServerName ¶
func (s GetMediaDownloadByFileNameRequestCapn) HasServerName() bool
func (GetMediaDownloadByFileNameRequestCapn) MediaID ¶
func (s GetMediaDownloadByFileNameRequestCapn) MediaID() (string, error)
func (GetMediaDownloadByFileNameRequestCapn) MediaIDBytes ¶
func (s GetMediaDownloadByFileNameRequestCapn) MediaIDBytes() ([]byte, error)
func (GetMediaDownloadByFileNameRequestCapn) ServerName ¶
func (s GetMediaDownloadByFileNameRequestCapn) ServerName() (string, error)
func (GetMediaDownloadByFileNameRequestCapn) ServerNameBytes ¶
func (s GetMediaDownloadByFileNameRequestCapn) ServerNameBytes() ([]byte, error)
func (GetMediaDownloadByFileNameRequestCapn) SetAllowRemote ¶
func (s GetMediaDownloadByFileNameRequestCapn) SetAllowRemote(v string) error
func (GetMediaDownloadByFileNameRequestCapn) SetFileName ¶
func (s GetMediaDownloadByFileNameRequestCapn) SetFileName(v string) error
func (GetMediaDownloadByFileNameRequestCapn) SetMediaID ¶
func (s GetMediaDownloadByFileNameRequestCapn) SetMediaID(v string) error
func (GetMediaDownloadByFileNameRequestCapn) SetServerName ¶
func (s GetMediaDownloadByFileNameRequestCapn) SetServerName(v string) error
func (GetMediaDownloadByFileNameRequestCapn) String ¶
func (s GetMediaDownloadByFileNameRequestCapn) String() string
type GetMediaDownloadByFileNameRequestCapn_List ¶
GetMediaDownloadByFileNameRequestCapn_List is a list of GetMediaDownloadByFileNameRequestCapn.
func NewGetMediaDownloadByFileNameRequestCapn_List ¶
func NewGetMediaDownloadByFileNameRequestCapn_List(s *capnp.Segment, sz int32) (GetMediaDownloadByFileNameRequestCapn_List, error)
NewGetMediaDownloadByFileNameRequestCapn creates a new list of GetMediaDownloadByFileNameRequestCapn.
func (GetMediaDownloadByFileNameRequestCapn_List) Set ¶
func (s GetMediaDownloadByFileNameRequestCapn_List) Set(i int, v GetMediaDownloadByFileNameRequestCapn) error
func (GetMediaDownloadByFileNameRequestCapn_List) String ¶
func (s GetMediaDownloadByFileNameRequestCapn_List) String() string
type GetMediaDownloadByFileNameRequestCapn_Promise ¶
GetMediaDownloadByFileNameRequestCapn_Promise is a wrapper for a GetMediaDownloadByFileNameRequestCapn promised by a client call.
func (GetMediaDownloadByFileNameRequestCapn_Promise) Struct ¶
func (p GetMediaDownloadByFileNameRequestCapn_Promise) Struct() (GetMediaDownloadByFileNameRequestCapn, error)
type GetMediaDownloadRequest ¶
type GetMediaDownloadRequest struct { ServerName string `json:"serverName"` MediaID string `json:"mediaId"` AllowRemote string `json:"allow_remote"` }
GET /_matrix/media/r0/download/{serverName}/{mediaId}
func (*GetMediaDownloadRequest) Decode ¶
func (externalReq *GetMediaDownloadRequest) Decode(input []byte) error
func (*GetMediaDownloadRequest) Encode ¶
func (externalReq *GetMediaDownloadRequest) Encode() ([]byte, error)
type GetMediaDownloadRequestCapn ¶
func NewGetMediaDownloadRequestCapn ¶
func NewGetMediaDownloadRequestCapn(s *capnp.Segment) (GetMediaDownloadRequestCapn, error)
func NewRootGetMediaDownloadRequestCapn ¶
func NewRootGetMediaDownloadRequestCapn(s *capnp.Segment) (GetMediaDownloadRequestCapn, error)
func ReadRootGetMediaDownloadRequestCapn ¶
func ReadRootGetMediaDownloadRequestCapn(msg *capnp.Message) (GetMediaDownloadRequestCapn, error)
func (GetMediaDownloadRequestCapn) AllowRemote ¶
func (s GetMediaDownloadRequestCapn) AllowRemote() (string, error)
func (GetMediaDownloadRequestCapn) AllowRemoteBytes ¶
func (s GetMediaDownloadRequestCapn) AllowRemoteBytes() ([]byte, error)
func (GetMediaDownloadRequestCapn) HasAllowRemote ¶
func (s GetMediaDownloadRequestCapn) HasAllowRemote() bool
func (GetMediaDownloadRequestCapn) HasMediaID ¶
func (s GetMediaDownloadRequestCapn) HasMediaID() bool
func (GetMediaDownloadRequestCapn) HasServerName ¶
func (s GetMediaDownloadRequestCapn) HasServerName() bool
func (GetMediaDownloadRequestCapn) MediaID ¶
func (s GetMediaDownloadRequestCapn) MediaID() (string, error)
func (GetMediaDownloadRequestCapn) MediaIDBytes ¶
func (s GetMediaDownloadRequestCapn) MediaIDBytes() ([]byte, error)
func (GetMediaDownloadRequestCapn) ServerName ¶
func (s GetMediaDownloadRequestCapn) ServerName() (string, error)
func (GetMediaDownloadRequestCapn) ServerNameBytes ¶
func (s GetMediaDownloadRequestCapn) ServerNameBytes() ([]byte, error)
func (GetMediaDownloadRequestCapn) SetAllowRemote ¶
func (s GetMediaDownloadRequestCapn) SetAllowRemote(v string) error
func (GetMediaDownloadRequestCapn) SetMediaID ¶
func (s GetMediaDownloadRequestCapn) SetMediaID(v string) error
func (GetMediaDownloadRequestCapn) SetServerName ¶
func (s GetMediaDownloadRequestCapn) SetServerName(v string) error
func (GetMediaDownloadRequestCapn) String ¶
func (s GetMediaDownloadRequestCapn) String() string
type GetMediaDownloadRequestCapn_List ¶
GetMediaDownloadRequestCapn_List is a list of GetMediaDownloadRequestCapn.
func NewGetMediaDownloadRequestCapn_List ¶
func NewGetMediaDownloadRequestCapn_List(s *capnp.Segment, sz int32) (GetMediaDownloadRequestCapn_List, error)
NewGetMediaDownloadRequestCapn creates a new list of GetMediaDownloadRequestCapn.
func (GetMediaDownloadRequestCapn_List) At ¶
func (s GetMediaDownloadRequestCapn_List) At(i int) GetMediaDownloadRequestCapn
func (GetMediaDownloadRequestCapn_List) Set ¶
func (s GetMediaDownloadRequestCapn_List) Set(i int, v GetMediaDownloadRequestCapn) error
func (GetMediaDownloadRequestCapn_List) String ¶
func (s GetMediaDownloadRequestCapn_List) String() string
type GetMediaDownloadRequestCapn_Promise ¶
GetMediaDownloadRequestCapn_Promise is a wrapper for a GetMediaDownloadRequestCapn promised by a client call.
func (GetMediaDownloadRequestCapn_Promise) Struct ¶
func (p GetMediaDownloadRequestCapn_Promise) Struct() (GetMediaDownloadRequestCapn, error)
type GetMediaPreviewURLRequest ¶
GET /_matrix/media/r0/preview_url
type GetMediaPreviewURLRequestCapn ¶
func NewGetMediaPreviewURLRequestCapn ¶
func NewGetMediaPreviewURLRequestCapn(s *capnp.Segment) (GetMediaPreviewURLRequestCapn, error)
func NewRootGetMediaPreviewURLRequestCapn ¶
func NewRootGetMediaPreviewURLRequestCapn(s *capnp.Segment) (GetMediaPreviewURLRequestCapn, error)
func ReadRootGetMediaPreviewURLRequestCapn ¶
func ReadRootGetMediaPreviewURLRequestCapn(msg *capnp.Message) (GetMediaPreviewURLRequestCapn, error)
func (GetMediaPreviewURLRequestCapn) HasURL ¶
func (s GetMediaPreviewURLRequestCapn) HasURL() bool
func (GetMediaPreviewURLRequestCapn) SetTs ¶
func (s GetMediaPreviewURLRequestCapn) SetTs(v int64)
func (GetMediaPreviewURLRequestCapn) SetURL ¶
func (s GetMediaPreviewURLRequestCapn) SetURL(v string) error
func (GetMediaPreviewURLRequestCapn) String ¶
func (s GetMediaPreviewURLRequestCapn) String() string
func (GetMediaPreviewURLRequestCapn) Ts ¶
func (s GetMediaPreviewURLRequestCapn) Ts() int64
func (GetMediaPreviewURLRequestCapn) URL ¶
func (s GetMediaPreviewURLRequestCapn) URL() (string, error)
func (GetMediaPreviewURLRequestCapn) URLBytes ¶
func (s GetMediaPreviewURLRequestCapn) URLBytes() ([]byte, error)
type GetMediaPreviewURLRequestCapn_List ¶
GetMediaPreviewURLRequestCapn_List is a list of GetMediaPreviewURLRequestCapn.
func NewGetMediaPreviewURLRequestCapn_List ¶
func NewGetMediaPreviewURLRequestCapn_List(s *capnp.Segment, sz int32) (GetMediaPreviewURLRequestCapn_List, error)
NewGetMediaPreviewURLRequestCapn creates a new list of GetMediaPreviewURLRequestCapn.
func (GetMediaPreviewURLRequestCapn_List) At ¶
func (s GetMediaPreviewURLRequestCapn_List) At(i int) GetMediaPreviewURLRequestCapn
func (GetMediaPreviewURLRequestCapn_List) Set ¶
func (s GetMediaPreviewURLRequestCapn_List) Set(i int, v GetMediaPreviewURLRequestCapn) error
func (GetMediaPreviewURLRequestCapn_List) String ¶
func (s GetMediaPreviewURLRequestCapn_List) String() string
type GetMediaPreviewURLRequestCapn_Promise ¶
GetMediaPreviewURLRequestCapn_Promise is a wrapper for a GetMediaPreviewURLRequestCapn promised by a client call.
func (GetMediaPreviewURLRequestCapn_Promise) Struct ¶
func (p GetMediaPreviewURLRequestCapn_Promise) Struct() (GetMediaPreviewURLRequestCapn, error)
type GetMediaPreviewURLResponse ¶
type GetMediaPreviewURLResponse struct { Size int64 `json:"matrix:image:size"` Image string `json:"og:image"` }
func (*GetMediaPreviewURLResponse) Decode ¶
func (res *GetMediaPreviewURLResponse) Decode(input []byte) error
func (*GetMediaPreviewURLResponse) Encode ¶
func (res *GetMediaPreviewURLResponse) Encode() ([]byte, error)
type GetMediaPreviewURLResponseCapn ¶
func NewGetMediaPreviewURLResponseCapn ¶
func NewGetMediaPreviewURLResponseCapn(s *capnp.Segment) (GetMediaPreviewURLResponseCapn, error)
func NewRootGetMediaPreviewURLResponseCapn ¶
func NewRootGetMediaPreviewURLResponseCapn(s *capnp.Segment) (GetMediaPreviewURLResponseCapn, error)
func ReadRootGetMediaPreviewURLResponseCapn ¶
func ReadRootGetMediaPreviewURLResponseCapn(msg *capnp.Message) (GetMediaPreviewURLResponseCapn, error)
func (GetMediaPreviewURLResponseCapn) HasImage ¶
func (s GetMediaPreviewURLResponseCapn) HasImage() bool
func (GetMediaPreviewURLResponseCapn) Image ¶
func (s GetMediaPreviewURLResponseCapn) Image() (string, error)
func (GetMediaPreviewURLResponseCapn) ImageBytes ¶
func (s GetMediaPreviewURLResponseCapn) ImageBytes() ([]byte, error)
func (GetMediaPreviewURLResponseCapn) SetImage ¶
func (s GetMediaPreviewURLResponseCapn) SetImage(v string) error
func (GetMediaPreviewURLResponseCapn) SetSize ¶
func (s GetMediaPreviewURLResponseCapn) SetSize(v int64)
func (GetMediaPreviewURLResponseCapn) Size ¶
func (s GetMediaPreviewURLResponseCapn) Size() int64
func (GetMediaPreviewURLResponseCapn) String ¶
func (s GetMediaPreviewURLResponseCapn) String() string
type GetMediaPreviewURLResponseCapn_List ¶
GetMediaPreviewURLResponseCapn_List is a list of GetMediaPreviewURLResponseCapn.
func NewGetMediaPreviewURLResponseCapn_List ¶
func NewGetMediaPreviewURLResponseCapn_List(s *capnp.Segment, sz int32) (GetMediaPreviewURLResponseCapn_List, error)
NewGetMediaPreviewURLResponseCapn creates a new list of GetMediaPreviewURLResponseCapn.
func (GetMediaPreviewURLResponseCapn_List) At ¶
func (s GetMediaPreviewURLResponseCapn_List) At(i int) GetMediaPreviewURLResponseCapn
func (GetMediaPreviewURLResponseCapn_List) Set ¶
func (s GetMediaPreviewURLResponseCapn_List) Set(i int, v GetMediaPreviewURLResponseCapn) error
func (GetMediaPreviewURLResponseCapn_List) String ¶
func (s GetMediaPreviewURLResponseCapn_List) String() string
type GetMediaPreviewURLResponseCapn_Promise ¶
GetMediaPreviewURLResponseCapn_Promise is a wrapper for a GetMediaPreviewURLResponseCapn promised by a client call.
func (GetMediaPreviewURLResponseCapn_Promise) Struct ¶
func (p GetMediaPreviewURLResponseCapn_Promise) Struct() (GetMediaPreviewURLResponseCapn, error)
type GetMediaThumbnailRequest ¶
type GetMediaThumbnailRequest struct { ServerName string `json:"serverName"` MediaID string `json:"mediaId"` Width int `json:"width"` Height int `json:"height"` Method int `json:"method"` AllowRemote string `json:"allow_remote"` }
GET /_matrix/media/r0/thumbnail/{serverName}/{mediaId}
func (*GetMediaThumbnailRequest) Decode ¶
func (externalReq *GetMediaThumbnailRequest) Decode(input []byte) error
func (*GetMediaThumbnailRequest) Encode ¶
func (externalReq *GetMediaThumbnailRequest) Encode() ([]byte, error)
type GetMediaThumbnailRequestCapn ¶
func NewGetMediaThumbnailRequestCapn ¶
func NewGetMediaThumbnailRequestCapn(s *capnp.Segment) (GetMediaThumbnailRequestCapn, error)
func NewRootGetMediaThumbnailRequestCapn ¶
func NewRootGetMediaThumbnailRequestCapn(s *capnp.Segment) (GetMediaThumbnailRequestCapn, error)
func ReadRootGetMediaThumbnailRequestCapn ¶
func ReadRootGetMediaThumbnailRequestCapn(msg *capnp.Message) (GetMediaThumbnailRequestCapn, error)
func (GetMediaThumbnailRequestCapn) AllowRemote ¶
func (s GetMediaThumbnailRequestCapn) AllowRemote() (string, error)
func (GetMediaThumbnailRequestCapn) AllowRemoteBytes ¶
func (s GetMediaThumbnailRequestCapn) AllowRemoteBytes() ([]byte, error)
func (GetMediaThumbnailRequestCapn) HasAllowRemote ¶
func (s GetMediaThumbnailRequestCapn) HasAllowRemote() bool
func (GetMediaThumbnailRequestCapn) HasMediaID ¶
func (s GetMediaThumbnailRequestCapn) HasMediaID() bool
func (GetMediaThumbnailRequestCapn) HasServerName ¶
func (s GetMediaThumbnailRequestCapn) HasServerName() bool
func (GetMediaThumbnailRequestCapn) Height ¶
func (s GetMediaThumbnailRequestCapn) Height() int64
func (GetMediaThumbnailRequestCapn) MediaID ¶
func (s GetMediaThumbnailRequestCapn) MediaID() (string, error)
func (GetMediaThumbnailRequestCapn) MediaIDBytes ¶
func (s GetMediaThumbnailRequestCapn) MediaIDBytes() ([]byte, error)
func (GetMediaThumbnailRequestCapn) Method ¶
func (s GetMediaThumbnailRequestCapn) Method() int64
func (GetMediaThumbnailRequestCapn) ServerName ¶
func (s GetMediaThumbnailRequestCapn) ServerName() (string, error)
func (GetMediaThumbnailRequestCapn) ServerNameBytes ¶
func (s GetMediaThumbnailRequestCapn) ServerNameBytes() ([]byte, error)
func (GetMediaThumbnailRequestCapn) SetAllowRemote ¶
func (s GetMediaThumbnailRequestCapn) SetAllowRemote(v string) error
func (GetMediaThumbnailRequestCapn) SetHeight ¶
func (s GetMediaThumbnailRequestCapn) SetHeight(v int64)
func (GetMediaThumbnailRequestCapn) SetMediaID ¶
func (s GetMediaThumbnailRequestCapn) SetMediaID(v string) error
func (GetMediaThumbnailRequestCapn) SetMethod ¶
func (s GetMediaThumbnailRequestCapn) SetMethod(v int64)
func (GetMediaThumbnailRequestCapn) SetServerName ¶
func (s GetMediaThumbnailRequestCapn) SetServerName(v string) error
func (GetMediaThumbnailRequestCapn) SetWidth ¶
func (s GetMediaThumbnailRequestCapn) SetWidth(v int64)
func (GetMediaThumbnailRequestCapn) String ¶
func (s GetMediaThumbnailRequestCapn) String() string
func (GetMediaThumbnailRequestCapn) Width ¶
func (s GetMediaThumbnailRequestCapn) Width() int64
type GetMediaThumbnailRequestCapn_List ¶
GetMediaThumbnailRequestCapn_List is a list of GetMediaThumbnailRequestCapn.
func NewGetMediaThumbnailRequestCapn_List ¶
func NewGetMediaThumbnailRequestCapn_List(s *capnp.Segment, sz int32) (GetMediaThumbnailRequestCapn_List, error)
NewGetMediaThumbnailRequestCapn creates a new list of GetMediaThumbnailRequestCapn.
func (GetMediaThumbnailRequestCapn_List) At ¶
func (s GetMediaThumbnailRequestCapn_List) At(i int) GetMediaThumbnailRequestCapn
func (GetMediaThumbnailRequestCapn_List) Set ¶
func (s GetMediaThumbnailRequestCapn_List) Set(i int, v GetMediaThumbnailRequestCapn) error
func (GetMediaThumbnailRequestCapn_List) String ¶
func (s GetMediaThumbnailRequestCapn_List) String() string
type GetMediaThumbnailRequestCapn_Promise ¶
GetMediaThumbnailRequestCapn_Promise is a wrapper for a GetMediaThumbnailRequestCapn promised by a client call.
func (GetMediaThumbnailRequestCapn_Promise) Struct ¶
func (p GetMediaThumbnailRequestCapn_Promise) Struct() (GetMediaThumbnailRequestCapn, error)
type GetMissingEventsRequest ¶
type GetMissingEventsRequest struct { RoomID string `json:"roomId"` Limit int `json:"limit"` MinDepth int64 `json:"min_depth"` EarliestEvents []string `json:"earliest_events"` LatestEvents []string `json:"latest_events"` }
func (*GetMissingEventsRequest) Decode ¶
func (externalReq *GetMissingEventsRequest) Decode(data []byte) error
func (*GetMissingEventsRequest) Encode ¶
func (externalReq *GetMissingEventsRequest) Encode() ([]byte, error)
type GetMissingEventsResponse ¶
type GetMissingEventsResponse struct {
Events []gomatrixserverlib.Event `json:"events"`
}
func (*GetMissingEventsResponse) Decode ¶
func (res *GetMissingEventsResponse) Decode(input []byte) error
func (*GetMissingEventsResponse) Encode ¶
func (r *GetMissingEventsResponse) Encode() ([]byte, error)
type GetNotificationsRequest ¶
type GetNotificationsRequest struct { From string `json:"from"` Limit int `json:"limit"` Only string `json:"only"` }
GET /_matrix/client/r0/notifications
type GetNotificationsRequestCapn ¶
func NewGetNotificationsRequestCapn ¶
func NewGetNotificationsRequestCapn(s *capnp.Segment) (GetNotificationsRequestCapn, error)
func NewRootGetNotificationsRequestCapn ¶
func NewRootGetNotificationsRequestCapn(s *capnp.Segment) (GetNotificationsRequestCapn, error)
func ReadRootGetNotificationsRequestCapn ¶
func ReadRootGetNotificationsRequestCapn(msg *capnp.Message) (GetNotificationsRequestCapn, error)
func (GetNotificationsRequestCapn) From ¶
func (s GetNotificationsRequestCapn) From() (string, error)
func (GetNotificationsRequestCapn) FromBytes ¶
func (s GetNotificationsRequestCapn) FromBytes() ([]byte, error)
func (GetNotificationsRequestCapn) HasFrom ¶
func (s GetNotificationsRequestCapn) HasFrom() bool
func (GetNotificationsRequestCapn) HasOnly ¶
func (s GetNotificationsRequestCapn) HasOnly() bool
func (GetNotificationsRequestCapn) Limit ¶
func (s GetNotificationsRequestCapn) Limit() int64
func (GetNotificationsRequestCapn) Only ¶
func (s GetNotificationsRequestCapn) Only() (string, error)
func (GetNotificationsRequestCapn) OnlyBytes ¶
func (s GetNotificationsRequestCapn) OnlyBytes() ([]byte, error)
func (GetNotificationsRequestCapn) SetFrom ¶
func (s GetNotificationsRequestCapn) SetFrom(v string) error
func (GetNotificationsRequestCapn) SetLimit ¶
func (s GetNotificationsRequestCapn) SetLimit(v int64)
func (GetNotificationsRequestCapn) SetOnly ¶
func (s GetNotificationsRequestCapn) SetOnly(v string) error
func (GetNotificationsRequestCapn) String ¶
func (s GetNotificationsRequestCapn) String() string
type GetNotificationsRequestCapn_List ¶
GetNotificationsRequestCapn_List is a list of GetNotificationsRequestCapn.
func NewGetNotificationsRequestCapn_List ¶
func NewGetNotificationsRequestCapn_List(s *capnp.Segment, sz int32) (GetNotificationsRequestCapn_List, error)
NewGetNotificationsRequestCapn creates a new list of GetNotificationsRequestCapn.
func (GetNotificationsRequestCapn_List) At ¶
func (s GetNotificationsRequestCapn_List) At(i int) GetNotificationsRequestCapn
func (GetNotificationsRequestCapn_List) Set ¶
func (s GetNotificationsRequestCapn_List) Set(i int, v GetNotificationsRequestCapn) error
func (GetNotificationsRequestCapn_List) String ¶
func (s GetNotificationsRequestCapn_List) String() string
type GetNotificationsRequestCapn_Promise ¶
GetNotificationsRequestCapn_Promise is a wrapper for a GetNotificationsRequestCapn promised by a client call.
func (GetNotificationsRequestCapn_Promise) Struct ¶
func (p GetNotificationsRequestCapn_Promise) Struct() (GetNotificationsRequestCapn, error)
type GetNotificationsResponse ¶
type GetNotificationsResponse struct { NextToken string `json:"next_token"` Notifications []Notification `json:"notifications"` }
type GetPresenceListRequest ¶
type GetPresenceListRequest struct {
UserID string `json:"user_id"`
}
GET /_matrix/client/r0/presence/list/{userId}
func (*GetPresenceListRequest) Decode ¶
func (externalReq *GetPresenceListRequest) Decode(input []byte) error
func (*GetPresenceListRequest) Encode ¶
func (externalReq *GetPresenceListRequest) Encode() ([]byte, error)
type GetPresenceListRequestCapn ¶
func NewGetPresenceListRequestCapn ¶
func NewGetPresenceListRequestCapn(s *capnp.Segment) (GetPresenceListRequestCapn, error)
func NewRootGetPresenceListRequestCapn ¶
func NewRootGetPresenceListRequestCapn(s *capnp.Segment) (GetPresenceListRequestCapn, error)
func ReadRootGetPresenceListRequestCapn ¶
func ReadRootGetPresenceListRequestCapn(msg *capnp.Message) (GetPresenceListRequestCapn, error)
func (GetPresenceListRequestCapn) HasUserID ¶
func (s GetPresenceListRequestCapn) HasUserID() bool
func (GetPresenceListRequestCapn) SetUserID ¶
func (s GetPresenceListRequestCapn) SetUserID(v string) error
func (GetPresenceListRequestCapn) String ¶
func (s GetPresenceListRequestCapn) String() string
func (GetPresenceListRequestCapn) UserID ¶
func (s GetPresenceListRequestCapn) UserID() (string, error)
func (GetPresenceListRequestCapn) UserIDBytes ¶
func (s GetPresenceListRequestCapn) UserIDBytes() ([]byte, error)
type GetPresenceListRequestCapn_List ¶
GetPresenceListRequestCapn_List is a list of GetPresenceListRequestCapn.
func NewGetPresenceListRequestCapn_List ¶
func NewGetPresenceListRequestCapn_List(s *capnp.Segment, sz int32) (GetPresenceListRequestCapn_List, error)
NewGetPresenceListRequestCapn creates a new list of GetPresenceListRequestCapn.
func (GetPresenceListRequestCapn_List) At ¶
func (s GetPresenceListRequestCapn_List) At(i int) GetPresenceListRequestCapn
func (GetPresenceListRequestCapn_List) Set ¶
func (s GetPresenceListRequestCapn_List) Set(i int, v GetPresenceListRequestCapn) error
func (GetPresenceListRequestCapn_List) String ¶
func (s GetPresenceListRequestCapn_List) String() string
type GetPresenceListRequestCapn_Promise ¶
GetPresenceListRequestCapn_Promise is a wrapper for a GetPresenceListRequestCapn promised by a client call.
func (GetPresenceListRequestCapn_Promise) Struct ¶
func (p GetPresenceListRequestCapn_Promise) Struct() (GetPresenceListRequestCapn, error)
type GetPresenceListResponse ¶
type GetPresenceListResponse []PresenceJSON
func (*GetPresenceListResponse) Decode ¶
func (res *GetPresenceListResponse) Decode(input []byte) error
func (*GetPresenceListResponse) Encode ¶
func (res *GetPresenceListResponse) Encode() ([]byte, error)
type GetPresenceListResponseCapn ¶
func NewGetPresenceListResponseCapn ¶
func NewGetPresenceListResponseCapn(s *capnp.Segment) (GetPresenceListResponseCapn, error)
func NewRootGetPresenceListResponseCapn ¶
func NewRootGetPresenceListResponseCapn(s *capnp.Segment) (GetPresenceListResponseCapn, error)
func ReadRootGetPresenceListResponseCapn ¶
func ReadRootGetPresenceListResponseCapn(msg *capnp.Message) (GetPresenceListResponseCapn, error)
func (GetPresenceListResponseCapn) HasPresenceList ¶
func (s GetPresenceListResponseCapn) HasPresenceList() bool
func (GetPresenceListResponseCapn) NewPresenceList ¶
func (s GetPresenceListResponseCapn) NewPresenceList(n int32) (PresenceJSONCapn_List, error)
NewPresenceList sets the presenceList field to a newly allocated PresenceJSONCapn_List, preferring placement in s's segment.
func (GetPresenceListResponseCapn) PresenceList ¶
func (s GetPresenceListResponseCapn) PresenceList() (PresenceJSONCapn_List, error)
func (GetPresenceListResponseCapn) SetPresenceList ¶
func (s GetPresenceListResponseCapn) SetPresenceList(v PresenceJSONCapn_List) error
func (GetPresenceListResponseCapn) String ¶
func (s GetPresenceListResponseCapn) String() string
type GetPresenceListResponseCapn_List ¶
GetPresenceListResponseCapn_List is a list of GetPresenceListResponseCapn.
func NewGetPresenceListResponseCapn_List ¶
func NewGetPresenceListResponseCapn_List(s *capnp.Segment, sz int32) (GetPresenceListResponseCapn_List, error)
NewGetPresenceListResponseCapn creates a new list of GetPresenceListResponseCapn.
func (GetPresenceListResponseCapn_List) At ¶
func (s GetPresenceListResponseCapn_List) At(i int) GetPresenceListResponseCapn
func (GetPresenceListResponseCapn_List) Set ¶
func (s GetPresenceListResponseCapn_List) Set(i int, v GetPresenceListResponseCapn) error
func (GetPresenceListResponseCapn_List) String ¶
func (s GetPresenceListResponseCapn_List) String() string
type GetPresenceListResponseCapn_Promise ¶
GetPresenceListResponseCapn_Promise is a wrapper for a GetPresenceListResponseCapn promised by a client call.
func (GetPresenceListResponseCapn_Promise) Struct ¶
func (p GetPresenceListResponseCapn_Promise) Struct() (GetPresenceListResponseCapn, error)
type GetPresenceRequest ¶
type GetPresenceRequest struct {
UserID string `json:"user_id"`
}
GET /_matrix/client/r0/presence/{userId}/status
func (*GetPresenceRequest) Decode ¶
func (externalReq *GetPresenceRequest) Decode(input []byte) error
func (*GetPresenceRequest) Encode ¶
func (externalReq *GetPresenceRequest) Encode() ([]byte, error)
type GetPresenceRequestCapn ¶
func NewGetPresenceRequestCapn ¶
func NewGetPresenceRequestCapn(s *capnp.Segment) (GetPresenceRequestCapn, error)
func NewRootGetPresenceRequestCapn ¶
func NewRootGetPresenceRequestCapn(s *capnp.Segment) (GetPresenceRequestCapn, error)
func ReadRootGetPresenceRequestCapn ¶
func ReadRootGetPresenceRequestCapn(msg *capnp.Message) (GetPresenceRequestCapn, error)
func (GetPresenceRequestCapn) HasUserID ¶
func (s GetPresenceRequestCapn) HasUserID() bool
func (GetPresenceRequestCapn) SetUserID ¶
func (s GetPresenceRequestCapn) SetUserID(v string) error
func (GetPresenceRequestCapn) String ¶
func (s GetPresenceRequestCapn) String() string
func (GetPresenceRequestCapn) UserID ¶
func (s GetPresenceRequestCapn) UserID() (string, error)
func (GetPresenceRequestCapn) UserIDBytes ¶
func (s GetPresenceRequestCapn) UserIDBytes() ([]byte, error)
type GetPresenceRequestCapn_List ¶
GetPresenceRequestCapn_List is a list of GetPresenceRequestCapn.
func NewGetPresenceRequestCapn_List ¶
func NewGetPresenceRequestCapn_List(s *capnp.Segment, sz int32) (GetPresenceRequestCapn_List, error)
NewGetPresenceRequestCapn creates a new list of GetPresenceRequestCapn.
func (GetPresenceRequestCapn_List) At ¶
func (s GetPresenceRequestCapn_List) At(i int) GetPresenceRequestCapn
func (GetPresenceRequestCapn_List) Set ¶
func (s GetPresenceRequestCapn_List) Set(i int, v GetPresenceRequestCapn) error
func (GetPresenceRequestCapn_List) String ¶
func (s GetPresenceRequestCapn_List) String() string
type GetPresenceRequestCapn_Promise ¶
GetPresenceRequestCapn_Promise is a wrapper for a GetPresenceRequestCapn promised by a client call.
func (GetPresenceRequestCapn_Promise) Struct ¶
func (p GetPresenceRequestCapn_Promise) Struct() (GetPresenceRequestCapn, error)
type GetPresenceResponse ¶
type GetPresenceResponse struct { Presence string `json:"presence"` LastActiveAgo int64 `json:"last_active_ago"` StatusMsg string `json:"status_msg"` ExtStatusMsg string `json:"ext_status_msg"` CurrentlyActive bool `json:"currently_active"` }
func (*GetPresenceResponse) Decode ¶
func (res *GetPresenceResponse) Decode(input []byte) error
func (*GetPresenceResponse) Encode ¶
func (res *GetPresenceResponse) Encode() ([]byte, error)
type GetPresenceResponseCapn ¶
func NewGetPresenceResponseCapn ¶
func NewGetPresenceResponseCapn(s *capnp.Segment) (GetPresenceResponseCapn, error)
func NewRootGetPresenceResponseCapn ¶
func NewRootGetPresenceResponseCapn(s *capnp.Segment) (GetPresenceResponseCapn, error)
func ReadRootGetPresenceResponseCapn ¶
func ReadRootGetPresenceResponseCapn(msg *capnp.Message) (GetPresenceResponseCapn, error)
func (GetPresenceResponseCapn) CurrentlyActive ¶
func (s GetPresenceResponseCapn) CurrentlyActive() bool
func (GetPresenceResponseCapn) ExtStatusMsg ¶
func (s GetPresenceResponseCapn) ExtStatusMsg() (string, error)
func (GetPresenceResponseCapn) ExtStatusMsgBytes ¶
func (s GetPresenceResponseCapn) ExtStatusMsgBytes() ([]byte, error)
func (GetPresenceResponseCapn) HasExtStatusMsg ¶
func (s GetPresenceResponseCapn) HasExtStatusMsg() bool
func (GetPresenceResponseCapn) HasPresence ¶
func (s GetPresenceResponseCapn) HasPresence() bool
func (GetPresenceResponseCapn) HasStatusMsg ¶
func (s GetPresenceResponseCapn) HasStatusMsg() bool
func (GetPresenceResponseCapn) LastActiveAgo ¶
func (s GetPresenceResponseCapn) LastActiveAgo() int64
func (GetPresenceResponseCapn) Presence ¶
func (s GetPresenceResponseCapn) Presence() (string, error)
func (GetPresenceResponseCapn) PresenceBytes ¶
func (s GetPresenceResponseCapn) PresenceBytes() ([]byte, error)
func (GetPresenceResponseCapn) SetCurrentlyActive ¶
func (s GetPresenceResponseCapn) SetCurrentlyActive(v bool)
func (GetPresenceResponseCapn) SetExtStatusMsg ¶
func (s GetPresenceResponseCapn) SetExtStatusMsg(v string) error
func (GetPresenceResponseCapn) SetLastActiveAgo ¶
func (s GetPresenceResponseCapn) SetLastActiveAgo(v int64)
func (GetPresenceResponseCapn) SetPresence ¶
func (s GetPresenceResponseCapn) SetPresence(v string) error
func (GetPresenceResponseCapn) SetStatusMsg ¶
func (s GetPresenceResponseCapn) SetStatusMsg(v string) error
func (GetPresenceResponseCapn) StatusMsg ¶
func (s GetPresenceResponseCapn) StatusMsg() (string, error)
func (GetPresenceResponseCapn) StatusMsgBytes ¶
func (s GetPresenceResponseCapn) StatusMsgBytes() ([]byte, error)
func (GetPresenceResponseCapn) String ¶
func (s GetPresenceResponseCapn) String() string
type GetPresenceResponseCapn_List ¶
GetPresenceResponseCapn_List is a list of GetPresenceResponseCapn.
func NewGetPresenceResponseCapn_List ¶
func NewGetPresenceResponseCapn_List(s *capnp.Segment, sz int32) (GetPresenceResponseCapn_List, error)
NewGetPresenceResponseCapn creates a new list of GetPresenceResponseCapn.
func (GetPresenceResponseCapn_List) At ¶
func (s GetPresenceResponseCapn_List) At(i int) GetPresenceResponseCapn
func (GetPresenceResponseCapn_List) Set ¶
func (s GetPresenceResponseCapn_List) Set(i int, v GetPresenceResponseCapn) error
func (GetPresenceResponseCapn_List) String ¶
func (s GetPresenceResponseCapn_List) String() string
type GetPresenceResponseCapn_Promise ¶
GetPresenceResponseCapn_Promise is a wrapper for a GetPresenceResponseCapn promised by a client call.
func (GetPresenceResponseCapn_Promise) Struct ¶
func (p GetPresenceResponseCapn_Promise) Struct() (GetPresenceResponseCapn, error)
type GetProfileRequest ¶
type GetProfileRequest struct {
UserID string `json:"userID"`
}
GET /_matrix/client/r0/profile/{userID}
func (*GetProfileRequest) Decode ¶
func (externalReq *GetProfileRequest) Decode(input []byte) error
func (*GetProfileRequest) Encode ¶
func (externalReq *GetProfileRequest) Encode() ([]byte, error)
type GetProfileRequestCapn ¶
func NewGetProfileRequestCapn ¶
func NewGetProfileRequestCapn(s *capnp.Segment) (GetProfileRequestCapn, error)
func NewRootGetProfileRequestCapn ¶
func NewRootGetProfileRequestCapn(s *capnp.Segment) (GetProfileRequestCapn, error)
func ReadRootGetProfileRequestCapn ¶
func ReadRootGetProfileRequestCapn(msg *capnp.Message) (GetProfileRequestCapn, error)
func (GetProfileRequestCapn) HasUserID ¶
func (s GetProfileRequestCapn) HasUserID() bool
func (GetProfileRequestCapn) SetUserID ¶
func (s GetProfileRequestCapn) SetUserID(v string) error
func (GetProfileRequestCapn) String ¶
func (s GetProfileRequestCapn) String() string
func (GetProfileRequestCapn) UserID ¶
func (s GetProfileRequestCapn) UserID() (string, error)
func (GetProfileRequestCapn) UserIDBytes ¶
func (s GetProfileRequestCapn) UserIDBytes() ([]byte, error)
type GetProfileRequestCapn_List ¶
GetProfileRequestCapn_List is a list of GetProfileRequestCapn.
func NewGetProfileRequestCapn_List ¶
func NewGetProfileRequestCapn_List(s *capnp.Segment, sz int32) (GetProfileRequestCapn_List, error)
NewGetProfileRequestCapn creates a new list of GetProfileRequestCapn.
func (GetProfileRequestCapn_List) At ¶
func (s GetProfileRequestCapn_List) At(i int) GetProfileRequestCapn
func (GetProfileRequestCapn_List) Set ¶
func (s GetProfileRequestCapn_List) Set(i int, v GetProfileRequestCapn) error
func (GetProfileRequestCapn_List) String ¶
func (s GetProfileRequestCapn_List) String() string
type GetProfileRequestCapn_Promise ¶
GetProfileRequestCapn_Promise is a wrapper for a GetProfileRequestCapn promised by a client call.
func (GetProfileRequestCapn_Promise) Struct ¶
func (p GetProfileRequestCapn_Promise) Struct() (GetProfileRequestCapn, error)
type GetProfileResponse ¶
type GetProfileResponse struct { AvatarURL string `json:"avatar_url"` DisplayName string `json:"displayname"` Status string `json:"status,omitempty"` StatusMsg string `json:"status_msg,omitempty"` ExtStatusMsg string `json:"ext_status_msg,omitempty"` }
func (*GetProfileResponse) Decode ¶
func (res *GetProfileResponse) Decode(input []byte) error
func (*GetProfileResponse) Encode ¶
func (res *GetProfileResponse) Encode() ([]byte, error)
type GetProfileResponseCapn ¶
func NewGetProfileResponseCapn ¶
func NewGetProfileResponseCapn(s *capnp.Segment) (GetProfileResponseCapn, error)
func NewRootGetProfileResponseCapn ¶
func NewRootGetProfileResponseCapn(s *capnp.Segment) (GetProfileResponseCapn, error)
func ReadRootGetProfileResponseCapn ¶
func ReadRootGetProfileResponseCapn(msg *capnp.Message) (GetProfileResponseCapn, error)
func (GetProfileResponseCapn) AvatarURL ¶
func (s GetProfileResponseCapn) AvatarURL() (string, error)
func (GetProfileResponseCapn) AvatarURLBytes ¶
func (s GetProfileResponseCapn) AvatarURLBytes() ([]byte, error)
func (GetProfileResponseCapn) DisplayName ¶
func (s GetProfileResponseCapn) DisplayName() (string, error)
func (GetProfileResponseCapn) DisplayNameBytes ¶
func (s GetProfileResponseCapn) DisplayNameBytes() ([]byte, error)
func (GetProfileResponseCapn) HasAvatarURL ¶
func (s GetProfileResponseCapn) HasAvatarURL() bool
func (GetProfileResponseCapn) HasDisplayName ¶
func (s GetProfileResponseCapn) HasDisplayName() bool
func (GetProfileResponseCapn) SetAvatarURL ¶
func (s GetProfileResponseCapn) SetAvatarURL(v string) error
func (GetProfileResponseCapn) SetDisplayName ¶
func (s GetProfileResponseCapn) SetDisplayName(v string) error
func (GetProfileResponseCapn) String ¶
func (s GetProfileResponseCapn) String() string
type GetProfileResponseCapn_List ¶
GetProfileResponseCapn_List is a list of GetProfileResponseCapn.
func NewGetProfileResponseCapn_List ¶
func NewGetProfileResponseCapn_List(s *capnp.Segment, sz int32) (GetProfileResponseCapn_List, error)
NewGetProfileResponseCapn creates a new list of GetProfileResponseCapn.
func (GetProfileResponseCapn_List) At ¶
func (s GetProfileResponseCapn_List) At(i int) GetProfileResponseCapn
func (GetProfileResponseCapn_List) Set ¶
func (s GetProfileResponseCapn_List) Set(i int, v GetProfileResponseCapn) error
func (GetProfileResponseCapn_List) String ¶
func (s GetProfileResponseCapn_List) String() string
type GetProfileResponseCapn_Promise ¶
GetProfileResponseCapn_Promise is a wrapper for a GetProfileResponseCapn promised by a client call.
func (GetProfileResponseCapn_Promise) Struct ¶
func (p GetProfileResponseCapn_Promise) Struct() (GetProfileResponseCapn, error)
type GetProfilesRequest ¶
type GetProfilesRequest struct {
UserIDs []string `json:"user_ids"`
}
GET /_matrix/client/r0/profiles
func (*GetProfilesRequest) Decode ¶
func (externalReq *GetProfilesRequest) Decode(data []byte) error
func (*GetProfilesRequest) Encode ¶
func (externalReq *GetProfilesRequest) Encode() ([]byte, error)
type GetProfilesResponse ¶
type GetProfilesResponse struct {
Profiles []ProfileItem `json:"profiles"`
}
func (*GetProfilesResponse) Decode ¶
func (res *GetProfilesResponse) Decode(input []byte) error
func (*GetProfilesResponse) Encode ¶
func (res *GetProfilesResponse) Encode() ([]byte, error)
type GetPublicRoomsRequest ¶
type GetPublicRoomsRequest struct { Limit int64 `json:"limit"` Since string `json:"since"` Filter filter `json:"filter,omitempty"` }
GET /_matrix/client/r0/publicRooms
func (*GetPublicRoomsRequest) Decode ¶
func (externalReq *GetPublicRoomsRequest) Decode(input []byte) error
func (*GetPublicRoomsRequest) Encode ¶
func (externalReq *GetPublicRoomsRequest) Encode() ([]byte, error)
type GetPublicRoomsRequestCapn ¶
func NewGetPublicRoomsRequestCapn ¶
func NewGetPublicRoomsRequestCapn(s *capnp.Segment) (GetPublicRoomsRequestCapn, error)
func NewRootGetPublicRoomsRequestCapn ¶
func NewRootGetPublicRoomsRequestCapn(s *capnp.Segment) (GetPublicRoomsRequestCapn, error)
func ReadRootGetPublicRoomsRequestCapn ¶
func ReadRootGetPublicRoomsRequestCapn(msg *capnp.Message) (GetPublicRoomsRequestCapn, error)
func (GetPublicRoomsRequestCapn) Filter ¶
func (s GetPublicRoomsRequestCapn) Filter() (FilterCapn, error)
func (GetPublicRoomsRequestCapn) HasFilter ¶
func (s GetPublicRoomsRequestCapn) HasFilter() bool
func (GetPublicRoomsRequestCapn) HasSince ¶
func (s GetPublicRoomsRequestCapn) HasSince() bool
func (GetPublicRoomsRequestCapn) Limit ¶
func (s GetPublicRoomsRequestCapn) Limit() int64
func (GetPublicRoomsRequestCapn) NewFilter ¶
func (s GetPublicRoomsRequestCapn) NewFilter() (FilterCapn, error)
NewFilter sets the filter field to a newly allocated FilterCapn struct, preferring placement in s's segment.
func (GetPublicRoomsRequestCapn) SetFilter ¶
func (s GetPublicRoomsRequestCapn) SetFilter(v FilterCapn) error
func (GetPublicRoomsRequestCapn) SetLimit ¶
func (s GetPublicRoomsRequestCapn) SetLimit(v int64)
func (GetPublicRoomsRequestCapn) SetSince ¶
func (s GetPublicRoomsRequestCapn) SetSince(v string) error
func (GetPublicRoomsRequestCapn) Since ¶
func (s GetPublicRoomsRequestCapn) Since() (string, error)
func (GetPublicRoomsRequestCapn) SinceBytes ¶
func (s GetPublicRoomsRequestCapn) SinceBytes() ([]byte, error)
func (GetPublicRoomsRequestCapn) String ¶
func (s GetPublicRoomsRequestCapn) String() string
type GetPublicRoomsRequestCapn_List ¶
GetPublicRoomsRequestCapn_List is a list of GetPublicRoomsRequestCapn.
func NewGetPublicRoomsRequestCapn_List ¶
func NewGetPublicRoomsRequestCapn_List(s *capnp.Segment, sz int32) (GetPublicRoomsRequestCapn_List, error)
NewGetPublicRoomsRequestCapn creates a new list of GetPublicRoomsRequestCapn.
func (GetPublicRoomsRequestCapn_List) At ¶
func (s GetPublicRoomsRequestCapn_List) At(i int) GetPublicRoomsRequestCapn
func (GetPublicRoomsRequestCapn_List) Set ¶
func (s GetPublicRoomsRequestCapn_List) Set(i int, v GetPublicRoomsRequestCapn) error
func (GetPublicRoomsRequestCapn_List) String ¶
func (s GetPublicRoomsRequestCapn_List) String() string
type GetPublicRoomsRequestCapn_Promise ¶
GetPublicRoomsRequestCapn_Promise is a wrapper for a GetPublicRoomsRequestCapn promised by a client call.
func (GetPublicRoomsRequestCapn_Promise) Filter ¶
func (p GetPublicRoomsRequestCapn_Promise) Filter() FilterCapn_Promise
func (GetPublicRoomsRequestCapn_Promise) Struct ¶
func (p GetPublicRoomsRequestCapn_Promise) Struct() (GetPublicRoomsRequestCapn, error)
type GetPublicRoomsResponse ¶
type GetPublicRoomsResponse struct { Chunk []PublicRoomsChunk `json:"chunk"` NextBatch string `json:"next_batch,omitempty"` PrevBatch string `json:"prev_batch,omitempty"` Estimate int64 `json:"total_room_count_estimate,omitempty"` }
func (*GetPublicRoomsResponse) Decode ¶
func (res *GetPublicRoomsResponse) Decode(input []byte) error
func (*GetPublicRoomsResponse) Encode ¶
func (res *GetPublicRoomsResponse) Encode() ([]byte, error)
type GetPublicRoomsResponseCapn ¶
func NewGetPublicRoomsResponseCapn ¶
func NewGetPublicRoomsResponseCapn(s *capnp.Segment) (GetPublicRoomsResponseCapn, error)
func NewRootGetPublicRoomsResponseCapn ¶
func NewRootGetPublicRoomsResponseCapn(s *capnp.Segment) (GetPublicRoomsResponseCapn, error)
func ReadRootGetPublicRoomsResponseCapn ¶
func ReadRootGetPublicRoomsResponseCapn(msg *capnp.Message) (GetPublicRoomsResponseCapn, error)
func (GetPublicRoomsResponseCapn) Chunk ¶
func (s GetPublicRoomsResponseCapn) Chunk() (PublicRoomsChunkCapn_List, error)
func (GetPublicRoomsResponseCapn) HasChunk ¶
func (s GetPublicRoomsResponseCapn) HasChunk() bool
func (GetPublicRoomsResponseCapn) HasNextBatch ¶
func (s GetPublicRoomsResponseCapn) HasNextBatch() bool
func (GetPublicRoomsResponseCapn) HasPrevBatch ¶
func (s GetPublicRoomsResponseCapn) HasPrevBatch() bool
func (GetPublicRoomsResponseCapn) NewChunk ¶
func (s GetPublicRoomsResponseCapn) NewChunk(n int32) (PublicRoomsChunkCapn_List, error)
NewChunk sets the chunk field to a newly allocated PublicRoomsChunkCapn_List, preferring placement in s's segment.
func (GetPublicRoomsResponseCapn) NextBatch ¶
func (s GetPublicRoomsResponseCapn) NextBatch() (string, error)
func (GetPublicRoomsResponseCapn) NextBatchBytes ¶
func (s GetPublicRoomsResponseCapn) NextBatchBytes() ([]byte, error)
func (GetPublicRoomsResponseCapn) PrevBatch ¶
func (s GetPublicRoomsResponseCapn) PrevBatch() (string, error)
func (GetPublicRoomsResponseCapn) PrevBatchBytes ¶
func (s GetPublicRoomsResponseCapn) PrevBatchBytes() ([]byte, error)
func (GetPublicRoomsResponseCapn) SetChunk ¶
func (s GetPublicRoomsResponseCapn) SetChunk(v PublicRoomsChunkCapn_List) error
func (GetPublicRoomsResponseCapn) SetNextBatch ¶
func (s GetPublicRoomsResponseCapn) SetNextBatch(v string) error
func (GetPublicRoomsResponseCapn) SetPrevBatch ¶
func (s GetPublicRoomsResponseCapn) SetPrevBatch(v string) error
func (GetPublicRoomsResponseCapn) SetTotal ¶
func (s GetPublicRoomsResponseCapn) SetTotal(v int64)
func (GetPublicRoomsResponseCapn) String ¶
func (s GetPublicRoomsResponseCapn) String() string
func (GetPublicRoomsResponseCapn) Total ¶
func (s GetPublicRoomsResponseCapn) Total() int64
type GetPublicRoomsResponseCapn_List ¶
GetPublicRoomsResponseCapn_List is a list of GetPublicRoomsResponseCapn.
func NewGetPublicRoomsResponseCapn_List ¶
func NewGetPublicRoomsResponseCapn_List(s *capnp.Segment, sz int32) (GetPublicRoomsResponseCapn_List, error)
NewGetPublicRoomsResponseCapn creates a new list of GetPublicRoomsResponseCapn.
func (GetPublicRoomsResponseCapn_List) At ¶
func (s GetPublicRoomsResponseCapn_List) At(i int) GetPublicRoomsResponseCapn
func (GetPublicRoomsResponseCapn_List) Set ¶
func (s GetPublicRoomsResponseCapn_List) Set(i int, v GetPublicRoomsResponseCapn) error
func (GetPublicRoomsResponseCapn_List) String ¶
func (s GetPublicRoomsResponseCapn_List) String() string
type GetPublicRoomsResponseCapn_Promise ¶
GetPublicRoomsResponseCapn_Promise is a wrapper for a GetPublicRoomsResponseCapn promised by a client call.
func (GetPublicRoomsResponseCapn_Promise) Struct ¶
func (p GetPublicRoomsResponseCapn_Promise) Struct() (GetPublicRoomsResponseCapn, error)
type GetPushersResponse ¶
type GetPushersResponse struct {
Pusher []Pusher `json:"pushers"`
}
GET /_matrix/client/r0/pushers
func (*GetPushersResponse) Decode ¶
func (res *GetPushersResponse) Decode(input []byte) error
func (*GetPushersResponse) Encode ¶
func (res *GetPushersResponse) Encode() ([]byte, error)
type GetPushersResponseCapn ¶
func NewGetPushersResponseCapn ¶
func NewGetPushersResponseCapn(s *capnp.Segment) (GetPushersResponseCapn, error)
func NewRootGetPushersResponseCapn ¶
func NewRootGetPushersResponseCapn(s *capnp.Segment) (GetPushersResponseCapn, error)
func ReadRootGetPushersResponseCapn ¶
func ReadRootGetPushersResponseCapn(msg *capnp.Message) (GetPushersResponseCapn, error)
func (GetPushersResponseCapn) HasPusher ¶
func (s GetPushersResponseCapn) HasPusher() bool
func (GetPushersResponseCapn) NewPusher ¶
func (s GetPushersResponseCapn) NewPusher(n int32) (PusherCapn_List, error)
NewPusher sets the pusher field to a newly allocated PusherCapn_List, preferring placement in s's segment.
func (GetPushersResponseCapn) Pusher ¶
func (s GetPushersResponseCapn) Pusher() (PusherCapn_List, error)
func (GetPushersResponseCapn) SetPusher ¶
func (s GetPushersResponseCapn) SetPusher(v PusherCapn_List) error
func (GetPushersResponseCapn) String ¶
func (s GetPushersResponseCapn) String() string
type GetPushersResponseCapn_List ¶
GetPushersResponseCapn_List is a list of GetPushersResponseCapn.
func NewGetPushersResponseCapn_List ¶
func NewGetPushersResponseCapn_List(s *capnp.Segment, sz int32) (GetPushersResponseCapn_List, error)
NewGetPushersResponseCapn creates a new list of GetPushersResponseCapn.
func (GetPushersResponseCapn_List) At ¶
func (s GetPushersResponseCapn_List) At(i int) GetPushersResponseCapn
func (GetPushersResponseCapn_List) Set ¶
func (s GetPushersResponseCapn_List) Set(i int, v GetPushersResponseCapn) error
func (GetPushersResponseCapn_List) String ¶
func (s GetPushersResponseCapn_List) String() string
type GetPushersResponseCapn_Promise ¶
GetPushersResponseCapn_Promise is a wrapper for a GetPushersResponseCapn promised by a client call.
func (GetPushersResponseCapn_Promise) Struct ¶
func (p GetPushersResponseCapn_Promise) Struct() (GetPushersResponseCapn, error)
type GetPushrulesActionsByIDRequest ¶
type GetPushrulesActionsByIDRequest struct { Scope string `json:"scope"` Kind string `json:"kind"` RuleID string `json:"ruleId"` }
GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/actions
func (*GetPushrulesActionsByIDRequest) Decode ¶
func (externalReq *GetPushrulesActionsByIDRequest) Decode(input []byte) error
func (*GetPushrulesActionsByIDRequest) Encode ¶
func (externalReq *GetPushrulesActionsByIDRequest) Encode() ([]byte, error)
type GetPushrulesActionsByIDRequestCapn ¶
func NewGetPushrulesActionsByIDRequestCapn ¶
func NewGetPushrulesActionsByIDRequestCapn(s *capnp.Segment) (GetPushrulesActionsByIDRequestCapn, error)
func NewRootGetPushrulesActionsByIDRequestCapn ¶
func NewRootGetPushrulesActionsByIDRequestCapn(s *capnp.Segment) (GetPushrulesActionsByIDRequestCapn, error)
func ReadRootGetPushrulesActionsByIDRequestCapn ¶
func ReadRootGetPushrulesActionsByIDRequestCapn(msg *capnp.Message) (GetPushrulesActionsByIDRequestCapn, error)
func (GetPushrulesActionsByIDRequestCapn) HasKind ¶
func (s GetPushrulesActionsByIDRequestCapn) HasKind() bool
func (GetPushrulesActionsByIDRequestCapn) HasRuleID ¶
func (s GetPushrulesActionsByIDRequestCapn) HasRuleID() bool
func (GetPushrulesActionsByIDRequestCapn) HasScope ¶
func (s GetPushrulesActionsByIDRequestCapn) HasScope() bool
func (GetPushrulesActionsByIDRequestCapn) Kind ¶
func (s GetPushrulesActionsByIDRequestCapn) Kind() (string, error)
func (GetPushrulesActionsByIDRequestCapn) KindBytes ¶
func (s GetPushrulesActionsByIDRequestCapn) KindBytes() ([]byte, error)
func (GetPushrulesActionsByIDRequestCapn) RuleID ¶
func (s GetPushrulesActionsByIDRequestCapn) RuleID() (string, error)
func (GetPushrulesActionsByIDRequestCapn) RuleIDBytes ¶
func (s GetPushrulesActionsByIDRequestCapn) RuleIDBytes() ([]byte, error)
func (GetPushrulesActionsByIDRequestCapn) Scope ¶
func (s GetPushrulesActionsByIDRequestCapn) Scope() (string, error)
func (GetPushrulesActionsByIDRequestCapn) ScopeBytes ¶
func (s GetPushrulesActionsByIDRequestCapn) ScopeBytes() ([]byte, error)
func (GetPushrulesActionsByIDRequestCapn) SetKind ¶
func (s GetPushrulesActionsByIDRequestCapn) SetKind(v string) error
func (GetPushrulesActionsByIDRequestCapn) SetRuleID ¶
func (s GetPushrulesActionsByIDRequestCapn) SetRuleID(v string) error
func (GetPushrulesActionsByIDRequestCapn) SetScope ¶
func (s GetPushrulesActionsByIDRequestCapn) SetScope(v string) error
func (GetPushrulesActionsByIDRequestCapn) String ¶
func (s GetPushrulesActionsByIDRequestCapn) String() string
type GetPushrulesActionsByIDRequestCapn_List ¶
GetPushrulesActionsByIDRequestCapn_List is a list of GetPushrulesActionsByIDRequestCapn.
func NewGetPushrulesActionsByIDRequestCapn_List ¶
func NewGetPushrulesActionsByIDRequestCapn_List(s *capnp.Segment, sz int32) (GetPushrulesActionsByIDRequestCapn_List, error)
NewGetPushrulesActionsByIDRequestCapn creates a new list of GetPushrulesActionsByIDRequestCapn.
func (GetPushrulesActionsByIDRequestCapn_List) Set ¶
func (s GetPushrulesActionsByIDRequestCapn_List) Set(i int, v GetPushrulesActionsByIDRequestCapn) error
func (GetPushrulesActionsByIDRequestCapn_List) String ¶
func (s GetPushrulesActionsByIDRequestCapn_List) String() string
type GetPushrulesActionsByIDRequestCapn_Promise ¶
GetPushrulesActionsByIDRequestCapn_Promise is a wrapper for a GetPushrulesActionsByIDRequestCapn promised by a client call.
func (GetPushrulesActionsByIDRequestCapn_Promise) Struct ¶
func (p GetPushrulesActionsByIDRequestCapn_Promise) Struct() (GetPushrulesActionsByIDRequestCapn, error)
type GetPushrulesActionsByIDResponse ¶
type GetPushrulesActionsByIDResponse struct {
Actions []interface{} `json:"actions"`
}
func (*GetPushrulesActionsByIDResponse) Decode ¶
func (res *GetPushrulesActionsByIDResponse) Decode(input []byte) error
func (*GetPushrulesActionsByIDResponse) Encode ¶
func (res *GetPushrulesActionsByIDResponse) Encode() ([]byte, error)
type GetPushrulesActionsByIDResponseCapn ¶
func NewGetPushrulesActionsByIDResponseCapn ¶
func NewGetPushrulesActionsByIDResponseCapn(s *capnp.Segment) (GetPushrulesActionsByIDResponseCapn, error)
func NewRootGetPushrulesActionsByIDResponseCapn ¶
func NewRootGetPushrulesActionsByIDResponseCapn(s *capnp.Segment) (GetPushrulesActionsByIDResponseCapn, error)
func ReadRootGetPushrulesActionsByIDResponseCapn ¶
func ReadRootGetPushrulesActionsByIDResponseCapn(msg *capnp.Message) (GetPushrulesActionsByIDResponseCapn, error)
func (GetPushrulesActionsByIDResponseCapn) Actions ¶
func (s GetPushrulesActionsByIDResponseCapn) Actions() (capnp.TextList, error)
func (GetPushrulesActionsByIDResponseCapn) HasActions ¶
func (s GetPushrulesActionsByIDResponseCapn) HasActions() bool
func (GetPushrulesActionsByIDResponseCapn) NewActions ¶
func (s GetPushrulesActionsByIDResponseCapn) NewActions(n int32) (capnp.TextList, error)
NewActions sets the actions field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (GetPushrulesActionsByIDResponseCapn) SetActions ¶
func (s GetPushrulesActionsByIDResponseCapn) SetActions(v capnp.TextList) error
func (GetPushrulesActionsByIDResponseCapn) String ¶
func (s GetPushrulesActionsByIDResponseCapn) String() string
type GetPushrulesActionsByIDResponseCapn_List ¶
GetPushrulesActionsByIDResponseCapn_List is a list of GetPushrulesActionsByIDResponseCapn.
func NewGetPushrulesActionsByIDResponseCapn_List ¶
func NewGetPushrulesActionsByIDResponseCapn_List(s *capnp.Segment, sz int32) (GetPushrulesActionsByIDResponseCapn_List, error)
NewGetPushrulesActionsByIDResponseCapn creates a new list of GetPushrulesActionsByIDResponseCapn.
func (GetPushrulesActionsByIDResponseCapn_List) Set ¶
func (s GetPushrulesActionsByIDResponseCapn_List) Set(i int, v GetPushrulesActionsByIDResponseCapn) error
func (GetPushrulesActionsByIDResponseCapn_List) String ¶
func (s GetPushrulesActionsByIDResponseCapn_List) String() string
type GetPushrulesActionsByIDResponseCapn_Promise ¶
GetPushrulesActionsByIDResponseCapn_Promise is a wrapper for a GetPushrulesActionsByIDResponseCapn promised by a client call.
func (GetPushrulesActionsByIDResponseCapn_Promise) Struct ¶
func (p GetPushrulesActionsByIDResponseCapn_Promise) Struct() (GetPushrulesActionsByIDResponseCapn, error)
type GetPushrulesByIDRequest ¶
type GetPushrulesByIDRequest struct { Scope string `json:"scope"` Kind string `json:"kind"` RuleID string `json:"ruleId"` }
GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}
func (*GetPushrulesByIDRequest) Decode ¶
func (externalReq *GetPushrulesByIDRequest) Decode(input []byte) error
func (*GetPushrulesByIDRequest) Encode ¶
func (externalReq *GetPushrulesByIDRequest) Encode() ([]byte, error)
type GetPushrulesByIDRequestCapn ¶
func NewGetPushrulesByIDRequestCapn ¶
func NewGetPushrulesByIDRequestCapn(s *capnp.Segment) (GetPushrulesByIDRequestCapn, error)
func NewRootGetPushrulesByIDRequestCapn ¶
func NewRootGetPushrulesByIDRequestCapn(s *capnp.Segment) (GetPushrulesByIDRequestCapn, error)
func ReadRootGetPushrulesByIDRequestCapn ¶
func ReadRootGetPushrulesByIDRequestCapn(msg *capnp.Message) (GetPushrulesByIDRequestCapn, error)
func (GetPushrulesByIDRequestCapn) HasKind ¶
func (s GetPushrulesByIDRequestCapn) HasKind() bool
func (GetPushrulesByIDRequestCapn) HasRuleID ¶
func (s GetPushrulesByIDRequestCapn) HasRuleID() bool
func (GetPushrulesByIDRequestCapn) HasScope ¶
func (s GetPushrulesByIDRequestCapn) HasScope() bool
func (GetPushrulesByIDRequestCapn) Kind ¶
func (s GetPushrulesByIDRequestCapn) Kind() (string, error)
func (GetPushrulesByIDRequestCapn) KindBytes ¶
func (s GetPushrulesByIDRequestCapn) KindBytes() ([]byte, error)
func (GetPushrulesByIDRequestCapn) RuleID ¶
func (s GetPushrulesByIDRequestCapn) RuleID() (string, error)
func (GetPushrulesByIDRequestCapn) RuleIDBytes ¶
func (s GetPushrulesByIDRequestCapn) RuleIDBytes() ([]byte, error)
func (GetPushrulesByIDRequestCapn) Scope ¶
func (s GetPushrulesByIDRequestCapn) Scope() (string, error)
func (GetPushrulesByIDRequestCapn) ScopeBytes ¶
func (s GetPushrulesByIDRequestCapn) ScopeBytes() ([]byte, error)
func (GetPushrulesByIDRequestCapn) SetKind ¶
func (s GetPushrulesByIDRequestCapn) SetKind(v string) error
func (GetPushrulesByIDRequestCapn) SetRuleID ¶
func (s GetPushrulesByIDRequestCapn) SetRuleID(v string) error
func (GetPushrulesByIDRequestCapn) SetScope ¶
func (s GetPushrulesByIDRequestCapn) SetScope(v string) error
func (GetPushrulesByIDRequestCapn) String ¶
func (s GetPushrulesByIDRequestCapn) String() string
type GetPushrulesByIDRequestCapn_List ¶
GetPushrulesByIDRequestCapn_List is a list of GetPushrulesByIDRequestCapn.
func NewGetPushrulesByIDRequestCapn_List ¶
func NewGetPushrulesByIDRequestCapn_List(s *capnp.Segment, sz int32) (GetPushrulesByIDRequestCapn_List, error)
NewGetPushrulesByIDRequestCapn creates a new list of GetPushrulesByIDRequestCapn.
func (GetPushrulesByIDRequestCapn_List) At ¶
func (s GetPushrulesByIDRequestCapn_List) At(i int) GetPushrulesByIDRequestCapn
func (GetPushrulesByIDRequestCapn_List) Set ¶
func (s GetPushrulesByIDRequestCapn_List) Set(i int, v GetPushrulesByIDRequestCapn) error
func (GetPushrulesByIDRequestCapn_List) String ¶
func (s GetPushrulesByIDRequestCapn_List) String() string
type GetPushrulesByIDRequestCapn_Promise ¶
GetPushrulesByIDRequestCapn_Promise is a wrapper for a GetPushrulesByIDRequestCapn promised by a client call.
func (GetPushrulesByIDRequestCapn_Promise) Struct ¶
func (p GetPushrulesByIDRequestCapn_Promise) Struct() (GetPushrulesByIDRequestCapn, error)
type GetPushrulesByIDResponse ¶
type GetPushrulesByIDResponse struct { Actions []interface{} `json:"actions,omitempty"` Default bool `json:"default"` Enabled bool `json:"enabled"` RuleID string `json:"rule_id,omitempty"` Conditions []PushCondition `json:"conditions,omitempty"` // TODO: 有时需要,有时不能要 Pattern string `json:"pattern,omitempty"` }
func (*GetPushrulesByIDResponse) Decode ¶
func (res *GetPushrulesByIDResponse) Decode(input []byte) error
func (*GetPushrulesByIDResponse) Encode ¶
func (res *GetPushrulesByIDResponse) Encode() ([]byte, error)
type GetPushrulesEnabledByIDRequest ¶
type GetPushrulesEnabledByIDRequest struct { Scope string `json:"scope"` Kind string `json:"kind"` RuleID string `json:"ruleId"` }
GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/enabled
func (*GetPushrulesEnabledByIDRequest) Decode ¶
func (externalReq *GetPushrulesEnabledByIDRequest) Decode(input []byte) error
func (*GetPushrulesEnabledByIDRequest) Encode ¶
func (externalReq *GetPushrulesEnabledByIDRequest) Encode() ([]byte, error)
type GetPushrulesEnabledByIDRequestCapn ¶
func NewGetPushrulesEnabledByIDRequestCapn ¶
func NewGetPushrulesEnabledByIDRequestCapn(s *capnp.Segment) (GetPushrulesEnabledByIDRequestCapn, error)
func NewRootGetPushrulesEnabledByIDRequestCapn ¶
func NewRootGetPushrulesEnabledByIDRequestCapn(s *capnp.Segment) (GetPushrulesEnabledByIDRequestCapn, error)
func ReadRootGetPushrulesEnabledByIDRequestCapn ¶
func ReadRootGetPushrulesEnabledByIDRequestCapn(msg *capnp.Message) (GetPushrulesEnabledByIDRequestCapn, error)
func (GetPushrulesEnabledByIDRequestCapn) HasKind ¶
func (s GetPushrulesEnabledByIDRequestCapn) HasKind() bool
func (GetPushrulesEnabledByIDRequestCapn) HasRuleID ¶
func (s GetPushrulesEnabledByIDRequestCapn) HasRuleID() bool
func (GetPushrulesEnabledByIDRequestCapn) HasScope ¶
func (s GetPushrulesEnabledByIDRequestCapn) HasScope() bool
func (GetPushrulesEnabledByIDRequestCapn) Kind ¶
func (s GetPushrulesEnabledByIDRequestCapn) Kind() (string, error)
func (GetPushrulesEnabledByIDRequestCapn) KindBytes ¶
func (s GetPushrulesEnabledByIDRequestCapn) KindBytes() ([]byte, error)
func (GetPushrulesEnabledByIDRequestCapn) RuleID ¶
func (s GetPushrulesEnabledByIDRequestCapn) RuleID() (string, error)
func (GetPushrulesEnabledByIDRequestCapn) RuleIDBytes ¶
func (s GetPushrulesEnabledByIDRequestCapn) RuleIDBytes() ([]byte, error)
func (GetPushrulesEnabledByIDRequestCapn) Scope ¶
func (s GetPushrulesEnabledByIDRequestCapn) Scope() (string, error)
func (GetPushrulesEnabledByIDRequestCapn) ScopeBytes ¶
func (s GetPushrulesEnabledByIDRequestCapn) ScopeBytes() ([]byte, error)
func (GetPushrulesEnabledByIDRequestCapn) SetKind ¶
func (s GetPushrulesEnabledByIDRequestCapn) SetKind(v string) error
func (GetPushrulesEnabledByIDRequestCapn) SetRuleID ¶
func (s GetPushrulesEnabledByIDRequestCapn) SetRuleID(v string) error
func (GetPushrulesEnabledByIDRequestCapn) SetScope ¶
func (s GetPushrulesEnabledByIDRequestCapn) SetScope(v string) error
func (GetPushrulesEnabledByIDRequestCapn) String ¶
func (s GetPushrulesEnabledByIDRequestCapn) String() string
type GetPushrulesEnabledByIDRequestCapn_List ¶
GetPushrulesEnabledByIDRequestCapn_List is a list of GetPushrulesEnabledByIDRequestCapn.
func NewGetPushrulesEnabledByIDRequestCapn_List ¶
func NewGetPushrulesEnabledByIDRequestCapn_List(s *capnp.Segment, sz int32) (GetPushrulesEnabledByIDRequestCapn_List, error)
NewGetPushrulesEnabledByIDRequestCapn creates a new list of GetPushrulesEnabledByIDRequestCapn.
func (GetPushrulesEnabledByIDRequestCapn_List) Set ¶
func (s GetPushrulesEnabledByIDRequestCapn_List) Set(i int, v GetPushrulesEnabledByIDRequestCapn) error
func (GetPushrulesEnabledByIDRequestCapn_List) String ¶
func (s GetPushrulesEnabledByIDRequestCapn_List) String() string
type GetPushrulesEnabledByIDRequestCapn_Promise ¶
GetPushrulesEnabledByIDRequestCapn_Promise is a wrapper for a GetPushrulesEnabledByIDRequestCapn promised by a client call.
func (GetPushrulesEnabledByIDRequestCapn_Promise) Struct ¶
func (p GetPushrulesEnabledByIDRequestCapn_Promise) Struct() (GetPushrulesEnabledByIDRequestCapn, error)
type GetPushrulesEnabledByIDResponse ¶
type GetPushrulesEnabledByIDResponse struct {
Enabled bool `json:"enabled"`
}
func (*GetPushrulesEnabledByIDResponse) Decode ¶
func (res *GetPushrulesEnabledByIDResponse) Decode(input []byte) error
func (*GetPushrulesEnabledByIDResponse) Encode ¶
func (res *GetPushrulesEnabledByIDResponse) Encode() ([]byte, error)
type GetPushrulesEnabledByIDResponseCapn ¶
func NewGetPushrulesEnabledByIDResponseCapn ¶
func NewGetPushrulesEnabledByIDResponseCapn(s *capnp.Segment) (GetPushrulesEnabledByIDResponseCapn, error)
func NewRootGetPushrulesEnabledByIDResponseCapn ¶
func NewRootGetPushrulesEnabledByIDResponseCapn(s *capnp.Segment) (GetPushrulesEnabledByIDResponseCapn, error)
func ReadRootGetPushrulesEnabledByIDResponseCapn ¶
func ReadRootGetPushrulesEnabledByIDResponseCapn(msg *capnp.Message) (GetPushrulesEnabledByIDResponseCapn, error)
func (GetPushrulesEnabledByIDResponseCapn) Enabled ¶
func (s GetPushrulesEnabledByIDResponseCapn) Enabled() bool
func (GetPushrulesEnabledByIDResponseCapn) SetEnabled ¶
func (s GetPushrulesEnabledByIDResponseCapn) SetEnabled(v bool)
func (GetPushrulesEnabledByIDResponseCapn) String ¶
func (s GetPushrulesEnabledByIDResponseCapn) String() string
type GetPushrulesEnabledByIDResponseCapn_List ¶
GetPushrulesEnabledByIDResponseCapn_List is a list of GetPushrulesEnabledByIDResponseCapn.
func NewGetPushrulesEnabledByIDResponseCapn_List ¶
func NewGetPushrulesEnabledByIDResponseCapn_List(s *capnp.Segment, sz int32) (GetPushrulesEnabledByIDResponseCapn_List, error)
NewGetPushrulesEnabledByIDResponseCapn creates a new list of GetPushrulesEnabledByIDResponseCapn.
func (GetPushrulesEnabledByIDResponseCapn_List) Set ¶
func (s GetPushrulesEnabledByIDResponseCapn_List) Set(i int, v GetPushrulesEnabledByIDResponseCapn) error
func (GetPushrulesEnabledByIDResponseCapn_List) String ¶
func (s GetPushrulesEnabledByIDResponseCapn_List) String() string
type GetPushrulesEnabledByIDResponseCapn_Promise ¶
GetPushrulesEnabledByIDResponseCapn_Promise is a wrapper for a GetPushrulesEnabledByIDResponseCapn promised by a client call.
func (GetPushrulesEnabledByIDResponseCapn_Promise) Struct ¶
func (p GetPushrulesEnabledByIDResponseCapn_Promise) Struct() (GetPushrulesEnabledByIDResponseCapn, error)
type GetPushrulesGlobalResponse ¶
type GetPushrulesGlobalResponse Ruleset
GET /_matrix/client/r0/pushrules/
func (*GetPushrulesGlobalResponse) Decode ¶
func (res *GetPushrulesGlobalResponse) Decode(input []byte) error
func (*GetPushrulesGlobalResponse) Encode ¶
func (res *GetPushrulesGlobalResponse) Encode() ([]byte, error)
type GetPushrulesResponse ¶
type GetPushrulesResponse struct {
Global Ruleset `json:"global"`
}
GET /_matrix/client/r0/pushrules/
func (*GetPushrulesResponse) Decode ¶
func (res *GetPushrulesResponse) Decode(input []byte) error
func (*GetPushrulesResponse) Encode ¶
func (res *GetPushrulesResponse) Encode() ([]byte, error)
type GetRegisterAvail ¶
type GetRegisterAvail struct {
UserName string `json:"username"`
}
GET /_matrix/client/r0/register/available
type GetRegisterAvailCapn ¶
func NewGetRegisterAvailCapn ¶
func NewGetRegisterAvailCapn(s *capnp.Segment) (GetRegisterAvailCapn, error)
func NewRootGetRegisterAvailCapn ¶
func NewRootGetRegisterAvailCapn(s *capnp.Segment) (GetRegisterAvailCapn, error)
func ReadRootGetRegisterAvailCapn ¶
func ReadRootGetRegisterAvailCapn(msg *capnp.Message) (GetRegisterAvailCapn, error)
func (GetRegisterAvailCapn) HasUserName ¶
func (s GetRegisterAvailCapn) HasUserName() bool
func (GetRegisterAvailCapn) SetUserName ¶
func (s GetRegisterAvailCapn) SetUserName(v string) error
func (GetRegisterAvailCapn) String ¶
func (s GetRegisterAvailCapn) String() string
func (GetRegisterAvailCapn) UserName ¶
func (s GetRegisterAvailCapn) UserName() (string, error)
func (GetRegisterAvailCapn) UserNameBytes ¶
func (s GetRegisterAvailCapn) UserNameBytes() ([]byte, error)
type GetRegisterAvailCapn_List ¶
GetRegisterAvailCapn_List is a list of GetRegisterAvailCapn.
func NewGetRegisterAvailCapn_List ¶
func NewGetRegisterAvailCapn_List(s *capnp.Segment, sz int32) (GetRegisterAvailCapn_List, error)
NewGetRegisterAvailCapn creates a new list of GetRegisterAvailCapn.
func (GetRegisterAvailCapn_List) At ¶
func (s GetRegisterAvailCapn_List) At(i int) GetRegisterAvailCapn
func (GetRegisterAvailCapn_List) Set ¶
func (s GetRegisterAvailCapn_List) Set(i int, v GetRegisterAvailCapn) error
func (GetRegisterAvailCapn_List) String ¶
func (s GetRegisterAvailCapn_List) String() string
type GetRegisterAvailCapn_Promise ¶
GetRegisterAvailCapn_Promise is a wrapper for a GetRegisterAvailCapn promised by a client call.
func (GetRegisterAvailCapn_Promise) Struct ¶
func (p GetRegisterAvailCapn_Promise) Struct() (GetRegisterAvailCapn, error)
type GetRegisterAvailResponse ¶
type GetRegisterAvailResponse struct {
Available bool `json:"available"`
}
func (*GetRegisterAvailResponse) Decode ¶
func (res *GetRegisterAvailResponse) Decode(input []byte) error
func (*GetRegisterAvailResponse) Encode ¶
func (res *GetRegisterAvailResponse) Encode() ([]byte, error)
type GetRegisterAvailResponseCapn ¶
func NewGetRegisterAvailResponseCapn ¶
func NewGetRegisterAvailResponseCapn(s *capnp.Segment) (GetRegisterAvailResponseCapn, error)
func NewRootGetRegisterAvailResponseCapn ¶
func NewRootGetRegisterAvailResponseCapn(s *capnp.Segment) (GetRegisterAvailResponseCapn, error)
func ReadRootGetRegisterAvailResponseCapn ¶
func ReadRootGetRegisterAvailResponseCapn(msg *capnp.Message) (GetRegisterAvailResponseCapn, error)
func (GetRegisterAvailResponseCapn) Available ¶
func (s GetRegisterAvailResponseCapn) Available() bool
func (GetRegisterAvailResponseCapn) SetAvailable ¶
func (s GetRegisterAvailResponseCapn) SetAvailable(v bool)
func (GetRegisterAvailResponseCapn) String ¶
func (s GetRegisterAvailResponseCapn) String() string
type GetRegisterAvailResponseCapn_List ¶
GetRegisterAvailResponseCapn_List is a list of GetRegisterAvailResponseCapn.
func NewGetRegisterAvailResponseCapn_List ¶
func NewGetRegisterAvailResponseCapn_List(s *capnp.Segment, sz int32) (GetRegisterAvailResponseCapn_List, error)
NewGetRegisterAvailResponseCapn creates a new list of GetRegisterAvailResponseCapn.
func (GetRegisterAvailResponseCapn_List) At ¶
func (s GetRegisterAvailResponseCapn_List) At(i int) GetRegisterAvailResponseCapn
func (GetRegisterAvailResponseCapn_List) Set ¶
func (s GetRegisterAvailResponseCapn_List) Set(i int, v GetRegisterAvailResponseCapn) error
func (GetRegisterAvailResponseCapn_List) String ¶
func (s GetRegisterAvailResponseCapn_List) String() string
type GetRegisterAvailResponseCapn_Promise ¶
GetRegisterAvailResponseCapn_Promise is a wrapper for a GetRegisterAvailResponseCapn promised by a client call.
func (GetRegisterAvailResponseCapn_Promise) Struct ¶
func (p GetRegisterAvailResponseCapn_Promise) Struct() (GetRegisterAvailResponseCapn, error)
type GetRoomEventByIDRequest ¶
type GetRoomEventByIDRequest struct { RoomID string `json:"roomId,omitempty"` EventID string `json:"eventId,omitempty"` }
GET /_matrix/client/r0/rooms/{roomId}/event/{eventId}
type GetRoomEventByIDRequestCapn ¶
func NewGetRoomEventByIDRequestCapn ¶
func NewGetRoomEventByIDRequestCapn(s *capnp.Segment) (GetRoomEventByIDRequestCapn, error)
func NewRootGetRoomEventByIDRequestCapn ¶
func NewRootGetRoomEventByIDRequestCapn(s *capnp.Segment) (GetRoomEventByIDRequestCapn, error)
func ReadRootGetRoomEventByIDRequestCapn ¶
func ReadRootGetRoomEventByIDRequestCapn(msg *capnp.Message) (GetRoomEventByIDRequestCapn, error)
func (GetRoomEventByIDRequestCapn) EventID ¶
func (s GetRoomEventByIDRequestCapn) EventID() (string, error)
func (GetRoomEventByIDRequestCapn) EventIDBytes ¶
func (s GetRoomEventByIDRequestCapn) EventIDBytes() ([]byte, error)
func (GetRoomEventByIDRequestCapn) HasEventID ¶
func (s GetRoomEventByIDRequestCapn) HasEventID() bool
func (GetRoomEventByIDRequestCapn) HasRoomID ¶
func (s GetRoomEventByIDRequestCapn) HasRoomID() bool
func (GetRoomEventByIDRequestCapn) RoomID ¶
func (s GetRoomEventByIDRequestCapn) RoomID() (string, error)
func (GetRoomEventByIDRequestCapn) RoomIDBytes ¶
func (s GetRoomEventByIDRequestCapn) RoomIDBytes() ([]byte, error)
func (GetRoomEventByIDRequestCapn) SetEventID ¶
func (s GetRoomEventByIDRequestCapn) SetEventID(v string) error
func (GetRoomEventByIDRequestCapn) SetRoomID ¶
func (s GetRoomEventByIDRequestCapn) SetRoomID(v string) error
func (GetRoomEventByIDRequestCapn) String ¶
func (s GetRoomEventByIDRequestCapn) String() string
type GetRoomEventByIDRequestCapn_List ¶
GetRoomEventByIDRequestCapn_List is a list of GetRoomEventByIDRequestCapn.
func NewGetRoomEventByIDRequestCapn_List ¶
func NewGetRoomEventByIDRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomEventByIDRequestCapn_List, error)
NewGetRoomEventByIDRequestCapn creates a new list of GetRoomEventByIDRequestCapn.
func (GetRoomEventByIDRequestCapn_List) At ¶
func (s GetRoomEventByIDRequestCapn_List) At(i int) GetRoomEventByIDRequestCapn
func (GetRoomEventByIDRequestCapn_List) Set ¶
func (s GetRoomEventByIDRequestCapn_List) Set(i int, v GetRoomEventByIDRequestCapn) error
func (GetRoomEventByIDRequestCapn_List) String ¶
func (s GetRoomEventByIDRequestCapn_List) String() string
type GetRoomEventByIDRequestCapn_Promise ¶
GetRoomEventByIDRequestCapn_Promise is a wrapper for a GetRoomEventByIDRequestCapn promised by a client call.
func (GetRoomEventByIDRequestCapn_Promise) Struct ¶
func (p GetRoomEventByIDRequestCapn_Promise) Struct() (GetRoomEventByIDRequestCapn, error)
type GetRoomEventByIDResponse ¶
type GetRoomEventByIDResponse struct { Content interface{} `json:"content"` Type string `json:"type"` }
type GetRoomEventContextRequest ¶
type GetRoomEventContextRequest struct { RoomID string `json:"roomId"` EventID string `json:"eventId"` Limit int64 `json:"limit"` }
GET /_matrix/client/r0/rooms/{roomId}/context/{eventId}
func (*GetRoomEventContextRequest) Decode ¶
func (externalReq *GetRoomEventContextRequest) Decode(input []byte) error
func (*GetRoomEventContextRequest) Encode ¶
func (externalReq *GetRoomEventContextRequest) Encode() ([]byte, error)
type GetRoomEventContextRequestCapn ¶
func NewGetRoomEventContextRequestCapn ¶
func NewGetRoomEventContextRequestCapn(s *capnp.Segment) (GetRoomEventContextRequestCapn, error)
func NewRootGetRoomEventContextRequestCapn ¶
func NewRootGetRoomEventContextRequestCapn(s *capnp.Segment) (GetRoomEventContextRequestCapn, error)
func ReadRootGetRoomEventContextRequestCapn ¶
func ReadRootGetRoomEventContextRequestCapn(msg *capnp.Message) (GetRoomEventContextRequestCapn, error)
func (GetRoomEventContextRequestCapn) EventID ¶
func (s GetRoomEventContextRequestCapn) EventID() (string, error)
func (GetRoomEventContextRequestCapn) EventIDBytes ¶
func (s GetRoomEventContextRequestCapn) EventIDBytes() ([]byte, error)
func (GetRoomEventContextRequestCapn) HasEventID ¶
func (s GetRoomEventContextRequestCapn) HasEventID() bool
func (GetRoomEventContextRequestCapn) HasRoomID ¶
func (s GetRoomEventContextRequestCapn) HasRoomID() bool
func (GetRoomEventContextRequestCapn) Limit ¶
func (s GetRoomEventContextRequestCapn) Limit() int64
func (GetRoomEventContextRequestCapn) RoomID ¶
func (s GetRoomEventContextRequestCapn) RoomID() (string, error)
func (GetRoomEventContextRequestCapn) RoomIDBytes ¶
func (s GetRoomEventContextRequestCapn) RoomIDBytes() ([]byte, error)
func (GetRoomEventContextRequestCapn) SetEventID ¶
func (s GetRoomEventContextRequestCapn) SetEventID(v string) error
func (GetRoomEventContextRequestCapn) SetLimit ¶
func (s GetRoomEventContextRequestCapn) SetLimit(v int64)
func (GetRoomEventContextRequestCapn) SetRoomID ¶
func (s GetRoomEventContextRequestCapn) SetRoomID(v string) error
func (GetRoomEventContextRequestCapn) String ¶
func (s GetRoomEventContextRequestCapn) String() string
type GetRoomEventContextRequestCapn_List ¶
GetRoomEventContextRequestCapn_List is a list of GetRoomEventContextRequestCapn.
func NewGetRoomEventContextRequestCapn_List ¶
func NewGetRoomEventContextRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomEventContextRequestCapn_List, error)
NewGetRoomEventContextRequestCapn creates a new list of GetRoomEventContextRequestCapn.
func (GetRoomEventContextRequestCapn_List) At ¶
func (s GetRoomEventContextRequestCapn_List) At(i int) GetRoomEventContextRequestCapn
func (GetRoomEventContextRequestCapn_List) Set ¶
func (s GetRoomEventContextRequestCapn_List) Set(i int, v GetRoomEventContextRequestCapn) error
func (GetRoomEventContextRequestCapn_List) String ¶
func (s GetRoomEventContextRequestCapn_List) String() string
type GetRoomEventContextRequestCapn_Promise ¶
GetRoomEventContextRequestCapn_Promise is a wrapper for a GetRoomEventContextRequestCapn promised by a client call.
func (GetRoomEventContextRequestCapn_Promise) Struct ¶
func (p GetRoomEventContextRequestCapn_Promise) Struct() (GetRoomEventContextRequestCapn, error)
type GetRoomInfo ¶
type GetRoomInfo struct { Creator string `json:"creator"` RoomID string `json:"room_id"` RoomExists bool `json:"room_exists"` Name string `json:"name"` AvatarURL string `json:"avatar_url"` IsDirect bool `json:"is_direct"` IsChannel bool `json:"is_channel"` IsFederate bool `json:"is_federate"` Topic string `json:"topic"` JoinMembers []string `json:"join_members"` PowerLevels jsonRaw.RawMessage `json:"power_levels"` }
type GetRoomInfoRequest ¶
type GetRoomInfoRequest struct {
RoomIDs []string `json:"room_ids"`
}
GET /_matrix/client/r0/rooms
func (*GetRoomInfoRequest) Decode ¶
func (externalReq *GetRoomInfoRequest) Decode(data []byte) error
func (*GetRoomInfoRequest) Encode ¶
func (externalReq *GetRoomInfoRequest) Encode() ([]byte, error)
type GetRoomInfoResponse ¶
type GetRoomInfoResponse struct {
Rooms []GetRoomInfo `json:"rooms"`
}
func (*GetRoomInfoResponse) Decode ¶
func (res *GetRoomInfoResponse) Decode(input []byte) error
func (*GetRoomInfoResponse) Encode ¶
func (res *GetRoomInfoResponse) Encode() ([]byte, error)
type GetRoomInitialSyncRequest ¶
type GetRoomInitialSyncRequest struct {
RoomID string `json:"roomId,omitempty"`
}
GET /_matrix/client/r0/rooms/{roomId}/initialSync
func (*GetRoomInitialSyncRequest) Decode ¶
func (externalReq *GetRoomInitialSyncRequest) Decode(input []byte) error
func (*GetRoomInitialSyncRequest) Encode ¶
func (externalReq *GetRoomInitialSyncRequest) Encode() ([]byte, error)
type GetRoomInitialSyncRequestCapn ¶
func NewGetRoomInitialSyncRequestCapn ¶
func NewGetRoomInitialSyncRequestCapn(s *capnp.Segment) (GetRoomInitialSyncRequestCapn, error)
func NewRootGetRoomInitialSyncRequestCapn ¶
func NewRootGetRoomInitialSyncRequestCapn(s *capnp.Segment) (GetRoomInitialSyncRequestCapn, error)
func ReadRootGetRoomInitialSyncRequestCapn ¶
func ReadRootGetRoomInitialSyncRequestCapn(msg *capnp.Message) (GetRoomInitialSyncRequestCapn, error)
func (GetRoomInitialSyncRequestCapn) HasRoomID ¶
func (s GetRoomInitialSyncRequestCapn) HasRoomID() bool
func (GetRoomInitialSyncRequestCapn) RoomID ¶
func (s GetRoomInitialSyncRequestCapn) RoomID() (string, error)
func (GetRoomInitialSyncRequestCapn) RoomIDBytes ¶
func (s GetRoomInitialSyncRequestCapn) RoomIDBytes() ([]byte, error)
func (GetRoomInitialSyncRequestCapn) SetRoomID ¶
func (s GetRoomInitialSyncRequestCapn) SetRoomID(v string) error
func (GetRoomInitialSyncRequestCapn) String ¶
func (s GetRoomInitialSyncRequestCapn) String() string
type GetRoomInitialSyncRequestCapn_List ¶
GetRoomInitialSyncRequestCapn_List is a list of GetRoomInitialSyncRequestCapn.
func NewGetRoomInitialSyncRequestCapn_List ¶
func NewGetRoomInitialSyncRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomInitialSyncRequestCapn_List, error)
NewGetRoomInitialSyncRequestCapn creates a new list of GetRoomInitialSyncRequestCapn.
func (GetRoomInitialSyncRequestCapn_List) At ¶
func (s GetRoomInitialSyncRequestCapn_List) At(i int) GetRoomInitialSyncRequestCapn
func (GetRoomInitialSyncRequestCapn_List) Set ¶
func (s GetRoomInitialSyncRequestCapn_List) Set(i int, v GetRoomInitialSyncRequestCapn) error
func (GetRoomInitialSyncRequestCapn_List) String ¶
func (s GetRoomInitialSyncRequestCapn_List) String() string
type GetRoomInitialSyncRequestCapn_Promise ¶
GetRoomInitialSyncRequestCapn_Promise is a wrapper for a GetRoomInitialSyncRequestCapn promised by a client call.
func (GetRoomInitialSyncRequestCapn_Promise) Struct ¶
func (p GetRoomInitialSyncRequestCapn_Promise) Struct() (GetRoomInitialSyncRequestCapn, error)
type GetRoomJoinedMembersRequest ¶
type GetRoomJoinedMembersRequest struct {
RoomID string `json:"roomId,omitempty"`
}
GET /_matrix/client/r0/rooms/{roomId}/joined_members
func (*GetRoomJoinedMembersRequest) Decode ¶
func (externalReq *GetRoomJoinedMembersRequest) Decode(input []byte) error
func (*GetRoomJoinedMembersRequest) Encode ¶
func (externalReq *GetRoomJoinedMembersRequest) Encode() ([]byte, error)
type GetRoomJoinedMembersRequestCapn ¶
func NewGetRoomJoinedMembersRequestCapn ¶
func NewGetRoomJoinedMembersRequestCapn(s *capnp.Segment) (GetRoomJoinedMembersRequestCapn, error)
func NewRootGetRoomJoinedMembersRequestCapn ¶
func NewRootGetRoomJoinedMembersRequestCapn(s *capnp.Segment) (GetRoomJoinedMembersRequestCapn, error)
func ReadRootGetRoomJoinedMembersRequestCapn ¶
func ReadRootGetRoomJoinedMembersRequestCapn(msg *capnp.Message) (GetRoomJoinedMembersRequestCapn, error)
func (GetRoomJoinedMembersRequestCapn) HasRoomID ¶
func (s GetRoomJoinedMembersRequestCapn) HasRoomID() bool
func (GetRoomJoinedMembersRequestCapn) RoomID ¶
func (s GetRoomJoinedMembersRequestCapn) RoomID() (string, error)
func (GetRoomJoinedMembersRequestCapn) RoomIDBytes ¶
func (s GetRoomJoinedMembersRequestCapn) RoomIDBytes() ([]byte, error)
func (GetRoomJoinedMembersRequestCapn) SetRoomID ¶
func (s GetRoomJoinedMembersRequestCapn) SetRoomID(v string) error
func (GetRoomJoinedMembersRequestCapn) String ¶
func (s GetRoomJoinedMembersRequestCapn) String() string
type GetRoomJoinedMembersRequestCapn_List ¶
GetRoomJoinedMembersRequestCapn_List is a list of GetRoomJoinedMembersRequestCapn.
func NewGetRoomJoinedMembersRequestCapn_List ¶
func NewGetRoomJoinedMembersRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomJoinedMembersRequestCapn_List, error)
NewGetRoomJoinedMembersRequestCapn creates a new list of GetRoomJoinedMembersRequestCapn.
func (GetRoomJoinedMembersRequestCapn_List) Set ¶
func (s GetRoomJoinedMembersRequestCapn_List) Set(i int, v GetRoomJoinedMembersRequestCapn) error
func (GetRoomJoinedMembersRequestCapn_List) String ¶
func (s GetRoomJoinedMembersRequestCapn_List) String() string
type GetRoomJoinedMembersRequestCapn_Promise ¶
GetRoomJoinedMembersRequestCapn_Promise is a wrapper for a GetRoomJoinedMembersRequestCapn promised by a client call.
func (GetRoomJoinedMembersRequestCapn_Promise) Struct ¶
func (p GetRoomJoinedMembersRequestCapn_Promise) Struct() (GetRoomJoinedMembersRequestCapn, error)
type GetRoomJoinedMembersResponse ¶
type GetRoomJoinedMembersResponse struct {
Joined map[string]RoomMember `json:"joined,omitempty"`
}
type GetRoomMembersRequest ¶
type GetRoomMembersRequest struct {
RoomID string `json:"roomId,omitempty"`
}
GET /_matrix/client/r0/rooms/{roomId}/members
func (*GetRoomMembersRequest) Decode ¶
func (externalReq *GetRoomMembersRequest) Decode(input []byte) error
func (*GetRoomMembersRequest) Encode ¶
func (externalReq *GetRoomMembersRequest) Encode() ([]byte, error)
type GetRoomMembersRequestCapn ¶
func NewGetRoomMembersRequestCapn ¶
func NewGetRoomMembersRequestCapn(s *capnp.Segment) (GetRoomMembersRequestCapn, error)
func NewRootGetRoomMembersRequestCapn ¶
func NewRootGetRoomMembersRequestCapn(s *capnp.Segment) (GetRoomMembersRequestCapn, error)
func ReadRootGetRoomMembersRequestCapn ¶
func ReadRootGetRoomMembersRequestCapn(msg *capnp.Message) (GetRoomMembersRequestCapn, error)
func (GetRoomMembersRequestCapn) HasRoomID ¶
func (s GetRoomMembersRequestCapn) HasRoomID() bool
func (GetRoomMembersRequestCapn) RoomID ¶
func (s GetRoomMembersRequestCapn) RoomID() (string, error)
func (GetRoomMembersRequestCapn) RoomIDBytes ¶
func (s GetRoomMembersRequestCapn) RoomIDBytes() ([]byte, error)
func (GetRoomMembersRequestCapn) SetRoomID ¶
func (s GetRoomMembersRequestCapn) SetRoomID(v string) error
func (GetRoomMembersRequestCapn) String ¶
func (s GetRoomMembersRequestCapn) String() string
type GetRoomMembersRequestCapn_List ¶
GetRoomMembersRequestCapn_List is a list of GetRoomMembersRequestCapn.
func NewGetRoomMembersRequestCapn_List ¶
func NewGetRoomMembersRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomMembersRequestCapn_List, error)
NewGetRoomMembersRequestCapn creates a new list of GetRoomMembersRequestCapn.
func (GetRoomMembersRequestCapn_List) At ¶
func (s GetRoomMembersRequestCapn_List) At(i int) GetRoomMembersRequestCapn
func (GetRoomMembersRequestCapn_List) Set ¶
func (s GetRoomMembersRequestCapn_List) Set(i int, v GetRoomMembersRequestCapn) error
func (GetRoomMembersRequestCapn_List) String ¶
func (s GetRoomMembersRequestCapn_List) String() string
type GetRoomMembersRequestCapn_Promise ¶
GetRoomMembersRequestCapn_Promise is a wrapper for a GetRoomMembersRequestCapn promised by a client call.
func (GetRoomMembersRequestCapn_Promise) Struct ¶
func (p GetRoomMembersRequestCapn_Promise) Struct() (GetRoomMembersRequestCapn, error)
type GetRoomMembersResponse ¶
type GetRoomMembersResponse struct {
Chunk []MemberEvent `json:"chunk,omitempty"`
}
type GetRoomMessagesRequest ¶
type GetRoomMessagesRequest struct { RoomID string `json:"roomId,omitempty"` From string `json:"from,omitempty"` To string `json:"to,omitempty"` Dir string `json:"dir,omitempty"` Limit string `json:"limit,omitempty"` Filter string `json:"filter,omitempty"` }
GET /_matrix/client/r0/rooms/{roomId}/messages
func (*GetRoomMessagesRequest) Decode ¶
func (externalReq *GetRoomMessagesRequest) Decode(input []byte) error
func (*GetRoomMessagesRequest) Encode ¶
func (externalReq *GetRoomMessagesRequest) Encode() ([]byte, error)
type GetRoomMessagesRequestCapn ¶
func NewGetRoomMessagesRequestCapn ¶
func NewGetRoomMessagesRequestCapn(s *capnp.Segment) (GetRoomMessagesRequestCapn, error)
func NewRootGetRoomMessagesRequestCapn ¶
func NewRootGetRoomMessagesRequestCapn(s *capnp.Segment) (GetRoomMessagesRequestCapn, error)
func ReadRootGetRoomMessagesRequestCapn ¶
func ReadRootGetRoomMessagesRequestCapn(msg *capnp.Message) (GetRoomMessagesRequestCapn, error)
func (GetRoomMessagesRequestCapn) Dir ¶
func (s GetRoomMessagesRequestCapn) Dir() (string, error)
func (GetRoomMessagesRequestCapn) DirBytes ¶
func (s GetRoomMessagesRequestCapn) DirBytes() ([]byte, error)
func (GetRoomMessagesRequestCapn) Filter ¶
func (s GetRoomMessagesRequestCapn) Filter() (string, error)
func (GetRoomMessagesRequestCapn) FilterBytes ¶
func (s GetRoomMessagesRequestCapn) FilterBytes() ([]byte, error)
func (GetRoomMessagesRequestCapn) From ¶
func (s GetRoomMessagesRequestCapn) From() (string, error)
func (GetRoomMessagesRequestCapn) FromBytes ¶
func (s GetRoomMessagesRequestCapn) FromBytes() ([]byte, error)
func (GetRoomMessagesRequestCapn) HasDir ¶
func (s GetRoomMessagesRequestCapn) HasDir() bool
func (GetRoomMessagesRequestCapn) HasFilter ¶
func (s GetRoomMessagesRequestCapn) HasFilter() bool
func (GetRoomMessagesRequestCapn) HasFrom ¶
func (s GetRoomMessagesRequestCapn) HasFrom() bool
func (GetRoomMessagesRequestCapn) HasLimit ¶
func (s GetRoomMessagesRequestCapn) HasLimit() bool
func (GetRoomMessagesRequestCapn) HasRoomID ¶
func (s GetRoomMessagesRequestCapn) HasRoomID() bool
func (GetRoomMessagesRequestCapn) Limit ¶
func (s GetRoomMessagesRequestCapn) Limit() (string, error)
func (GetRoomMessagesRequestCapn) LimitBytes ¶
func (s GetRoomMessagesRequestCapn) LimitBytes() ([]byte, error)
func (GetRoomMessagesRequestCapn) RoomID ¶
func (s GetRoomMessagesRequestCapn) RoomID() (string, error)
func (GetRoomMessagesRequestCapn) RoomIDBytes ¶
func (s GetRoomMessagesRequestCapn) RoomIDBytes() ([]byte, error)
func (GetRoomMessagesRequestCapn) SetDir ¶
func (s GetRoomMessagesRequestCapn) SetDir(v string) error
func (GetRoomMessagesRequestCapn) SetFilter ¶
func (s GetRoomMessagesRequestCapn) SetFilter(v string) error
func (GetRoomMessagesRequestCapn) SetFrom ¶
func (s GetRoomMessagesRequestCapn) SetFrom(v string) error
func (GetRoomMessagesRequestCapn) SetLimit ¶
func (s GetRoomMessagesRequestCapn) SetLimit(v string) error
func (GetRoomMessagesRequestCapn) SetRoomID ¶
func (s GetRoomMessagesRequestCapn) SetRoomID(v string) error
func (GetRoomMessagesRequestCapn) String ¶
func (s GetRoomMessagesRequestCapn) String() string
type GetRoomMessagesRequestCapn_List ¶
GetRoomMessagesRequestCapn_List is a list of GetRoomMessagesRequestCapn.
func NewGetRoomMessagesRequestCapn_List ¶
func NewGetRoomMessagesRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomMessagesRequestCapn_List, error)
NewGetRoomMessagesRequestCapn creates a new list of GetRoomMessagesRequestCapn.
func (GetRoomMessagesRequestCapn_List) At ¶
func (s GetRoomMessagesRequestCapn_List) At(i int) GetRoomMessagesRequestCapn
func (GetRoomMessagesRequestCapn_List) Set ¶
func (s GetRoomMessagesRequestCapn_List) Set(i int, v GetRoomMessagesRequestCapn) error
func (GetRoomMessagesRequestCapn_List) String ¶
func (s GetRoomMessagesRequestCapn_List) String() string
type GetRoomMessagesRequestCapn_Promise ¶
GetRoomMessagesRequestCapn_Promise is a wrapper for a GetRoomMessagesRequestCapn promised by a client call.
func (GetRoomMessagesRequestCapn_Promise) Struct ¶
func (p GetRoomMessagesRequestCapn_Promise) Struct() (GetRoomMessagesRequestCapn, error)
type GetRoomMessagesResponse ¶
type GetRoomMessagesResponseCapn ¶
func NewGetRoomMessagesResponseCapn ¶
func NewGetRoomMessagesResponseCapn(s *capnp.Segment) (GetRoomMessagesResponseCapn, error)
func NewRootGetRoomMessagesResponseCapn ¶
func NewRootGetRoomMessagesResponseCapn(s *capnp.Segment) (GetRoomMessagesResponseCapn, error)
func ReadRootGetRoomMessagesResponseCapn ¶
func ReadRootGetRoomMessagesResponseCapn(msg *capnp.Message) (GetRoomMessagesResponseCapn, error)
func (GetRoomMessagesResponseCapn) Chunk ¶
func (s GetRoomMessagesResponseCapn) Chunk() (RoomEventCapn_List, error)
func (GetRoomMessagesResponseCapn) End ¶
func (s GetRoomMessagesResponseCapn) End() (string, error)
func (GetRoomMessagesResponseCapn) EndBytes ¶
func (s GetRoomMessagesResponseCapn) EndBytes() ([]byte, error)
func (GetRoomMessagesResponseCapn) HasChunk ¶
func (s GetRoomMessagesResponseCapn) HasChunk() bool
func (GetRoomMessagesResponseCapn) HasEnd ¶
func (s GetRoomMessagesResponseCapn) HasEnd() bool
func (GetRoomMessagesResponseCapn) HasStart ¶
func (s GetRoomMessagesResponseCapn) HasStart() bool
func (GetRoomMessagesResponseCapn) NewChunk ¶
func (s GetRoomMessagesResponseCapn) NewChunk(n int32) (RoomEventCapn_List, error)
NewChunk sets the chunk field to a newly allocated RoomEventCapn_List, preferring placement in s's segment.
func (GetRoomMessagesResponseCapn) SetChunk ¶
func (s GetRoomMessagesResponseCapn) SetChunk(v RoomEventCapn_List) error
func (GetRoomMessagesResponseCapn) SetEnd ¶
func (s GetRoomMessagesResponseCapn) SetEnd(v string) error
func (GetRoomMessagesResponseCapn) SetStart ¶
func (s GetRoomMessagesResponseCapn) SetStart(v string) error
func (GetRoomMessagesResponseCapn) Start ¶
func (s GetRoomMessagesResponseCapn) Start() (string, error)
func (GetRoomMessagesResponseCapn) StartBytes ¶
func (s GetRoomMessagesResponseCapn) StartBytes() ([]byte, error)
func (GetRoomMessagesResponseCapn) String ¶
func (s GetRoomMessagesResponseCapn) String() string
type GetRoomMessagesResponseCapn_List ¶
GetRoomMessagesResponseCapn_List is a list of GetRoomMessagesResponseCapn.
func NewGetRoomMessagesResponseCapn_List ¶
func NewGetRoomMessagesResponseCapn_List(s *capnp.Segment, sz int32) (GetRoomMessagesResponseCapn_List, error)
NewGetRoomMessagesResponseCapn creates a new list of GetRoomMessagesResponseCapn.
func (GetRoomMessagesResponseCapn_List) At ¶
func (s GetRoomMessagesResponseCapn_List) At(i int) GetRoomMessagesResponseCapn
func (GetRoomMessagesResponseCapn_List) Set ¶
func (s GetRoomMessagesResponseCapn_List) Set(i int, v GetRoomMessagesResponseCapn) error
func (GetRoomMessagesResponseCapn_List) String ¶
func (s GetRoomMessagesResponseCapn_List) String() string
type GetRoomMessagesResponseCapn_Promise ¶
GetRoomMessagesResponseCapn_Promise is a wrapper for a GetRoomMessagesResponseCapn promised by a client call.
func (GetRoomMessagesResponseCapn_Promise) Struct ¶
func (p GetRoomMessagesResponseCapn_Promise) Struct() (GetRoomMessagesResponseCapn, error)
type GetRoomStateByTypeAndStateKeyRequest ¶
type GetRoomStateByTypeAndStateKeyRequest struct { RoomID string `json:"roomId,omitempty"` EventType string `json:"eventType,omitempty"` StateKey string `json:"stateKey,omitempty"` }
GET /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}
func (*GetRoomStateByTypeAndStateKeyRequest) Decode ¶
func (externalReq *GetRoomStateByTypeAndStateKeyRequest) Decode(input []byte) error
func (*GetRoomStateByTypeAndStateKeyRequest) Encode ¶
func (externalReq *GetRoomStateByTypeAndStateKeyRequest) Encode() ([]byte, error)
type GetRoomStateByTypeAndStateKeyRequestCapn ¶
func NewGetRoomStateByTypeAndStateKeyRequestCapn ¶
func NewGetRoomStateByTypeAndStateKeyRequestCapn(s *capnp.Segment) (GetRoomStateByTypeAndStateKeyRequestCapn, error)
func NewRootGetRoomStateByTypeAndStateKeyRequestCapn ¶
func NewRootGetRoomStateByTypeAndStateKeyRequestCapn(s *capnp.Segment) (GetRoomStateByTypeAndStateKeyRequestCapn, error)
func ReadRootGetRoomStateByTypeAndStateKeyRequestCapn ¶
func ReadRootGetRoomStateByTypeAndStateKeyRequestCapn(msg *capnp.Message) (GetRoomStateByTypeAndStateKeyRequestCapn, error)
func (GetRoomStateByTypeAndStateKeyRequestCapn) EventType ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) EventType() (string, error)
func (GetRoomStateByTypeAndStateKeyRequestCapn) EventTypeBytes ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) EventTypeBytes() ([]byte, error)
func (GetRoomStateByTypeAndStateKeyRequestCapn) HasEventType ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) HasEventType() bool
func (GetRoomStateByTypeAndStateKeyRequestCapn) HasRoomID ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) HasRoomID() bool
func (GetRoomStateByTypeAndStateKeyRequestCapn) HasStateKey ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) HasStateKey() bool
func (GetRoomStateByTypeAndStateKeyRequestCapn) RoomID ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) RoomID() (string, error)
func (GetRoomStateByTypeAndStateKeyRequestCapn) RoomIDBytes ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) RoomIDBytes() ([]byte, error)
func (GetRoomStateByTypeAndStateKeyRequestCapn) SetEventType ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) SetEventType(v string) error
func (GetRoomStateByTypeAndStateKeyRequestCapn) SetRoomID ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) SetRoomID(v string) error
func (GetRoomStateByTypeAndStateKeyRequestCapn) SetStateKey ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) SetStateKey(v string) error
func (GetRoomStateByTypeAndStateKeyRequestCapn) StateKey ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) StateKey() (string, error)
func (GetRoomStateByTypeAndStateKeyRequestCapn) StateKeyBytes ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) StateKeyBytes() ([]byte, error)
func (GetRoomStateByTypeAndStateKeyRequestCapn) String ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn) String() string
type GetRoomStateByTypeAndStateKeyRequestCapn_List ¶
GetRoomStateByTypeAndStateKeyRequestCapn_List is a list of GetRoomStateByTypeAndStateKeyRequestCapn.
func NewGetRoomStateByTypeAndStateKeyRequestCapn_List ¶
func NewGetRoomStateByTypeAndStateKeyRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomStateByTypeAndStateKeyRequestCapn_List, error)
NewGetRoomStateByTypeAndStateKeyRequestCapn creates a new list of GetRoomStateByTypeAndStateKeyRequestCapn.
func (GetRoomStateByTypeAndStateKeyRequestCapn_List) String ¶
func (s GetRoomStateByTypeAndStateKeyRequestCapn_List) String() string
type GetRoomStateByTypeAndStateKeyRequestCapn_Promise ¶
GetRoomStateByTypeAndStateKeyRequestCapn_Promise is a wrapper for a GetRoomStateByTypeAndStateKeyRequestCapn promised by a client call.
type GetRoomStateByTypeRequest ¶
type GetRoomStateByTypeRequest struct { RoomID string `json:"roomId,omitempty"` EventType string `json:"eventType,omitempty"` }
GET /_matrix/client/r0/rooms/{roomId}/state/{eventType}
func (*GetRoomStateByTypeRequest) Decode ¶
func (externalReq *GetRoomStateByTypeRequest) Decode(input []byte) error
func (*GetRoomStateByTypeRequest) Encode ¶
func (externalReq *GetRoomStateByTypeRequest) Encode() ([]byte, error)
type GetRoomStateByTypeRequestCapn ¶
func NewGetRoomStateByTypeRequestCapn ¶
func NewGetRoomStateByTypeRequestCapn(s *capnp.Segment) (GetRoomStateByTypeRequestCapn, error)
func NewRootGetRoomStateByTypeRequestCapn ¶
func NewRootGetRoomStateByTypeRequestCapn(s *capnp.Segment) (GetRoomStateByTypeRequestCapn, error)
func ReadRootGetRoomStateByTypeRequestCapn ¶
func ReadRootGetRoomStateByTypeRequestCapn(msg *capnp.Message) (GetRoomStateByTypeRequestCapn, error)
func (GetRoomStateByTypeRequestCapn) EventType ¶
func (s GetRoomStateByTypeRequestCapn) EventType() (string, error)
func (GetRoomStateByTypeRequestCapn) EventTypeBytes ¶
func (s GetRoomStateByTypeRequestCapn) EventTypeBytes() ([]byte, error)
func (GetRoomStateByTypeRequestCapn) HasEventType ¶
func (s GetRoomStateByTypeRequestCapn) HasEventType() bool
func (GetRoomStateByTypeRequestCapn) HasRoomID ¶
func (s GetRoomStateByTypeRequestCapn) HasRoomID() bool
func (GetRoomStateByTypeRequestCapn) RoomID ¶
func (s GetRoomStateByTypeRequestCapn) RoomID() (string, error)
func (GetRoomStateByTypeRequestCapn) RoomIDBytes ¶
func (s GetRoomStateByTypeRequestCapn) RoomIDBytes() ([]byte, error)
func (GetRoomStateByTypeRequestCapn) SetEventType ¶
func (s GetRoomStateByTypeRequestCapn) SetEventType(v string) error
func (GetRoomStateByTypeRequestCapn) SetRoomID ¶
func (s GetRoomStateByTypeRequestCapn) SetRoomID(v string) error
func (GetRoomStateByTypeRequestCapn) String ¶
func (s GetRoomStateByTypeRequestCapn) String() string
type GetRoomStateByTypeRequestCapn_List ¶
GetRoomStateByTypeRequestCapn_List is a list of GetRoomStateByTypeRequestCapn.
func NewGetRoomStateByTypeRequestCapn_List ¶
func NewGetRoomStateByTypeRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomStateByTypeRequestCapn_List, error)
NewGetRoomStateByTypeRequestCapn creates a new list of GetRoomStateByTypeRequestCapn.
func (GetRoomStateByTypeRequestCapn_List) At ¶
func (s GetRoomStateByTypeRequestCapn_List) At(i int) GetRoomStateByTypeRequestCapn
func (GetRoomStateByTypeRequestCapn_List) Set ¶
func (s GetRoomStateByTypeRequestCapn_List) Set(i int, v GetRoomStateByTypeRequestCapn) error
func (GetRoomStateByTypeRequestCapn_List) String ¶
func (s GetRoomStateByTypeRequestCapn_List) String() string
type GetRoomStateByTypeRequestCapn_Promise ¶
GetRoomStateByTypeRequestCapn_Promise is a wrapper for a GetRoomStateByTypeRequestCapn promised by a client call.
func (GetRoomStateByTypeRequestCapn_Promise) Struct ¶
func (p GetRoomStateByTypeRequestCapn_Promise) Struct() (GetRoomStateByTypeRequestCapn, error)
type GetRoomStateRequest ¶
type GetRoomStateRequest struct {
RoomID string `json:"roomId,omitempty"`
}
GET /_matrix/client/r0/rooms/{roomId}/state
func (*GetRoomStateRequest) Decode ¶
func (externalReq *GetRoomStateRequest) Decode(input []byte) error
func (*GetRoomStateRequest) Encode ¶
func (externalReq *GetRoomStateRequest) Encode() ([]byte, error)
type GetRoomStateRequestCapn ¶
func NewGetRoomStateRequestCapn ¶
func NewGetRoomStateRequestCapn(s *capnp.Segment) (GetRoomStateRequestCapn, error)
func NewRootGetRoomStateRequestCapn ¶
func NewRootGetRoomStateRequestCapn(s *capnp.Segment) (GetRoomStateRequestCapn, error)
func ReadRootGetRoomStateRequestCapn ¶
func ReadRootGetRoomStateRequestCapn(msg *capnp.Message) (GetRoomStateRequestCapn, error)
func (GetRoomStateRequestCapn) HasRoomID ¶
func (s GetRoomStateRequestCapn) HasRoomID() bool
func (GetRoomStateRequestCapn) RoomID ¶
func (s GetRoomStateRequestCapn) RoomID() (string, error)
func (GetRoomStateRequestCapn) RoomIDBytes ¶
func (s GetRoomStateRequestCapn) RoomIDBytes() ([]byte, error)
func (GetRoomStateRequestCapn) SetRoomID ¶
func (s GetRoomStateRequestCapn) SetRoomID(v string) error
func (GetRoomStateRequestCapn) String ¶
func (s GetRoomStateRequestCapn) String() string
type GetRoomStateRequestCapn_List ¶
GetRoomStateRequestCapn_List is a list of GetRoomStateRequestCapn.
func NewGetRoomStateRequestCapn_List ¶
func NewGetRoomStateRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomStateRequestCapn_List, error)
NewGetRoomStateRequestCapn creates a new list of GetRoomStateRequestCapn.
func (GetRoomStateRequestCapn_List) At ¶
func (s GetRoomStateRequestCapn_List) At(i int) GetRoomStateRequestCapn
func (GetRoomStateRequestCapn_List) Set ¶
func (s GetRoomStateRequestCapn_List) Set(i int, v GetRoomStateRequestCapn) error
func (GetRoomStateRequestCapn_List) String ¶
func (s GetRoomStateRequestCapn_List) String() string
type GetRoomStateRequestCapn_Promise ¶
GetRoomStateRequestCapn_Promise is a wrapper for a GetRoomStateRequestCapn promised by a client call.
func (GetRoomStateRequestCapn_Promise) Struct ¶
func (p GetRoomStateRequestCapn_Promise) Struct() (GetRoomStateRequestCapn, error)
type GetRoomStateResponse ¶
type GetRoomStateResponse struct {
StateEvents []StateEvent
}
type GetRoomVisibilityRangeRequest ¶
type GetRoomVisibilityRangeRequest struct { UserID string `json:"userID"` RoomID string `json:"roomID"` }
GET /_matrix/client/r0/rooms/{roomID}/visibility_range
func (*GetRoomVisibilityRangeRequest) Decode ¶
func (externalReq *GetRoomVisibilityRangeRequest) Decode(input []byte) error
func (*GetRoomVisibilityRangeRequest) Encode ¶
func (externalReq *GetRoomVisibilityRangeRequest) Encode() ([]byte, error)
type GetRoomVisibilityRangeResponse ¶
type GetRoomVisibilityRangeResponse struct {
Joined map[string]MemberContent `json:"joined"`
}
func (*GetRoomVisibilityRangeResponse) Decode ¶
func (res *GetRoomVisibilityRangeResponse) Decode(input []byte) error
func (*GetRoomVisibilityRangeResponse) Encode ¶
func (res *GetRoomVisibilityRangeResponse) Encode() ([]byte, error)
type GetRoomsTagsByIDRequest ¶
GET /_matrix/client/r0/user/{userId}/rooms/{roomId}/tags
func (*GetRoomsTagsByIDRequest) Decode ¶
func (externalReq *GetRoomsTagsByIDRequest) Decode(input []byte) error
func (*GetRoomsTagsByIDRequest) Encode ¶
func (externalReq *GetRoomsTagsByIDRequest) Encode() ([]byte, error)
type GetRoomsTagsByIDRequestCapn ¶
func NewGetRoomsTagsByIDRequestCapn ¶
func NewGetRoomsTagsByIDRequestCapn(s *capnp.Segment) (GetRoomsTagsByIDRequestCapn, error)
func NewRootGetRoomsTagsByIDRequestCapn ¶
func NewRootGetRoomsTagsByIDRequestCapn(s *capnp.Segment) (GetRoomsTagsByIDRequestCapn, error)
func ReadRootGetRoomsTagsByIDRequestCapn ¶
func ReadRootGetRoomsTagsByIDRequestCapn(msg *capnp.Message) (GetRoomsTagsByIDRequestCapn, error)
func (GetRoomsTagsByIDRequestCapn) HasRoomId ¶
func (s GetRoomsTagsByIDRequestCapn) HasRoomId() bool
func (GetRoomsTagsByIDRequestCapn) HasUserId ¶
func (s GetRoomsTagsByIDRequestCapn) HasUserId() bool
func (GetRoomsTagsByIDRequestCapn) RoomId ¶
func (s GetRoomsTagsByIDRequestCapn) RoomId() (string, error)
func (GetRoomsTagsByIDRequestCapn) RoomIdBytes ¶
func (s GetRoomsTagsByIDRequestCapn) RoomIdBytes() ([]byte, error)
func (GetRoomsTagsByIDRequestCapn) SetRoomId ¶
func (s GetRoomsTagsByIDRequestCapn) SetRoomId(v string) error
func (GetRoomsTagsByIDRequestCapn) SetUserId ¶
func (s GetRoomsTagsByIDRequestCapn) SetUserId(v string) error
func (GetRoomsTagsByIDRequestCapn) String ¶
func (s GetRoomsTagsByIDRequestCapn) String() string
func (GetRoomsTagsByIDRequestCapn) UserId ¶
func (s GetRoomsTagsByIDRequestCapn) UserId() (string, error)
func (GetRoomsTagsByIDRequestCapn) UserIdBytes ¶
func (s GetRoomsTagsByIDRequestCapn) UserIdBytes() ([]byte, error)
type GetRoomsTagsByIDRequestCapn_List ¶
GetRoomsTagsByIDRequestCapn_List is a list of GetRoomsTagsByIDRequestCapn.
func NewGetRoomsTagsByIDRequestCapn_List ¶
func NewGetRoomsTagsByIDRequestCapn_List(s *capnp.Segment, sz int32) (GetRoomsTagsByIDRequestCapn_List, error)
NewGetRoomsTagsByIDRequestCapn creates a new list of GetRoomsTagsByIDRequestCapn.
func (GetRoomsTagsByIDRequestCapn_List) At ¶
func (s GetRoomsTagsByIDRequestCapn_List) At(i int) GetRoomsTagsByIDRequestCapn
func (GetRoomsTagsByIDRequestCapn_List) Set ¶
func (s GetRoomsTagsByIDRequestCapn_List) Set(i int, v GetRoomsTagsByIDRequestCapn) error
func (GetRoomsTagsByIDRequestCapn_List) String ¶
func (s GetRoomsTagsByIDRequestCapn_List) String() string
type GetRoomsTagsByIDRequestCapn_Promise ¶
GetRoomsTagsByIDRequestCapn_Promise is a wrapper for a GetRoomsTagsByIDRequestCapn promised by a client call.
func (GetRoomsTagsByIDRequestCapn_Promise) Struct ¶
func (p GetRoomsTagsByIDRequestCapn_Promise) Struct() (GetRoomsTagsByIDRequestCapn, error)
type GetRoomsTagsByIDResponse ¶
type GetRoomsTagsByIDResponse struct {
Tags map[string]interface{} `json:"tags"`
}
func (*GetRoomsTagsByIDResponse) Decode ¶
func (res *GetRoomsTagsByIDResponse) Decode(input []byte) error
func (*GetRoomsTagsByIDResponse) Encode ¶
func (res *GetRoomsTagsByIDResponse) Encode() ([]byte, error)
type GetServerNamesResponse ¶
type GetServerNamesResponse struct {
ServerNames []string `json:"server_names"`
}
func (*GetServerNamesResponse) Decode ¶
func (externalReq *GetServerNamesResponse) Decode(input []byte) error
func (*GetServerNamesResponse) Encode ¶
func (externalReq *GetServerNamesResponse) Encode() ([]byte, error)
type GetStateIDsRequest ¶
func (*GetStateIDsRequest) Decode ¶
func (externalReq *GetStateIDsRequest) Decode(data []byte) error
func (*GetStateIDsRequest) Encode ¶
func (externalReq *GetStateIDsRequest) Encode() ([]byte, error)
type GetStateIDsResponse ¶
type GetStateIDsResponse struct { AuthChainIDs []string `json:"auth_chain_ids"` PduIds []string `json:"pdu_ids"` }
func (*GetStateIDsResponse) Decode ¶
func (res *GetStateIDsResponse) Decode(input []byte) error
func (*GetStateIDsResponse) Encode ¶
func (r *GetStateIDsResponse) Encode() ([]byte, error)
type GetSyncRequest ¶
type GetSyncRequest struct { Filter string `json:"filter"` Since string `json:"since"` FullState string `json:"full_state"` SetPresence string `json:"set_presence"` TimeOut string `json:"timeout"` From string `json:"from"` }
GET /_matrix/client/r0/sync
func (*GetSyncRequest) Decode ¶
func (externalReq *GetSyncRequest) Decode(input []byte) error
func (*GetSyncRequest) Encode ¶
func (externalReq *GetSyncRequest) Encode() ([]byte, error)
type GetSyncRequestCapn ¶
func NewGetSyncRequestCapn ¶
func NewGetSyncRequestCapn(s *capnp.Segment) (GetSyncRequestCapn, error)
func NewRootGetSyncRequestCapn ¶
func NewRootGetSyncRequestCapn(s *capnp.Segment) (GetSyncRequestCapn, error)
func ReadRootGetSyncRequestCapn ¶
func ReadRootGetSyncRequestCapn(msg *capnp.Message) (GetSyncRequestCapn, error)
func (GetSyncRequestCapn) Filter ¶
func (s GetSyncRequestCapn) Filter() (string, error)
func (GetSyncRequestCapn) FilterBytes ¶
func (s GetSyncRequestCapn) FilterBytes() ([]byte, error)
func (GetSyncRequestCapn) From ¶
func (s GetSyncRequestCapn) From() (string, error)
func (GetSyncRequestCapn) FromBytes ¶
func (s GetSyncRequestCapn) FromBytes() ([]byte, error)
func (GetSyncRequestCapn) FullState ¶
func (s GetSyncRequestCapn) FullState() (string, error)
func (GetSyncRequestCapn) FullStateBytes ¶
func (s GetSyncRequestCapn) FullStateBytes() ([]byte, error)
func (GetSyncRequestCapn) HasFilter ¶
func (s GetSyncRequestCapn) HasFilter() bool
func (GetSyncRequestCapn) HasFrom ¶
func (s GetSyncRequestCapn) HasFrom() bool
func (GetSyncRequestCapn) HasFullState ¶
func (s GetSyncRequestCapn) HasFullState() bool
func (GetSyncRequestCapn) HasSetPresence ¶
func (s GetSyncRequestCapn) HasSetPresence() bool
func (GetSyncRequestCapn) HasSince ¶
func (s GetSyncRequestCapn) HasSince() bool
func (GetSyncRequestCapn) HasTimeOut ¶
func (s GetSyncRequestCapn) HasTimeOut() bool
func (GetSyncRequestCapn) SetFilter ¶
func (s GetSyncRequestCapn) SetFilter(v string) error
func (GetSyncRequestCapn) SetFrom ¶
func (s GetSyncRequestCapn) SetFrom(v string) error
func (GetSyncRequestCapn) SetFullState ¶
func (s GetSyncRequestCapn) SetFullState(v string) error
func (GetSyncRequestCapn) SetPresence ¶
func (s GetSyncRequestCapn) SetPresence() (string, error)
func (GetSyncRequestCapn) SetPresenceBytes ¶
func (s GetSyncRequestCapn) SetPresenceBytes() ([]byte, error)
func (GetSyncRequestCapn) SetSetPresence ¶
func (s GetSyncRequestCapn) SetSetPresence(v string) error
func (GetSyncRequestCapn) SetSince ¶
func (s GetSyncRequestCapn) SetSince(v string) error
func (GetSyncRequestCapn) SetTimeOut ¶
func (s GetSyncRequestCapn) SetTimeOut(v string) error
func (GetSyncRequestCapn) Since ¶
func (s GetSyncRequestCapn) Since() (string, error)
func (GetSyncRequestCapn) SinceBytes ¶
func (s GetSyncRequestCapn) SinceBytes() ([]byte, error)
func (GetSyncRequestCapn) String ¶
func (s GetSyncRequestCapn) String() string
func (GetSyncRequestCapn) TimeOut ¶
func (s GetSyncRequestCapn) TimeOut() (string, error)
func (GetSyncRequestCapn) TimeOutBytes ¶
func (s GetSyncRequestCapn) TimeOutBytes() ([]byte, error)
type GetSyncRequestCapn_List ¶
GetSyncRequestCapn_List is a list of GetSyncRequestCapn.
func NewGetSyncRequestCapn_List ¶
func NewGetSyncRequestCapn_List(s *capnp.Segment, sz int32) (GetSyncRequestCapn_List, error)
NewGetSyncRequestCapn creates a new list of GetSyncRequestCapn.
func (GetSyncRequestCapn_List) At ¶
func (s GetSyncRequestCapn_List) At(i int) GetSyncRequestCapn
func (GetSyncRequestCapn_List) Set ¶
func (s GetSyncRequestCapn_List) Set(i int, v GetSyncRequestCapn) error
func (GetSyncRequestCapn_List) String ¶
func (s GetSyncRequestCapn_List) String() string
type GetSyncRequestCapn_Promise ¶
GetSyncRequestCapn_Promise is a wrapper for a GetSyncRequestCapn promised by a client call.
func (GetSyncRequestCapn_Promise) Struct ¶
func (p GetSyncRequestCapn_Promise) Struct() (GetSyncRequestCapn, error)
type GetSyncResponse ¶
type GetSyncResponse struct { NextBatch string `json:"next_batch"` Rooms struct { Join map[string]JoinedRoom `json:"join"` Invite map[string]InvitedRoom `json:"invite"` Leave map[string]LeftRoom `json:"leave"` } `json:"rooms"` Presence Presence `json:"presence"` AccountData AccountData `json:"account_data"` ToDevice ToDevice `json:"to_device"` DeviceList DeviceLists `json:"device_lists"` DeviceOneTimeKeysCount map[string]int `json:"device_one_time_keys_count"` }
func (*GetSyncResponse) Decode ¶
func (res *GetSyncResponse) Decode(input []byte) error
func (*GetSyncResponse) Encode ¶
func (res *GetSyncResponse) Encode() ([]byte, error)
type GetThirdPartyLocationByProtocolRequest ¶
type GetThirdPartyLocationByProtocolRequest struct { Protocol string `json:"protocol"` SearchFields string `json:"searchFields"` }
GET /_matrix/client/r0/thirdparty/location/{protocol}
func (*GetThirdPartyLocationByProtocolRequest) Decode ¶
func (externalReq *GetThirdPartyLocationByProtocolRequest) Decode(input []byte) error
func (*GetThirdPartyLocationByProtocolRequest) Encode ¶
func (externalReq *GetThirdPartyLocationByProtocolRequest) Encode() ([]byte, error)
type GetThirdPartyLocationByProtocolResponse ¶
type GetThirdPartyLocationByProtocolResponse struct {
Body []Location `json:"<body"`
}
type GetThirdPartyLocationRequest ¶
type GetThirdPartyLocationRequest struct {
Alias string `json:"alias"`
}
GET /_matrix/client/r0/thirdparty/location
func (*GetThirdPartyLocationRequest) Decode ¶
func (externalReq *GetThirdPartyLocationRequest) Decode(input []byte) error
func (*GetThirdPartyLocationRequest) Encode ¶
func (externalReq *GetThirdPartyLocationRequest) Encode() ([]byte, error)
type GetThirdPartyLocationResponse ¶
type GetThirdPartyLocationResponse struct {
Body []Location `json:"<body>"`
}
type GetThirdPartyProtocalByNameRequest ¶
type GetThirdPartyProtocalByNameRequest struct {
Protocol string `json:"protocol"`
}
GET /_matrix/client/r0/thirdparty/protocol/{protocol}
func (*GetThirdPartyProtocalByNameRequest) Decode ¶
func (externalReq *GetThirdPartyProtocalByNameRequest) Decode(input []byte) error
func (*GetThirdPartyProtocalByNameRequest) Encode ¶
func (externalReq *GetThirdPartyProtocalByNameRequest) Encode() ([]byte, error)
type GetThirdPartyProtocalByNameResponse ¶
type GetThirdPartyProtocalByNameResponse struct { UserFields []string `json:"user_fields"` LocationFields []string `json:"location_fields"` Icon string `json:"icon"` FieldsTypes map[string]FieldsType `json:"fields_types"` Instances []ProtocolInstance `json:"instances"` }
type GetThirdPartyProtocalsResponse ¶
type GetThirdPartyProtocalsResponse struct { UserFields []string `json:"user_fields"` LocationFields []string `json:"location_fields"` Icon string `json:"icon"` FieldsTypes map[string]FieldsType `json:"fields_types"` Instances []ProtocolInstance `json:"instances"` }
GET /_matrix/client/r0/thirdparty/protocols
type GetThirdPartyUserByProtocolRequest ¶
type GetThirdPartyUserByProtocolRequest struct { Protocol string `json:"protocol"` Fields string `json:"fields..."` }
GET /_matrix/client/r0/thirdparty/user/{protocol}
func (*GetThirdPartyUserByProtocolRequest) Decode ¶
func (externalReq *GetThirdPartyUserByProtocolRequest) Decode(input []byte) error
func (*GetThirdPartyUserByProtocolRequest) Encode ¶
func (externalReq *GetThirdPartyUserByProtocolRequest) Encode() ([]byte, error)
type GetThirdPartyUserByProtocolResponse ¶
type GetThirdPartyUserByProtocolResponse struct {
Body []ThirdPartyUser `json:"<body>"`
}
type GetThirdPartyUserRequest ¶
type GetThirdPartyUserRequest struct {
UserID string `json:"userid"`
}
GET /_matrix/client/r0/thirdparty/user
func (*GetThirdPartyUserRequest) Decode ¶
func (externalReq *GetThirdPartyUserRequest) Decode(input []byte) error
func (*GetThirdPartyUserRequest) Encode ¶
func (externalReq *GetThirdPartyUserRequest) Encode() ([]byte, error)
type GetThirdPartyUserResponse ¶
type GetThirdPartyUserResponse struct {
Body []ThirdPartyUser `json:"<body>"`
}
type GetThreePIDsResponse ¶
type GetThreePIDsResponse struct {
ThreePIDs []ThreePID `json:"threepids"`
}
func (*GetThreePIDsResponse) Decode ¶
func (res *GetThreePIDsResponse) Decode(input []byte) error
func (*GetThreePIDsResponse) Encode ¶
func (res *GetThreePIDsResponse) Encode() ([]byte, error)
type GetTurnServerResponse ¶
type GetTurnServerResponse struct { UserName string `json:"username"` Password string `json:"password"` Uris []string `json:"uris"` TTL int `json:"ttl"` }
GET /_matrix/client/r0/voip/turnServer
func (*GetTurnServerResponse) Decode ¶
func (res *GetTurnServerResponse) Decode(input []byte) error
func (*GetTurnServerResponse) Encode ¶
func (res *GetTurnServerResponse) Encode() ([]byte, error)
type GetTurnServerResponseCapn ¶
func NewGetTurnServerResponseCapn ¶
func NewGetTurnServerResponseCapn(s *capnp.Segment) (GetTurnServerResponseCapn, error)
func NewRootGetTurnServerResponseCapn ¶
func NewRootGetTurnServerResponseCapn(s *capnp.Segment) (GetTurnServerResponseCapn, error)
func ReadRootGetTurnServerResponseCapn ¶
func ReadRootGetTurnServerResponseCapn(msg *capnp.Message) (GetTurnServerResponseCapn, error)
func (GetTurnServerResponseCapn) HasPassword ¶
func (s GetTurnServerResponseCapn) HasPassword() bool
func (GetTurnServerResponseCapn) HasUris ¶
func (s GetTurnServerResponseCapn) HasUris() bool
func (GetTurnServerResponseCapn) HasUserName ¶
func (s GetTurnServerResponseCapn) HasUserName() bool
func (GetTurnServerResponseCapn) NewUris ¶
func (s GetTurnServerResponseCapn) NewUris(n int32) (capnp.TextList, error)
NewUris sets the uris field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (GetTurnServerResponseCapn) Password ¶
func (s GetTurnServerResponseCapn) Password() (string, error)
func (GetTurnServerResponseCapn) PasswordBytes ¶
func (s GetTurnServerResponseCapn) PasswordBytes() ([]byte, error)
func (GetTurnServerResponseCapn) SetPassword ¶
func (s GetTurnServerResponseCapn) SetPassword(v string) error
func (GetTurnServerResponseCapn) SetTTL ¶
func (s GetTurnServerResponseCapn) SetTTL(v int64)
func (GetTurnServerResponseCapn) SetUris ¶
func (s GetTurnServerResponseCapn) SetUris(v capnp.TextList) error
func (GetTurnServerResponseCapn) SetUserName ¶
func (s GetTurnServerResponseCapn) SetUserName(v string) error
func (GetTurnServerResponseCapn) String ¶
func (s GetTurnServerResponseCapn) String() string
func (GetTurnServerResponseCapn) TTL ¶
func (s GetTurnServerResponseCapn) TTL() int64
func (GetTurnServerResponseCapn) Uris ¶
func (s GetTurnServerResponseCapn) Uris() (capnp.TextList, error)
func (GetTurnServerResponseCapn) UserName ¶
func (s GetTurnServerResponseCapn) UserName() (string, error)
func (GetTurnServerResponseCapn) UserNameBytes ¶
func (s GetTurnServerResponseCapn) UserNameBytes() ([]byte, error)
type GetTurnServerResponseCapn_List ¶
GetTurnServerResponseCapn_List is a list of GetTurnServerResponseCapn.
func NewGetTurnServerResponseCapn_List ¶
func NewGetTurnServerResponseCapn_List(s *capnp.Segment, sz int32) (GetTurnServerResponseCapn_List, error)
NewGetTurnServerResponseCapn creates a new list of GetTurnServerResponseCapn.
func (GetTurnServerResponseCapn_List) At ¶
func (s GetTurnServerResponseCapn_List) At(i int) GetTurnServerResponseCapn
func (GetTurnServerResponseCapn_List) Set ¶
func (s GetTurnServerResponseCapn_List) Set(i int, v GetTurnServerResponseCapn) error
func (GetTurnServerResponseCapn_List) String ¶
func (s GetTurnServerResponseCapn_List) String() string
type GetTurnServerResponseCapn_Promise ¶
GetTurnServerResponseCapn_Promise is a wrapper for a GetTurnServerResponseCapn promised by a client call.
func (GetTurnServerResponseCapn_Promise) Struct ¶
func (p GetTurnServerResponseCapn_Promise) Struct() (GetTurnServerResponseCapn, error)
type GetUserFilterRequest ¶
type GetUserFilterRequest struct { UserID string `json:"user_id"` FilterID string `json:"filter_id"` }
GET /_matrix/client/r0/user/{userId}/filter/{filterId}
func (*GetUserFilterRequest) Decode ¶
func (externalReq *GetUserFilterRequest) Decode(input []byte) error
func (*GetUserFilterRequest) Encode ¶
func (externalReq *GetUserFilterRequest) Encode() ([]byte, error)
type GetUserFilterRequestCapn ¶
func NewGetUserFilterRequestCapn ¶
func NewGetUserFilterRequestCapn(s *capnp.Segment) (GetUserFilterRequestCapn, error)
func NewRootGetUserFilterRequestCapn ¶
func NewRootGetUserFilterRequestCapn(s *capnp.Segment) (GetUserFilterRequestCapn, error)
func ReadRootGetUserFilterRequestCapn ¶
func ReadRootGetUserFilterRequestCapn(msg *capnp.Message) (GetUserFilterRequestCapn, error)
func (GetUserFilterRequestCapn) FilterID ¶
func (s GetUserFilterRequestCapn) FilterID() (string, error)
func (GetUserFilterRequestCapn) FilterIDBytes ¶
func (s GetUserFilterRequestCapn) FilterIDBytes() ([]byte, error)
func (GetUserFilterRequestCapn) HasFilterID ¶
func (s GetUserFilterRequestCapn) HasFilterID() bool
func (GetUserFilterRequestCapn) HasUserID ¶
func (s GetUserFilterRequestCapn) HasUserID() bool
func (GetUserFilterRequestCapn) SetFilterID ¶
func (s GetUserFilterRequestCapn) SetFilterID(v string) error
func (GetUserFilterRequestCapn) SetUserID ¶
func (s GetUserFilterRequestCapn) SetUserID(v string) error
func (GetUserFilterRequestCapn) String ¶
func (s GetUserFilterRequestCapn) String() string
func (GetUserFilterRequestCapn) UserID ¶
func (s GetUserFilterRequestCapn) UserID() (string, error)
func (GetUserFilterRequestCapn) UserIDBytes ¶
func (s GetUserFilterRequestCapn) UserIDBytes() ([]byte, error)
type GetUserFilterRequestCapn_List ¶
GetUserFilterRequestCapn_List is a list of GetUserFilterRequestCapn.
func NewGetUserFilterRequestCapn_List ¶
func NewGetUserFilterRequestCapn_List(s *capnp.Segment, sz int32) (GetUserFilterRequestCapn_List, error)
NewGetUserFilterRequestCapn creates a new list of GetUserFilterRequestCapn.
func (GetUserFilterRequestCapn_List) At ¶
func (s GetUserFilterRequestCapn_List) At(i int) GetUserFilterRequestCapn
func (GetUserFilterRequestCapn_List) Set ¶
func (s GetUserFilterRequestCapn_List) Set(i int, v GetUserFilterRequestCapn) error
func (GetUserFilterRequestCapn_List) String ¶
func (s GetUserFilterRequestCapn_List) String() string
type GetUserFilterRequestCapn_Promise ¶
GetUserFilterRequestCapn_Promise is a wrapper for a GetUserFilterRequestCapn promised by a client call.
func (GetUserFilterRequestCapn_Promise) Struct ¶
func (p GetUserFilterRequestCapn_Promise) Struct() (GetUserFilterRequestCapn, error)
type GetUserFilterResponse ¶
type GetUserFilterResponse struct { AccountData gomatrix.FilterPart `json:"account_data,omitempty"` EventFields []string `json:"event_fields,omitempty"` EventFormat string `json:"event_format,omitempty"` Presence gomatrix.FilterPart `json:"presence,omitempty"` Room struct { AccountData gomatrix.FilterPart `json:"account_data,omitempty"` Ephemeral gomatrix.FilterPart `json:"ephemeral,omitempty"` IncludeLeave bool `json:"include_leave,omitempty"` NotRooms []string `json:"not_rooms,omitempty"` Rooms []string `json:"rooms,omitempty"` State gomatrix.FilterPart `json:"state,omitempty"` Timeline gomatrix.FilterPart `json:"timeline,omitempty"` } `json:"room,omitempty"` }
func (*GetUserFilterResponse) Decode ¶
func (res *GetUserFilterResponse) Decode(input []byte) error
func (*GetUserFilterResponse) Encode ¶
func (res *GetUserFilterResponse) Encode() ([]byte, error)
type GetUserInfoListRequest ¶
type GetUserInfoListRequest struct {
UserIDs []string `json:"user_ids"`
}
GET /_matrix/client/r0/user_info_list
func (*GetUserInfoListRequest) Decode ¶
func (externalReq *GetUserInfoListRequest) Decode(data []byte) error
func (*GetUserInfoListRequest) Encode ¶
func (externalReq *GetUserInfoListRequest) Encode() ([]byte, error)
type GetUserInfoListResponse ¶
type GetUserInfoListResponse struct {
UserInfoList []UserInfoItem `json:"user_info_list"`
}
func (*GetUserInfoListResponse) Decode ¶
func (res *GetUserInfoListResponse) Decode(input []byte) error
func (*GetUserInfoListResponse) Encode ¶
func (r *GetUserInfoListResponse) Encode() ([]byte, error)
type GetUserInfoRequest ¶
type GetUserInfoRequest struct {
UserID string `json:"userID"`
}
GET /_matrix/client/r0/user_info/{userID}
func (*GetUserInfoRequest) Decode ¶
func (externalReq *GetUserInfoRequest) Decode(data []byte) error
func (*GetUserInfoRequest) Encode ¶
func (externalReq *GetUserInfoRequest) Encode() ([]byte, error)
type GetUserInfoResponse ¶
type GetUserInfoResponse struct { UserName string `json:"user_name"` JobNumber string `json:"job_number"` Mobile string `json:"mobile"` Landline string `json:"landline"` Email string `json:"email"` State int `json:"state,omitempty"` }
func (*GetUserInfoResponse) Decode ¶
func (res *GetUserInfoResponse) Decode(input []byte) error
func (*GetUserInfoResponse) Encode ¶
func (r *GetUserInfoResponse) Encode() ([]byte, error)
type GetUserPresenceListRequest ¶
type GetUserPresenceListRequest struct {
UserID string `json:"userId"`
}
GET /_matrix/client/r0/presence/list/{userId}
type GetUserPresenceListRequestCapn ¶
func NewGetUserPresenceListRequestCapn ¶
func NewGetUserPresenceListRequestCapn(s *capnp.Segment) (GetUserPresenceListRequestCapn, error)
func NewRootGetUserPresenceListRequestCapn ¶
func NewRootGetUserPresenceListRequestCapn(s *capnp.Segment) (GetUserPresenceListRequestCapn, error)
func ReadRootGetUserPresenceListRequestCapn ¶
func ReadRootGetUserPresenceListRequestCapn(msg *capnp.Message) (GetUserPresenceListRequestCapn, error)
func (GetUserPresenceListRequestCapn) HasUserID ¶
func (s GetUserPresenceListRequestCapn) HasUserID() bool
func (GetUserPresenceListRequestCapn) SetUserID ¶
func (s GetUserPresenceListRequestCapn) SetUserID(v string) error
func (GetUserPresenceListRequestCapn) String ¶
func (s GetUserPresenceListRequestCapn) String() string
func (GetUserPresenceListRequestCapn) UserID ¶
func (s GetUserPresenceListRequestCapn) UserID() (string, error)
func (GetUserPresenceListRequestCapn) UserIDBytes ¶
func (s GetUserPresenceListRequestCapn) UserIDBytes() ([]byte, error)
type GetUserPresenceListRequestCapn_List ¶
GetUserPresenceListRequestCapn_List is a list of GetUserPresenceListRequestCapn.
func NewGetUserPresenceListRequestCapn_List ¶
func NewGetUserPresenceListRequestCapn_List(s *capnp.Segment, sz int32) (GetUserPresenceListRequestCapn_List, error)
NewGetUserPresenceListRequestCapn creates a new list of GetUserPresenceListRequestCapn.
func (GetUserPresenceListRequestCapn_List) At ¶
func (s GetUserPresenceListRequestCapn_List) At(i int) GetUserPresenceListRequestCapn
func (GetUserPresenceListRequestCapn_List) Set ¶
func (s GetUserPresenceListRequestCapn_List) Set(i int, v GetUserPresenceListRequestCapn) error
func (GetUserPresenceListRequestCapn_List) String ¶
func (s GetUserPresenceListRequestCapn_List) String() string
type GetUserPresenceListRequestCapn_Promise ¶
GetUserPresenceListRequestCapn_Promise is a wrapper for a GetUserPresenceListRequestCapn promised by a client call.
func (GetUserPresenceListRequestCapn_Promise) Struct ¶
func (p GetUserPresenceListRequestCapn_Promise) Struct() (GetUserPresenceListRequestCapn, error)
type GetUserPresenceListResponse ¶
type GetUserPresenceListResponse []PresenceEvent
type GetUserPresenceRequest ¶
type GetUserPresenceRequest struct {
UserID string `json:"userId"`
}
GET /_matrix/client/r0/presence/{userId}/status
type GetUserPresenceRequestCapn ¶
func NewGetUserPresenceRequestCapn ¶
func NewGetUserPresenceRequestCapn(s *capnp.Segment) (GetUserPresenceRequestCapn, error)
func NewRootGetUserPresenceRequestCapn ¶
func NewRootGetUserPresenceRequestCapn(s *capnp.Segment) (GetUserPresenceRequestCapn, error)
func ReadRootGetUserPresenceRequestCapn ¶
func ReadRootGetUserPresenceRequestCapn(msg *capnp.Message) (GetUserPresenceRequestCapn, error)
func (GetUserPresenceRequestCapn) HasUserID ¶
func (s GetUserPresenceRequestCapn) HasUserID() bool
func (GetUserPresenceRequestCapn) SetUserID ¶
func (s GetUserPresenceRequestCapn) SetUserID(v string) error
func (GetUserPresenceRequestCapn) String ¶
func (s GetUserPresenceRequestCapn) String() string
func (GetUserPresenceRequestCapn) UserID ¶
func (s GetUserPresenceRequestCapn) UserID() (string, error)
func (GetUserPresenceRequestCapn) UserIDBytes ¶
func (s GetUserPresenceRequestCapn) UserIDBytes() ([]byte, error)
type GetUserPresenceRequestCapn_List ¶
GetUserPresenceRequestCapn_List is a list of GetUserPresenceRequestCapn.
func NewGetUserPresenceRequestCapn_List ¶
func NewGetUserPresenceRequestCapn_List(s *capnp.Segment, sz int32) (GetUserPresenceRequestCapn_List, error)
NewGetUserPresenceRequestCapn creates a new list of GetUserPresenceRequestCapn.
func (GetUserPresenceRequestCapn_List) At ¶
func (s GetUserPresenceRequestCapn_List) At(i int) GetUserPresenceRequestCapn
func (GetUserPresenceRequestCapn_List) Set ¶
func (s GetUserPresenceRequestCapn_List) Set(i int, v GetUserPresenceRequestCapn) error
func (GetUserPresenceRequestCapn_List) String ¶
func (s GetUserPresenceRequestCapn_List) String() string
type GetUserPresenceRequestCapn_Promise ¶
GetUserPresenceRequestCapn_Promise is a wrapper for a GetUserPresenceRequestCapn promised by a client call.
func (GetUserPresenceRequestCapn_Promise) Struct ¶
func (p GetUserPresenceRequestCapn_Promise) Struct() (GetUserPresenceRequestCapn, error)
type GetUserPresenceResponse ¶
type GetUserPresenceResponseCapn ¶
func NewGetUserPresenceResponseCapn ¶
func NewGetUserPresenceResponseCapn(s *capnp.Segment) (GetUserPresenceResponseCapn, error)
func NewRootGetUserPresenceResponseCapn ¶
func NewRootGetUserPresenceResponseCapn(s *capnp.Segment) (GetUserPresenceResponseCapn, error)
func ReadRootGetUserPresenceResponseCapn ¶
func ReadRootGetUserPresenceResponseCapn(msg *capnp.Message) (GetUserPresenceResponseCapn, error)
func (GetUserPresenceResponseCapn) CurrentlyActive ¶
func (s GetUserPresenceResponseCapn) CurrentlyActive() bool
func (GetUserPresenceResponseCapn) HasPresence ¶
func (s GetUserPresenceResponseCapn) HasPresence() bool
func (GetUserPresenceResponseCapn) HasStatus ¶
func (s GetUserPresenceResponseCapn) HasStatus() bool
func (GetUserPresenceResponseCapn) LastActiveAgo ¶
func (s GetUserPresenceResponseCapn) LastActiveAgo() int64
func (GetUserPresenceResponseCapn) Presence ¶
func (s GetUserPresenceResponseCapn) Presence() (string, error)
func (GetUserPresenceResponseCapn) PresenceBytes ¶
func (s GetUserPresenceResponseCapn) PresenceBytes() ([]byte, error)
func (GetUserPresenceResponseCapn) SetCurrentlyActive ¶
func (s GetUserPresenceResponseCapn) SetCurrentlyActive(v bool)
func (GetUserPresenceResponseCapn) SetLastActiveAgo ¶
func (s GetUserPresenceResponseCapn) SetLastActiveAgo(v int64)
func (GetUserPresenceResponseCapn) SetPresence ¶
func (s GetUserPresenceResponseCapn) SetPresence(v string) error
func (GetUserPresenceResponseCapn) SetStatus ¶
func (s GetUserPresenceResponseCapn) SetStatus(v string) error
func (GetUserPresenceResponseCapn) Status ¶
func (s GetUserPresenceResponseCapn) Status() (string, error)
func (GetUserPresenceResponseCapn) StatusBytes ¶
func (s GetUserPresenceResponseCapn) StatusBytes() ([]byte, error)
func (GetUserPresenceResponseCapn) String ¶
func (s GetUserPresenceResponseCapn) String() string
type GetUserPresenceResponseCapn_List ¶
GetUserPresenceResponseCapn_List is a list of GetUserPresenceResponseCapn.
func NewGetUserPresenceResponseCapn_List ¶
func NewGetUserPresenceResponseCapn_List(s *capnp.Segment, sz int32) (GetUserPresenceResponseCapn_List, error)
NewGetUserPresenceResponseCapn creates a new list of GetUserPresenceResponseCapn.
func (GetUserPresenceResponseCapn_List) At ¶
func (s GetUserPresenceResponseCapn_List) At(i int) GetUserPresenceResponseCapn
func (GetUserPresenceResponseCapn_List) Set ¶
func (s GetUserPresenceResponseCapn_List) Set(i int, v GetUserPresenceResponseCapn) error
func (GetUserPresenceResponseCapn_List) String ¶
func (s GetUserPresenceResponseCapn_List) String() string
type GetUserPresenceResponseCapn_Promise ¶
GetUserPresenceResponseCapn_Promise is a wrapper for a GetUserPresenceResponseCapn promised by a client call.
func (GetUserPresenceResponseCapn_Promise) Struct ¶
func (p GetUserPresenceResponseCapn_Promise) Struct() (GetUserPresenceResponseCapn, error)
type GetUserProfileAvatarURLRequest ¶
type GetUserProfileAvatarURLRequest struct {
UserID string `json:"user_id"`
}
GET /_matrix/client/r0/profile/{userId}/avatar_url
type GetUserProfileAvatarURLRequestCapn ¶
func NewGetUserProfileAvatarURLRequestCapn ¶
func NewGetUserProfileAvatarURLRequestCapn(s *capnp.Segment) (GetUserProfileAvatarURLRequestCapn, error)
func NewRootGetUserProfileAvatarURLRequestCapn ¶
func NewRootGetUserProfileAvatarURLRequestCapn(s *capnp.Segment) (GetUserProfileAvatarURLRequestCapn, error)
func ReadRootGetUserProfileAvatarURLRequestCapn ¶
func ReadRootGetUserProfileAvatarURLRequestCapn(msg *capnp.Message) (GetUserProfileAvatarURLRequestCapn, error)
func (GetUserProfileAvatarURLRequestCapn) HasUserID ¶
func (s GetUserProfileAvatarURLRequestCapn) HasUserID() bool
func (GetUserProfileAvatarURLRequestCapn) SetUserID ¶
func (s GetUserProfileAvatarURLRequestCapn) SetUserID(v string) error
func (GetUserProfileAvatarURLRequestCapn) String ¶
func (s GetUserProfileAvatarURLRequestCapn) String() string
func (GetUserProfileAvatarURLRequestCapn) UserID ¶
func (s GetUserProfileAvatarURLRequestCapn) UserID() (string, error)
func (GetUserProfileAvatarURLRequestCapn) UserIDBytes ¶
func (s GetUserProfileAvatarURLRequestCapn) UserIDBytes() ([]byte, error)
type GetUserProfileAvatarURLRequestCapn_List ¶
GetUserProfileAvatarURLRequestCapn_List is a list of GetUserProfileAvatarURLRequestCapn.
func NewGetUserProfileAvatarURLRequestCapn_List ¶
func NewGetUserProfileAvatarURLRequestCapn_List(s *capnp.Segment, sz int32) (GetUserProfileAvatarURLRequestCapn_List, error)
NewGetUserProfileAvatarURLRequestCapn creates a new list of GetUserProfileAvatarURLRequestCapn.
func (GetUserProfileAvatarURLRequestCapn_List) Set ¶
func (s GetUserProfileAvatarURLRequestCapn_List) Set(i int, v GetUserProfileAvatarURLRequestCapn) error
func (GetUserProfileAvatarURLRequestCapn_List) String ¶
func (s GetUserProfileAvatarURLRequestCapn_List) String() string
type GetUserProfileAvatarURLRequestCapn_Promise ¶
GetUserProfileAvatarURLRequestCapn_Promise is a wrapper for a GetUserProfileAvatarURLRequestCapn promised by a client call.
func (GetUserProfileAvatarURLRequestCapn_Promise) Struct ¶
func (p GetUserProfileAvatarURLRequestCapn_Promise) Struct() (GetUserProfileAvatarURLRequestCapn, error)
type GetUserProfileDisplayNameRequest ¶
type GetUserProfileDisplayNameRequest struct {
UserID string `json:"user_id"`
}
GET /_matrix/client/r0/profile/{userId}/displayname
type GetUserProfileDisplayNameRequestCapn ¶
func NewGetUserProfileDisplayNameRequestCapn ¶
func NewGetUserProfileDisplayNameRequestCapn(s *capnp.Segment) (GetUserProfileDisplayNameRequestCapn, error)
func NewRootGetUserProfileDisplayNameRequestCapn ¶
func NewRootGetUserProfileDisplayNameRequestCapn(s *capnp.Segment) (GetUserProfileDisplayNameRequestCapn, error)
func ReadRootGetUserProfileDisplayNameRequestCapn ¶
func ReadRootGetUserProfileDisplayNameRequestCapn(msg *capnp.Message) (GetUserProfileDisplayNameRequestCapn, error)
func (GetUserProfileDisplayNameRequestCapn) HasUserID ¶
func (s GetUserProfileDisplayNameRequestCapn) HasUserID() bool
func (GetUserProfileDisplayNameRequestCapn) SetUserID ¶
func (s GetUserProfileDisplayNameRequestCapn) SetUserID(v string) error
func (GetUserProfileDisplayNameRequestCapn) String ¶
func (s GetUserProfileDisplayNameRequestCapn) String() string
func (GetUserProfileDisplayNameRequestCapn) UserID ¶
func (s GetUserProfileDisplayNameRequestCapn) UserID() (string, error)
func (GetUserProfileDisplayNameRequestCapn) UserIDBytes ¶
func (s GetUserProfileDisplayNameRequestCapn) UserIDBytes() ([]byte, error)
type GetUserProfileDisplayNameRequestCapn_List ¶
GetUserProfileDisplayNameRequestCapn_List is a list of GetUserProfileDisplayNameRequestCapn.
func NewGetUserProfileDisplayNameRequestCapn_List ¶
func NewGetUserProfileDisplayNameRequestCapn_List(s *capnp.Segment, sz int32) (GetUserProfileDisplayNameRequestCapn_List, error)
NewGetUserProfileDisplayNameRequestCapn creates a new list of GetUserProfileDisplayNameRequestCapn.
func (GetUserProfileDisplayNameRequestCapn_List) Set ¶
func (s GetUserProfileDisplayNameRequestCapn_List) Set(i int, v GetUserProfileDisplayNameRequestCapn) error
func (GetUserProfileDisplayNameRequestCapn_List) String ¶
func (s GetUserProfileDisplayNameRequestCapn_List) String() string
type GetUserProfileDisplayNameRequestCapn_Promise ¶
GetUserProfileDisplayNameRequestCapn_Promise is a wrapper for a GetUserProfileDisplayNameRequestCapn promised by a client call.
func (GetUserProfileDisplayNameRequestCapn_Promise) Struct ¶
func (p GetUserProfileDisplayNameRequestCapn_Promise) Struct() (GetUserProfileDisplayNameRequestCapn, error)
type GetUserProfileRequest ¶
type GetUserProfileRequest struct {
UserID string `json:"user_id"`
}
GET /_matrix/client/r0/profile/{userId}
type GetUserProfileRequestCapn ¶
func NewGetUserProfileRequestCapn ¶
func NewGetUserProfileRequestCapn(s *capnp.Segment) (GetUserProfileRequestCapn, error)
func NewRootGetUserProfileRequestCapn ¶
func NewRootGetUserProfileRequestCapn(s *capnp.Segment) (GetUserProfileRequestCapn, error)
func ReadRootGetUserProfileRequestCapn ¶
func ReadRootGetUserProfileRequestCapn(msg *capnp.Message) (GetUserProfileRequestCapn, error)
func (GetUserProfileRequestCapn) HasUserID ¶
func (s GetUserProfileRequestCapn) HasUserID() bool
func (GetUserProfileRequestCapn) SetUserID ¶
func (s GetUserProfileRequestCapn) SetUserID(v string) error
func (GetUserProfileRequestCapn) String ¶
func (s GetUserProfileRequestCapn) String() string
func (GetUserProfileRequestCapn) UserID ¶
func (s GetUserProfileRequestCapn) UserID() (string, error)
func (GetUserProfileRequestCapn) UserIDBytes ¶
func (s GetUserProfileRequestCapn) UserIDBytes() ([]byte, error)
type GetUserProfileRequestCapn_List ¶
GetUserProfileRequestCapn_List is a list of GetUserProfileRequestCapn.
func NewGetUserProfileRequestCapn_List ¶
func NewGetUserProfileRequestCapn_List(s *capnp.Segment, sz int32) (GetUserProfileRequestCapn_List, error)
NewGetUserProfileRequestCapn creates a new list of GetUserProfileRequestCapn.
func (GetUserProfileRequestCapn_List) At ¶
func (s GetUserProfileRequestCapn_List) At(i int) GetUserProfileRequestCapn
func (GetUserProfileRequestCapn_List) Set ¶
func (s GetUserProfileRequestCapn_List) Set(i int, v GetUserProfileRequestCapn) error
func (GetUserProfileRequestCapn_List) String ¶
func (s GetUserProfileRequestCapn_List) String() string
type GetUserProfileRequestCapn_Promise ¶
GetUserProfileRequestCapn_Promise is a wrapper for a GetUserProfileRequestCapn promised by a client call.
func (GetUserProfileRequestCapn_Promise) Struct ¶
func (p GetUserProfileRequestCapn_Promise) Struct() (GetUserProfileRequestCapn, error)
type GetUserUnread ¶
type GetUserUnread struct {
UserID string `json:"userID"`
}
GET /unread/{userID}
func (*GetUserUnread) Decode ¶
func (externalReq *GetUserUnread) Decode(input []byte) error
func (*GetUserUnread) Encode ¶
func (externalReq *GetUserUnread) Encode() ([]byte, error)
type GetWhoIsRequest ¶
type GetWhoIsRequest struct {
UserID string `json:"userId"`
}
GET /_matrix/client/r0/admin/whois/{userId}
func (*GetWhoIsRequest) Decode ¶
func (externalReq *GetWhoIsRequest) Decode(input []byte) error
func (*GetWhoIsRequest) Encode ¶
func (externalReq *GetWhoIsRequest) Encode() ([]byte, error)
type GetWhoIsResponse ¶
type GetWhoIsResponse struct { UserID string `json:"user_id"` Devices map[string]DeviceInfo `json:"devices"` }
type Invite3pid ¶
type Invite3pidCapn ¶
func NewInvite3pidCapn ¶
func NewInvite3pidCapn(s *capnp.Segment) (Invite3pidCapn, error)
func NewRootInvite3pidCapn ¶
func NewRootInvite3pidCapn(s *capnp.Segment) (Invite3pidCapn, error)
func ReadRootInvite3pidCapn ¶
func ReadRootInvite3pidCapn(msg *capnp.Message) (Invite3pidCapn, error)
func (Invite3pidCapn) HasAddress ¶
func (s Invite3pidCapn) HasAddress() bool
func (Invite3pidCapn) HasIDServer ¶
func (s Invite3pidCapn) HasIDServer() bool
func (Invite3pidCapn) HasMedium ¶
func (s Invite3pidCapn) HasMedium() bool
func (Invite3pidCapn) IDServer ¶
func (s Invite3pidCapn) IDServer() (string, error)
func (Invite3pidCapn) IDServerBytes ¶
func (s Invite3pidCapn) IDServerBytes() ([]byte, error)
func (Invite3pidCapn) Medium ¶
func (s Invite3pidCapn) Medium() (string, error)
func (Invite3pidCapn) MediumBytes ¶
func (s Invite3pidCapn) MediumBytes() ([]byte, error)
func (Invite3pidCapn) NewAddress ¶
func (s Invite3pidCapn) NewAddress(n int32) (capnp.TextList, error)
NewAddress sets the address field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (Invite3pidCapn) SetAddress ¶
func (s Invite3pidCapn) SetAddress(v capnp.TextList) error
func (Invite3pidCapn) SetIDServer ¶
func (s Invite3pidCapn) SetIDServer(v string) error
func (Invite3pidCapn) SetMedium ¶
func (s Invite3pidCapn) SetMedium(v string) error
func (Invite3pidCapn) String ¶
func (s Invite3pidCapn) String() string
type Invite3pidCapn_List ¶
Invite3pidCapn_List is a list of Invite3pidCapn.
func NewInvite3pidCapn_List ¶
func NewInvite3pidCapn_List(s *capnp.Segment, sz int32) (Invite3pidCapn_List, error)
NewInvite3pidCapn creates a new list of Invite3pidCapn.
func (Invite3pidCapn_List) At ¶
func (s Invite3pidCapn_List) At(i int) Invite3pidCapn
func (Invite3pidCapn_List) Set ¶
func (s Invite3pidCapn_List) Set(i int, v Invite3pidCapn) error
func (Invite3pidCapn_List) String ¶
func (s Invite3pidCapn_List) String() string
type Invite3pidCapn_Promise ¶
Invite3pidCapn_Promise is a wrapper for a Invite3pidCapn promised by a client call.
func (Invite3pidCapn_Promise) Struct ¶
func (p Invite3pidCapn_Promise) Struct() (Invite3pidCapn, error)
type InviteCapn ¶
func NewInviteCapn ¶
func NewInviteCapn(s *capnp.Segment) (InviteCapn, error)
func NewRootInviteCapn ¶
func NewRootInviteCapn(s *capnp.Segment) (InviteCapn, error)
func ReadRootInviteCapn ¶
func ReadRootInviteCapn(msg *capnp.Message) (InviteCapn, error)
func (InviteCapn) DisplayName ¶
func (s InviteCapn) DisplayName() (string, error)
func (InviteCapn) DisplayNameBytes ¶
func (s InviteCapn) DisplayNameBytes() ([]byte, error)
func (InviteCapn) HasDisplayName ¶
func (s InviteCapn) HasDisplayName() bool
func (InviteCapn) HasSigned ¶
func (s InviteCapn) HasSigned() bool
func (InviteCapn) NewSigned ¶
func (s InviteCapn) NewSigned() (SignedCapn, error)
NewSigned sets the signed field to a newly allocated SignedCapn struct, preferring placement in s's segment.
func (InviteCapn) SetDisplayName ¶
func (s InviteCapn) SetDisplayName(v string) error
func (InviteCapn) SetSigned ¶
func (s InviteCapn) SetSigned(v SignedCapn) error
func (InviteCapn) Signed ¶
func (s InviteCapn) Signed() (SignedCapn, error)
func (InviteCapn) String ¶
func (s InviteCapn) String() string
type InviteCapn_List ¶
InviteCapn_List is a list of InviteCapn.
func NewInviteCapn_List ¶
func NewInviteCapn_List(s *capnp.Segment, sz int32) (InviteCapn_List, error)
NewInviteCapn creates a new list of InviteCapn.
func (InviteCapn_List) At ¶
func (s InviteCapn_List) At(i int) InviteCapn
func (InviteCapn_List) Set ¶
func (s InviteCapn_List) Set(i int, v InviteCapn) error
func (InviteCapn_List) String ¶
func (s InviteCapn_List) String() string
type InviteCapn_Promise ¶
InviteCapn_Promise is a wrapper for a InviteCapn promised by a client call.
func (InviteCapn_Promise) Signed ¶
func (p InviteCapn_Promise) Signed() SignedCapn_Promise
func (InviteCapn_Promise) Struct ¶
func (p InviteCapn_Promise) Struct() (InviteCapn, error)
type InviteEvent ¶
type InviteEvent struct { Content []byte `json:"content,omitempty"` Type string `json:"type,omitempty"` EventID string `json:"event_id,omitempty"` Sender string `json:"sender,omitempty"` OriginServerTS int `json:"origin_server_ts,omitempty"` Unsigned UnsignedData `json:"unsigned,omitempty"` RoomID string `json:"room_id"` PrevContent EventContent `json:"prev_content,omitempty"` StateKey string `json:"state_key,omitempty"` }
type InviteState ¶
type InviteState struct {
Events []StrippedState `json:"events"`
}
type InvitedRoom ¶
type InvitedRoom struct {
InviteState InviteState `json:"invite_state"`
}
type JoinedRoom ¶
type JoinedRoom struct { State State `json:"state"` Timeline Timeline `json:"timeline"` Ephemeral Ephemeral `json:"ephemeral"` AccountData AccountData `json:"account_data"` Unread UnreadNotifications `json:"unread_notifications"` }
type LeftRoom ¶
type LeftRoom struct { State State `json:"state,omitempty"` Timeline Timeline `json:"timeline,omitempty"` AccountData AccountData `json:"account_data,omitempty"` }
type LegacyRegisterRequest ¶
type LegacyRegisterRequest struct { Password string `json:"password"` Username string `json:"user"` Admin bool `json:"admin"` Type string `json:"type"` Mac []byte `json:"mac"` }
legacyRegisterRequest represents the submitted registration request for v1 API.
func (*LegacyRegisterRequest) Decode ¶
func (externalReq *LegacyRegisterRequest) Decode(input []byte) error
func (*LegacyRegisterRequest) Encode ¶
func (externalReq *LegacyRegisterRequest) Encode() ([]byte, error)
type LegacyRegisterRequestCapn ¶
func NewLegacyRegisterRequestCapn ¶
func NewLegacyRegisterRequestCapn(s *capnp.Segment) (LegacyRegisterRequestCapn, error)
func NewRootLegacyRegisterRequestCapn ¶
func NewRootLegacyRegisterRequestCapn(s *capnp.Segment) (LegacyRegisterRequestCapn, error)
func ReadRootLegacyRegisterRequestCapn ¶
func ReadRootLegacyRegisterRequestCapn(msg *capnp.Message) (LegacyRegisterRequestCapn, error)
func (LegacyRegisterRequestCapn) Admin ¶
func (s LegacyRegisterRequestCapn) Admin() bool
func (LegacyRegisterRequestCapn) HasMac ¶
func (s LegacyRegisterRequestCapn) HasMac() bool
func (LegacyRegisterRequestCapn) HasPassword ¶
func (s LegacyRegisterRequestCapn) HasPassword() bool
func (LegacyRegisterRequestCapn) HasType ¶
func (s LegacyRegisterRequestCapn) HasType() bool
func (LegacyRegisterRequestCapn) HasUsername ¶
func (s LegacyRegisterRequestCapn) HasUsername() bool
func (LegacyRegisterRequestCapn) Mac ¶
func (s LegacyRegisterRequestCapn) Mac() ([]byte, error)
func (LegacyRegisterRequestCapn) Password ¶
func (s LegacyRegisterRequestCapn) Password() (string, error)
func (LegacyRegisterRequestCapn) PasswordBytes ¶
func (s LegacyRegisterRequestCapn) PasswordBytes() ([]byte, error)
func (LegacyRegisterRequestCapn) SetAdmin ¶
func (s LegacyRegisterRequestCapn) SetAdmin(v bool)
func (LegacyRegisterRequestCapn) SetMac ¶
func (s LegacyRegisterRequestCapn) SetMac(v []byte) error
func (LegacyRegisterRequestCapn) SetPassword ¶
func (s LegacyRegisterRequestCapn) SetPassword(v string) error
func (LegacyRegisterRequestCapn) SetType ¶
func (s LegacyRegisterRequestCapn) SetType(v string) error
func (LegacyRegisterRequestCapn) SetUsername ¶
func (s LegacyRegisterRequestCapn) SetUsername(v string) error
func (LegacyRegisterRequestCapn) String ¶
func (s LegacyRegisterRequestCapn) String() string
func (LegacyRegisterRequestCapn) Type ¶
func (s LegacyRegisterRequestCapn) Type() (string, error)
func (LegacyRegisterRequestCapn) TypeBytes ¶
func (s LegacyRegisterRequestCapn) TypeBytes() ([]byte, error)
func (LegacyRegisterRequestCapn) Username ¶
func (s LegacyRegisterRequestCapn) Username() (string, error)
func (LegacyRegisterRequestCapn) UsernameBytes ¶
func (s LegacyRegisterRequestCapn) UsernameBytes() ([]byte, error)
type LegacyRegisterRequestCapn_List ¶
LegacyRegisterRequestCapn_List is a list of LegacyRegisterRequestCapn.
func NewLegacyRegisterRequestCapn_List ¶
func NewLegacyRegisterRequestCapn_List(s *capnp.Segment, sz int32) (LegacyRegisterRequestCapn_List, error)
NewLegacyRegisterRequestCapn creates a new list of LegacyRegisterRequestCapn.
func (LegacyRegisterRequestCapn_List) At ¶
func (s LegacyRegisterRequestCapn_List) At(i int) LegacyRegisterRequestCapn
func (LegacyRegisterRequestCapn_List) Set ¶
func (s LegacyRegisterRequestCapn_List) Set(i int, v LegacyRegisterRequestCapn) error
func (LegacyRegisterRequestCapn_List) String ¶
func (s LegacyRegisterRequestCapn_List) String() string
type LegacyRegisterRequestCapn_Promise ¶
LegacyRegisterRequestCapn_Promise is a wrapper for a LegacyRegisterRequestCapn promised by a client call.
func (LegacyRegisterRequestCapn_Promise) Struct ¶
func (p LegacyRegisterRequestCapn_Promise) Struct() (LegacyRegisterRequestCapn, error)
type MemberContent ¶
type MemberContent struct { Membership string `json:"membership"` DisplayName string `json:"displayname"` AvatarURL string `json:"avatar_url"` Reason string `json:"reason,omitempty"` ThirdPartyInvite *TPInvite `json:"third_party_invite,omitempty"` }
MemberContent is the event content for http://matrix.org/docs/spec/client_server/r0.2.0.html#m-room-member
type MemberEvent ¶
type MemberEvent struct { Content []byte `json:"content,omitempty"` Type string `json:"type,omitempty"` EventID string `json:"event_id,omitempty"` Sender string `json:"sender,omitempty"` OriginServerTS int `json:"origin_server_ts,omitempty"` Unsigned UnsignedData `json:"unsigned,omitempty"` RoomID string `json:"room_id"` PrevContent EventContent `json:"prev_content,omitempty"` StateKey string `json:"state_key,omitempty"` }
type Notification ¶
type PaginationChunk ¶
type PaginationChunkCapn ¶
func NewPaginationChunkCapn ¶
func NewPaginationChunkCapn(s *capnp.Segment) (PaginationChunkCapn, error)
func NewRootPaginationChunkCapn ¶
func NewRootPaginationChunkCapn(s *capnp.Segment) (PaginationChunkCapn, error)
func ReadRootPaginationChunkCapn ¶
func ReadRootPaginationChunkCapn(msg *capnp.Message) (PaginationChunkCapn, error)
func (PaginationChunkCapn) Chunk ¶
func (s PaginationChunkCapn) Chunk() (RoomEventCapn_List, error)
func (PaginationChunkCapn) End ¶
func (s PaginationChunkCapn) End() (string, error)
func (PaginationChunkCapn) EndBytes ¶
func (s PaginationChunkCapn) EndBytes() ([]byte, error)
func (PaginationChunkCapn) HasChunk ¶
func (s PaginationChunkCapn) HasChunk() bool
func (PaginationChunkCapn) HasEnd ¶
func (s PaginationChunkCapn) HasEnd() bool
func (PaginationChunkCapn) HasStart ¶
func (s PaginationChunkCapn) HasStart() bool
func (PaginationChunkCapn) NewChunk ¶
func (s PaginationChunkCapn) NewChunk(n int32) (RoomEventCapn_List, error)
NewChunk sets the chunk field to a newly allocated RoomEventCapn_List, preferring placement in s's segment.
func (PaginationChunkCapn) SetChunk ¶
func (s PaginationChunkCapn) SetChunk(v RoomEventCapn_List) error
func (PaginationChunkCapn) SetEnd ¶
func (s PaginationChunkCapn) SetEnd(v string) error
func (PaginationChunkCapn) SetStart ¶
func (s PaginationChunkCapn) SetStart(v string) error
func (PaginationChunkCapn) Start ¶
func (s PaginationChunkCapn) Start() (string, error)
func (PaginationChunkCapn) StartBytes ¶
func (s PaginationChunkCapn) StartBytes() ([]byte, error)
func (PaginationChunkCapn) String ¶
func (s PaginationChunkCapn) String() string
type PaginationChunkCapn_List ¶
PaginationChunkCapn_List is a list of PaginationChunkCapn.
func NewPaginationChunkCapn_List ¶
func NewPaginationChunkCapn_List(s *capnp.Segment, sz int32) (PaginationChunkCapn_List, error)
NewPaginationChunkCapn creates a new list of PaginationChunkCapn.
func (PaginationChunkCapn_List) At ¶
func (s PaginationChunkCapn_List) At(i int) PaginationChunkCapn
func (PaginationChunkCapn_List) Set ¶
func (s PaginationChunkCapn_List) Set(i int, v PaginationChunkCapn) error
func (PaginationChunkCapn_List) String ¶
func (s PaginationChunkCapn_List) String() string
type PaginationChunkCapn_Promise ¶
PaginationChunkCapn_Promise is a wrapper for a PaginationChunkCapn promised by a client call.
func (PaginationChunkCapn_Promise) Struct ¶
func (p PaginationChunkCapn_Promise) Struct() (PaginationChunkCapn, error)
type PostAccount3PIDDelRequest ¶
type PostAccount3PIDDelRequest struct { Medium string `json:"medium"` Address string `json:"address"` }
POST /_matrix/client/r0/account/3pid/delete
func (*PostAccount3PIDDelRequest) Decode ¶
func (externalReq *PostAccount3PIDDelRequest) Decode(input []byte) error
func (*PostAccount3PIDDelRequest) Encode ¶
func (externalReq *PostAccount3PIDDelRequest) Encode() ([]byte, error)
type PostAccount3PIDDelRequestCapn ¶
func NewPostAccount3PIDDelRequestCapn ¶
func NewPostAccount3PIDDelRequestCapn(s *capnp.Segment) (PostAccount3PIDDelRequestCapn, error)
func NewRootPostAccount3PIDDelRequestCapn ¶
func NewRootPostAccount3PIDDelRequestCapn(s *capnp.Segment) (PostAccount3PIDDelRequestCapn, error)
func ReadRootPostAccount3PIDDelRequestCapn ¶
func ReadRootPostAccount3PIDDelRequestCapn(msg *capnp.Message) (PostAccount3PIDDelRequestCapn, error)
func (PostAccount3PIDDelRequestCapn) Address ¶
func (s PostAccount3PIDDelRequestCapn) Address() (string, error)
func (PostAccount3PIDDelRequestCapn) AddressBytes ¶
func (s PostAccount3PIDDelRequestCapn) AddressBytes() ([]byte, error)
func (PostAccount3PIDDelRequestCapn) HasAddress ¶
func (s PostAccount3PIDDelRequestCapn) HasAddress() bool
func (PostAccount3PIDDelRequestCapn) HasMedium ¶
func (s PostAccount3PIDDelRequestCapn) HasMedium() bool
func (PostAccount3PIDDelRequestCapn) Medium ¶
func (s PostAccount3PIDDelRequestCapn) Medium() (string, error)
func (PostAccount3PIDDelRequestCapn) MediumBytes ¶
func (s PostAccount3PIDDelRequestCapn) MediumBytes() ([]byte, error)
func (PostAccount3PIDDelRequestCapn) SetAddress ¶
func (s PostAccount3PIDDelRequestCapn) SetAddress(v string) error
func (PostAccount3PIDDelRequestCapn) SetMedium ¶
func (s PostAccount3PIDDelRequestCapn) SetMedium(v string) error
func (PostAccount3PIDDelRequestCapn) String ¶
func (s PostAccount3PIDDelRequestCapn) String() string
type PostAccount3PIDDelRequestCapn_List ¶
PostAccount3PIDDelRequestCapn_List is a list of PostAccount3PIDDelRequestCapn.
func NewPostAccount3PIDDelRequestCapn_List ¶
func NewPostAccount3PIDDelRequestCapn_List(s *capnp.Segment, sz int32) (PostAccount3PIDDelRequestCapn_List, error)
NewPostAccount3PIDDelRequestCapn creates a new list of PostAccount3PIDDelRequestCapn.
func (PostAccount3PIDDelRequestCapn_List) At ¶
func (s PostAccount3PIDDelRequestCapn_List) At(i int) PostAccount3PIDDelRequestCapn
func (PostAccount3PIDDelRequestCapn_List) Set ¶
func (s PostAccount3PIDDelRequestCapn_List) Set(i int, v PostAccount3PIDDelRequestCapn) error
func (PostAccount3PIDDelRequestCapn_List) String ¶
func (s PostAccount3PIDDelRequestCapn_List) String() string
type PostAccount3PIDDelRequestCapn_Promise ¶
PostAccount3PIDDelRequestCapn_Promise is a wrapper for a PostAccount3PIDDelRequestCapn promised by a client call.
func (PostAccount3PIDDelRequestCapn_Promise) Struct ¶
func (p PostAccount3PIDDelRequestCapn_Promise) Struct() (PostAccount3PIDDelRequestCapn, error)
type PostAccount3PIDEmailRequest ¶
type PostAccount3PIDEmailRequest struct { Path string `json:"path"` ClientSecret string `json:"client_secret"` Email string `json:"email"` SendAttempt string `json:"send_attempt"` NextLink string `json:"next_link,omitempty"` IdServer string `json:"id_server"` }
POST /_matrix/client/r0/account/3pid/email/requestToken same as /_matrix/client/r0/register/email/requestToken
func (*PostAccount3PIDEmailRequest) Decode ¶
func (externalReq *PostAccount3PIDEmailRequest) Decode(input []byte) error
func (*PostAccount3PIDEmailRequest) Encode ¶
func (externalReq *PostAccount3PIDEmailRequest) Encode() ([]byte, error)
type PostAccount3PIDEmailRequestCapn ¶
func NewPostAccount3PIDEmailRequestCapn ¶
func NewPostAccount3PIDEmailRequestCapn(s *capnp.Segment) (PostAccount3PIDEmailRequestCapn, error)
func NewRootPostAccount3PIDEmailRequestCapn ¶
func NewRootPostAccount3PIDEmailRequestCapn(s *capnp.Segment) (PostAccount3PIDEmailRequestCapn, error)
func ReadRootPostAccount3PIDEmailRequestCapn ¶
func ReadRootPostAccount3PIDEmailRequestCapn(msg *capnp.Message) (PostAccount3PIDEmailRequestCapn, error)
func (PostAccount3PIDEmailRequestCapn) ClientSecret ¶
func (s PostAccount3PIDEmailRequestCapn) ClientSecret() (string, error)
func (PostAccount3PIDEmailRequestCapn) ClientSecretBytes ¶
func (s PostAccount3PIDEmailRequestCapn) ClientSecretBytes() ([]byte, error)
func (PostAccount3PIDEmailRequestCapn) Email ¶
func (s PostAccount3PIDEmailRequestCapn) Email() (string, error)
func (PostAccount3PIDEmailRequestCapn) EmailBytes ¶
func (s PostAccount3PIDEmailRequestCapn) EmailBytes() ([]byte, error)
func (PostAccount3PIDEmailRequestCapn) HasClientSecret ¶
func (s PostAccount3PIDEmailRequestCapn) HasClientSecret() bool
func (PostAccount3PIDEmailRequestCapn) HasEmail ¶
func (s PostAccount3PIDEmailRequestCapn) HasEmail() bool
func (PostAccount3PIDEmailRequestCapn) HasIdServer ¶
func (s PostAccount3PIDEmailRequestCapn) HasIdServer() bool
func (PostAccount3PIDEmailRequestCapn) HasNextLink ¶
func (s PostAccount3PIDEmailRequestCapn) HasNextLink() bool
func (PostAccount3PIDEmailRequestCapn) HasPath ¶
func (s PostAccount3PIDEmailRequestCapn) HasPath() bool
func (PostAccount3PIDEmailRequestCapn) HasSendAttempt ¶
func (s PostAccount3PIDEmailRequestCapn) HasSendAttempt() bool
func (PostAccount3PIDEmailRequestCapn) IdServer ¶
func (s PostAccount3PIDEmailRequestCapn) IdServer() (string, error)
func (PostAccount3PIDEmailRequestCapn) IdServerBytes ¶
func (s PostAccount3PIDEmailRequestCapn) IdServerBytes() ([]byte, error)
func (PostAccount3PIDEmailRequestCapn) NextLink ¶
func (s PostAccount3PIDEmailRequestCapn) NextLink() (string, error)
func (PostAccount3PIDEmailRequestCapn) NextLinkBytes ¶
func (s PostAccount3PIDEmailRequestCapn) NextLinkBytes() ([]byte, error)
func (PostAccount3PIDEmailRequestCapn) Path ¶
func (s PostAccount3PIDEmailRequestCapn) Path() (string, error)
func (PostAccount3PIDEmailRequestCapn) PathBytes ¶
func (s PostAccount3PIDEmailRequestCapn) PathBytes() ([]byte, error)
func (PostAccount3PIDEmailRequestCapn) SendAttempt ¶
func (s PostAccount3PIDEmailRequestCapn) SendAttempt() (string, error)
func (PostAccount3PIDEmailRequestCapn) SendAttemptBytes ¶
func (s PostAccount3PIDEmailRequestCapn) SendAttemptBytes() ([]byte, error)
func (PostAccount3PIDEmailRequestCapn) SetClientSecret ¶
func (s PostAccount3PIDEmailRequestCapn) SetClientSecret(v string) error
func (PostAccount3PIDEmailRequestCapn) SetEmail ¶
func (s PostAccount3PIDEmailRequestCapn) SetEmail(v string) error
func (PostAccount3PIDEmailRequestCapn) SetIdServer ¶
func (s PostAccount3PIDEmailRequestCapn) SetIdServer(v string) error
func (PostAccount3PIDEmailRequestCapn) SetNextLink ¶
func (s PostAccount3PIDEmailRequestCapn) SetNextLink(v string) error
func (PostAccount3PIDEmailRequestCapn) SetPath ¶
func (s PostAccount3PIDEmailRequestCapn) SetPath(v string) error
func (PostAccount3PIDEmailRequestCapn) SetSendAttempt ¶
func (s PostAccount3PIDEmailRequestCapn) SetSendAttempt(v string) error
func (PostAccount3PIDEmailRequestCapn) String ¶
func (s PostAccount3PIDEmailRequestCapn) String() string
type PostAccount3PIDEmailRequestCapn_List ¶
PostAccount3PIDEmailRequestCapn_List is a list of PostAccount3PIDEmailRequestCapn.
func NewPostAccount3PIDEmailRequestCapn_List ¶
func NewPostAccount3PIDEmailRequestCapn_List(s *capnp.Segment, sz int32) (PostAccount3PIDEmailRequestCapn_List, error)
NewPostAccount3PIDEmailRequestCapn creates a new list of PostAccount3PIDEmailRequestCapn.
func (PostAccount3PIDEmailRequestCapn_List) Set ¶
func (s PostAccount3PIDEmailRequestCapn_List) Set(i int, v PostAccount3PIDEmailRequestCapn) error
func (PostAccount3PIDEmailRequestCapn_List) String ¶
func (s PostAccount3PIDEmailRequestCapn_List) String() string
type PostAccount3PIDEmailRequestCapn_Promise ¶
PostAccount3PIDEmailRequestCapn_Promise is a wrapper for a PostAccount3PIDEmailRequestCapn promised by a client call.
func (PostAccount3PIDEmailRequestCapn_Promise) Struct ¶
func (p PostAccount3PIDEmailRequestCapn_Promise) Struct() (PostAccount3PIDEmailRequestCapn, error)
type PostAccount3PIDEmailResponse ¶
type PostAccount3PIDEmailResponse struct {
Sid string `json:"sid"`
}
func (*PostAccount3PIDEmailResponse) Decode ¶
func (res *PostAccount3PIDEmailResponse) Decode(input []byte) error
func (*PostAccount3PIDEmailResponse) Encode ¶
func (res *PostAccount3PIDEmailResponse) Encode() ([]byte, error)
type PostAccount3PIDEmailResponseCapn ¶
func NewPostAccount3PIDEmailResponseCapn ¶
func NewPostAccount3PIDEmailResponseCapn(s *capnp.Segment) (PostAccount3PIDEmailResponseCapn, error)
func NewRootPostAccount3PIDEmailResponseCapn ¶
func NewRootPostAccount3PIDEmailResponseCapn(s *capnp.Segment) (PostAccount3PIDEmailResponseCapn, error)
func ReadRootPostAccount3PIDEmailResponseCapn ¶
func ReadRootPostAccount3PIDEmailResponseCapn(msg *capnp.Message) (PostAccount3PIDEmailResponseCapn, error)
func (PostAccount3PIDEmailResponseCapn) HasSid ¶
func (s PostAccount3PIDEmailResponseCapn) HasSid() bool
func (PostAccount3PIDEmailResponseCapn) SetSid ¶
func (s PostAccount3PIDEmailResponseCapn) SetSid(v string) error
func (PostAccount3PIDEmailResponseCapn) Sid ¶
func (s PostAccount3PIDEmailResponseCapn) Sid() (string, error)
func (PostAccount3PIDEmailResponseCapn) SidBytes ¶
func (s PostAccount3PIDEmailResponseCapn) SidBytes() ([]byte, error)
func (PostAccount3PIDEmailResponseCapn) String ¶
func (s PostAccount3PIDEmailResponseCapn) String() string
type PostAccount3PIDEmailResponseCapn_List ¶
PostAccount3PIDEmailResponseCapn_List is a list of PostAccount3PIDEmailResponseCapn.
func NewPostAccount3PIDEmailResponseCapn_List ¶
func NewPostAccount3PIDEmailResponseCapn_List(s *capnp.Segment, sz int32) (PostAccount3PIDEmailResponseCapn_List, error)
NewPostAccount3PIDEmailResponseCapn creates a new list of PostAccount3PIDEmailResponseCapn.
func (PostAccount3PIDEmailResponseCapn_List) Set ¶
func (s PostAccount3PIDEmailResponseCapn_List) Set(i int, v PostAccount3PIDEmailResponseCapn) error
func (PostAccount3PIDEmailResponseCapn_List) String ¶
func (s PostAccount3PIDEmailResponseCapn_List) String() string
type PostAccount3PIDEmailResponseCapn_Promise ¶
PostAccount3PIDEmailResponseCapn_Promise is a wrapper for a PostAccount3PIDEmailResponseCapn promised by a client call.
func (PostAccount3PIDEmailResponseCapn_Promise) Struct ¶
func (p PostAccount3PIDEmailResponseCapn_Promise) Struct() (PostAccount3PIDEmailResponseCapn, error)
type PostAccount3PIDMsisdnRequest ¶
type PostAccount3PIDMsisdnRequest struct { Path string `json:"path"` ClientSecret string `json:"client_secret"` Country string `json:"country"` PhoneNumber string `json:"phone_number"` SendAttempt string `json:"send_attempt"` NextLink string `json:"next_link,omitempty"` IdServer string `json:"id_server"` }
POST /_matrix/client/r0/account/3pid/msisdn/requestToken same as /register/msisdn/requestToken
func (*PostAccount3PIDMsisdnRequest) Decode ¶
func (externalReq *PostAccount3PIDMsisdnRequest) Decode(input []byte) error
func (*PostAccount3PIDMsisdnRequest) Encode ¶
func (externalReq *PostAccount3PIDMsisdnRequest) Encode() ([]byte, error)
type PostAccount3PIDMsisdnRequestCapn ¶
func NewPostAccount3PIDMsisdnRequestCapn ¶
func NewPostAccount3PIDMsisdnRequestCapn(s *capnp.Segment) (PostAccount3PIDMsisdnRequestCapn, error)
func NewRootPostAccount3PIDMsisdnRequestCapn ¶
func NewRootPostAccount3PIDMsisdnRequestCapn(s *capnp.Segment) (PostAccount3PIDMsisdnRequestCapn, error)
func ReadRootPostAccount3PIDMsisdnRequestCapn ¶
func ReadRootPostAccount3PIDMsisdnRequestCapn(msg *capnp.Message) (PostAccount3PIDMsisdnRequestCapn, error)
func (PostAccount3PIDMsisdnRequestCapn) ClientSecret ¶
func (s PostAccount3PIDMsisdnRequestCapn) ClientSecret() (string, error)
func (PostAccount3PIDMsisdnRequestCapn) ClientSecretBytes ¶
func (s PostAccount3PIDMsisdnRequestCapn) ClientSecretBytes() ([]byte, error)
func (PostAccount3PIDMsisdnRequestCapn) Country ¶
func (s PostAccount3PIDMsisdnRequestCapn) Country() (string, error)
func (PostAccount3PIDMsisdnRequestCapn) CountryBytes ¶
func (s PostAccount3PIDMsisdnRequestCapn) CountryBytes() ([]byte, error)
func (PostAccount3PIDMsisdnRequestCapn) HasClientSecret ¶
func (s PostAccount3PIDMsisdnRequestCapn) HasClientSecret() bool
func (PostAccount3PIDMsisdnRequestCapn) HasCountry ¶
func (s PostAccount3PIDMsisdnRequestCapn) HasCountry() bool
func (PostAccount3PIDMsisdnRequestCapn) HasIdServer ¶
func (s PostAccount3PIDMsisdnRequestCapn) HasIdServer() bool
func (PostAccount3PIDMsisdnRequestCapn) HasNextLink ¶
func (s PostAccount3PIDMsisdnRequestCapn) HasNextLink() bool
func (PostAccount3PIDMsisdnRequestCapn) HasPath ¶
func (s PostAccount3PIDMsisdnRequestCapn) HasPath() bool
func (PostAccount3PIDMsisdnRequestCapn) HasPhoneNumber ¶
func (s PostAccount3PIDMsisdnRequestCapn) HasPhoneNumber() bool
func (PostAccount3PIDMsisdnRequestCapn) HasSendAttempt ¶
func (s PostAccount3PIDMsisdnRequestCapn) HasSendAttempt() bool
func (PostAccount3PIDMsisdnRequestCapn) IdServer ¶
func (s PostAccount3PIDMsisdnRequestCapn) IdServer() (string, error)
func (PostAccount3PIDMsisdnRequestCapn) IdServerBytes ¶
func (s PostAccount3PIDMsisdnRequestCapn) IdServerBytes() ([]byte, error)
func (PostAccount3PIDMsisdnRequestCapn) NextLink ¶
func (s PostAccount3PIDMsisdnRequestCapn) NextLink() (string, error)
func (PostAccount3PIDMsisdnRequestCapn) NextLinkBytes ¶
func (s PostAccount3PIDMsisdnRequestCapn) NextLinkBytes() ([]byte, error)
func (PostAccount3PIDMsisdnRequestCapn) Path ¶
func (s PostAccount3PIDMsisdnRequestCapn) Path() (string, error)
func (PostAccount3PIDMsisdnRequestCapn) PathBytes ¶
func (s PostAccount3PIDMsisdnRequestCapn) PathBytes() ([]byte, error)
func (PostAccount3PIDMsisdnRequestCapn) PhoneNumber ¶
func (s PostAccount3PIDMsisdnRequestCapn) PhoneNumber() (string, error)
func (PostAccount3PIDMsisdnRequestCapn) PhoneNumberBytes ¶
func (s PostAccount3PIDMsisdnRequestCapn) PhoneNumberBytes() ([]byte, error)
func (PostAccount3PIDMsisdnRequestCapn) SendAttempt ¶
func (s PostAccount3PIDMsisdnRequestCapn) SendAttempt() (string, error)
func (PostAccount3PIDMsisdnRequestCapn) SendAttemptBytes ¶
func (s PostAccount3PIDMsisdnRequestCapn) SendAttemptBytes() ([]byte, error)
func (PostAccount3PIDMsisdnRequestCapn) SetClientSecret ¶
func (s PostAccount3PIDMsisdnRequestCapn) SetClientSecret(v string) error
func (PostAccount3PIDMsisdnRequestCapn) SetCountry ¶
func (s PostAccount3PIDMsisdnRequestCapn) SetCountry(v string) error
func (PostAccount3PIDMsisdnRequestCapn) SetIdServer ¶
func (s PostAccount3PIDMsisdnRequestCapn) SetIdServer(v string) error
func (PostAccount3PIDMsisdnRequestCapn) SetNextLink ¶
func (s PostAccount3PIDMsisdnRequestCapn) SetNextLink(v string) error
func (PostAccount3PIDMsisdnRequestCapn) SetPath ¶
func (s PostAccount3PIDMsisdnRequestCapn) SetPath(v string) error
func (PostAccount3PIDMsisdnRequestCapn) SetPhoneNumber ¶
func (s PostAccount3PIDMsisdnRequestCapn) SetPhoneNumber(v string) error
func (PostAccount3PIDMsisdnRequestCapn) SetSendAttempt ¶
func (s PostAccount3PIDMsisdnRequestCapn) SetSendAttempt(v string) error
func (PostAccount3PIDMsisdnRequestCapn) String ¶
func (s PostAccount3PIDMsisdnRequestCapn) String() string
type PostAccount3PIDMsisdnRequestCapn_List ¶
PostAccount3PIDMsisdnRequestCapn_List is a list of PostAccount3PIDMsisdnRequestCapn.
func NewPostAccount3PIDMsisdnRequestCapn_List ¶
func NewPostAccount3PIDMsisdnRequestCapn_List(s *capnp.Segment, sz int32) (PostAccount3PIDMsisdnRequestCapn_List, error)
NewPostAccount3PIDMsisdnRequestCapn creates a new list of PostAccount3PIDMsisdnRequestCapn.
func (PostAccount3PIDMsisdnRequestCapn_List) Set ¶
func (s PostAccount3PIDMsisdnRequestCapn_List) Set(i int, v PostAccount3PIDMsisdnRequestCapn) error
func (PostAccount3PIDMsisdnRequestCapn_List) String ¶
func (s PostAccount3PIDMsisdnRequestCapn_List) String() string
type PostAccount3PIDMsisdnRequestCapn_Promise ¶
PostAccount3PIDMsisdnRequestCapn_Promise is a wrapper for a PostAccount3PIDMsisdnRequestCapn promised by a client call.
func (PostAccount3PIDMsisdnRequestCapn_Promise) Struct ¶
func (p PostAccount3PIDMsisdnRequestCapn_Promise) Struct() (PostAccount3PIDMsisdnRequestCapn, error)
type PostAccount3PIDMsisdnResponse ¶
type PostAccount3PIDMsisdnResponse struct {
Sid string `json:"sid"`
}
func (*PostAccount3PIDMsisdnResponse) Decode ¶
func (res *PostAccount3PIDMsisdnResponse) Decode(input []byte) error
func (*PostAccount3PIDMsisdnResponse) Encode ¶
func (res *PostAccount3PIDMsisdnResponse) Encode() ([]byte, error)
type PostAccount3PIDMsisdnResponseCapn ¶
func NewPostAccount3PIDMsisdnResponseCapn ¶
func NewPostAccount3PIDMsisdnResponseCapn(s *capnp.Segment) (PostAccount3PIDMsisdnResponseCapn, error)
func NewRootPostAccount3PIDMsisdnResponseCapn ¶
func NewRootPostAccount3PIDMsisdnResponseCapn(s *capnp.Segment) (PostAccount3PIDMsisdnResponseCapn, error)
func ReadRootPostAccount3PIDMsisdnResponseCapn ¶
func ReadRootPostAccount3PIDMsisdnResponseCapn(msg *capnp.Message) (PostAccount3PIDMsisdnResponseCapn, error)
func (PostAccount3PIDMsisdnResponseCapn) HasSid ¶
func (s PostAccount3PIDMsisdnResponseCapn) HasSid() bool
func (PostAccount3PIDMsisdnResponseCapn) SetSid ¶
func (s PostAccount3PIDMsisdnResponseCapn) SetSid(v string) error
func (PostAccount3PIDMsisdnResponseCapn) Sid ¶
func (s PostAccount3PIDMsisdnResponseCapn) Sid() (string, error)
func (PostAccount3PIDMsisdnResponseCapn) SidBytes ¶
func (s PostAccount3PIDMsisdnResponseCapn) SidBytes() ([]byte, error)
func (PostAccount3PIDMsisdnResponseCapn) String ¶
func (s PostAccount3PIDMsisdnResponseCapn) String() string
type PostAccount3PIDMsisdnResponseCapn_List ¶
PostAccount3PIDMsisdnResponseCapn_List is a list of PostAccount3PIDMsisdnResponseCapn.
func NewPostAccount3PIDMsisdnResponseCapn_List ¶
func NewPostAccount3PIDMsisdnResponseCapn_List(s *capnp.Segment, sz int32) (PostAccount3PIDMsisdnResponseCapn_List, error)
NewPostAccount3PIDMsisdnResponseCapn creates a new list of PostAccount3PIDMsisdnResponseCapn.
func (PostAccount3PIDMsisdnResponseCapn_List) Set ¶
func (s PostAccount3PIDMsisdnResponseCapn_List) Set(i int, v PostAccount3PIDMsisdnResponseCapn) error
func (PostAccount3PIDMsisdnResponseCapn_List) String ¶
func (s PostAccount3PIDMsisdnResponseCapn_List) String() string
type PostAccount3PIDMsisdnResponseCapn_Promise ¶
PostAccount3PIDMsisdnResponseCapn_Promise is a wrapper for a PostAccount3PIDMsisdnResponseCapn promised by a client call.
func (PostAccount3PIDMsisdnResponseCapn_Promise) Struct ¶
func (p PostAccount3PIDMsisdnResponseCapn_Promise) Struct() (PostAccount3PIDMsisdnResponseCapn, error)
type PostAccount3PIDRequest ¶
type PostAccount3PIDRequest struct { ThreePIDCreds ThreePidCredentials `json:"three_pid_creds"` Bind bool `json:"bind"` }
POST /_matrix/client/r0/account/3pid
func (*PostAccount3PIDRequest) Decode ¶
func (externalReq *PostAccount3PIDRequest) Decode(input []byte) error
func (*PostAccount3PIDRequest) Encode ¶
func (externalReq *PostAccount3PIDRequest) Encode() ([]byte, error)
type PostAccount3PIDRequestCapn ¶
func NewPostAccount3PIDRequestCapn ¶
func NewPostAccount3PIDRequestCapn(s *capnp.Segment) (PostAccount3PIDRequestCapn, error)
func NewRootPostAccount3PIDRequestCapn ¶
func NewRootPostAccount3PIDRequestCapn(s *capnp.Segment) (PostAccount3PIDRequestCapn, error)
func ReadRootPostAccount3PIDRequestCapn ¶
func ReadRootPostAccount3PIDRequestCapn(msg *capnp.Message) (PostAccount3PIDRequestCapn, error)
func (PostAccount3PIDRequestCapn) Bind ¶
func (s PostAccount3PIDRequestCapn) Bind() bool
func (PostAccount3PIDRequestCapn) HasThreePIDCreds ¶
func (s PostAccount3PIDRequestCapn) HasThreePIDCreds() bool
func (PostAccount3PIDRequestCapn) NewThreePIDCreds ¶
func (s PostAccount3PIDRequestCapn) NewThreePIDCreds() (ThreePidCredentialsCapn, error)
NewThreePIDCreds sets the threePIDCreds field to a newly allocated ThreePidCredentialsCapn struct, preferring placement in s's segment.
func (PostAccount3PIDRequestCapn) SetBind ¶
func (s PostAccount3PIDRequestCapn) SetBind(v bool)
func (PostAccount3PIDRequestCapn) SetThreePIDCreds ¶
func (s PostAccount3PIDRequestCapn) SetThreePIDCreds(v ThreePidCredentialsCapn) error
func (PostAccount3PIDRequestCapn) String ¶
func (s PostAccount3PIDRequestCapn) String() string
func (PostAccount3PIDRequestCapn) ThreePIDCreds ¶
func (s PostAccount3PIDRequestCapn) ThreePIDCreds() (ThreePidCredentialsCapn, error)
type PostAccount3PIDRequestCapn_List ¶
PostAccount3PIDRequestCapn_List is a list of PostAccount3PIDRequestCapn.
func NewPostAccount3PIDRequestCapn_List ¶
func NewPostAccount3PIDRequestCapn_List(s *capnp.Segment, sz int32) (PostAccount3PIDRequestCapn_List, error)
NewPostAccount3PIDRequestCapn creates a new list of PostAccount3PIDRequestCapn.
func (PostAccount3PIDRequestCapn_List) At ¶
func (s PostAccount3PIDRequestCapn_List) At(i int) PostAccount3PIDRequestCapn
func (PostAccount3PIDRequestCapn_List) Set ¶
func (s PostAccount3PIDRequestCapn_List) Set(i int, v PostAccount3PIDRequestCapn) error
func (PostAccount3PIDRequestCapn_List) String ¶
func (s PostAccount3PIDRequestCapn_List) String() string
type PostAccount3PIDRequestCapn_Promise ¶
PostAccount3PIDRequestCapn_Promise is a wrapper for a PostAccount3PIDRequestCapn promised by a client call.
func (PostAccount3PIDRequestCapn_Promise) Struct ¶
func (p PostAccount3PIDRequestCapn_Promise) Struct() (PostAccount3PIDRequestCapn, error)
func (PostAccount3PIDRequestCapn_Promise) ThreePIDCreds ¶
func (p PostAccount3PIDRequestCapn_Promise) ThreePIDCreds() ThreePidCredentialsCapn_Promise
type PostAccountDeactivateRequest ¶
type PostAccountDeactivateRequest struct {
Auth AuthData `json:"auth"`
}
POST /_matrix/client/r0/account/deactivate
type PostAccountDeactivateRequestCapn ¶
func NewPostAccountDeactivateRequestCapn ¶
func NewPostAccountDeactivateRequestCapn(s *capnp.Segment) (PostAccountDeactivateRequestCapn, error)
func NewRootPostAccountDeactivateRequestCapn ¶
func NewRootPostAccountDeactivateRequestCapn(s *capnp.Segment) (PostAccountDeactivateRequestCapn, error)
func ReadRootPostAccountDeactivateRequestCapn ¶
func ReadRootPostAccountDeactivateRequestCapn(msg *capnp.Message) (PostAccountDeactivateRequestCapn, error)
func (PostAccountDeactivateRequestCapn) Auth ¶
func (s PostAccountDeactivateRequestCapn) Auth() (AuthDataCapn, error)
func (PostAccountDeactivateRequestCapn) HasAuth ¶
func (s PostAccountDeactivateRequestCapn) HasAuth() bool
func (PostAccountDeactivateRequestCapn) NewAuth ¶
func (s PostAccountDeactivateRequestCapn) NewAuth() (AuthDataCapn, error)
NewAuth sets the auth field to a newly allocated AuthDataCapn struct, preferring placement in s's segment.
func (PostAccountDeactivateRequestCapn) SetAuth ¶
func (s PostAccountDeactivateRequestCapn) SetAuth(v AuthDataCapn) error
func (PostAccountDeactivateRequestCapn) String ¶
func (s PostAccountDeactivateRequestCapn) String() string
type PostAccountDeactivateRequestCapn_List ¶
PostAccountDeactivateRequestCapn_List is a list of PostAccountDeactivateRequestCapn.
func NewPostAccountDeactivateRequestCapn_List ¶
func NewPostAccountDeactivateRequestCapn_List(s *capnp.Segment, sz int32) (PostAccountDeactivateRequestCapn_List, error)
NewPostAccountDeactivateRequestCapn creates a new list of PostAccountDeactivateRequestCapn.
func (PostAccountDeactivateRequestCapn_List) Set ¶
func (s PostAccountDeactivateRequestCapn_List) Set(i int, v PostAccountDeactivateRequestCapn) error
func (PostAccountDeactivateRequestCapn_List) String ¶
func (s PostAccountDeactivateRequestCapn_List) String() string
type PostAccountDeactivateRequestCapn_Promise ¶
PostAccountDeactivateRequestCapn_Promise is a wrapper for a PostAccountDeactivateRequestCapn promised by a client call.
func (PostAccountDeactivateRequestCapn_Promise) Auth ¶
func (p PostAccountDeactivateRequestCapn_Promise) Auth() AuthDataCapn_Promise
func (PostAccountDeactivateRequestCapn_Promise) Struct ¶
func (p PostAccountDeactivateRequestCapn_Promise) Struct() (PostAccountDeactivateRequestCapn, error)
type PostAccountPasswordEmailRequest ¶
type PostAccountPasswordEmailRequest struct { ClientSecret string `json:"client_secret"` Email string `json:"email"` SendAttempt int `json:"send_attempt"` NextLink string `json:"next_link"` IDServer string `json:"id_server"` }
POST /_matrix/client/r0/account/password/email/requestToken request
type PostAccountPasswordEmailRequestCapn ¶
func NewPostAccountPasswordEmailRequestCapn ¶
func NewPostAccountPasswordEmailRequestCapn(s *capnp.Segment) (PostAccountPasswordEmailRequestCapn, error)
func NewRootPostAccountPasswordEmailRequestCapn ¶
func NewRootPostAccountPasswordEmailRequestCapn(s *capnp.Segment) (PostAccountPasswordEmailRequestCapn, error)
func ReadRootPostAccountPasswordEmailRequestCapn ¶
func ReadRootPostAccountPasswordEmailRequestCapn(msg *capnp.Message) (PostAccountPasswordEmailRequestCapn, error)
func (PostAccountPasswordEmailRequestCapn) ClientSecret ¶
func (s PostAccountPasswordEmailRequestCapn) ClientSecret() (string, error)
func (PostAccountPasswordEmailRequestCapn) ClientSecretBytes ¶
func (s PostAccountPasswordEmailRequestCapn) ClientSecretBytes() ([]byte, error)
func (PostAccountPasswordEmailRequestCapn) Email ¶
func (s PostAccountPasswordEmailRequestCapn) Email() (string, error)
func (PostAccountPasswordEmailRequestCapn) EmailBytes ¶
func (s PostAccountPasswordEmailRequestCapn) EmailBytes() ([]byte, error)
func (PostAccountPasswordEmailRequestCapn) HasClientSecret ¶
func (s PostAccountPasswordEmailRequestCapn) HasClientSecret() bool
func (PostAccountPasswordEmailRequestCapn) HasEmail ¶
func (s PostAccountPasswordEmailRequestCapn) HasEmail() bool
func (PostAccountPasswordEmailRequestCapn) HasIDServer ¶
func (s PostAccountPasswordEmailRequestCapn) HasIDServer() bool
func (PostAccountPasswordEmailRequestCapn) HasNextLink ¶
func (s PostAccountPasswordEmailRequestCapn) HasNextLink() bool
func (PostAccountPasswordEmailRequestCapn) IDServer ¶
func (s PostAccountPasswordEmailRequestCapn) IDServer() (string, error)
func (PostAccountPasswordEmailRequestCapn) IDServerBytes ¶
func (s PostAccountPasswordEmailRequestCapn) IDServerBytes() ([]byte, error)
func (PostAccountPasswordEmailRequestCapn) NextLink ¶
func (s PostAccountPasswordEmailRequestCapn) NextLink() (string, error)
func (PostAccountPasswordEmailRequestCapn) NextLinkBytes ¶
func (s PostAccountPasswordEmailRequestCapn) NextLinkBytes() ([]byte, error)
func (PostAccountPasswordEmailRequestCapn) SendAttempt ¶
func (s PostAccountPasswordEmailRequestCapn) SendAttempt() int64
func (PostAccountPasswordEmailRequestCapn) SetClientSecret ¶
func (s PostAccountPasswordEmailRequestCapn) SetClientSecret(v string) error
func (PostAccountPasswordEmailRequestCapn) SetEmail ¶
func (s PostAccountPasswordEmailRequestCapn) SetEmail(v string) error
func (PostAccountPasswordEmailRequestCapn) SetIDServer ¶
func (s PostAccountPasswordEmailRequestCapn) SetIDServer(v string) error
func (PostAccountPasswordEmailRequestCapn) SetNextLink ¶
func (s PostAccountPasswordEmailRequestCapn) SetNextLink(v string) error
func (PostAccountPasswordEmailRequestCapn) SetSendAttempt ¶
func (s PostAccountPasswordEmailRequestCapn) SetSendAttempt(v int64)
func (PostAccountPasswordEmailRequestCapn) String ¶
func (s PostAccountPasswordEmailRequestCapn) String() string
type PostAccountPasswordEmailRequestCapn_List ¶
PostAccountPasswordEmailRequestCapn_List is a list of PostAccountPasswordEmailRequestCapn.
func NewPostAccountPasswordEmailRequestCapn_List ¶
func NewPostAccountPasswordEmailRequestCapn_List(s *capnp.Segment, sz int32) (PostAccountPasswordEmailRequestCapn_List, error)
NewPostAccountPasswordEmailRequestCapn creates a new list of PostAccountPasswordEmailRequestCapn.
func (PostAccountPasswordEmailRequestCapn_List) Set ¶
func (s PostAccountPasswordEmailRequestCapn_List) Set(i int, v PostAccountPasswordEmailRequestCapn) error
func (PostAccountPasswordEmailRequestCapn_List) String ¶
func (s PostAccountPasswordEmailRequestCapn_List) String() string
type PostAccountPasswordEmailRequestCapn_Promise ¶
PostAccountPasswordEmailRequestCapn_Promise is a wrapper for a PostAccountPasswordEmailRequestCapn promised by a client call.
func (PostAccountPasswordEmailRequestCapn_Promise) Struct ¶
func (p PostAccountPasswordEmailRequestCapn_Promise) Struct() (PostAccountPasswordEmailRequestCapn, error)
type PostAccountPasswordEmailResponse ¶
type PostAccountPasswordEmailResponse struct {
SID string `json:"sid"`
}
response
func (*PostAccountPasswordEmailResponse) Decode ¶
func (res *PostAccountPasswordEmailResponse) Decode(input []byte) error
func (*PostAccountPasswordEmailResponse) Encode ¶
func (res *PostAccountPasswordEmailResponse) Encode() ([]byte, error)
type PostAccountPasswordEmailResponseCapn ¶
func NewPostAccountPasswordEmailResponseCapn ¶
func NewPostAccountPasswordEmailResponseCapn(s *capnp.Segment) (PostAccountPasswordEmailResponseCapn, error)
func NewRootPostAccountPasswordEmailResponseCapn ¶
func NewRootPostAccountPasswordEmailResponseCapn(s *capnp.Segment) (PostAccountPasswordEmailResponseCapn, error)
func ReadRootPostAccountPasswordEmailResponseCapn ¶
func ReadRootPostAccountPasswordEmailResponseCapn(msg *capnp.Message) (PostAccountPasswordEmailResponseCapn, error)
func (PostAccountPasswordEmailResponseCapn) HasSID ¶
func (s PostAccountPasswordEmailResponseCapn) HasSID() bool
func (PostAccountPasswordEmailResponseCapn) SID ¶
func (s PostAccountPasswordEmailResponseCapn) SID() (string, error)
func (PostAccountPasswordEmailResponseCapn) SIDBytes ¶
func (s PostAccountPasswordEmailResponseCapn) SIDBytes() ([]byte, error)
func (PostAccountPasswordEmailResponseCapn) SetSID ¶
func (s PostAccountPasswordEmailResponseCapn) SetSID(v string) error
func (PostAccountPasswordEmailResponseCapn) String ¶
func (s PostAccountPasswordEmailResponseCapn) String() string
type PostAccountPasswordEmailResponseCapn_List ¶
PostAccountPasswordEmailResponseCapn_List is a list of PostAccountPasswordEmailResponseCapn.
func NewPostAccountPasswordEmailResponseCapn_List ¶
func NewPostAccountPasswordEmailResponseCapn_List(s *capnp.Segment, sz int32) (PostAccountPasswordEmailResponseCapn_List, error)
NewPostAccountPasswordEmailResponseCapn creates a new list of PostAccountPasswordEmailResponseCapn.
func (PostAccountPasswordEmailResponseCapn_List) Set ¶
func (s PostAccountPasswordEmailResponseCapn_List) Set(i int, v PostAccountPasswordEmailResponseCapn) error
func (PostAccountPasswordEmailResponseCapn_List) String ¶
func (s PostAccountPasswordEmailResponseCapn_List) String() string
type PostAccountPasswordEmailResponseCapn_Promise ¶
PostAccountPasswordEmailResponseCapn_Promise is a wrapper for a PostAccountPasswordEmailResponseCapn promised by a client call.
func (PostAccountPasswordEmailResponseCapn_Promise) Struct ¶
func (p PostAccountPasswordEmailResponseCapn_Promise) Struct() (PostAccountPasswordEmailResponseCapn, error)
type PostAccountPasswordMsisdResponse ¶
type PostAccountPasswordMsisdResponse struct {
SID string `json:"sid"`
}
response
func (*PostAccountPasswordMsisdResponse) Decode ¶
func (res *PostAccountPasswordMsisdResponse) Decode(input []byte) error
func (*PostAccountPasswordMsisdResponse) Encode ¶
func (res *PostAccountPasswordMsisdResponse) Encode() ([]byte, error)
type PostAccountPasswordMsisdResponseCapn ¶
func NewPostAccountPasswordMsisdResponseCapn ¶
func NewPostAccountPasswordMsisdResponseCapn(s *capnp.Segment) (PostAccountPasswordMsisdResponseCapn, error)
func NewRootPostAccountPasswordMsisdResponseCapn ¶
func NewRootPostAccountPasswordMsisdResponseCapn(s *capnp.Segment) (PostAccountPasswordMsisdResponseCapn, error)
func ReadRootPostAccountPasswordMsisdResponseCapn ¶
func ReadRootPostAccountPasswordMsisdResponseCapn(msg *capnp.Message) (PostAccountPasswordMsisdResponseCapn, error)
func (PostAccountPasswordMsisdResponseCapn) HasSID ¶
func (s PostAccountPasswordMsisdResponseCapn) HasSID() bool
func (PostAccountPasswordMsisdResponseCapn) SID ¶
func (s PostAccountPasswordMsisdResponseCapn) SID() (string, error)
func (PostAccountPasswordMsisdResponseCapn) SIDBytes ¶
func (s PostAccountPasswordMsisdResponseCapn) SIDBytes() ([]byte, error)
func (PostAccountPasswordMsisdResponseCapn) SetSID ¶
func (s PostAccountPasswordMsisdResponseCapn) SetSID(v string) error
func (PostAccountPasswordMsisdResponseCapn) String ¶
func (s PostAccountPasswordMsisdResponseCapn) String() string
type PostAccountPasswordMsisdResponseCapn_List ¶
PostAccountPasswordMsisdResponseCapn_List is a list of PostAccountPasswordMsisdResponseCapn.
func NewPostAccountPasswordMsisdResponseCapn_List ¶
func NewPostAccountPasswordMsisdResponseCapn_List(s *capnp.Segment, sz int32) (PostAccountPasswordMsisdResponseCapn_List, error)
NewPostAccountPasswordMsisdResponseCapn creates a new list of PostAccountPasswordMsisdResponseCapn.
func (PostAccountPasswordMsisdResponseCapn_List) Set ¶
func (s PostAccountPasswordMsisdResponseCapn_List) Set(i int, v PostAccountPasswordMsisdResponseCapn) error
func (PostAccountPasswordMsisdResponseCapn_List) String ¶
func (s PostAccountPasswordMsisdResponseCapn_List) String() string
type PostAccountPasswordMsisdResponseCapn_Promise ¶
PostAccountPasswordMsisdResponseCapn_Promise is a wrapper for a PostAccountPasswordMsisdResponseCapn promised by a client call.
func (PostAccountPasswordMsisdResponseCapn_Promise) Struct ¶
func (p PostAccountPasswordMsisdResponseCapn_Promise) Struct() (PostAccountPasswordMsisdResponseCapn, error)
type PostAccountPasswordMsisdnRequest ¶
type PostAccountPasswordMsisdnRequest struct { ClientSecret string `json:"client_secret"` Country string `json:"country"` PhoneNumber string `json:"phone_number"` SendAttempt int `json:"send_attempt"` NextLink string `json:"next_link"` IDServer string `json:"id_server"` }
POST /_matrix/client/r0/account/password/msisdn/requestToken request
type PostAccountPasswordMsisdnRequestCapn ¶
func NewPostAccountPasswordMsisdnRequestCapn ¶
func NewPostAccountPasswordMsisdnRequestCapn(s *capnp.Segment) (PostAccountPasswordMsisdnRequestCapn, error)
func NewRootPostAccountPasswordMsisdnRequestCapn ¶
func NewRootPostAccountPasswordMsisdnRequestCapn(s *capnp.Segment) (PostAccountPasswordMsisdnRequestCapn, error)
func ReadRootPostAccountPasswordMsisdnRequestCapn ¶
func ReadRootPostAccountPasswordMsisdnRequestCapn(msg *capnp.Message) (PostAccountPasswordMsisdnRequestCapn, error)
func (PostAccountPasswordMsisdnRequestCapn) ClientSecret ¶
func (s PostAccountPasswordMsisdnRequestCapn) ClientSecret() (string, error)
func (PostAccountPasswordMsisdnRequestCapn) ClientSecretBytes ¶
func (s PostAccountPasswordMsisdnRequestCapn) ClientSecretBytes() ([]byte, error)
func (PostAccountPasswordMsisdnRequestCapn) Country ¶
func (s PostAccountPasswordMsisdnRequestCapn) Country() (string, error)
func (PostAccountPasswordMsisdnRequestCapn) CountryBytes ¶
func (s PostAccountPasswordMsisdnRequestCapn) CountryBytes() ([]byte, error)
func (PostAccountPasswordMsisdnRequestCapn) HasClientSecret ¶
func (s PostAccountPasswordMsisdnRequestCapn) HasClientSecret() bool
func (PostAccountPasswordMsisdnRequestCapn) HasCountry ¶
func (s PostAccountPasswordMsisdnRequestCapn) HasCountry() bool
func (PostAccountPasswordMsisdnRequestCapn) HasIDServer ¶
func (s PostAccountPasswordMsisdnRequestCapn) HasIDServer() bool
func (PostAccountPasswordMsisdnRequestCapn) HasNextLink ¶
func (s PostAccountPasswordMsisdnRequestCapn) HasNextLink() bool
func (PostAccountPasswordMsisdnRequestCapn) HasPhoneNumber ¶
func (s PostAccountPasswordMsisdnRequestCapn) HasPhoneNumber() bool
func (PostAccountPasswordMsisdnRequestCapn) IDServer ¶
func (s PostAccountPasswordMsisdnRequestCapn) IDServer() (string, error)
func (PostAccountPasswordMsisdnRequestCapn) IDServerBytes ¶
func (s PostAccountPasswordMsisdnRequestCapn) IDServerBytes() ([]byte, error)
func (PostAccountPasswordMsisdnRequestCapn) NextLink ¶
func (s PostAccountPasswordMsisdnRequestCapn) NextLink() (string, error)
func (PostAccountPasswordMsisdnRequestCapn) NextLinkBytes ¶
func (s PostAccountPasswordMsisdnRequestCapn) NextLinkBytes() ([]byte, error)
func (PostAccountPasswordMsisdnRequestCapn) PhoneNumber ¶
func (s PostAccountPasswordMsisdnRequestCapn) PhoneNumber() (string, error)
func (PostAccountPasswordMsisdnRequestCapn) PhoneNumberBytes ¶
func (s PostAccountPasswordMsisdnRequestCapn) PhoneNumberBytes() ([]byte, error)
func (PostAccountPasswordMsisdnRequestCapn) SendAttempt ¶
func (s PostAccountPasswordMsisdnRequestCapn) SendAttempt() int64
func (PostAccountPasswordMsisdnRequestCapn) SetClientSecret ¶
func (s PostAccountPasswordMsisdnRequestCapn) SetClientSecret(v string) error
func (PostAccountPasswordMsisdnRequestCapn) SetCountry ¶
func (s PostAccountPasswordMsisdnRequestCapn) SetCountry(v string) error
func (PostAccountPasswordMsisdnRequestCapn) SetIDServer ¶
func (s PostAccountPasswordMsisdnRequestCapn) SetIDServer(v string) error
func (PostAccountPasswordMsisdnRequestCapn) SetNextLink ¶
func (s PostAccountPasswordMsisdnRequestCapn) SetNextLink(v string) error
func (PostAccountPasswordMsisdnRequestCapn) SetPhoneNumber ¶
func (s PostAccountPasswordMsisdnRequestCapn) SetPhoneNumber(v string) error
func (PostAccountPasswordMsisdnRequestCapn) SetSendAttempt ¶
func (s PostAccountPasswordMsisdnRequestCapn) SetSendAttempt(v int64)
func (PostAccountPasswordMsisdnRequestCapn) String ¶
func (s PostAccountPasswordMsisdnRequestCapn) String() string
type PostAccountPasswordMsisdnRequestCapn_List ¶
PostAccountPasswordMsisdnRequestCapn_List is a list of PostAccountPasswordMsisdnRequestCapn.
func NewPostAccountPasswordMsisdnRequestCapn_List ¶
func NewPostAccountPasswordMsisdnRequestCapn_List(s *capnp.Segment, sz int32) (PostAccountPasswordMsisdnRequestCapn_List, error)
NewPostAccountPasswordMsisdnRequestCapn creates a new list of PostAccountPasswordMsisdnRequestCapn.
func (PostAccountPasswordMsisdnRequestCapn_List) Set ¶
func (s PostAccountPasswordMsisdnRequestCapn_List) Set(i int, v PostAccountPasswordMsisdnRequestCapn) error
func (PostAccountPasswordMsisdnRequestCapn_List) String ¶
func (s PostAccountPasswordMsisdnRequestCapn_List) String() string
type PostAccountPasswordMsisdnRequestCapn_Promise ¶
PostAccountPasswordMsisdnRequestCapn_Promise is a wrapper for a PostAccountPasswordMsisdnRequestCapn promised by a client call.
func (PostAccountPasswordMsisdnRequestCapn_Promise) Struct ¶
func (p PostAccountPasswordMsisdnRequestCapn_Promise) Struct() (PostAccountPasswordMsisdnRequestCapn, error)
type PostAccountPasswordRequest ¶
type PostAccountPasswordRequest struct { NewPassword string `json:"new_password"` Auth AuthData `json:"auth"` }
POST /_matrix/client/r0/account/password request
type PostAccountPasswordRequestCapn ¶
func NewPostAccountPasswordRequestCapn ¶
func NewPostAccountPasswordRequestCapn(s *capnp.Segment) (PostAccountPasswordRequestCapn, error)
func NewRootPostAccountPasswordRequestCapn ¶
func NewRootPostAccountPasswordRequestCapn(s *capnp.Segment) (PostAccountPasswordRequestCapn, error)
func ReadRootPostAccountPasswordRequestCapn ¶
func ReadRootPostAccountPasswordRequestCapn(msg *capnp.Message) (PostAccountPasswordRequestCapn, error)
func (PostAccountPasswordRequestCapn) Auth ¶
func (s PostAccountPasswordRequestCapn) Auth() (AuthDataCapn, error)
func (PostAccountPasswordRequestCapn) HasAuth ¶
func (s PostAccountPasswordRequestCapn) HasAuth() bool
func (PostAccountPasswordRequestCapn) HasNewPassword ¶
func (s PostAccountPasswordRequestCapn) HasNewPassword() bool
func (PostAccountPasswordRequestCapn) NewAuth ¶
func (s PostAccountPasswordRequestCapn) NewAuth() (AuthDataCapn, error)
NewAuth sets the auth field to a newly allocated AuthDataCapn struct, preferring placement in s's segment.
func (PostAccountPasswordRequestCapn) NewPassword ¶
func (s PostAccountPasswordRequestCapn) NewPassword() (string, error)
func (PostAccountPasswordRequestCapn) NewPasswordBytes ¶
func (s PostAccountPasswordRequestCapn) NewPasswordBytes() ([]byte, error)
func (PostAccountPasswordRequestCapn) SetAuth ¶
func (s PostAccountPasswordRequestCapn) SetAuth(v AuthDataCapn) error
func (PostAccountPasswordRequestCapn) SetNewPassword ¶
func (s PostAccountPasswordRequestCapn) SetNewPassword(v string) error
func (PostAccountPasswordRequestCapn) String ¶
func (s PostAccountPasswordRequestCapn) String() string
type PostAccountPasswordRequestCapn_List ¶
PostAccountPasswordRequestCapn_List is a list of PostAccountPasswordRequestCapn.
func NewPostAccountPasswordRequestCapn_List ¶
func NewPostAccountPasswordRequestCapn_List(s *capnp.Segment, sz int32) (PostAccountPasswordRequestCapn_List, error)
NewPostAccountPasswordRequestCapn creates a new list of PostAccountPasswordRequestCapn.
func (PostAccountPasswordRequestCapn_List) At ¶
func (s PostAccountPasswordRequestCapn_List) At(i int) PostAccountPasswordRequestCapn
func (PostAccountPasswordRequestCapn_List) Set ¶
func (s PostAccountPasswordRequestCapn_List) Set(i int, v PostAccountPasswordRequestCapn) error
func (PostAccountPasswordRequestCapn_List) String ¶
func (s PostAccountPasswordRequestCapn_List) String() string
type PostAccountPasswordRequestCapn_Promise ¶
PostAccountPasswordRequestCapn_Promise is a wrapper for a PostAccountPasswordRequestCapn promised by a client call.
func (PostAccountPasswordRequestCapn_Promise) Auth ¶
func (p PostAccountPasswordRequestCapn_Promise) Auth() AuthDataCapn_Promise
func (PostAccountPasswordRequestCapn_Promise) Struct ¶
func (p PostAccountPasswordRequestCapn_Promise) Struct() (PostAccountPasswordRequestCapn, error)
type PostClaimClientKeysRequest ¶
type PostClaimClientKeysRequest struct {
OneTimeKeys map[string]map[string]string `json:"one_time_keys"`
}
func (*PostClaimClientKeysRequest) Decode ¶
func (externalReq *PostClaimClientKeysRequest) Decode(data []byte) error
func (*PostClaimClientKeysRequest) Encode ¶
func (externalReq *PostClaimClientKeysRequest) Encode() ([]byte, error)
type PostClaimClientKeysResponse ¶
type PostClaimClientKeysResponse struct {
OneTimeKeys map[string]map[string]map[string]interface{} `json:"one_time_keys"`
}
func (*PostClaimClientKeysResponse) Decode ¶
func (res *PostClaimClientKeysResponse) Decode(input []byte) error
func (*PostClaimClientKeysResponse) Encode ¶
func (r *PostClaimClientKeysResponse) Encode() ([]byte, error)
type PostClaimKeysRequest ¶
type PostClaimKeysRequest struct { TimeOut int `json:"timeout"` OneTimeKeys map[string]map[string]string `json:"one_time_keys"` }
POST /_matrix/client/r0/keys/claim
func (*PostClaimKeysRequest) Decode ¶
func (externalReq *PostClaimKeysRequest) Decode(input []byte) error
func (*PostClaimKeysRequest) Encode ¶
func (externalReq *PostClaimKeysRequest) Encode() ([]byte, error)
type PostClaimKeysResponse ¶
type PostClaimKeysResponse struct { Failures map[string]interface{} `json:"failures"` DeviceKeys map[string]map[string]map[string]interface{} `json:"one_time_keys"` }
func (*PostClaimKeysResponse) Decode ¶
func (res *PostClaimKeysResponse) Decode(input []byte) error
func (*PostClaimKeysResponse) Encode ¶
func (res *PostClaimKeysResponse) Encode() ([]byte, error)
type PostCreateRoomRequest ¶
type PostCreateRoomRequest struct { Visibility string `json:"visibility"` RoomAliasName string `json:"room_alias_name"` Name string `json:"name"` Topic string `json:"topic"` Desc string `json:"desc"` Invite []string `json:"invite"` Invite3pid []Invite3pid `json:"invite_3pid"` RoomVersion string `json:"room_version"` CreationContent map[string]interface{} `json:"creation_content"` InitialState []StateEvent `json:"initial_state"` Preset string `json:"preset"` IsDirect bool `json:"is_direct"` AutoJoin bool `json:"auto_join"` RoomID string `json:"room_id"` GuestCanJoin bool `json:"guest_can_join"` }
POST /_matrix/client/r0/createRoom
func (*PostCreateRoomRequest) Decode ¶
func (externalReq *PostCreateRoomRequest) Decode(input []byte) error
func (*PostCreateRoomRequest) Encode ¶
func (externalReq *PostCreateRoomRequest) Encode() ([]byte, error)
type PostCreateRoomResponse ¶
type PostCreateRoomResponse struct { RoomID string `json:"room_id"` RoomAlias string `json:"room_alias,omitempty"` // in synapse not spec }
func (*PostCreateRoomResponse) Decode ¶
func (res *PostCreateRoomResponse) Decode(input []byte) error
func (*PostCreateRoomResponse) Encode ¶
func (res *PostCreateRoomResponse) Encode() ([]byte, error)
type PostCreateRoomResponseCapn ¶
func NewPostCreateRoomResponseCapn ¶
func NewPostCreateRoomResponseCapn(s *capnp.Segment) (PostCreateRoomResponseCapn, error)
func NewRootPostCreateRoomResponseCapn ¶
func NewRootPostCreateRoomResponseCapn(s *capnp.Segment) (PostCreateRoomResponseCapn, error)
func ReadRootPostCreateRoomResponseCapn ¶
func ReadRootPostCreateRoomResponseCapn(msg *capnp.Message) (PostCreateRoomResponseCapn, error)
func (PostCreateRoomResponseCapn) HasRoomAlias ¶
func (s PostCreateRoomResponseCapn) HasRoomAlias() bool
func (PostCreateRoomResponseCapn) HasRoomID ¶
func (s PostCreateRoomResponseCapn) HasRoomID() bool
func (PostCreateRoomResponseCapn) RoomAlias ¶
func (s PostCreateRoomResponseCapn) RoomAlias() (string, error)
func (PostCreateRoomResponseCapn) RoomAliasBytes ¶
func (s PostCreateRoomResponseCapn) RoomAliasBytes() ([]byte, error)
func (PostCreateRoomResponseCapn) RoomID ¶
func (s PostCreateRoomResponseCapn) RoomID() (string, error)
func (PostCreateRoomResponseCapn) RoomIDBytes ¶
func (s PostCreateRoomResponseCapn) RoomIDBytes() ([]byte, error)
func (PostCreateRoomResponseCapn) SetRoomAlias ¶
func (s PostCreateRoomResponseCapn) SetRoomAlias(v string) error
func (PostCreateRoomResponseCapn) SetRoomID ¶
func (s PostCreateRoomResponseCapn) SetRoomID(v string) error
func (PostCreateRoomResponseCapn) String ¶
func (s PostCreateRoomResponseCapn) String() string
type PostCreateRoomResponseCapn_List ¶
PostCreateRoomResponseCapn_List is a list of PostCreateRoomResponseCapn.
func NewPostCreateRoomResponseCapn_List ¶
func NewPostCreateRoomResponseCapn_List(s *capnp.Segment, sz int32) (PostCreateRoomResponseCapn_List, error)
NewPostCreateRoomResponseCapn creates a new list of PostCreateRoomResponseCapn.
func (PostCreateRoomResponseCapn_List) At ¶
func (s PostCreateRoomResponseCapn_List) At(i int) PostCreateRoomResponseCapn
func (PostCreateRoomResponseCapn_List) Set ¶
func (s PostCreateRoomResponseCapn_List) Set(i int, v PostCreateRoomResponseCapn) error
func (PostCreateRoomResponseCapn_List) String ¶
func (s PostCreateRoomResponseCapn_List) String() string
type PostCreateRoomResponseCapn_Promise ¶
PostCreateRoomResponseCapn_Promise is a wrapper for a PostCreateRoomResponseCapn promised by a client call.
func (PostCreateRoomResponseCapn_Promise) Struct ¶
func (p PostCreateRoomResponseCapn_Promise) Struct() (PostCreateRoomResponseCapn, error)
type PostDelDevicesRequest ¶
type PostDelDevicesRequest struct { Devices []string `json:"devices"` Auth DeviceAuthDict `json:"auth"` }
func (*PostDelDevicesRequest) Decode ¶
func (externalReq *PostDelDevicesRequest) Decode(input []byte) error
func (*PostDelDevicesRequest) Encode ¶
func (externalReq *PostDelDevicesRequest) Encode() ([]byte, error)
type PostDevicesDelRequest ¶
POST /_matrix/client/r0/delete_devices
type PostDevicesDelRequestCapn ¶
func NewPostDevicesDelRequestCapn ¶
func NewPostDevicesDelRequestCapn(s *capnp.Segment) (PostDevicesDelRequestCapn, error)
func NewRootPostDevicesDelRequestCapn ¶
func NewRootPostDevicesDelRequestCapn(s *capnp.Segment) (PostDevicesDelRequestCapn, error)
func ReadRootPostDevicesDelRequestCapn ¶
func ReadRootPostDevicesDelRequestCapn(msg *capnp.Message) (PostDevicesDelRequestCapn, error)
func (PostDevicesDelRequestCapn) Auth ¶
func (s PostDevicesDelRequestCapn) Auth() (AuthDataCapn, error)
func (PostDevicesDelRequestCapn) Devices ¶
func (s PostDevicesDelRequestCapn) Devices() (capnp.TextList, error)
func (PostDevicesDelRequestCapn) HasAuth ¶
func (s PostDevicesDelRequestCapn) HasAuth() bool
func (PostDevicesDelRequestCapn) HasDevices ¶
func (s PostDevicesDelRequestCapn) HasDevices() bool
func (PostDevicesDelRequestCapn) NewAuth ¶
func (s PostDevicesDelRequestCapn) NewAuth() (AuthDataCapn, error)
NewAuth sets the auth field to a newly allocated AuthDataCapn struct, preferring placement in s's segment.
func (PostDevicesDelRequestCapn) NewDevices ¶
func (s PostDevicesDelRequestCapn) NewDevices(n int32) (capnp.TextList, error)
NewDevices sets the devices field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (PostDevicesDelRequestCapn) SetAuth ¶
func (s PostDevicesDelRequestCapn) SetAuth(v AuthDataCapn) error
func (PostDevicesDelRequestCapn) SetDevices ¶
func (s PostDevicesDelRequestCapn) SetDevices(v capnp.TextList) error
func (PostDevicesDelRequestCapn) String ¶
func (s PostDevicesDelRequestCapn) String() string
type PostDevicesDelRequestCapn_List ¶
PostDevicesDelRequestCapn_List is a list of PostDevicesDelRequestCapn.
func NewPostDevicesDelRequestCapn_List ¶
func NewPostDevicesDelRequestCapn_List(s *capnp.Segment, sz int32) (PostDevicesDelRequestCapn_List, error)
NewPostDevicesDelRequestCapn creates a new list of PostDevicesDelRequestCapn.
func (PostDevicesDelRequestCapn_List) At ¶
func (s PostDevicesDelRequestCapn_List) At(i int) PostDevicesDelRequestCapn
func (PostDevicesDelRequestCapn_List) Set ¶
func (s PostDevicesDelRequestCapn_List) Set(i int, v PostDevicesDelRequestCapn) error
func (PostDevicesDelRequestCapn_List) String ¶
func (s PostDevicesDelRequestCapn_List) String() string
type PostDevicesDelRequestCapn_Promise ¶
PostDevicesDelRequestCapn_Promise is a wrapper for a PostDevicesDelRequestCapn promised by a client call.
func (PostDevicesDelRequestCapn_Promise) Auth ¶
func (p PostDevicesDelRequestCapn_Promise) Auth() AuthDataCapn_Promise
func (PostDevicesDelRequestCapn_Promise) Struct ¶
func (p PostDevicesDelRequestCapn_Promise) Struct() (PostDevicesDelRequestCapn, error)
type PostFedPublicRoomsRequest ¶
type PostFedPublicRoomsRequest struct { Limit int64 `json:"limit"` Since string `json:"since"` Filter string `json:"filter"` IncludeAllNetworks bool `json:"include_all_networks"` ThirdPartyInstanceID string `json:"third_party_instance_id"` }
func (*PostFedPublicRoomsRequest) Decode ¶
func (externalReq *PostFedPublicRoomsRequest) Decode(data []byte) error
func (*PostFedPublicRoomsRequest) Encode ¶
func (externalReq *PostFedPublicRoomsRequest) Encode() ([]byte, error)
type PostFedPublicRoomsResponse ¶
type PostFedPublicRoomsResponse struct { Chunk []types.PublicRoom `json:"chunk"` NextBatch string `json:"next_batch,omitempty"` PrevBatch string `json:"prev_batch,omitempty"` Estimate int64 `json:"total_room_count_estimate,omitempty"` }
func (*PostFedPublicRoomsResponse) Decode ¶
func (res *PostFedPublicRoomsResponse) Decode(input []byte) error
func (*PostFedPublicRoomsResponse) Encode ¶
func (r *PostFedPublicRoomsResponse) Encode() ([]byte, error)
type PostLoginAdminRequest ¶
type PostLoginAdminRequest PostLoginRequest
func (*PostLoginAdminRequest) Decode ¶
func (externalReq *PostLoginAdminRequest) Decode(input []byte) error
func (*PostLoginAdminRequest) Encode ¶
func (externalReq *PostLoginAdminRequest) Encode() ([]byte, error)
type PostLoginRequest ¶
type PostLoginRequest struct { RequestType string `json:"type"` Identifier UserIdentifier `json:"identifier"` User string `json:"user"` Medium string `json:"medium"` Address string `json:"address"` Password string `json:"password"` Token string `json:"token"` DeviceID string `json:"device_id"` InitialDisplayName *string `json:"initial_device_display_name"` IsHuman *bool `json:"is_human"` IsAdmin bool `json:"is_admin"` }
POST /_matrix/client/r0/login request
func (*PostLoginRequest) Decode ¶
func (externalReq *PostLoginRequest) Decode(input []byte) error
func (*PostLoginRequest) Encode ¶
func (externalReq *PostLoginRequest) Encode() ([]byte, error)
type PostLoginResponse ¶
type PostLoginResponse struct { UserID string `json:"user_id"` AccessToken string `json:"access_token"` HomeServer string `json:"home_server"` DeviceID string `json:"device_id"` }
response
func (*PostLoginResponse) Decode ¶
func (res *PostLoginResponse) Decode(input []byte) error
func (*PostLoginResponse) Encode ¶
func (res *PostLoginResponse) Encode() ([]byte, error)
type PostLoginResponseCapn ¶
func NewPostLoginResponseCapn ¶
func NewPostLoginResponseCapn(s *capnp.Segment) (PostLoginResponseCapn, error)
func NewRootPostLoginResponseCapn ¶
func NewRootPostLoginResponseCapn(s *capnp.Segment) (PostLoginResponseCapn, error)
func ReadRootPostLoginResponseCapn ¶
func ReadRootPostLoginResponseCapn(msg *capnp.Message) (PostLoginResponseCapn, error)
func (PostLoginResponseCapn) AccessToken ¶
func (s PostLoginResponseCapn) AccessToken() (string, error)
func (PostLoginResponseCapn) AccessTokenBytes ¶
func (s PostLoginResponseCapn) AccessTokenBytes() ([]byte, error)
func (PostLoginResponseCapn) DeviceID ¶
func (s PostLoginResponseCapn) DeviceID() (string, error)
func (PostLoginResponseCapn) DeviceIDBytes ¶
func (s PostLoginResponseCapn) DeviceIDBytes() ([]byte, error)
func (PostLoginResponseCapn) HasAccessToken ¶
func (s PostLoginResponseCapn) HasAccessToken() bool
func (PostLoginResponseCapn) HasDeviceID ¶
func (s PostLoginResponseCapn) HasDeviceID() bool
func (PostLoginResponseCapn) HasHomeServer ¶
func (s PostLoginResponseCapn) HasHomeServer() bool
func (PostLoginResponseCapn) HasUserID ¶
func (s PostLoginResponseCapn) HasUserID() bool
func (PostLoginResponseCapn) HomeServer ¶
func (s PostLoginResponseCapn) HomeServer() (string, error)
func (PostLoginResponseCapn) HomeServerBytes ¶
func (s PostLoginResponseCapn) HomeServerBytes() ([]byte, error)
func (PostLoginResponseCapn) SetAccessToken ¶
func (s PostLoginResponseCapn) SetAccessToken(v string) error
func (PostLoginResponseCapn) SetDeviceID ¶
func (s PostLoginResponseCapn) SetDeviceID(v string) error
func (PostLoginResponseCapn) SetHomeServer ¶
func (s PostLoginResponseCapn) SetHomeServer(v string) error
func (PostLoginResponseCapn) SetUserID ¶
func (s PostLoginResponseCapn) SetUserID(v string) error
func (PostLoginResponseCapn) String ¶
func (s PostLoginResponseCapn) String() string
func (PostLoginResponseCapn) UserID ¶
func (s PostLoginResponseCapn) UserID() (string, error)
func (PostLoginResponseCapn) UserIDBytes ¶
func (s PostLoginResponseCapn) UserIDBytes() ([]byte, error)
type PostLoginResponseCapn_List ¶
PostLoginResponseCapn_List is a list of PostLoginResponseCapn.
func NewPostLoginResponseCapn_List ¶
func NewPostLoginResponseCapn_List(s *capnp.Segment, sz int32) (PostLoginResponseCapn_List, error)
NewPostLoginResponseCapn creates a new list of PostLoginResponseCapn.
func (PostLoginResponseCapn_List) At ¶
func (s PostLoginResponseCapn_List) At(i int) PostLoginResponseCapn
func (PostLoginResponseCapn_List) Set ¶
func (s PostLoginResponseCapn_List) Set(i int, v PostLoginResponseCapn) error
func (PostLoginResponseCapn_List) String ¶
func (s PostLoginResponseCapn_List) String() string
type PostLoginResponseCapn_Promise ¶
PostLoginResponseCapn_Promise is a wrapper for a PostLoginResponseCapn promised by a client call.
func (PostLoginResponseCapn_Promise) Struct ¶
func (p PostLoginResponseCapn_Promise) Struct() (PostLoginResponseCapn, error)
type PostMediaUploadRequest ¶
type PostMediaUploadRequest struct { FileName string `json:"filename"` ContentType string `json:"content-type"` }
POST /_matrix/media/r0/upload
func (*PostMediaUploadRequest) Decode ¶
func (externalReq *PostMediaUploadRequest) Decode(input []byte) error
func (*PostMediaUploadRequest) Encode ¶
func (externalReq *PostMediaUploadRequest) Encode() ([]byte, error)
type PostMediaUploadRequestCapn ¶
func NewPostMediaUploadRequestCapn ¶
func NewPostMediaUploadRequestCapn(s *capnp.Segment) (PostMediaUploadRequestCapn, error)
func NewRootPostMediaUploadRequestCapn ¶
func NewRootPostMediaUploadRequestCapn(s *capnp.Segment) (PostMediaUploadRequestCapn, error)
func ReadRootPostMediaUploadRequestCapn ¶
func ReadRootPostMediaUploadRequestCapn(msg *capnp.Message) (PostMediaUploadRequestCapn, error)
func (PostMediaUploadRequestCapn) ContentType ¶
func (s PostMediaUploadRequestCapn) ContentType() (string, error)
func (PostMediaUploadRequestCapn) ContentTypeBytes ¶
func (s PostMediaUploadRequestCapn) ContentTypeBytes() ([]byte, error)
func (PostMediaUploadRequestCapn) FileName ¶
func (s PostMediaUploadRequestCapn) FileName() (string, error)
func (PostMediaUploadRequestCapn) FileNameBytes ¶
func (s PostMediaUploadRequestCapn) FileNameBytes() ([]byte, error)
func (PostMediaUploadRequestCapn) HasContentType ¶
func (s PostMediaUploadRequestCapn) HasContentType() bool
func (PostMediaUploadRequestCapn) HasFileName ¶
func (s PostMediaUploadRequestCapn) HasFileName() bool
func (PostMediaUploadRequestCapn) SetContentType ¶
func (s PostMediaUploadRequestCapn) SetContentType(v string) error
func (PostMediaUploadRequestCapn) SetFileName ¶
func (s PostMediaUploadRequestCapn) SetFileName(v string) error
func (PostMediaUploadRequestCapn) String ¶
func (s PostMediaUploadRequestCapn) String() string
type PostMediaUploadRequestCapn_List ¶
PostMediaUploadRequestCapn_List is a list of PostMediaUploadRequestCapn.
func NewPostMediaUploadRequestCapn_List ¶
func NewPostMediaUploadRequestCapn_List(s *capnp.Segment, sz int32) (PostMediaUploadRequestCapn_List, error)
NewPostMediaUploadRequestCapn creates a new list of PostMediaUploadRequestCapn.
func (PostMediaUploadRequestCapn_List) At ¶
func (s PostMediaUploadRequestCapn_List) At(i int) PostMediaUploadRequestCapn
func (PostMediaUploadRequestCapn_List) Set ¶
func (s PostMediaUploadRequestCapn_List) Set(i int, v PostMediaUploadRequestCapn) error
func (PostMediaUploadRequestCapn_List) String ¶
func (s PostMediaUploadRequestCapn_List) String() string
type PostMediaUploadRequestCapn_Promise ¶
PostMediaUploadRequestCapn_Promise is a wrapper for a PostMediaUploadRequestCapn promised by a client call.
func (PostMediaUploadRequestCapn_Promise) Struct ¶
func (p PostMediaUploadRequestCapn_Promise) Struct() (PostMediaUploadRequestCapn, error)
type PostMediaUploadResponse ¶
type PostMediaUploadResponse struct {
ContentURI string `json:"content_uri"`
}
func (*PostMediaUploadResponse) Decode ¶
func (res *PostMediaUploadResponse) Decode(input []byte) error
func (*PostMediaUploadResponse) Encode ¶
func (res *PostMediaUploadResponse) Encode() ([]byte, error)
type PostMediaUploadResponseCapn ¶
func NewPostMediaUploadResponseCapn ¶
func NewPostMediaUploadResponseCapn(s *capnp.Segment) (PostMediaUploadResponseCapn, error)
func NewRootPostMediaUploadResponseCapn ¶
func NewRootPostMediaUploadResponseCapn(s *capnp.Segment) (PostMediaUploadResponseCapn, error)
func ReadRootPostMediaUploadResponseCapn ¶
func ReadRootPostMediaUploadResponseCapn(msg *capnp.Message) (PostMediaUploadResponseCapn, error)
func (PostMediaUploadResponseCapn) ContentURI ¶
func (s PostMediaUploadResponseCapn) ContentURI() (string, error)
func (PostMediaUploadResponseCapn) ContentURIBytes ¶
func (s PostMediaUploadResponseCapn) ContentURIBytes() ([]byte, error)
func (PostMediaUploadResponseCapn) HasContentURI ¶
func (s PostMediaUploadResponseCapn) HasContentURI() bool
func (PostMediaUploadResponseCapn) SetContentURI ¶
func (s PostMediaUploadResponseCapn) SetContentURI(v string) error
func (PostMediaUploadResponseCapn) String ¶
func (s PostMediaUploadResponseCapn) String() string
type PostMediaUploadResponseCapn_List ¶
PostMediaUploadResponseCapn_List is a list of PostMediaUploadResponseCapn.
func NewPostMediaUploadResponseCapn_List ¶
func NewPostMediaUploadResponseCapn_List(s *capnp.Segment, sz int32) (PostMediaUploadResponseCapn_List, error)
NewPostMediaUploadResponseCapn creates a new list of PostMediaUploadResponseCapn.
func (PostMediaUploadResponseCapn_List) At ¶
func (s PostMediaUploadResponseCapn_List) At(i int) PostMediaUploadResponseCapn
func (PostMediaUploadResponseCapn_List) Set ¶
func (s PostMediaUploadResponseCapn_List) Set(i int, v PostMediaUploadResponseCapn) error
func (PostMediaUploadResponseCapn_List) String ¶
func (s PostMediaUploadResponseCapn_List) String() string
type PostMediaUploadResponseCapn_Promise ¶
PostMediaUploadResponseCapn_Promise is a wrapper for a PostMediaUploadResponseCapn promised by a client call.
func (PostMediaUploadResponseCapn_Promise) Struct ¶
func (p PostMediaUploadResponseCapn_Promise) Struct() (PostMediaUploadResponseCapn, error)
type PostPresenceListRequest ¶
type PostPresenceListRequest struct { UserID string `json:"user_id"` Invite []string `json:"invite"` Drop []string `json:"drop"` }
func (*PostPresenceListRequest) Decode ¶
func (externalReq *PostPresenceListRequest) Decode(input []byte) error
func (*PostPresenceListRequest) Encode ¶
func (externalReq *PostPresenceListRequest) Encode() ([]byte, error)
type PostPresenceListRequestCapn ¶
func NewPostPresenceListRequestCapn ¶
func NewPostPresenceListRequestCapn(s *capnp.Segment) (PostPresenceListRequestCapn, error)
func NewRootPostPresenceListRequestCapn ¶
func NewRootPostPresenceListRequestCapn(s *capnp.Segment) (PostPresenceListRequestCapn, error)
func ReadRootPostPresenceListRequestCapn ¶
func ReadRootPostPresenceListRequestCapn(msg *capnp.Message) (PostPresenceListRequestCapn, error)
func (PostPresenceListRequestCapn) Drop ¶
func (s PostPresenceListRequestCapn) Drop() (capnp.TextList, error)
func (PostPresenceListRequestCapn) HasDrop ¶
func (s PostPresenceListRequestCapn) HasDrop() bool
func (PostPresenceListRequestCapn) HasInvite ¶
func (s PostPresenceListRequestCapn) HasInvite() bool
func (PostPresenceListRequestCapn) HasUserID ¶
func (s PostPresenceListRequestCapn) HasUserID() bool
func (PostPresenceListRequestCapn) Invite ¶
func (s PostPresenceListRequestCapn) Invite() (capnp.TextList, error)
func (PostPresenceListRequestCapn) NewDrop ¶
func (s PostPresenceListRequestCapn) NewDrop(n int32) (capnp.TextList, error)
NewDrop sets the drop field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (PostPresenceListRequestCapn) NewInvite ¶
func (s PostPresenceListRequestCapn) NewInvite(n int32) (capnp.TextList, error)
NewInvite sets the invite field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (PostPresenceListRequestCapn) SetDrop ¶
func (s PostPresenceListRequestCapn) SetDrop(v capnp.TextList) error
func (PostPresenceListRequestCapn) SetInvite ¶
func (s PostPresenceListRequestCapn) SetInvite(v capnp.TextList) error
func (PostPresenceListRequestCapn) SetUserID ¶
func (s PostPresenceListRequestCapn) SetUserID(v string) error
func (PostPresenceListRequestCapn) String ¶
func (s PostPresenceListRequestCapn) String() string
func (PostPresenceListRequestCapn) UserID ¶
func (s PostPresenceListRequestCapn) UserID() (string, error)
func (PostPresenceListRequestCapn) UserIDBytes ¶
func (s PostPresenceListRequestCapn) UserIDBytes() ([]byte, error)
type PostPresenceListRequestCapn_List ¶
PostPresenceListRequestCapn_List is a list of PostPresenceListRequestCapn.
func NewPostPresenceListRequestCapn_List ¶
func NewPostPresenceListRequestCapn_List(s *capnp.Segment, sz int32) (PostPresenceListRequestCapn_List, error)
NewPostPresenceListRequestCapn creates a new list of PostPresenceListRequestCapn.
func (PostPresenceListRequestCapn_List) At ¶
func (s PostPresenceListRequestCapn_List) At(i int) PostPresenceListRequestCapn
func (PostPresenceListRequestCapn_List) Set ¶
func (s PostPresenceListRequestCapn_List) Set(i int, v PostPresenceListRequestCapn) error
func (PostPresenceListRequestCapn_List) String ¶
func (s PostPresenceListRequestCapn_List) String() string
type PostPresenceListRequestCapn_Promise ¶
PostPresenceListRequestCapn_Promise is a wrapper for a PostPresenceListRequestCapn promised by a client call.
func (PostPresenceListRequestCapn_Promise) Struct ¶
func (p PostPresenceListRequestCapn_Promise) Struct() (PostPresenceListRequestCapn, error)
type PostPublicRoomsRequest ¶
type PostPublicRoomsRequest struct { Limit int64 `json:"limit"` Since string `json:"since"` Filter filter `json:"filter"` IncludeAllNetworks bool `json:"include_all_networks"` ThirdPartyInstanceID string `json:"third_party_instance_id"` Server string `json:"server"` }
POST /_matrix/client/r0/publicRooms
func (*PostPublicRoomsRequest) Decode ¶
func (externalReq *PostPublicRoomsRequest) Decode(input []byte) error
func (*PostPublicRoomsRequest) Encode ¶
func (externalReq *PostPublicRoomsRequest) Encode() ([]byte, error)
type PostPublicRoomsRequestCapn ¶
func NewPostPublicRoomsRequestCapn ¶
func NewPostPublicRoomsRequestCapn(s *capnp.Segment) (PostPublicRoomsRequestCapn, error)
func NewRootPostPublicRoomsRequestCapn ¶
func NewRootPostPublicRoomsRequestCapn(s *capnp.Segment) (PostPublicRoomsRequestCapn, error)
func ReadRootPostPublicRoomsRequestCapn ¶
func ReadRootPostPublicRoomsRequestCapn(msg *capnp.Message) (PostPublicRoomsRequestCapn, error)
func (PostPublicRoomsRequestCapn) Filter ¶
func (s PostPublicRoomsRequestCapn) Filter() (FilterCapn, error)
func (PostPublicRoomsRequestCapn) HasFilter ¶
func (s PostPublicRoomsRequestCapn) HasFilter() bool
func (PostPublicRoomsRequestCapn) HasServer ¶
func (s PostPublicRoomsRequestCapn) HasServer() bool
func (PostPublicRoomsRequestCapn) HasSince ¶
func (s PostPublicRoomsRequestCapn) HasSince() bool
func (PostPublicRoomsRequestCapn) HasThirdPartyInstanceID ¶
func (s PostPublicRoomsRequestCapn) HasThirdPartyInstanceID() bool
func (PostPublicRoomsRequestCapn) IncludeAllNetworks ¶
func (s PostPublicRoomsRequestCapn) IncludeAllNetworks() bool
func (PostPublicRoomsRequestCapn) Limit ¶
func (s PostPublicRoomsRequestCapn) Limit() int64
func (PostPublicRoomsRequestCapn) NewFilter ¶
func (s PostPublicRoomsRequestCapn) NewFilter() (FilterCapn, error)
NewFilter sets the filter field to a newly allocated FilterCapn struct, preferring placement in s's segment.
func (PostPublicRoomsRequestCapn) Server ¶
func (s PostPublicRoomsRequestCapn) Server() (string, error)
func (PostPublicRoomsRequestCapn) ServerBytes ¶
func (s PostPublicRoomsRequestCapn) ServerBytes() ([]byte, error)
func (PostPublicRoomsRequestCapn) SetFilter ¶
func (s PostPublicRoomsRequestCapn) SetFilter(v FilterCapn) error
func (PostPublicRoomsRequestCapn) SetIncludeAllNetworks ¶
func (s PostPublicRoomsRequestCapn) SetIncludeAllNetworks(v bool)
func (PostPublicRoomsRequestCapn) SetLimit ¶
func (s PostPublicRoomsRequestCapn) SetLimit(v int64)
func (PostPublicRoomsRequestCapn) SetServer ¶
func (s PostPublicRoomsRequestCapn) SetServer(v string) error
func (PostPublicRoomsRequestCapn) SetSince ¶
func (s PostPublicRoomsRequestCapn) SetSince(v string) error
func (PostPublicRoomsRequestCapn) SetThirdPartyInstanceID ¶
func (s PostPublicRoomsRequestCapn) SetThirdPartyInstanceID(v string) error
func (PostPublicRoomsRequestCapn) Since ¶
func (s PostPublicRoomsRequestCapn) Since() (string, error)
func (PostPublicRoomsRequestCapn) SinceBytes ¶
func (s PostPublicRoomsRequestCapn) SinceBytes() ([]byte, error)
func (PostPublicRoomsRequestCapn) String ¶
func (s PostPublicRoomsRequestCapn) String() string
func (PostPublicRoomsRequestCapn) ThirdPartyInstanceID ¶
func (s PostPublicRoomsRequestCapn) ThirdPartyInstanceID() (string, error)
func (PostPublicRoomsRequestCapn) ThirdPartyInstanceIDBytes ¶
func (s PostPublicRoomsRequestCapn) ThirdPartyInstanceIDBytes() ([]byte, error)
type PostPublicRoomsRequestCapn_List ¶
PostPublicRoomsRequestCapn_List is a list of PostPublicRoomsRequestCapn.
func NewPostPublicRoomsRequestCapn_List ¶
func NewPostPublicRoomsRequestCapn_List(s *capnp.Segment, sz int32) (PostPublicRoomsRequestCapn_List, error)
NewPostPublicRoomsRequestCapn creates a new list of PostPublicRoomsRequestCapn.
func (PostPublicRoomsRequestCapn_List) At ¶
func (s PostPublicRoomsRequestCapn_List) At(i int) PostPublicRoomsRequestCapn
func (PostPublicRoomsRequestCapn_List) Set ¶
func (s PostPublicRoomsRequestCapn_List) Set(i int, v PostPublicRoomsRequestCapn) error
func (PostPublicRoomsRequestCapn_List) String ¶
func (s PostPublicRoomsRequestCapn_List) String() string
type PostPublicRoomsRequestCapn_Promise ¶
PostPublicRoomsRequestCapn_Promise is a wrapper for a PostPublicRoomsRequestCapn promised by a client call.
func (PostPublicRoomsRequestCapn_Promise) Filter ¶
func (p PostPublicRoomsRequestCapn_Promise) Filter() FilterCapn_Promise
func (PostPublicRoomsRequestCapn_Promise) Struct ¶
func (p PostPublicRoomsRequestCapn_Promise) Struct() (PostPublicRoomsRequestCapn, error)
type PostPublicRoomsResponse ¶
type PostPublicRoomsResponse struct { Chunk []PublicRoomsChunk `json:"chunk"` NextBatch string `json:"next_batch,omitempty"` PrevBatch string `json:"prev_batch,omitempty"` Estimate int64 `json:"total_room_count_estimate,omitempty"` }
response
func (*PostPublicRoomsResponse) Decode ¶
func (res *PostPublicRoomsResponse) Decode(input []byte) error
func (*PostPublicRoomsResponse) Encode ¶
func (res *PostPublicRoomsResponse) Encode() ([]byte, error)
type PostPublicRoomsResponseCapn ¶
func NewPostPublicRoomsResponseCapn ¶
func NewPostPublicRoomsResponseCapn(s *capnp.Segment) (PostPublicRoomsResponseCapn, error)
func NewRootPostPublicRoomsResponseCapn ¶
func NewRootPostPublicRoomsResponseCapn(s *capnp.Segment) (PostPublicRoomsResponseCapn, error)
func ReadRootPostPublicRoomsResponseCapn ¶
func ReadRootPostPublicRoomsResponseCapn(msg *capnp.Message) (PostPublicRoomsResponseCapn, error)
func (PostPublicRoomsResponseCapn) Chunk ¶
func (s PostPublicRoomsResponseCapn) Chunk() (PublicRoomsChunkCapn_List, error)
func (PostPublicRoomsResponseCapn) HasChunk ¶
func (s PostPublicRoomsResponseCapn) HasChunk() bool
func (PostPublicRoomsResponseCapn) HasNextBatch ¶
func (s PostPublicRoomsResponseCapn) HasNextBatch() bool
func (PostPublicRoomsResponseCapn) HasPrevBatch ¶
func (s PostPublicRoomsResponseCapn) HasPrevBatch() bool
func (PostPublicRoomsResponseCapn) NewChunk ¶
func (s PostPublicRoomsResponseCapn) NewChunk(n int32) (PublicRoomsChunkCapn_List, error)
NewChunk sets the chunk field to a newly allocated PublicRoomsChunkCapn_List, preferring placement in s's segment.
func (PostPublicRoomsResponseCapn) NextBatch ¶
func (s PostPublicRoomsResponseCapn) NextBatch() (string, error)
func (PostPublicRoomsResponseCapn) NextBatchBytes ¶
func (s PostPublicRoomsResponseCapn) NextBatchBytes() ([]byte, error)
func (PostPublicRoomsResponseCapn) PrevBatch ¶
func (s PostPublicRoomsResponseCapn) PrevBatch() (string, error)
func (PostPublicRoomsResponseCapn) PrevBatchBytes ¶
func (s PostPublicRoomsResponseCapn) PrevBatchBytes() ([]byte, error)
func (PostPublicRoomsResponseCapn) SetChunk ¶
func (s PostPublicRoomsResponseCapn) SetChunk(v PublicRoomsChunkCapn_List) error
func (PostPublicRoomsResponseCapn) SetNextBatch ¶
func (s PostPublicRoomsResponseCapn) SetNextBatch(v string) error
func (PostPublicRoomsResponseCapn) SetPrevBatch ¶
func (s PostPublicRoomsResponseCapn) SetPrevBatch(v string) error
func (PostPublicRoomsResponseCapn) SetTotal ¶
func (s PostPublicRoomsResponseCapn) SetTotal(v int64)
func (PostPublicRoomsResponseCapn) String ¶
func (s PostPublicRoomsResponseCapn) String() string
func (PostPublicRoomsResponseCapn) Total ¶
func (s PostPublicRoomsResponseCapn) Total() int64
type PostPublicRoomsResponseCapn_List ¶
PostPublicRoomsResponseCapn_List is a list of PostPublicRoomsResponseCapn.
func NewPostPublicRoomsResponseCapn_List ¶
func NewPostPublicRoomsResponseCapn_List(s *capnp.Segment, sz int32) (PostPublicRoomsResponseCapn_List, error)
NewPostPublicRoomsResponseCapn creates a new list of PostPublicRoomsResponseCapn.
func (PostPublicRoomsResponseCapn_List) At ¶
func (s PostPublicRoomsResponseCapn_List) At(i int) PostPublicRoomsResponseCapn
func (PostPublicRoomsResponseCapn_List) Set ¶
func (s PostPublicRoomsResponseCapn_List) Set(i int, v PostPublicRoomsResponseCapn) error
func (PostPublicRoomsResponseCapn_List) String ¶
func (s PostPublicRoomsResponseCapn_List) String() string
type PostPublicRoomsResponseCapn_Promise ¶
PostPublicRoomsResponseCapn_Promise is a wrapper for a PostPublicRoomsResponseCapn promised by a client call.
func (PostPublicRoomsResponseCapn_Promise) Struct ¶
func (p PostPublicRoomsResponseCapn_Promise) Struct() (PostPublicRoomsResponseCapn, error)
type PostQueryAuthRequest ¶
type PostQueryAuthRequest struct { RoomID string `json:"roomId"` EventID string `json:"eventId"` AuthChain []gomatrixserverlib.Event `json:"auth_chain"` Missing []string `json:"missing,omitempty"` Rejects map[string]struct { Reason string `json:"reason"` } `json:"rejects,omitempty"` }
func (*PostQueryAuthRequest) Decode ¶
func (externalReq *PostQueryAuthRequest) Decode(data []byte) error
func (*PostQueryAuthRequest) Encode ¶
func (externalReq *PostQueryAuthRequest) Encode() ([]byte, error)
type PostQueryAuthResponse ¶
type PostQueryAuthResponse struct { AuthChain []gomatrixserverlib.Event `json:"auth_chain"` Missing []string `json:"missing"` Rejects map[string]struct { Reason string `json:"reason"` } `json:"rejects"` }
func (*PostQueryAuthResponse) Decode ¶
func (res *PostQueryAuthResponse) Decode(input []byte) error
func (*PostQueryAuthResponse) Encode ¶
func (r *PostQueryAuthResponse) Encode() ([]byte, error)
type PostQueryClientKeysRequest ¶
func (*PostQueryClientKeysRequest) Decode ¶
func (externalReq *PostQueryClientKeysRequest) Decode(data []byte) error
func (*PostQueryClientKeysRequest) Encode ¶
func (externalReq *PostQueryClientKeysRequest) Encode() ([]byte, error)
type PostQueryClientKeysResponse ¶
type PostQueryClientKeysResponse struct {
DeviceKeys map[string]map[string]DeviceKeys `json:"device_keys"`
}
func (*PostQueryClientKeysResponse) Decode ¶
func (res *PostQueryClientKeysResponse) Decode(input []byte) error
func (*PostQueryClientKeysResponse) Encode ¶
func (r *PostQueryClientKeysResponse) Encode() ([]byte, error)
type PostQueryKeysRequest ¶
type PostQueryKeysRequest struct { TimeOut int64 `json:"timeout"` DeviceKeys map[string]interface{} `json:"device_keys"` Token string `json:"token"` }
POST /_matrix/client/r0/keys/query
func (*PostQueryKeysRequest) Decode ¶
func (externalReq *PostQueryKeysRequest) Decode(input []byte) error
func (*PostQueryKeysRequest) Encode ¶
func (externalReq *PostQueryKeysRequest) Encode() ([]byte, error)
type PostQueryKeysResponse ¶
type PostQueryKeysResponse struct { Failures map[string]interface{} `json:"failures"` DeviceKeys map[string]map[string]DeviceKeys `json:"device_keys"` }
func (*PostQueryKeysResponse) Decode ¶
func (res *PostQueryKeysResponse) Decode(input []byte) error
func (*PostQueryKeysResponse) Encode ¶
func (res *PostQueryKeysResponse) Encode() ([]byte, error)
type PostRegisterEmailRequest ¶
type PostRegisterEmailRequest struct { ClientSecret string `json:"client_secret"` Email string `json:"email"` SendAttempt int `json:"send_attempt"` NextLink string `json:"next_link"` IDServer string `json:"id_server"` }
POST /_matrix/client/r0/register/email/requestToken request
type PostRegisterEmailRequestCapn ¶
func NewPostRegisterEmailRequestCapn ¶
func NewPostRegisterEmailRequestCapn(s *capnp.Segment) (PostRegisterEmailRequestCapn, error)
func NewRootPostRegisterEmailRequestCapn ¶
func NewRootPostRegisterEmailRequestCapn(s *capnp.Segment) (PostRegisterEmailRequestCapn, error)
func ReadRootPostRegisterEmailRequestCapn ¶
func ReadRootPostRegisterEmailRequestCapn(msg *capnp.Message) (PostRegisterEmailRequestCapn, error)
func (PostRegisterEmailRequestCapn) ClientSecret ¶
func (s PostRegisterEmailRequestCapn) ClientSecret() (string, error)
func (PostRegisterEmailRequestCapn) ClientSecretBytes ¶
func (s PostRegisterEmailRequestCapn) ClientSecretBytes() ([]byte, error)
func (PostRegisterEmailRequestCapn) Email ¶
func (s PostRegisterEmailRequestCapn) Email() (string, error)
func (PostRegisterEmailRequestCapn) EmailBytes ¶
func (s PostRegisterEmailRequestCapn) EmailBytes() ([]byte, error)
func (PostRegisterEmailRequestCapn) HasClientSecret ¶
func (s PostRegisterEmailRequestCapn) HasClientSecret() bool
func (PostRegisterEmailRequestCapn) HasEmail ¶
func (s PostRegisterEmailRequestCapn) HasEmail() bool
func (PostRegisterEmailRequestCapn) HasIDServer ¶
func (s PostRegisterEmailRequestCapn) HasIDServer() bool
func (PostRegisterEmailRequestCapn) HasNextLink ¶
func (s PostRegisterEmailRequestCapn) HasNextLink() bool
func (PostRegisterEmailRequestCapn) IDServer ¶
func (s PostRegisterEmailRequestCapn) IDServer() (string, error)
func (PostRegisterEmailRequestCapn) IDServerBytes ¶
func (s PostRegisterEmailRequestCapn) IDServerBytes() ([]byte, error)
func (PostRegisterEmailRequestCapn) NextLink ¶
func (s PostRegisterEmailRequestCapn) NextLink() (string, error)
func (PostRegisterEmailRequestCapn) NextLinkBytes ¶
func (s PostRegisterEmailRequestCapn) NextLinkBytes() ([]byte, error)
func (PostRegisterEmailRequestCapn) SendAttempt ¶
func (s PostRegisterEmailRequestCapn) SendAttempt() int64
func (PostRegisterEmailRequestCapn) SetClientSecret ¶
func (s PostRegisterEmailRequestCapn) SetClientSecret(v string) error
func (PostRegisterEmailRequestCapn) SetEmail ¶
func (s PostRegisterEmailRequestCapn) SetEmail(v string) error
func (PostRegisterEmailRequestCapn) SetIDServer ¶
func (s PostRegisterEmailRequestCapn) SetIDServer(v string) error
func (PostRegisterEmailRequestCapn) SetNextLink ¶
func (s PostRegisterEmailRequestCapn) SetNextLink(v string) error
func (PostRegisterEmailRequestCapn) SetSendAttempt ¶
func (s PostRegisterEmailRequestCapn) SetSendAttempt(v int64)
func (PostRegisterEmailRequestCapn) String ¶
func (s PostRegisterEmailRequestCapn) String() string
type PostRegisterEmailRequestCapn_List ¶
PostRegisterEmailRequestCapn_List is a list of PostRegisterEmailRequestCapn.
func NewPostRegisterEmailRequestCapn_List ¶
func NewPostRegisterEmailRequestCapn_List(s *capnp.Segment, sz int32) (PostRegisterEmailRequestCapn_List, error)
NewPostRegisterEmailRequestCapn creates a new list of PostRegisterEmailRequestCapn.
func (PostRegisterEmailRequestCapn_List) At ¶
func (s PostRegisterEmailRequestCapn_List) At(i int) PostRegisterEmailRequestCapn
func (PostRegisterEmailRequestCapn_List) Set ¶
func (s PostRegisterEmailRequestCapn_List) Set(i int, v PostRegisterEmailRequestCapn) error
func (PostRegisterEmailRequestCapn_List) String ¶
func (s PostRegisterEmailRequestCapn_List) String() string
type PostRegisterEmailRequestCapn_Promise ¶
PostRegisterEmailRequestCapn_Promise is a wrapper for a PostRegisterEmailRequestCapn promised by a client call.
func (PostRegisterEmailRequestCapn_Promise) Struct ¶
func (p PostRegisterEmailRequestCapn_Promise) Struct() (PostRegisterEmailRequestCapn, error)
type PostRegisterEmailResponse ¶
type PostRegisterEmailResponse struct {
SID string `json:"sid"`
}
response
func (*PostRegisterEmailResponse) Decode ¶
func (res *PostRegisterEmailResponse) Decode(input []byte) error
func (*PostRegisterEmailResponse) Encode ¶
func (res *PostRegisterEmailResponse) Encode() ([]byte, error)
type PostRegisterEmailResponseCapn ¶
func NewPostRegisterEmailResponseCapn ¶
func NewPostRegisterEmailResponseCapn(s *capnp.Segment) (PostRegisterEmailResponseCapn, error)
func NewRootPostRegisterEmailResponseCapn ¶
func NewRootPostRegisterEmailResponseCapn(s *capnp.Segment) (PostRegisterEmailResponseCapn, error)
func ReadRootPostRegisterEmailResponseCapn ¶
func ReadRootPostRegisterEmailResponseCapn(msg *capnp.Message) (PostRegisterEmailResponseCapn, error)
func (PostRegisterEmailResponseCapn) HasSID ¶
func (s PostRegisterEmailResponseCapn) HasSID() bool
func (PostRegisterEmailResponseCapn) SID ¶
func (s PostRegisterEmailResponseCapn) SID() (string, error)
func (PostRegisterEmailResponseCapn) SIDBytes ¶
func (s PostRegisterEmailResponseCapn) SIDBytes() ([]byte, error)
func (PostRegisterEmailResponseCapn) SetSID ¶
func (s PostRegisterEmailResponseCapn) SetSID(v string) error
func (PostRegisterEmailResponseCapn) String ¶
func (s PostRegisterEmailResponseCapn) String() string
type PostRegisterEmailResponseCapn_List ¶
PostRegisterEmailResponseCapn_List is a list of PostRegisterEmailResponseCapn.
func NewPostRegisterEmailResponseCapn_List ¶
func NewPostRegisterEmailResponseCapn_List(s *capnp.Segment, sz int32) (PostRegisterEmailResponseCapn_List, error)
NewPostRegisterEmailResponseCapn creates a new list of PostRegisterEmailResponseCapn.
func (PostRegisterEmailResponseCapn_List) At ¶
func (s PostRegisterEmailResponseCapn_List) At(i int) PostRegisterEmailResponseCapn
func (PostRegisterEmailResponseCapn_List) Set ¶
func (s PostRegisterEmailResponseCapn_List) Set(i int, v PostRegisterEmailResponseCapn) error
func (PostRegisterEmailResponseCapn_List) String ¶
func (s PostRegisterEmailResponseCapn_List) String() string
type PostRegisterEmailResponseCapn_Promise ¶
PostRegisterEmailResponseCapn_Promise is a wrapper for a PostRegisterEmailResponseCapn promised by a client call.
func (PostRegisterEmailResponseCapn_Promise) Struct ¶
func (p PostRegisterEmailResponseCapn_Promise) Struct() (PostRegisterEmailResponseCapn, error)
type PostRegisterMsisdResponse ¶
type PostRegisterMsisdResponse struct {
SID string `json:"sid"`
}
response
func (*PostRegisterMsisdResponse) Decode ¶
func (res *PostRegisterMsisdResponse) Decode(input []byte) error
func (*PostRegisterMsisdResponse) Encode ¶
func (res *PostRegisterMsisdResponse) Encode() ([]byte, error)
type PostRegisterMsisdResponseCapn ¶
func NewPostRegisterMsisdResponseCapn ¶
func NewPostRegisterMsisdResponseCapn(s *capnp.Segment) (PostRegisterMsisdResponseCapn, error)
func NewRootPostRegisterMsisdResponseCapn ¶
func NewRootPostRegisterMsisdResponseCapn(s *capnp.Segment) (PostRegisterMsisdResponseCapn, error)
func ReadRootPostRegisterMsisdResponseCapn ¶
func ReadRootPostRegisterMsisdResponseCapn(msg *capnp.Message) (PostRegisterMsisdResponseCapn, error)
func (PostRegisterMsisdResponseCapn) HasSID ¶
func (s PostRegisterMsisdResponseCapn) HasSID() bool
func (PostRegisterMsisdResponseCapn) SID ¶
func (s PostRegisterMsisdResponseCapn) SID() (string, error)
func (PostRegisterMsisdResponseCapn) SIDBytes ¶
func (s PostRegisterMsisdResponseCapn) SIDBytes() ([]byte, error)
func (PostRegisterMsisdResponseCapn) SetSID ¶
func (s PostRegisterMsisdResponseCapn) SetSID(v string) error
func (PostRegisterMsisdResponseCapn) String ¶
func (s PostRegisterMsisdResponseCapn) String() string
type PostRegisterMsisdResponseCapn_List ¶
PostRegisterMsisdResponseCapn_List is a list of PostRegisterMsisdResponseCapn.
func NewPostRegisterMsisdResponseCapn_List ¶
func NewPostRegisterMsisdResponseCapn_List(s *capnp.Segment, sz int32) (PostRegisterMsisdResponseCapn_List, error)
NewPostRegisterMsisdResponseCapn creates a new list of PostRegisterMsisdResponseCapn.
func (PostRegisterMsisdResponseCapn_List) At ¶
func (s PostRegisterMsisdResponseCapn_List) At(i int) PostRegisterMsisdResponseCapn
func (PostRegisterMsisdResponseCapn_List) Set ¶
func (s PostRegisterMsisdResponseCapn_List) Set(i int, v PostRegisterMsisdResponseCapn) error
func (PostRegisterMsisdResponseCapn_List) String ¶
func (s PostRegisterMsisdResponseCapn_List) String() string
type PostRegisterMsisdResponseCapn_Promise ¶
PostRegisterMsisdResponseCapn_Promise is a wrapper for a PostRegisterMsisdResponseCapn promised by a client call.
func (PostRegisterMsisdResponseCapn_Promise) Struct ¶
func (p PostRegisterMsisdResponseCapn_Promise) Struct() (PostRegisterMsisdResponseCapn, error)
type PostRegisterMsisdnRequest ¶
type PostRegisterMsisdnRequest struct { ClientSecret string `json:"client_secret"` Country string `json:"country"` PhoneNumber string `json:"phone_number"` SendAttempt int `json:"send_attempt"` NextLink string `json:"next_link"` IDServer string `json:"id_server"` }
POST /_matrix/client/r0/register/msisdn/requestToken request
type PostRegisterMsisdnRequestCapn ¶
func NewPostRegisterMsisdnRequestCapn ¶
func NewPostRegisterMsisdnRequestCapn(s *capnp.Segment) (PostRegisterMsisdnRequestCapn, error)
func NewRootPostRegisterMsisdnRequestCapn ¶
func NewRootPostRegisterMsisdnRequestCapn(s *capnp.Segment) (PostRegisterMsisdnRequestCapn, error)
func ReadRootPostRegisterMsisdnRequestCapn ¶
func ReadRootPostRegisterMsisdnRequestCapn(msg *capnp.Message) (PostRegisterMsisdnRequestCapn, error)
func (PostRegisterMsisdnRequestCapn) ClientSecret ¶
func (s PostRegisterMsisdnRequestCapn) ClientSecret() (string, error)
func (PostRegisterMsisdnRequestCapn) ClientSecretBytes ¶
func (s PostRegisterMsisdnRequestCapn) ClientSecretBytes() ([]byte, error)
func (PostRegisterMsisdnRequestCapn) Country ¶
func (s PostRegisterMsisdnRequestCapn) Country() (string, error)
func (PostRegisterMsisdnRequestCapn) CountryBytes ¶
func (s PostRegisterMsisdnRequestCapn) CountryBytes() ([]byte, error)
func (PostRegisterMsisdnRequestCapn) HasClientSecret ¶
func (s PostRegisterMsisdnRequestCapn) HasClientSecret() bool
func (PostRegisterMsisdnRequestCapn) HasCountry ¶
func (s PostRegisterMsisdnRequestCapn) HasCountry() bool
func (PostRegisterMsisdnRequestCapn) HasIDServer ¶
func (s PostRegisterMsisdnRequestCapn) HasIDServer() bool
func (PostRegisterMsisdnRequestCapn) HasNextLink ¶
func (s PostRegisterMsisdnRequestCapn) HasNextLink() bool
func (PostRegisterMsisdnRequestCapn) HasPhoneNumber ¶
func (s PostRegisterMsisdnRequestCapn) HasPhoneNumber() bool
func (PostRegisterMsisdnRequestCapn) IDServer ¶
func (s PostRegisterMsisdnRequestCapn) IDServer() (string, error)
func (PostRegisterMsisdnRequestCapn) IDServerBytes ¶
func (s PostRegisterMsisdnRequestCapn) IDServerBytes() ([]byte, error)
func (PostRegisterMsisdnRequestCapn) NextLink ¶
func (s PostRegisterMsisdnRequestCapn) NextLink() (string, error)
func (PostRegisterMsisdnRequestCapn) NextLinkBytes ¶
func (s PostRegisterMsisdnRequestCapn) NextLinkBytes() ([]byte, error)
func (PostRegisterMsisdnRequestCapn) PhoneNumber ¶
func (s PostRegisterMsisdnRequestCapn) PhoneNumber() (string, error)
func (PostRegisterMsisdnRequestCapn) PhoneNumberBytes ¶
func (s PostRegisterMsisdnRequestCapn) PhoneNumberBytes() ([]byte, error)
func (PostRegisterMsisdnRequestCapn) SendAttempt ¶
func (s PostRegisterMsisdnRequestCapn) SendAttempt() int64
func (PostRegisterMsisdnRequestCapn) SetClientSecret ¶
func (s PostRegisterMsisdnRequestCapn) SetClientSecret(v string) error
func (PostRegisterMsisdnRequestCapn) SetCountry ¶
func (s PostRegisterMsisdnRequestCapn) SetCountry(v string) error
func (PostRegisterMsisdnRequestCapn) SetIDServer ¶
func (s PostRegisterMsisdnRequestCapn) SetIDServer(v string) error
func (PostRegisterMsisdnRequestCapn) SetNextLink ¶
func (s PostRegisterMsisdnRequestCapn) SetNextLink(v string) error
func (PostRegisterMsisdnRequestCapn) SetPhoneNumber ¶
func (s PostRegisterMsisdnRequestCapn) SetPhoneNumber(v string) error
func (PostRegisterMsisdnRequestCapn) SetSendAttempt ¶
func (s PostRegisterMsisdnRequestCapn) SetSendAttempt(v int64)
func (PostRegisterMsisdnRequestCapn) String ¶
func (s PostRegisterMsisdnRequestCapn) String() string
type PostRegisterMsisdnRequestCapn_List ¶
PostRegisterMsisdnRequestCapn_List is a list of PostRegisterMsisdnRequestCapn.
func NewPostRegisterMsisdnRequestCapn_List ¶
func NewPostRegisterMsisdnRequestCapn_List(s *capnp.Segment, sz int32) (PostRegisterMsisdnRequestCapn_List, error)
NewPostRegisterMsisdnRequestCapn creates a new list of PostRegisterMsisdnRequestCapn.
func (PostRegisterMsisdnRequestCapn_List) At ¶
func (s PostRegisterMsisdnRequestCapn_List) At(i int) PostRegisterMsisdnRequestCapn
func (PostRegisterMsisdnRequestCapn_List) Set ¶
func (s PostRegisterMsisdnRequestCapn_List) Set(i int, v PostRegisterMsisdnRequestCapn) error
func (PostRegisterMsisdnRequestCapn_List) String ¶
func (s PostRegisterMsisdnRequestCapn_List) String() string
type PostRegisterMsisdnRequestCapn_Promise ¶
PostRegisterMsisdnRequestCapn_Promise is a wrapper for a PostRegisterMsisdnRequestCapn promised by a client call.
func (PostRegisterMsisdnRequestCapn_Promise) Struct ¶
func (p PostRegisterMsisdnRequestCapn_Promise) Struct() (PostRegisterMsisdnRequestCapn, error)
type PostRegisterRequest ¶
type PostRegisterRequest struct { Auth AuthDict `json:"auth"` BindEmail bool `json:"bind_email"` Username string `json:"username"` Password string `json:"password"` DeviceID string `json:"device_id"` InitialDisplayName string `json:"initial_device_display_name"` InhibitLogin bool `json:"inhibit_login"` Kind string `json:"kind"` Domain string `json:"domain"` AccessToken string `json:"access_token"` RemoteAddr string `json:"remote_addr"` Admin bool `json:"admin"` }
func (*PostRegisterRequest) Decode ¶
func (externalReq *PostRegisterRequest) Decode(input []byte) error
func (*PostRegisterRequest) Encode ¶
func (externalReq *PostRegisterRequest) Encode() ([]byte, error)
type PostRegisterRequestCapn ¶
func NewPostRegisterRequestCapn ¶
func NewPostRegisterRequestCapn(s *capnp.Segment) (PostRegisterRequestCapn, error)
func NewRootPostRegisterRequestCapn ¶
func NewRootPostRegisterRequestCapn(s *capnp.Segment) (PostRegisterRequestCapn, error)
func ReadRootPostRegisterRequestCapn ¶
func ReadRootPostRegisterRequestCapn(msg *capnp.Message) (PostRegisterRequestCapn, error)
func (PostRegisterRequestCapn) AccessToken ¶
func (s PostRegisterRequestCapn) AccessToken() (string, error)
func (PostRegisterRequestCapn) AccessTokenBytes ¶
func (s PostRegisterRequestCapn) AccessTokenBytes() ([]byte, error)
func (PostRegisterRequestCapn) Admin ¶
func (s PostRegisterRequestCapn) Admin() bool
func (PostRegisterRequestCapn) Auth ¶
func (s PostRegisterRequestCapn) Auth() (AuthDictCapn, error)
func (PostRegisterRequestCapn) BindEmail ¶
func (s PostRegisterRequestCapn) BindEmail() bool
func (PostRegisterRequestCapn) DeviceID ¶
func (s PostRegisterRequestCapn) DeviceID() (string, error)
func (PostRegisterRequestCapn) DeviceIDBytes ¶
func (s PostRegisterRequestCapn) DeviceIDBytes() ([]byte, error)
func (PostRegisterRequestCapn) Domain ¶
func (s PostRegisterRequestCapn) Domain() (string, error)
func (PostRegisterRequestCapn) DomainBytes ¶
func (s PostRegisterRequestCapn) DomainBytes() ([]byte, error)
func (PostRegisterRequestCapn) HasAccessToken ¶
func (s PostRegisterRequestCapn) HasAccessToken() bool
func (PostRegisterRequestCapn) HasAuth ¶
func (s PostRegisterRequestCapn) HasAuth() bool
func (PostRegisterRequestCapn) HasDeviceID ¶
func (s PostRegisterRequestCapn) HasDeviceID() bool
func (PostRegisterRequestCapn) HasDomain ¶
func (s PostRegisterRequestCapn) HasDomain() bool
func (PostRegisterRequestCapn) HasInitialDisplayName ¶
func (s PostRegisterRequestCapn) HasInitialDisplayName() bool
func (PostRegisterRequestCapn) HasKind ¶
func (s PostRegisterRequestCapn) HasKind() bool
func (PostRegisterRequestCapn) HasPassword ¶
func (s PostRegisterRequestCapn) HasPassword() bool
func (PostRegisterRequestCapn) HasRemoteAddr ¶
func (s PostRegisterRequestCapn) HasRemoteAddr() bool
func (PostRegisterRequestCapn) HasUsername ¶
func (s PostRegisterRequestCapn) HasUsername() bool
func (PostRegisterRequestCapn) InhibitLogin ¶
func (s PostRegisterRequestCapn) InhibitLogin() bool
func (PostRegisterRequestCapn) InitialDisplayName ¶
func (s PostRegisterRequestCapn) InitialDisplayName() (string, error)
func (PostRegisterRequestCapn) InitialDisplayNameBytes ¶
func (s PostRegisterRequestCapn) InitialDisplayNameBytes() ([]byte, error)
func (PostRegisterRequestCapn) Kind ¶
func (s PostRegisterRequestCapn) Kind() (string, error)
func (PostRegisterRequestCapn) KindBytes ¶
func (s PostRegisterRequestCapn) KindBytes() ([]byte, error)
func (PostRegisterRequestCapn) NewAuth ¶
func (s PostRegisterRequestCapn) NewAuth() (AuthDictCapn, error)
NewAuth sets the auth field to a newly allocated AuthDictCapn struct, preferring placement in s's segment.
func (PostRegisterRequestCapn) Password ¶
func (s PostRegisterRequestCapn) Password() (string, error)
func (PostRegisterRequestCapn) PasswordBytes ¶
func (s PostRegisterRequestCapn) PasswordBytes() ([]byte, error)
func (PostRegisterRequestCapn) RemoteAddr ¶
func (s PostRegisterRequestCapn) RemoteAddr() (string, error)
func (PostRegisterRequestCapn) RemoteAddrBytes ¶
func (s PostRegisterRequestCapn) RemoteAddrBytes() ([]byte, error)
func (PostRegisterRequestCapn) SetAccessToken ¶
func (s PostRegisterRequestCapn) SetAccessToken(v string) error
func (PostRegisterRequestCapn) SetAdmin ¶
func (s PostRegisterRequestCapn) SetAdmin(v bool)
func (PostRegisterRequestCapn) SetAuth ¶
func (s PostRegisterRequestCapn) SetAuth(v AuthDictCapn) error
func (PostRegisterRequestCapn) SetBindEmail ¶
func (s PostRegisterRequestCapn) SetBindEmail(v bool)
func (PostRegisterRequestCapn) SetDeviceID ¶
func (s PostRegisterRequestCapn) SetDeviceID(v string) error
func (PostRegisterRequestCapn) SetDomain ¶
func (s PostRegisterRequestCapn) SetDomain(v string) error
func (PostRegisterRequestCapn) SetInhibitLogin ¶
func (s PostRegisterRequestCapn) SetInhibitLogin(v bool)
func (PostRegisterRequestCapn) SetInitialDisplayName ¶
func (s PostRegisterRequestCapn) SetInitialDisplayName(v string) error
func (PostRegisterRequestCapn) SetKind ¶
func (s PostRegisterRequestCapn) SetKind(v string) error
func (PostRegisterRequestCapn) SetPassword ¶
func (s PostRegisterRequestCapn) SetPassword(v string) error
func (PostRegisterRequestCapn) SetRemoteAddr ¶
func (s PostRegisterRequestCapn) SetRemoteAddr(v string) error
func (PostRegisterRequestCapn) SetUsername ¶
func (s PostRegisterRequestCapn) SetUsername(v string) error
func (PostRegisterRequestCapn) String ¶
func (s PostRegisterRequestCapn) String() string
func (PostRegisterRequestCapn) Username ¶
func (s PostRegisterRequestCapn) Username() (string, error)
func (PostRegisterRequestCapn) UsernameBytes ¶
func (s PostRegisterRequestCapn) UsernameBytes() ([]byte, error)
type PostRegisterRequestCapn_List ¶
PostRegisterRequestCapn_List is a list of PostRegisterRequestCapn.
func NewPostRegisterRequestCapn_List ¶
func NewPostRegisterRequestCapn_List(s *capnp.Segment, sz int32) (PostRegisterRequestCapn_List, error)
NewPostRegisterRequestCapn creates a new list of PostRegisterRequestCapn.
func (PostRegisterRequestCapn_List) At ¶
func (s PostRegisterRequestCapn_List) At(i int) PostRegisterRequestCapn
func (PostRegisterRequestCapn_List) Set ¶
func (s PostRegisterRequestCapn_List) Set(i int, v PostRegisterRequestCapn) error
func (PostRegisterRequestCapn_List) String ¶
func (s PostRegisterRequestCapn_List) String() string
type PostRegisterRequestCapn_Promise ¶
PostRegisterRequestCapn_Promise is a wrapper for a PostRegisterRequestCapn promised by a client call.
func (PostRegisterRequestCapn_Promise) Auth ¶
func (p PostRegisterRequestCapn_Promise) Auth() AuthDictCapn_Promise
func (PostRegisterRequestCapn_Promise) Struct ¶
func (p PostRegisterRequestCapn_Promise) Struct() (PostRegisterRequestCapn, error)
type PostReportDeviceState ¶
type PostReportDeviceState struct {
State int `json:"state"`
}
func (*PostReportDeviceState) Decode ¶
func (externalReq *PostReportDeviceState) Decode(input []byte) error
func (*PostReportDeviceState) Encode ¶
func (externalReq *PostReportDeviceState) Encode() ([]byte, error)
type PostReportMissingEventsRequest ¶
type PostReportMissingEventsRequest struct { RoomID string `json:"roomID` Depth []int64 `json:"depth"` }
func (*PostReportMissingEventsRequest) Decode ¶
func (externalReq *PostReportMissingEventsRequest) Decode(data []byte) error
func (*PostReportMissingEventsRequest) Encode ¶
func (externalReq *PostReportMissingEventsRequest) Encode() ([]byte, error)
type PostReportRoomRequest ¶
type PostReportRoomRequest struct {
RoomID string `json:"room_id"`
}
func (*PostReportRoomRequest) Decode ¶
func (externalReq *PostReportRoomRequest) Decode(input []byte) error
func (*PostReportRoomRequest) Encode ¶
func (externalReq *PostReportRoomRequest) Encode() ([]byte, error)
type PostRoomReadMarkersRequest ¶
type PostRoomReadMarkersRequest struct { RoomID string `json:"roomId"` ReceiptType string `json:"receiptType"` FullyRead string `json:"m.fully_read"` Read string `json:"m.read"` }
POST /_matrix/client/r0/rooms/{roomId}/read_markers
func (*PostRoomReadMarkersRequest) Decode ¶
func (externalReq *PostRoomReadMarkersRequest) Decode(input []byte) error
func (*PostRoomReadMarkersRequest) Encode ¶
func (externalReq *PostRoomReadMarkersRequest) Encode() ([]byte, error)
type PostRoomReadMarkersRequestCapn ¶
func NewPostRoomReadMarkersRequestCapn ¶
func NewPostRoomReadMarkersRequestCapn(s *capnp.Segment) (PostRoomReadMarkersRequestCapn, error)
func NewRootPostRoomReadMarkersRequestCapn ¶
func NewRootPostRoomReadMarkersRequestCapn(s *capnp.Segment) (PostRoomReadMarkersRequestCapn, error)
func ReadRootPostRoomReadMarkersRequestCapn ¶
func ReadRootPostRoomReadMarkersRequestCapn(msg *capnp.Message) (PostRoomReadMarkersRequestCapn, error)
func (PostRoomReadMarkersRequestCapn) FullyRead ¶
func (s PostRoomReadMarkersRequestCapn) FullyRead() (string, error)
func (PostRoomReadMarkersRequestCapn) FullyReadBytes ¶
func (s PostRoomReadMarkersRequestCapn) FullyReadBytes() ([]byte, error)
func (PostRoomReadMarkersRequestCapn) HasFullyRead ¶
func (s PostRoomReadMarkersRequestCapn) HasFullyRead() bool
func (PostRoomReadMarkersRequestCapn) HasRead ¶
func (s PostRoomReadMarkersRequestCapn) HasRead() bool
func (PostRoomReadMarkersRequestCapn) HasReceiptType ¶
func (s PostRoomReadMarkersRequestCapn) HasReceiptType() bool
func (PostRoomReadMarkersRequestCapn) HasRoomID ¶
func (s PostRoomReadMarkersRequestCapn) HasRoomID() bool
func (PostRoomReadMarkersRequestCapn) Read ¶
func (s PostRoomReadMarkersRequestCapn) Read() (string, error)
func (PostRoomReadMarkersRequestCapn) ReadBytes ¶
func (s PostRoomReadMarkersRequestCapn) ReadBytes() ([]byte, error)
func (PostRoomReadMarkersRequestCapn) ReceiptType ¶
func (s PostRoomReadMarkersRequestCapn) ReceiptType() (string, error)
func (PostRoomReadMarkersRequestCapn) ReceiptTypeBytes ¶
func (s PostRoomReadMarkersRequestCapn) ReceiptTypeBytes() ([]byte, error)
func (PostRoomReadMarkersRequestCapn) RoomID ¶
func (s PostRoomReadMarkersRequestCapn) RoomID() (string, error)
func (PostRoomReadMarkersRequestCapn) RoomIDBytes ¶
func (s PostRoomReadMarkersRequestCapn) RoomIDBytes() ([]byte, error)
func (PostRoomReadMarkersRequestCapn) SetFullyRead ¶
func (s PostRoomReadMarkersRequestCapn) SetFullyRead(v string) error
func (PostRoomReadMarkersRequestCapn) SetRead ¶
func (s PostRoomReadMarkersRequestCapn) SetRead(v string) error
func (PostRoomReadMarkersRequestCapn) SetReceiptType ¶
func (s PostRoomReadMarkersRequestCapn) SetReceiptType(v string) error
func (PostRoomReadMarkersRequestCapn) SetRoomID ¶
func (s PostRoomReadMarkersRequestCapn) SetRoomID(v string) error
func (PostRoomReadMarkersRequestCapn) String ¶
func (s PostRoomReadMarkersRequestCapn) String() string
type PostRoomReadMarkersRequestCapn_List ¶
PostRoomReadMarkersRequestCapn_List is a list of PostRoomReadMarkersRequestCapn.
func NewPostRoomReadMarkersRequestCapn_List ¶
func NewPostRoomReadMarkersRequestCapn_List(s *capnp.Segment, sz int32) (PostRoomReadMarkersRequestCapn_List, error)
NewPostRoomReadMarkersRequestCapn creates a new list of PostRoomReadMarkersRequestCapn.
func (PostRoomReadMarkersRequestCapn_List) At ¶
func (s PostRoomReadMarkersRequestCapn_List) At(i int) PostRoomReadMarkersRequestCapn
func (PostRoomReadMarkersRequestCapn_List) Set ¶
func (s PostRoomReadMarkersRequestCapn_List) Set(i int, v PostRoomReadMarkersRequestCapn) error
func (PostRoomReadMarkersRequestCapn_List) String ¶
func (s PostRoomReadMarkersRequestCapn_List) String() string
type PostRoomReadMarkersRequestCapn_Promise ¶
PostRoomReadMarkersRequestCapn_Promise is a wrapper for a PostRoomReadMarkersRequestCapn promised by a client call.
func (PostRoomReadMarkersRequestCapn_Promise) Struct ¶
func (p PostRoomReadMarkersRequestCapn_Promise) Struct() (PostRoomReadMarkersRequestCapn, error)
type PostRoomReceiptRequest ¶
type PostRoomReceiptRequest struct { RoomID string `json:"roomId"` ReceiptType string `json:"receiptType"` EventID string `json:"eventId"` }
POST /_matrix/client/r0/rooms/{roomId}/receipt/{receiptType}/{eventId}
func (*PostRoomReceiptRequest) Decode ¶
func (externalReq *PostRoomReceiptRequest) Decode(input []byte) error
func (*PostRoomReceiptRequest) Encode ¶
func (externalReq *PostRoomReceiptRequest) Encode() ([]byte, error)
type PostRoomReceiptRequestCapn ¶
func NewPostRoomReceiptRequestCapn ¶
func NewPostRoomReceiptRequestCapn(s *capnp.Segment) (PostRoomReceiptRequestCapn, error)
func NewRootPostRoomReceiptRequestCapn ¶
func NewRootPostRoomReceiptRequestCapn(s *capnp.Segment) (PostRoomReceiptRequestCapn, error)
func ReadRootPostRoomReceiptRequestCapn ¶
func ReadRootPostRoomReceiptRequestCapn(msg *capnp.Message) (PostRoomReceiptRequestCapn, error)
func (PostRoomReceiptRequestCapn) EventID ¶
func (s PostRoomReceiptRequestCapn) EventID() (string, error)
func (PostRoomReceiptRequestCapn) EventIDBytes ¶
func (s PostRoomReceiptRequestCapn) EventIDBytes() ([]byte, error)
func (PostRoomReceiptRequestCapn) HasEventID ¶
func (s PostRoomReceiptRequestCapn) HasEventID() bool
func (PostRoomReceiptRequestCapn) HasReceiptType ¶
func (s PostRoomReceiptRequestCapn) HasReceiptType() bool
func (PostRoomReceiptRequestCapn) HasRoomID ¶
func (s PostRoomReceiptRequestCapn) HasRoomID() bool
func (PostRoomReceiptRequestCapn) ReceiptType ¶
func (s PostRoomReceiptRequestCapn) ReceiptType() (string, error)
func (PostRoomReceiptRequestCapn) ReceiptTypeBytes ¶
func (s PostRoomReceiptRequestCapn) ReceiptTypeBytes() ([]byte, error)
func (PostRoomReceiptRequestCapn) RoomID ¶
func (s PostRoomReceiptRequestCapn) RoomID() (string, error)
func (PostRoomReceiptRequestCapn) RoomIDBytes ¶
func (s PostRoomReceiptRequestCapn) RoomIDBytes() ([]byte, error)
func (PostRoomReceiptRequestCapn) SetEventID ¶
func (s PostRoomReceiptRequestCapn) SetEventID(v string) error
func (PostRoomReceiptRequestCapn) SetReceiptType ¶
func (s PostRoomReceiptRequestCapn) SetReceiptType(v string) error
func (PostRoomReceiptRequestCapn) SetRoomID ¶
func (s PostRoomReceiptRequestCapn) SetRoomID(v string) error
func (PostRoomReceiptRequestCapn) String ¶
func (s PostRoomReceiptRequestCapn) String() string
type PostRoomReceiptRequestCapn_List ¶
PostRoomReceiptRequestCapn_List is a list of PostRoomReceiptRequestCapn.
func NewPostRoomReceiptRequestCapn_List ¶
func NewPostRoomReceiptRequestCapn_List(s *capnp.Segment, sz int32) (PostRoomReceiptRequestCapn_List, error)
NewPostRoomReceiptRequestCapn creates a new list of PostRoomReceiptRequestCapn.
func (PostRoomReceiptRequestCapn_List) At ¶
func (s PostRoomReceiptRequestCapn_List) At(i int) PostRoomReceiptRequestCapn
func (PostRoomReceiptRequestCapn_List) Set ¶
func (s PostRoomReceiptRequestCapn_List) Set(i int, v PostRoomReceiptRequestCapn) error
func (PostRoomReceiptRequestCapn_List) String ¶
func (s PostRoomReceiptRequestCapn_List) String() string
type PostRoomReceiptRequestCapn_Promise ¶
PostRoomReceiptRequestCapn_Promise is a wrapper for a PostRoomReceiptRequestCapn promised by a client call.
func (PostRoomReceiptRequestCapn_Promise) Struct ¶
func (p PostRoomReceiptRequestCapn_Promise) Struct() (PostRoomReceiptRequestCapn, error)
type PostRoomReportRequest ¶
type PostRoomReportRequest struct { RoomID string `json:"roomId"` EventID string `json:"eventId"` Score int `json:"score"` Reason string `json:"reason"` }
POST /_matrix/client/r0/rooms/{roomId}/report/{eventId}
func (*PostRoomReportRequest) Decode ¶
func (externalReq *PostRoomReportRequest) Decode(input []byte) error
func (*PostRoomReportRequest) Encode ¶
func (externalReq *PostRoomReportRequest) Encode() ([]byte, error)
type PostRoomsBanRequest ¶
type PostRoomsBanRequest struct { RoomID string `json:"room_id"` UserID string `json:"user_id"` Reason string `json:"reason"` }
POST /_matrix/client/r0/rooms/{roomId}/ban
func (*PostRoomsBanRequest) Decode ¶
func (externalReq *PostRoomsBanRequest) Decode(input []byte) error
func (*PostRoomsBanRequest) Encode ¶
func (externalReq *PostRoomsBanRequest) Encode() ([]byte, error)
type PostRoomsBanRequestCapn ¶
func NewPostRoomsBanRequestCapn ¶
func NewPostRoomsBanRequestCapn(s *capnp.Segment) (PostRoomsBanRequestCapn, error)
func NewRootPostRoomsBanRequestCapn ¶
func NewRootPostRoomsBanRequestCapn(s *capnp.Segment) (PostRoomsBanRequestCapn, error)
func ReadRootPostRoomsBanRequestCapn ¶
func ReadRootPostRoomsBanRequestCapn(msg *capnp.Message) (PostRoomsBanRequestCapn, error)
func (PostRoomsBanRequestCapn) HasReason ¶
func (s PostRoomsBanRequestCapn) HasReason() bool
func (PostRoomsBanRequestCapn) HasRoomID ¶
func (s PostRoomsBanRequestCapn) HasRoomID() bool
func (PostRoomsBanRequestCapn) HasUserID ¶
func (s PostRoomsBanRequestCapn) HasUserID() bool
func (PostRoomsBanRequestCapn) Reason ¶
func (s PostRoomsBanRequestCapn) Reason() (string, error)
func (PostRoomsBanRequestCapn) ReasonBytes ¶
func (s PostRoomsBanRequestCapn) ReasonBytes() ([]byte, error)
func (PostRoomsBanRequestCapn) RoomID ¶
func (s PostRoomsBanRequestCapn) RoomID() (string, error)
func (PostRoomsBanRequestCapn) RoomIDBytes ¶
func (s PostRoomsBanRequestCapn) RoomIDBytes() ([]byte, error)
func (PostRoomsBanRequestCapn) SetReason ¶
func (s PostRoomsBanRequestCapn) SetReason(v string) error
func (PostRoomsBanRequestCapn) SetRoomID ¶
func (s PostRoomsBanRequestCapn) SetRoomID(v string) error
func (PostRoomsBanRequestCapn) SetUserID ¶
func (s PostRoomsBanRequestCapn) SetUserID(v string) error
func (PostRoomsBanRequestCapn) String ¶
func (s PostRoomsBanRequestCapn) String() string
func (PostRoomsBanRequestCapn) UserID ¶
func (s PostRoomsBanRequestCapn) UserID() (string, error)
func (PostRoomsBanRequestCapn) UserIDBytes ¶
func (s PostRoomsBanRequestCapn) UserIDBytes() ([]byte, error)
type PostRoomsBanRequestCapn_List ¶
PostRoomsBanRequestCapn_List is a list of PostRoomsBanRequestCapn.
func NewPostRoomsBanRequestCapn_List ¶
func NewPostRoomsBanRequestCapn_List(s *capnp.Segment, sz int32) (PostRoomsBanRequestCapn_List, error)
NewPostRoomsBanRequestCapn creates a new list of PostRoomsBanRequestCapn.
func (PostRoomsBanRequestCapn_List) At ¶
func (s PostRoomsBanRequestCapn_List) At(i int) PostRoomsBanRequestCapn
func (PostRoomsBanRequestCapn_List) Set ¶
func (s PostRoomsBanRequestCapn_List) Set(i int, v PostRoomsBanRequestCapn) error
func (PostRoomsBanRequestCapn_List) String ¶
func (s PostRoomsBanRequestCapn_List) String() string
type PostRoomsBanRequestCapn_Promise ¶
PostRoomsBanRequestCapn_Promise is a wrapper for a PostRoomsBanRequestCapn promised by a client call.
func (PostRoomsBanRequestCapn_Promise) Struct ¶
func (p PostRoomsBanRequestCapn_Promise) Struct() (PostRoomsBanRequestCapn, error)
type PostRoomsForgetRequest ¶
type PostRoomsForgetRequest struct {
RoomID string `json:"room_id"`
}
POST /_matrix/client/r0/rooms/{roomId}/forget
func (*PostRoomsForgetRequest) Decode ¶
func (externalReq *PostRoomsForgetRequest) Decode(input []byte) error
func (*PostRoomsForgetRequest) Encode ¶
func (externalReq *PostRoomsForgetRequest) Encode() ([]byte, error)
type PostRoomsForgetRequestCapn ¶
func NewPostRoomsForgetRequestCapn ¶
func NewPostRoomsForgetRequestCapn(s *capnp.Segment) (PostRoomsForgetRequestCapn, error)
func NewRootPostRoomsForgetRequestCapn ¶
func NewRootPostRoomsForgetRequestCapn(s *capnp.Segment) (PostRoomsForgetRequestCapn, error)
func ReadRootPostRoomsForgetRequestCapn ¶
func ReadRootPostRoomsForgetRequestCapn(msg *capnp.Message) (PostRoomsForgetRequestCapn, error)
func (PostRoomsForgetRequestCapn) HasRoomID ¶
func (s PostRoomsForgetRequestCapn) HasRoomID() bool
func (PostRoomsForgetRequestCapn) RoomID ¶
func (s PostRoomsForgetRequestCapn) RoomID() (string, error)
func (PostRoomsForgetRequestCapn) RoomIDBytes ¶
func (s PostRoomsForgetRequestCapn) RoomIDBytes() ([]byte, error)
func (PostRoomsForgetRequestCapn) SetRoomID ¶
func (s PostRoomsForgetRequestCapn) SetRoomID(v string) error
func (PostRoomsForgetRequestCapn) String ¶
func (s PostRoomsForgetRequestCapn) String() string
type PostRoomsForgetRequestCapn_List ¶
PostRoomsForgetRequestCapn_List is a list of PostRoomsForgetRequestCapn.
func NewPostRoomsForgetRequestCapn_List ¶
func NewPostRoomsForgetRequestCapn_List(s *capnp.Segment, sz int32) (PostRoomsForgetRequestCapn_List, error)
NewPostRoomsForgetRequestCapn creates a new list of PostRoomsForgetRequestCapn.
func (PostRoomsForgetRequestCapn_List) At ¶
func (s PostRoomsForgetRequestCapn_List) At(i int) PostRoomsForgetRequestCapn
func (PostRoomsForgetRequestCapn_List) Set ¶
func (s PostRoomsForgetRequestCapn_List) Set(i int, v PostRoomsForgetRequestCapn) error
func (PostRoomsForgetRequestCapn_List) String ¶
func (s PostRoomsForgetRequestCapn_List) String() string
type PostRoomsForgetRequestCapn_Promise ¶
PostRoomsForgetRequestCapn_Promise is a wrapper for a PostRoomsForgetRequestCapn promised by a client call.
func (PostRoomsForgetRequestCapn_Promise) Struct ¶
func (p PostRoomsForgetRequestCapn_Promise) Struct() (PostRoomsForgetRequestCapn, error)
type PostRoomsInviteRequest ¶
type PostRoomsInviteRequest struct { RoomID string `json:"room_id"` UserID string `json:"user_id"` }
POST /_matrix/client/r0/rooms/{roomId}/invite
func (*PostRoomsInviteRequest) Decode ¶
func (externalReq *PostRoomsInviteRequest) Decode(input []byte) error
func (*PostRoomsInviteRequest) Encode ¶
func (externalReq *PostRoomsInviteRequest) Encode() ([]byte, error)
type PostRoomsInviteRequestCapn ¶
func NewPostRoomsInviteRequestCapn ¶
func NewPostRoomsInviteRequestCapn(s *capnp.Segment) (PostRoomsInviteRequestCapn, error)
func NewRootPostRoomsInviteRequestCapn ¶
func NewRootPostRoomsInviteRequestCapn(s *capnp.Segment) (PostRoomsInviteRequestCapn, error)
func ReadRootPostRoomsInviteRequestCapn ¶
func ReadRootPostRoomsInviteRequestCapn(msg *capnp.Message) (PostRoomsInviteRequestCapn, error)
func (PostRoomsInviteRequestCapn) HasRoomID ¶
func (s PostRoomsInviteRequestCapn) HasRoomID() bool
func (PostRoomsInviteRequestCapn) HasUserID ¶
func (s PostRoomsInviteRequestCapn) HasUserID() bool
func (PostRoomsInviteRequestCapn) RoomID ¶
func (s PostRoomsInviteRequestCapn) RoomID() (string, error)
func (PostRoomsInviteRequestCapn) RoomIDBytes ¶
func (s PostRoomsInviteRequestCapn) RoomIDBytes() ([]byte, error)
func (PostRoomsInviteRequestCapn) SetRoomID ¶
func (s PostRoomsInviteRequestCapn) SetRoomID(v string) error
func (PostRoomsInviteRequestCapn) SetUserID ¶
func (s PostRoomsInviteRequestCapn) SetUserID(v string) error
func (PostRoomsInviteRequestCapn) String ¶
func (s PostRoomsInviteRequestCapn) String() string
func (PostRoomsInviteRequestCapn) UserID ¶
func (s PostRoomsInviteRequestCapn) UserID() (string, error)
func (PostRoomsInviteRequestCapn) UserIDBytes ¶
func (s PostRoomsInviteRequestCapn) UserIDBytes() ([]byte, error)
type PostRoomsInviteRequestCapn_List ¶
PostRoomsInviteRequestCapn_List is a list of PostRoomsInviteRequestCapn.
func NewPostRoomsInviteRequestCapn_List ¶
func NewPostRoomsInviteRequestCapn_List(s *capnp.Segment, sz int32) (PostRoomsInviteRequestCapn_List, error)
NewPostRoomsInviteRequestCapn creates a new list of PostRoomsInviteRequestCapn.
func (PostRoomsInviteRequestCapn_List) At ¶
func (s PostRoomsInviteRequestCapn_List) At(i int) PostRoomsInviteRequestCapn
func (PostRoomsInviteRequestCapn_List) Set ¶
func (s PostRoomsInviteRequestCapn_List) Set(i int, v PostRoomsInviteRequestCapn) error
func (PostRoomsInviteRequestCapn_List) String ¶
func (s PostRoomsInviteRequestCapn_List) String() string
type PostRoomsInviteRequestCapn_Promise ¶
PostRoomsInviteRequestCapn_Promise is a wrapper for a PostRoomsInviteRequestCapn promised by a client call.
func (PostRoomsInviteRequestCapn_Promise) Struct ¶
func (p PostRoomsInviteRequestCapn_Promise) Struct() (PostRoomsInviteRequestCapn, error)
type PostRoomsJoinByAliasRequest ¶
type PostRoomsJoinByAliasRequest struct { RoomID string `json:"room_id"` Content []byte `json:"content"` }
POST /_matrix/client/r0/join/{roomIdOrAlias}
func (*PostRoomsJoinByAliasRequest) Decode ¶
func (externalReq *PostRoomsJoinByAliasRequest) Decode(input []byte) error
func (*PostRoomsJoinByAliasRequest) Encode ¶
func (externalReq *PostRoomsJoinByAliasRequest) Encode() ([]byte, error)
type PostRoomsJoinByAliasResponse ¶
type PostRoomsJoinByAliasResponse struct {
RoomID string `json:"room_id"`
}
func (*PostRoomsJoinByAliasResponse) Decode ¶
func (res *PostRoomsJoinByAliasResponse) Decode(input []byte) error
func (*PostRoomsJoinByAliasResponse) Encode ¶
func (res *PostRoomsJoinByAliasResponse) Encode() ([]byte, error)
type PostRoomsJoinByAliasResponseCapn ¶
func NewPostRoomsJoinByAliasResponseCapn ¶
func NewPostRoomsJoinByAliasResponseCapn(s *capnp.Segment) (PostRoomsJoinByAliasResponseCapn, error)
func NewRootPostRoomsJoinByAliasResponseCapn ¶
func NewRootPostRoomsJoinByAliasResponseCapn(s *capnp.Segment) (PostRoomsJoinByAliasResponseCapn, error)
func ReadRootPostRoomsJoinByAliasResponseCapn ¶
func ReadRootPostRoomsJoinByAliasResponseCapn(msg *capnp.Message) (PostRoomsJoinByAliasResponseCapn, error)
func (PostRoomsJoinByAliasResponseCapn) HasRoomID ¶
func (s PostRoomsJoinByAliasResponseCapn) HasRoomID() bool
func (PostRoomsJoinByAliasResponseCapn) RoomID ¶
func (s PostRoomsJoinByAliasResponseCapn) RoomID() (string, error)
func (PostRoomsJoinByAliasResponseCapn) RoomIDBytes ¶
func (s PostRoomsJoinByAliasResponseCapn) RoomIDBytes() ([]byte, error)
func (PostRoomsJoinByAliasResponseCapn) SetRoomID ¶
func (s PostRoomsJoinByAliasResponseCapn) SetRoomID(v string) error
func (PostRoomsJoinByAliasResponseCapn) String ¶
func (s PostRoomsJoinByAliasResponseCapn) String() string
type PostRoomsJoinByAliasResponseCapn_List ¶
PostRoomsJoinByAliasResponseCapn_List is a list of PostRoomsJoinByAliasResponseCapn.
func NewPostRoomsJoinByAliasResponseCapn_List ¶
func NewPostRoomsJoinByAliasResponseCapn_List(s *capnp.Segment, sz int32) (PostRoomsJoinByAliasResponseCapn_List, error)
NewPostRoomsJoinByAliasResponseCapn creates a new list of PostRoomsJoinByAliasResponseCapn.
func (PostRoomsJoinByAliasResponseCapn_List) Set ¶
func (s PostRoomsJoinByAliasResponseCapn_List) Set(i int, v PostRoomsJoinByAliasResponseCapn) error
func (PostRoomsJoinByAliasResponseCapn_List) String ¶
func (s PostRoomsJoinByAliasResponseCapn_List) String() string
type PostRoomsJoinByAliasResponseCapn_Promise ¶
PostRoomsJoinByAliasResponseCapn_Promise is a wrapper for a PostRoomsJoinByAliasResponseCapn promised by a client call.
func (PostRoomsJoinByAliasResponseCapn_Promise) Struct ¶
func (p PostRoomsJoinByAliasResponseCapn_Promise) Struct() (PostRoomsJoinByAliasResponseCapn, error)
type PostRoomsJoinResponseCapn ¶
func NewPostRoomsJoinResponseCapn ¶
func NewPostRoomsJoinResponseCapn(s *capnp.Segment) (PostRoomsJoinResponseCapn, error)
func NewRootPostRoomsJoinResponseCapn ¶
func NewRootPostRoomsJoinResponseCapn(s *capnp.Segment) (PostRoomsJoinResponseCapn, error)
func ReadRootPostRoomsJoinResponseCapn ¶
func ReadRootPostRoomsJoinResponseCapn(msg *capnp.Message) (PostRoomsJoinResponseCapn, error)
func (PostRoomsJoinResponseCapn) HasRoomID ¶
func (s PostRoomsJoinResponseCapn) HasRoomID() bool
func (PostRoomsJoinResponseCapn) RoomID ¶
func (s PostRoomsJoinResponseCapn) RoomID() (string, error)
func (PostRoomsJoinResponseCapn) RoomIDBytes ¶
func (s PostRoomsJoinResponseCapn) RoomIDBytes() ([]byte, error)
func (PostRoomsJoinResponseCapn) SetRoomID ¶
func (s PostRoomsJoinResponseCapn) SetRoomID(v string) error
func (PostRoomsJoinResponseCapn) String ¶
func (s PostRoomsJoinResponseCapn) String() string
type PostRoomsJoinResponseCapn_List ¶
PostRoomsJoinResponseCapn_List is a list of PostRoomsJoinResponseCapn.
func NewPostRoomsJoinResponseCapn_List ¶
func NewPostRoomsJoinResponseCapn_List(s *capnp.Segment, sz int32) (PostRoomsJoinResponseCapn_List, error)
NewPostRoomsJoinResponseCapn creates a new list of PostRoomsJoinResponseCapn.
func (PostRoomsJoinResponseCapn_List) At ¶
func (s PostRoomsJoinResponseCapn_List) At(i int) PostRoomsJoinResponseCapn
func (PostRoomsJoinResponseCapn_List) Set ¶
func (s PostRoomsJoinResponseCapn_List) Set(i int, v PostRoomsJoinResponseCapn) error
func (PostRoomsJoinResponseCapn_List) String ¶
func (s PostRoomsJoinResponseCapn_List) String() string
type PostRoomsJoinResponseCapn_Promise ¶
PostRoomsJoinResponseCapn_Promise is a wrapper for a PostRoomsJoinResponseCapn promised by a client call.
func (PostRoomsJoinResponseCapn_Promise) Struct ¶
func (p PostRoomsJoinResponseCapn_Promise) Struct() (PostRoomsJoinResponseCapn, error)
type PostRoomsKickRequest ¶
type PostRoomsKickRequest struct { RoomID string `json:"room_id"` UserID string `json:"user_id"` Reason string `json:"reason"` }
POST /_matrix/client/r0/rooms/{roomId}/kick
func (*PostRoomsKickRequest) Decode ¶
func (externalReq *PostRoomsKickRequest) Decode(input []byte) error
func (*PostRoomsKickRequest) Encode ¶
func (externalReq *PostRoomsKickRequest) Encode() ([]byte, error)
type PostRoomsKickRequestCapn ¶
func NewPostRoomsKickRequestCapn ¶
func NewPostRoomsKickRequestCapn(s *capnp.Segment) (PostRoomsKickRequestCapn, error)
func NewRootPostRoomsKickRequestCapn ¶
func NewRootPostRoomsKickRequestCapn(s *capnp.Segment) (PostRoomsKickRequestCapn, error)
func ReadRootPostRoomsKickRequestCapn ¶
func ReadRootPostRoomsKickRequestCapn(msg *capnp.Message) (PostRoomsKickRequestCapn, error)
func (PostRoomsKickRequestCapn) HasReason ¶
func (s PostRoomsKickRequestCapn) HasReason() bool
func (PostRoomsKickRequestCapn) HasRoomID ¶
func (s PostRoomsKickRequestCapn) HasRoomID() bool
func (PostRoomsKickRequestCapn) HasUserID ¶
func (s PostRoomsKickRequestCapn) HasUserID() bool
func (PostRoomsKickRequestCapn) Reason ¶
func (s PostRoomsKickRequestCapn) Reason() (string, error)
func (PostRoomsKickRequestCapn) ReasonBytes ¶
func (s PostRoomsKickRequestCapn) ReasonBytes() ([]byte, error)
func (PostRoomsKickRequestCapn) RoomID ¶
func (s PostRoomsKickRequestCapn) RoomID() (string, error)
func (PostRoomsKickRequestCapn) RoomIDBytes ¶
func (s PostRoomsKickRequestCapn) RoomIDBytes() ([]byte, error)
func (PostRoomsKickRequestCapn) SetReason ¶
func (s PostRoomsKickRequestCapn) SetReason(v string) error
func (PostRoomsKickRequestCapn) SetRoomID ¶
func (s PostRoomsKickRequestCapn) SetRoomID(v string) error
func (PostRoomsKickRequestCapn) SetUserID ¶
func (s PostRoomsKickRequestCapn) SetUserID(v string) error
func (PostRoomsKickRequestCapn) String ¶
func (s PostRoomsKickRequestCapn) String() string
func (PostRoomsKickRequestCapn) UserID ¶
func (s PostRoomsKickRequestCapn) UserID() (string, error)
func (PostRoomsKickRequestCapn) UserIDBytes ¶
func (s PostRoomsKickRequestCapn) UserIDBytes() ([]byte, error)
type PostRoomsKickRequestCapn_List ¶
PostRoomsKickRequestCapn_List is a list of PostRoomsKickRequestCapn.
func NewPostRoomsKickRequestCapn_List ¶
func NewPostRoomsKickRequestCapn_List(s *capnp.Segment, sz int32) (PostRoomsKickRequestCapn_List, error)
NewPostRoomsKickRequestCapn creates a new list of PostRoomsKickRequestCapn.
func (PostRoomsKickRequestCapn_List) At ¶
func (s PostRoomsKickRequestCapn_List) At(i int) PostRoomsKickRequestCapn
func (PostRoomsKickRequestCapn_List) Set ¶
func (s PostRoomsKickRequestCapn_List) Set(i int, v PostRoomsKickRequestCapn) error
func (PostRoomsKickRequestCapn_List) String ¶
func (s PostRoomsKickRequestCapn_List) String() string
type PostRoomsKickRequestCapn_Promise ¶
PostRoomsKickRequestCapn_Promise is a wrapper for a PostRoomsKickRequestCapn promised by a client call.
func (PostRoomsKickRequestCapn_Promise) Struct ¶
func (p PostRoomsKickRequestCapn_Promise) Struct() (PostRoomsKickRequestCapn, error)
type PostRoomsLeaveRequest ¶
type PostRoomsLeaveRequest struct {
RoomID string `json:"room_id"`
}
POST /_matrix/client/r0/rooms/{roomId}/leave
func (*PostRoomsLeaveRequest) Decode ¶
func (externalReq *PostRoomsLeaveRequest) Decode(input []byte) error
func (*PostRoomsLeaveRequest) Encode ¶
func (externalReq *PostRoomsLeaveRequest) Encode() ([]byte, error)
type PostRoomsLeaveRequestCapn ¶
func NewPostRoomsLeaveRequestCapn ¶
func NewPostRoomsLeaveRequestCapn(s *capnp.Segment) (PostRoomsLeaveRequestCapn, error)
func NewRootPostRoomsLeaveRequestCapn ¶
func NewRootPostRoomsLeaveRequestCapn(s *capnp.Segment) (PostRoomsLeaveRequestCapn, error)
func ReadRootPostRoomsLeaveRequestCapn ¶
func ReadRootPostRoomsLeaveRequestCapn(msg *capnp.Message) (PostRoomsLeaveRequestCapn, error)
func (PostRoomsLeaveRequestCapn) HasRoomID ¶
func (s PostRoomsLeaveRequestCapn) HasRoomID() bool
func (PostRoomsLeaveRequestCapn) RoomID ¶
func (s PostRoomsLeaveRequestCapn) RoomID() (string, error)
func (PostRoomsLeaveRequestCapn) RoomIDBytes ¶
func (s PostRoomsLeaveRequestCapn) RoomIDBytes() ([]byte, error)
func (PostRoomsLeaveRequestCapn) SetRoomID ¶
func (s PostRoomsLeaveRequestCapn) SetRoomID(v string) error
func (PostRoomsLeaveRequestCapn) String ¶
func (s PostRoomsLeaveRequestCapn) String() string
type PostRoomsLeaveRequestCapn_List ¶
PostRoomsLeaveRequestCapn_List is a list of PostRoomsLeaveRequestCapn.
func NewPostRoomsLeaveRequestCapn_List ¶
func NewPostRoomsLeaveRequestCapn_List(s *capnp.Segment, sz int32) (PostRoomsLeaveRequestCapn_List, error)
NewPostRoomsLeaveRequestCapn creates a new list of PostRoomsLeaveRequestCapn.
func (PostRoomsLeaveRequestCapn_List) At ¶
func (s PostRoomsLeaveRequestCapn_List) At(i int) PostRoomsLeaveRequestCapn
func (PostRoomsLeaveRequestCapn_List) Set ¶
func (s PostRoomsLeaveRequestCapn_List) Set(i int, v PostRoomsLeaveRequestCapn) error
func (PostRoomsLeaveRequestCapn_List) String ¶
func (s PostRoomsLeaveRequestCapn_List) String() string
type PostRoomsLeaveRequestCapn_Promise ¶
PostRoomsLeaveRequestCapn_Promise is a wrapper for a PostRoomsLeaveRequestCapn promised by a client call.
func (PostRoomsLeaveRequestCapn_Promise) Struct ¶
func (p PostRoomsLeaveRequestCapn_Promise) Struct() (PostRoomsLeaveRequestCapn, error)
type PostRoomsMembershipRequest ¶
type PostRoomsMembershipRequest struct { RoomID string `json:"room_id"` Membership string `json:"membership"` Content []byte `json:"content,omitempty"` }
POST /_matrix/client/r0/rooms/{roomId}/join
func (*PostRoomsMembershipRequest) Decode ¶
func (externalReq *PostRoomsMembershipRequest) Decode(input []byte) error
func (*PostRoomsMembershipRequest) Encode ¶
func (externalReq *PostRoomsMembershipRequest) Encode() ([]byte, error)
type PostRoomsMembershipResponse ¶
type PostRoomsMembershipResponse struct {
RoomID string `json:"room_id,omitempty"`
}
func (*PostRoomsMembershipResponse) Decode ¶
func (res *PostRoomsMembershipResponse) Decode(input []byte) error
func (*PostRoomsMembershipResponse) Encode ¶
func (res *PostRoomsMembershipResponse) Encode() ([]byte, error)
type PostRoomsUnbanRequest ¶
POST /_matrix/client/r0/rooms/{roomId}/unban
func (*PostRoomsUnbanRequest) Decode ¶
func (externalReq *PostRoomsUnbanRequest) Decode(input []byte) error
func (*PostRoomsUnbanRequest) Encode ¶
func (externalReq *PostRoomsUnbanRequest) Encode() ([]byte, error)
type PostRoomsUnbanRequestCapn ¶
func NewPostRoomsUnbanRequestCapn ¶
func NewPostRoomsUnbanRequestCapn(s *capnp.Segment) (PostRoomsUnbanRequestCapn, error)
func NewRootPostRoomsUnbanRequestCapn ¶
func NewRootPostRoomsUnbanRequestCapn(s *capnp.Segment) (PostRoomsUnbanRequestCapn, error)
func ReadRootPostRoomsUnbanRequestCapn ¶
func ReadRootPostRoomsUnbanRequestCapn(msg *capnp.Message) (PostRoomsUnbanRequestCapn, error)
func (PostRoomsUnbanRequestCapn) HasRoomID ¶
func (s PostRoomsUnbanRequestCapn) HasRoomID() bool
func (PostRoomsUnbanRequestCapn) HasUserID ¶
func (s PostRoomsUnbanRequestCapn) HasUserID() bool
func (PostRoomsUnbanRequestCapn) RoomID ¶
func (s PostRoomsUnbanRequestCapn) RoomID() (string, error)
func (PostRoomsUnbanRequestCapn) RoomIDBytes ¶
func (s PostRoomsUnbanRequestCapn) RoomIDBytes() ([]byte, error)
func (PostRoomsUnbanRequestCapn) SetRoomID ¶
func (s PostRoomsUnbanRequestCapn) SetRoomID(v string) error
func (PostRoomsUnbanRequestCapn) SetUserID ¶
func (s PostRoomsUnbanRequestCapn) SetUserID(v string) error
func (PostRoomsUnbanRequestCapn) String ¶
func (s PostRoomsUnbanRequestCapn) String() string
func (PostRoomsUnbanRequestCapn) UserID ¶
func (s PostRoomsUnbanRequestCapn) UserID() (string, error)
func (PostRoomsUnbanRequestCapn) UserIDBytes ¶
func (s PostRoomsUnbanRequestCapn) UserIDBytes() ([]byte, error)
type PostRoomsUnbanRequestCapn_List ¶
PostRoomsUnbanRequestCapn_List is a list of PostRoomsUnbanRequestCapn.
func NewPostRoomsUnbanRequestCapn_List ¶
func NewPostRoomsUnbanRequestCapn_List(s *capnp.Segment, sz int32) (PostRoomsUnbanRequestCapn_List, error)
NewPostRoomsUnbanRequestCapn creates a new list of PostRoomsUnbanRequestCapn.
func (PostRoomsUnbanRequestCapn_List) At ¶
func (s PostRoomsUnbanRequestCapn_List) At(i int) PostRoomsUnbanRequestCapn
func (PostRoomsUnbanRequestCapn_List) Set ¶
func (s PostRoomsUnbanRequestCapn_List) Set(i int, v PostRoomsUnbanRequestCapn) error
func (PostRoomsUnbanRequestCapn_List) String ¶
func (s PostRoomsUnbanRequestCapn_List) String() string
type PostRoomsUnbanRequestCapn_Promise ¶
PostRoomsUnbanRequestCapn_Promise is a wrapper for a PostRoomsUnbanRequestCapn promised by a client call.
func (PostRoomsUnbanRequestCapn_Promise) Struct ¶
func (p PostRoomsUnbanRequestCapn_Promise) Struct() (PostRoomsUnbanRequestCapn, error)
type PostSetPushersRequest ¶
type PostSetPushersRequest struct { Pushkey string `json:"pushkey"` Kind string `json:"kind"` AppID string `json:"app_id"` AppDisplayName string `json:"app_display_name"` DeviceDisplayName string `json:"device_display_name"` ProfileTag string `json:"profile_tag"` Lang string `json:"lang"` Data PusherData `json:"data"` Append bool `json:"append"` }
POST /_matrix/client/r0/pushers/set
func (*PostSetPushersRequest) Decode ¶
func (externalReq *PostSetPushersRequest) Decode(input []byte) error
func (*PostSetPushersRequest) Encode ¶
func (externalReq *PostSetPushersRequest) Encode() ([]byte, error)
type PostSetPushersRequestCapn ¶
func NewPostSetPushersRequestCapn ¶
func NewPostSetPushersRequestCapn(s *capnp.Segment) (PostSetPushersRequestCapn, error)
func NewRootPostSetPushersRequestCapn ¶
func NewRootPostSetPushersRequestCapn(s *capnp.Segment) (PostSetPushersRequestCapn, error)
func ReadRootPostSetPushersRequestCapn ¶
func ReadRootPostSetPushersRequestCapn(msg *capnp.Message) (PostSetPushersRequestCapn, error)
func (PostSetPushersRequestCapn) AppDisplayName ¶
func (s PostSetPushersRequestCapn) AppDisplayName() (string, error)
func (PostSetPushersRequestCapn) AppDisplayNameBytes ¶
func (s PostSetPushersRequestCapn) AppDisplayNameBytes() ([]byte, error)
func (PostSetPushersRequestCapn) AppID ¶
func (s PostSetPushersRequestCapn) AppID() (string, error)
func (PostSetPushersRequestCapn) AppIDBytes ¶
func (s PostSetPushersRequestCapn) AppIDBytes() ([]byte, error)
func (PostSetPushersRequestCapn) Append ¶
func (s PostSetPushersRequestCapn) Append() bool
func (PostSetPushersRequestCapn) Data ¶
func (s PostSetPushersRequestCapn) Data() (PusherDataCapn, error)
func (PostSetPushersRequestCapn) DeviceDisplayName ¶
func (s PostSetPushersRequestCapn) DeviceDisplayName() (string, error)
func (PostSetPushersRequestCapn) DeviceDisplayNameBytes ¶
func (s PostSetPushersRequestCapn) DeviceDisplayNameBytes() ([]byte, error)
func (PostSetPushersRequestCapn) HasAppDisplayName ¶
func (s PostSetPushersRequestCapn) HasAppDisplayName() bool
func (PostSetPushersRequestCapn) HasAppID ¶
func (s PostSetPushersRequestCapn) HasAppID() bool
func (PostSetPushersRequestCapn) HasData ¶
func (s PostSetPushersRequestCapn) HasData() bool
func (PostSetPushersRequestCapn) HasDeviceDisplayName ¶
func (s PostSetPushersRequestCapn) HasDeviceDisplayName() bool
func (PostSetPushersRequestCapn) HasKind ¶
func (s PostSetPushersRequestCapn) HasKind() bool
func (PostSetPushersRequestCapn) HasLang ¶
func (s PostSetPushersRequestCapn) HasLang() bool
func (PostSetPushersRequestCapn) HasProfileTag ¶
func (s PostSetPushersRequestCapn) HasProfileTag() bool
func (PostSetPushersRequestCapn) HasPushkey ¶
func (s PostSetPushersRequestCapn) HasPushkey() bool
func (PostSetPushersRequestCapn) Kind ¶
func (s PostSetPushersRequestCapn) Kind() (string, error)
func (PostSetPushersRequestCapn) KindBytes ¶
func (s PostSetPushersRequestCapn) KindBytes() ([]byte, error)
func (PostSetPushersRequestCapn) Lang ¶
func (s PostSetPushersRequestCapn) Lang() (string, error)
func (PostSetPushersRequestCapn) LangBytes ¶
func (s PostSetPushersRequestCapn) LangBytes() ([]byte, error)
func (PostSetPushersRequestCapn) NewData ¶
func (s PostSetPushersRequestCapn) NewData() (PusherDataCapn, error)
NewData sets the data field to a newly allocated PusherDataCapn struct, preferring placement in s's segment.
func (PostSetPushersRequestCapn) ProfileTag ¶
func (s PostSetPushersRequestCapn) ProfileTag() (string, error)
func (PostSetPushersRequestCapn) ProfileTagBytes ¶
func (s PostSetPushersRequestCapn) ProfileTagBytes() ([]byte, error)
func (PostSetPushersRequestCapn) Pushkey ¶
func (s PostSetPushersRequestCapn) Pushkey() (string, error)
func (PostSetPushersRequestCapn) PushkeyBytes ¶
func (s PostSetPushersRequestCapn) PushkeyBytes() ([]byte, error)
func (PostSetPushersRequestCapn) SetAppDisplayName ¶
func (s PostSetPushersRequestCapn) SetAppDisplayName(v string) error
func (PostSetPushersRequestCapn) SetAppID ¶
func (s PostSetPushersRequestCapn) SetAppID(v string) error
func (PostSetPushersRequestCapn) SetAppend ¶
func (s PostSetPushersRequestCapn) SetAppend(v bool)
func (PostSetPushersRequestCapn) SetData ¶
func (s PostSetPushersRequestCapn) SetData(v PusherDataCapn) error
func (PostSetPushersRequestCapn) SetDeviceDisplayName ¶
func (s PostSetPushersRequestCapn) SetDeviceDisplayName(v string) error
func (PostSetPushersRequestCapn) SetKind ¶
func (s PostSetPushersRequestCapn) SetKind(v string) error
func (PostSetPushersRequestCapn) SetLang ¶
func (s PostSetPushersRequestCapn) SetLang(v string) error
func (PostSetPushersRequestCapn) SetProfileTag ¶
func (s PostSetPushersRequestCapn) SetProfileTag(v string) error
func (PostSetPushersRequestCapn) SetPushkey ¶
func (s PostSetPushersRequestCapn) SetPushkey(v string) error
func (PostSetPushersRequestCapn) String ¶
func (s PostSetPushersRequestCapn) String() string
type PostSetPushersRequestCapn_List ¶
PostSetPushersRequestCapn_List is a list of PostSetPushersRequestCapn.
func NewPostSetPushersRequestCapn_List ¶
func NewPostSetPushersRequestCapn_List(s *capnp.Segment, sz int32) (PostSetPushersRequestCapn_List, error)
NewPostSetPushersRequestCapn creates a new list of PostSetPushersRequestCapn.
func (PostSetPushersRequestCapn_List) At ¶
func (s PostSetPushersRequestCapn_List) At(i int) PostSetPushersRequestCapn
func (PostSetPushersRequestCapn_List) Set ¶
func (s PostSetPushersRequestCapn_List) Set(i int, v PostSetPushersRequestCapn) error
func (PostSetPushersRequestCapn_List) String ¶
func (s PostSetPushersRequestCapn_List) String() string
type PostSetPushersRequestCapn_Promise ¶
PostSetPushersRequestCapn_Promise is a wrapper for a PostSetPushersRequestCapn promised by a client call.
func (PostSetPushersRequestCapn_Promise) Data ¶
func (p PostSetPushersRequestCapn_Promise) Data() PusherDataCapn_Promise
func (PostSetPushersRequestCapn_Promise) Struct ¶
func (p PostSetPushersRequestCapn_Promise) Struct() (PostSetPushersRequestCapn, error)
type PostSystemManagerRequest ¶
type PostSystemManagerRequest struct {
Type string `json:"type"`
}
POST /system/manager//{type}
func (*PostSystemManagerRequest) Decode ¶
func (externalReq *PostSystemManagerRequest) Decode(input []byte) error
func (*PostSystemManagerRequest) Encode ¶
func (externalReq *PostSystemManagerRequest) Encode() ([]byte, error)
type PostUploadKeysRequest ¶
type PostUploadKeysRequest struct { DeviceKeys DeviceKeys `json:"device_keys"` OneTimeKeys map[string]interface{} `json:"one_time_keys"` }
POST /_matrix/client/r0/keys/upload
func (*PostUploadKeysRequest) Decode ¶
func (externalReq *PostUploadKeysRequest) Decode(input []byte) error
func (*PostUploadKeysRequest) Encode ¶
func (externalReq *PostUploadKeysRequest) Encode() ([]byte, error)
type PostUploadKeysResponse ¶
func (*PostUploadKeysResponse) Decode ¶
func (res *PostUploadKeysResponse) Decode(input []byte) error
func (*PostUploadKeysResponse) Encode ¶
func (res *PostUploadKeysResponse) Encode() ([]byte, error)
type PostUserFilterRequest ¶
type PostUserFilterRequest struct { UserID string `json:"user_id"` AccountData gomatrix.FilterPart `json:"account_data,omitempty"` EventFields []string `json:"event_fields,omitempty"` EventFormat string `json:"event_format,omitempty"` Presence gomatrix.FilterPart `json:"presence,omitempty"` Room struct { AccountData gomatrix.FilterPart `json:"account_data,omitempty"` Ephemeral gomatrix.FilterPart `json:"ephemeral,omitempty"` IncludeLeave bool `json:"include_leave,omitempty"` NotRooms []string `json:"not_rooms,omitempty"` Rooms []string `json:"rooms,omitempty"` State gomatrix.FilterPart `json:"state,omitempty"` Timeline gomatrix.FilterPart `json:"timeline,omitempty"` } `json:"room,omitempty"` }
POST /_matrix/client/r0/user/{userId}/filter
func (*PostUserFilterRequest) Decode ¶
func (externalReq *PostUserFilterRequest) Decode(input []byte) error
func (*PostUserFilterRequest) Encode ¶
func (externalReq *PostUserFilterRequest) Encode() ([]byte, error)
type PostUserFilterResponse ¶
type PostUserFilterResponse struct {
FilterID string `json:"filter_id"`
}
func (*PostUserFilterResponse) Decode ¶
func (res *PostUserFilterResponse) Decode(input []byte) error
func (*PostUserFilterResponse) Encode ¶
func (res *PostUserFilterResponse) Encode() ([]byte, error)
type PostUserFilterResponseCapn ¶
func NewPostUserFilterResponseCapn ¶
func NewPostUserFilterResponseCapn(s *capnp.Segment) (PostUserFilterResponseCapn, error)
func NewRootPostUserFilterResponseCapn ¶
func NewRootPostUserFilterResponseCapn(s *capnp.Segment) (PostUserFilterResponseCapn, error)
func ReadRootPostUserFilterResponseCapn ¶
func ReadRootPostUserFilterResponseCapn(msg *capnp.Message) (PostUserFilterResponseCapn, error)
func (PostUserFilterResponseCapn) FilterID ¶
func (s PostUserFilterResponseCapn) FilterID() (string, error)
func (PostUserFilterResponseCapn) FilterIDBytes ¶
func (s PostUserFilterResponseCapn) FilterIDBytes() ([]byte, error)
func (PostUserFilterResponseCapn) HasFilterID ¶
func (s PostUserFilterResponseCapn) HasFilterID() bool
func (PostUserFilterResponseCapn) SetFilterID ¶
func (s PostUserFilterResponseCapn) SetFilterID(v string) error
func (PostUserFilterResponseCapn) String ¶
func (s PostUserFilterResponseCapn) String() string
type PostUserFilterResponseCapn_List ¶
PostUserFilterResponseCapn_List is a list of PostUserFilterResponseCapn.
func NewPostUserFilterResponseCapn_List ¶
func NewPostUserFilterResponseCapn_List(s *capnp.Segment, sz int32) (PostUserFilterResponseCapn_List, error)
NewPostUserFilterResponseCapn creates a new list of PostUserFilterResponseCapn.
func (PostUserFilterResponseCapn_List) At ¶
func (s PostUserFilterResponseCapn_List) At(i int) PostUserFilterResponseCapn
func (PostUserFilterResponseCapn_List) Set ¶
func (s PostUserFilterResponseCapn_List) Set(i int, v PostUserFilterResponseCapn) error
func (PostUserFilterResponseCapn_List) String ¶
func (s PostUserFilterResponseCapn_List) String() string
type PostUserFilterResponseCapn_Promise ¶
PostUserFilterResponseCapn_Promise is a wrapper for a PostUserFilterResponseCapn promised by a client call.
func (PostUserFilterResponseCapn_Promise) Struct ¶
func (p PostUserFilterResponseCapn_Promise) Struct() (PostUserFilterResponseCapn, error)
type PostUserInfoRequest ¶
type PostUserInfoRequest struct { UserID string `json:"user_id"` UserName string `json:"user_name"` JobNumber string `json:"job_number"` Mobile string `json:"mobile"` Landline string `json:"landline"` Email string `json:"email"` State int `json:"state,omitempty"` }
POST /_matrix/client/r0/user_info/{userID}
func (*PostUserInfoRequest) Decode ¶
func (externalReq *PostUserInfoRequest) Decode(data []byte) error
func (*PostUserInfoRequest) Encode ¶
func (externalReq *PostUserInfoRequest) Encode() ([]byte, error)
type PostUserOpenIDRequest ¶
type PostUserOpenIDRequest struct {
UserID string `json:"userId"`
}
POST /_matrix/client/r0/user/{userId}/openid/request_token
func (*PostUserOpenIDRequest) Decode ¶
func (externalReq *PostUserOpenIDRequest) Decode(input []byte) error
func (*PostUserOpenIDRequest) Encode ¶
func (externalReq *PostUserOpenIDRequest) Encode() ([]byte, error)
type PostUserOpenIDResponse ¶
type PostUserPresenceListRequest ¶
type PostUserPresenceListRequest struct { UserID string `json:"userId"` Invite []string `json:"invite"` Drop []string `json:"drop"` }
POST /_matrix/client/r0/presence/list/{userId}
type PostUserPresenceListRequestCapn ¶
func NewPostUserPresenceListRequestCapn ¶
func NewPostUserPresenceListRequestCapn(s *capnp.Segment) (PostUserPresenceListRequestCapn, error)
func NewRootPostUserPresenceListRequestCapn ¶
func NewRootPostUserPresenceListRequestCapn(s *capnp.Segment) (PostUserPresenceListRequestCapn, error)
func ReadRootPostUserPresenceListRequestCapn ¶
func ReadRootPostUserPresenceListRequestCapn(msg *capnp.Message) (PostUserPresenceListRequestCapn, error)
func (PostUserPresenceListRequestCapn) Drop ¶
func (s PostUserPresenceListRequestCapn) Drop() (capnp.TextList, error)
func (PostUserPresenceListRequestCapn) HasDrop ¶
func (s PostUserPresenceListRequestCapn) HasDrop() bool
func (PostUserPresenceListRequestCapn) HasInvite ¶
func (s PostUserPresenceListRequestCapn) HasInvite() bool
func (PostUserPresenceListRequestCapn) HasUserID ¶
func (s PostUserPresenceListRequestCapn) HasUserID() bool
func (PostUserPresenceListRequestCapn) Invite ¶
func (s PostUserPresenceListRequestCapn) Invite() (capnp.TextList, error)
func (PostUserPresenceListRequestCapn) NewDrop ¶
func (s PostUserPresenceListRequestCapn) NewDrop(n int32) (capnp.TextList, error)
NewDrop sets the drop field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (PostUserPresenceListRequestCapn) NewInvite ¶
func (s PostUserPresenceListRequestCapn) NewInvite(n int32) (capnp.TextList, error)
NewInvite sets the invite field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (PostUserPresenceListRequestCapn) SetDrop ¶
func (s PostUserPresenceListRequestCapn) SetDrop(v capnp.TextList) error
func (PostUserPresenceListRequestCapn) SetInvite ¶
func (s PostUserPresenceListRequestCapn) SetInvite(v capnp.TextList) error
func (PostUserPresenceListRequestCapn) SetUserID ¶
func (s PostUserPresenceListRequestCapn) SetUserID(v string) error
func (PostUserPresenceListRequestCapn) String ¶
func (s PostUserPresenceListRequestCapn) String() string
func (PostUserPresenceListRequestCapn) UserID ¶
func (s PostUserPresenceListRequestCapn) UserID() (string, error)
func (PostUserPresenceListRequestCapn) UserIDBytes ¶
func (s PostUserPresenceListRequestCapn) UserIDBytes() ([]byte, error)
type PostUserPresenceListRequestCapn_List ¶
PostUserPresenceListRequestCapn_List is a list of PostUserPresenceListRequestCapn.
func NewPostUserPresenceListRequestCapn_List ¶
func NewPostUserPresenceListRequestCapn_List(s *capnp.Segment, sz int32) (PostUserPresenceListRequestCapn_List, error)
NewPostUserPresenceListRequestCapn creates a new list of PostUserPresenceListRequestCapn.
func (PostUserPresenceListRequestCapn_List) Set ¶
func (s PostUserPresenceListRequestCapn_List) Set(i int, v PostUserPresenceListRequestCapn) error
func (PostUserPresenceListRequestCapn_List) String ¶
func (s PostUserPresenceListRequestCapn_List) String() string
type PostUserPresenceListRequestCapn_Promise ¶
PostUserPresenceListRequestCapn_Promise is a wrapper for a PostUserPresenceListRequestCapn promised by a client call.
func (PostUserPresenceListRequestCapn_Promise) Struct ¶
func (p PostUserPresenceListRequestCapn_Promise) Struct() (PostUserPresenceListRequestCapn, error)
type PostUserSearchRequest ¶
type PostUserSearchRequest struct { SearchTerm string `json:"search_term"` Limit int `json:"limit"` }
POST /_matrix/client/r0/user_directory/search
type PostUserSearchRequestCapn ¶
func NewPostUserSearchRequestCapn ¶
func NewPostUserSearchRequestCapn(s *capnp.Segment) (PostUserSearchRequestCapn, error)
func NewRootPostUserSearchRequestCapn ¶
func NewRootPostUserSearchRequestCapn(s *capnp.Segment) (PostUserSearchRequestCapn, error)
func ReadRootPostUserSearchRequestCapn ¶
func ReadRootPostUserSearchRequestCapn(msg *capnp.Message) (PostUserSearchRequestCapn, error)
func (PostUserSearchRequestCapn) HasSearchTerm ¶
func (s PostUserSearchRequestCapn) HasSearchTerm() bool
func (PostUserSearchRequestCapn) Limit ¶
func (s PostUserSearchRequestCapn) Limit() int64
func (PostUserSearchRequestCapn) SearchTerm ¶
func (s PostUserSearchRequestCapn) SearchTerm() (string, error)
func (PostUserSearchRequestCapn) SearchTermBytes ¶
func (s PostUserSearchRequestCapn) SearchTermBytes() ([]byte, error)
func (PostUserSearchRequestCapn) SetLimit ¶
func (s PostUserSearchRequestCapn) SetLimit(v int64)
func (PostUserSearchRequestCapn) SetSearchTerm ¶
func (s PostUserSearchRequestCapn) SetSearchTerm(v string) error
func (PostUserSearchRequestCapn) String ¶
func (s PostUserSearchRequestCapn) String() string
type PostUserSearchRequestCapn_List ¶
PostUserSearchRequestCapn_List is a list of PostUserSearchRequestCapn.
func NewPostUserSearchRequestCapn_List ¶
func NewPostUserSearchRequestCapn_List(s *capnp.Segment, sz int32) (PostUserSearchRequestCapn_List, error)
NewPostUserSearchRequestCapn creates a new list of PostUserSearchRequestCapn.
func (PostUserSearchRequestCapn_List) At ¶
func (s PostUserSearchRequestCapn_List) At(i int) PostUserSearchRequestCapn
func (PostUserSearchRequestCapn_List) Set ¶
func (s PostUserSearchRequestCapn_List) Set(i int, v PostUserSearchRequestCapn) error
func (PostUserSearchRequestCapn_List) String ¶
func (s PostUserSearchRequestCapn_List) String() string
type PostUserSearchRequestCapn_Promise ¶
PostUserSearchRequestCapn_Promise is a wrapper for a PostUserSearchRequestCapn promised by a client call.
func (PostUserSearchRequestCapn_Promise) Struct ¶
func (p PostUserSearchRequestCapn_Promise) Struct() (PostUserSearchRequestCapn, error)
type PostUserSearchResponse ¶
func (*PostUserSearchResponse) Decode ¶
func (res *PostUserSearchResponse) Decode(input []byte) error
func (*PostUserSearchResponse) Encode ¶
func (res *PostUserSearchResponse) Encode() ([]byte, error)
type PostUserSearchResponseCapn ¶
func NewPostUserSearchResponseCapn ¶
func NewPostUserSearchResponseCapn(s *capnp.Segment) (PostUserSearchResponseCapn, error)
func NewRootPostUserSearchResponseCapn ¶
func NewRootPostUserSearchResponseCapn(s *capnp.Segment) (PostUserSearchResponseCapn, error)
func ReadRootPostUserSearchResponseCapn ¶
func ReadRootPostUserSearchResponseCapn(msg *capnp.Message) (PostUserSearchResponseCapn, error)
func (PostUserSearchResponseCapn) HasResults ¶
func (s PostUserSearchResponseCapn) HasResults() bool
func (PostUserSearchResponseCapn) Limited ¶
func (s PostUserSearchResponseCapn) Limited() bool
func (PostUserSearchResponseCapn) NewResults ¶
func (s PostUserSearchResponseCapn) NewResults(n int32) (UserCapn_List, error)
NewResults sets the results field to a newly allocated UserCapn_List, preferring placement in s's segment.
func (PostUserSearchResponseCapn) Results ¶
func (s PostUserSearchResponseCapn) Results() (UserCapn_List, error)
func (PostUserSearchResponseCapn) SetLimited ¶
func (s PostUserSearchResponseCapn) SetLimited(v bool)
func (PostUserSearchResponseCapn) SetResults ¶
func (s PostUserSearchResponseCapn) SetResults(v UserCapn_List) error
func (PostUserSearchResponseCapn) String ¶
func (s PostUserSearchResponseCapn) String() string
type PostUserSearchResponseCapn_List ¶
PostUserSearchResponseCapn_List is a list of PostUserSearchResponseCapn.
func NewPostUserSearchResponseCapn_List ¶
func NewPostUserSearchResponseCapn_List(s *capnp.Segment, sz int32) (PostUserSearchResponseCapn_List, error)
NewPostUserSearchResponseCapn creates a new list of PostUserSearchResponseCapn.
func (PostUserSearchResponseCapn_List) At ¶
func (s PostUserSearchResponseCapn_List) At(i int) PostUserSearchResponseCapn
func (PostUserSearchResponseCapn_List) Set ¶
func (s PostUserSearchResponseCapn_List) Set(i int, v PostUserSearchResponseCapn) error
func (PostUserSearchResponseCapn_List) String ¶
func (s PostUserSearchResponseCapn_List) String() string
type PostUserSearchResponseCapn_Promise ¶
PostUserSearchResponseCapn_Promise is a wrapper for a PostUserSearchResponseCapn promised by a client call.
func (PostUserSearchResponseCapn_Promise) Struct ¶
func (p PostUserSearchResponseCapn_Promise) Struct() (PostUserSearchResponseCapn, error)
type PostUsersPushKeyRequest ¶
type PostUsersPushKeyRequest struct {
Users []string `json:"users"`
}
POST /_matrix/client/r0/users/pushkey
func (*PostUsersPushKeyRequest) Decode ¶
func (externalReq *PostUsersPushKeyRequest) Decode(input []byte) error
func (*PostUsersPushKeyRequest) Encode ¶
func (externalReq *PostUsersPushKeyRequest) Encode() ([]byte, error)
type PostUsersPushKeyResponse ¶
type PostUsersPushKeyResponse struct {
PushersRes []PusherRes `json:"pushers"`
}
func (*PostUsersPushKeyResponse) Decode ¶
func (res *PostUsersPushKeyResponse) Decode(input []byte) error
func (*PostUsersPushKeyResponse) Encode ¶
func (res *PostUsersPushKeyResponse) Encode() ([]byte, error)
type PostVoipTurnServerResponse ¶
type PostVoipTurnServerResponse gomatrix.RespTurnServer
GET /_matrix/client/r0/voip/turnServer
func (*PostVoipTurnServerResponse) Decode ¶
func (res *PostVoipTurnServerResponse) Decode(input []byte) error
func (*PostVoipTurnServerResponse) Encode ¶
func (res *PostVoipTurnServerResponse) Encode() ([]byte, error)
type PresenceCapn ¶
func NewPresenceCapn ¶
func NewPresenceCapn(s *capnp.Segment) (PresenceCapn, error)
func NewRootPresenceCapn ¶
func NewRootPresenceCapn(s *capnp.Segment) (PresenceCapn, error)
func ReadRootPresenceCapn ¶
func ReadRootPresenceCapn(msg *capnp.Message) (PresenceCapn, error)
func (PresenceCapn) Events ¶
func (s PresenceCapn) Events() (EventCapn_List, error)
func (PresenceCapn) HasEvents ¶
func (s PresenceCapn) HasEvents() bool
func (PresenceCapn) NewEvents ¶
func (s PresenceCapn) NewEvents(n int32) (EventCapn_List, error)
NewEvents sets the events field to a newly allocated EventCapn_List, preferring placement in s's segment.
func (PresenceCapn) SetEvents ¶
func (s PresenceCapn) SetEvents(v EventCapn_List) error
func (PresenceCapn) String ¶
func (s PresenceCapn) String() string
type PresenceCapn_List ¶
PresenceCapn_List is a list of PresenceCapn.
func NewPresenceCapn_List ¶
func NewPresenceCapn_List(s *capnp.Segment, sz int32) (PresenceCapn_List, error)
NewPresenceCapn creates a new list of PresenceCapn.
func (PresenceCapn_List) At ¶
func (s PresenceCapn_List) At(i int) PresenceCapn
func (PresenceCapn_List) Set ¶
func (s PresenceCapn_List) Set(i int, v PresenceCapn) error
func (PresenceCapn_List) String ¶
func (s PresenceCapn_List) String() string
type PresenceCapn_Promise ¶
PresenceCapn_Promise is a wrapper for a PresenceCapn promised by a client call.
func (PresenceCapn_Promise) Struct ¶
func (p PresenceCapn_Promise) Struct() (PresenceCapn, error)
type PresenceEvent ¶
type PresenceJSON ¶
type PresenceJSON struct { AvatarURL string `json:"avatar_url"` DisplayName string `json:"displayname"` LastActiveAgo int64 `json:"last_active_ago"` Presence string `json:"presence"` //required CurrentlyActive bool `json:"currently_active"` UserID string `json:"user_id"` //required StatusMsg string `json:"status_msg"` ExtStatusMsg string `json:"ext_status_msg"` }
presence types
func (*PresenceJSON) Decode ¶
func (res *PresenceJSON) Decode(input []byte) error
func (*PresenceJSON) Encode ¶
func (res *PresenceJSON) Encode() ([]byte, error)
type PresenceJSONCapn ¶
func NewPresenceJSONCapn ¶
func NewPresenceJSONCapn(s *capnp.Segment) (PresenceJSONCapn, error)
func NewRootPresenceJSONCapn ¶
func NewRootPresenceJSONCapn(s *capnp.Segment) (PresenceJSONCapn, error)
func ReadRootPresenceJSONCapn ¶
func ReadRootPresenceJSONCapn(msg *capnp.Message) (PresenceJSONCapn, error)
func (PresenceJSONCapn) AvatarURL ¶
func (s PresenceJSONCapn) AvatarURL() (string, error)
func (PresenceJSONCapn) AvatarURLBytes ¶
func (s PresenceJSONCapn) AvatarURLBytes() ([]byte, error)
func (PresenceJSONCapn) CurrentlyActive ¶
func (s PresenceJSONCapn) CurrentlyActive() bool
func (PresenceJSONCapn) DisplayName ¶
func (s PresenceJSONCapn) DisplayName() (string, error)
func (PresenceJSONCapn) DisplayNameBytes ¶
func (s PresenceJSONCapn) DisplayNameBytes() ([]byte, error)
func (PresenceJSONCapn) ExtStatusMsg ¶
func (s PresenceJSONCapn) ExtStatusMsg() (string, error)
func (PresenceJSONCapn) ExtStatusMsgBytes ¶
func (s PresenceJSONCapn) ExtStatusMsgBytes() ([]byte, error)
func (PresenceJSONCapn) HasAvatarURL ¶
func (s PresenceJSONCapn) HasAvatarURL() bool
func (PresenceJSONCapn) HasDisplayName ¶
func (s PresenceJSONCapn) HasDisplayName() bool
func (PresenceJSONCapn) HasExtStatusMsg ¶
func (s PresenceJSONCapn) HasExtStatusMsg() bool
func (PresenceJSONCapn) HasPresence ¶
func (s PresenceJSONCapn) HasPresence() bool
func (PresenceJSONCapn) HasStatusMsg ¶
func (s PresenceJSONCapn) HasStatusMsg() bool
func (PresenceJSONCapn) HasUserID ¶
func (s PresenceJSONCapn) HasUserID() bool
func (PresenceJSONCapn) LastActiveAgo ¶
func (s PresenceJSONCapn) LastActiveAgo() int64
func (PresenceJSONCapn) Presence ¶
func (s PresenceJSONCapn) Presence() (string, error)
func (PresenceJSONCapn) PresenceBytes ¶
func (s PresenceJSONCapn) PresenceBytes() ([]byte, error)
func (PresenceJSONCapn) SetAvatarURL ¶
func (s PresenceJSONCapn) SetAvatarURL(v string) error
func (PresenceJSONCapn) SetCurrentlyActive ¶
func (s PresenceJSONCapn) SetCurrentlyActive(v bool)
func (PresenceJSONCapn) SetDisplayName ¶
func (s PresenceJSONCapn) SetDisplayName(v string) error
func (PresenceJSONCapn) SetExtStatusMsg ¶
func (s PresenceJSONCapn) SetExtStatusMsg(v string) error
func (PresenceJSONCapn) SetLastActiveAgo ¶
func (s PresenceJSONCapn) SetLastActiveAgo(v int64)
func (PresenceJSONCapn) SetPresence ¶
func (s PresenceJSONCapn) SetPresence(v string) error
func (PresenceJSONCapn) SetStatusMsg ¶
func (s PresenceJSONCapn) SetStatusMsg(v string) error
func (PresenceJSONCapn) SetUserID ¶
func (s PresenceJSONCapn) SetUserID(v string) error
func (PresenceJSONCapn) StatusMsg ¶
func (s PresenceJSONCapn) StatusMsg() (string, error)
func (PresenceJSONCapn) StatusMsgBytes ¶
func (s PresenceJSONCapn) StatusMsgBytes() ([]byte, error)
func (PresenceJSONCapn) String ¶
func (s PresenceJSONCapn) String() string
func (PresenceJSONCapn) UserID ¶
func (s PresenceJSONCapn) UserID() (string, error)
func (PresenceJSONCapn) UserIDBytes ¶
func (s PresenceJSONCapn) UserIDBytes() ([]byte, error)
type PresenceJSONCapn_List ¶
PresenceJSONCapn_List is a list of PresenceJSONCapn.
func NewPresenceJSONCapn_List ¶
func NewPresenceJSONCapn_List(s *capnp.Segment, sz int32) (PresenceJSONCapn_List, error)
NewPresenceJSONCapn creates a new list of PresenceJSONCapn.
func (PresenceJSONCapn_List) At ¶
func (s PresenceJSONCapn_List) At(i int) PresenceJSONCapn
func (PresenceJSONCapn_List) Set ¶
func (s PresenceJSONCapn_List) Set(i int, v PresenceJSONCapn) error
func (PresenceJSONCapn_List) String ¶
func (s PresenceJSONCapn_List) String() string
type PresenceJSONCapn_Promise ¶
PresenceJSONCapn_Promise is a wrapper for a PresenceJSONCapn promised by a client call.
func (PresenceJSONCapn_Promise) Struct ¶
func (p PresenceJSONCapn_Promise) Struct() (PresenceJSONCapn, error)
type PresenceListJSON ¶
type PresenceListJSON struct {
// contains filtered or unexported fields
}
type PresenceListJSONCapn ¶
func NewPresenceListJSONCapn ¶
func NewPresenceListJSONCapn(s *capnp.Segment) (PresenceListJSONCapn, error)
func NewRootPresenceListJSONCapn ¶
func NewRootPresenceListJSONCapn(s *capnp.Segment) (PresenceListJSONCapn, error)
func ReadRootPresenceListJSONCapn ¶
func ReadRootPresenceListJSONCapn(msg *capnp.Message) (PresenceListJSONCapn, error)
func (PresenceListJSONCapn) Content ¶
func (s PresenceListJSONCapn) Content() (PresenceJSONCapn, error)
func (PresenceListJSONCapn) HasContent ¶
func (s PresenceListJSONCapn) HasContent() bool
func (PresenceListJSONCapn) HasTyp ¶
func (s PresenceListJSONCapn) HasTyp() bool
func (PresenceListJSONCapn) NewContent ¶
func (s PresenceListJSONCapn) NewContent() (PresenceJSONCapn, error)
NewContent sets the content field to a newly allocated PresenceJSONCapn struct, preferring placement in s's segment.
func (PresenceListJSONCapn) SetContent ¶
func (s PresenceListJSONCapn) SetContent(v PresenceJSONCapn) error
func (PresenceListJSONCapn) SetTyp ¶
func (s PresenceListJSONCapn) SetTyp(v string) error
func (PresenceListJSONCapn) String ¶
func (s PresenceListJSONCapn) String() string
func (PresenceListJSONCapn) Typ ¶
func (s PresenceListJSONCapn) Typ() (string, error)
func (PresenceListJSONCapn) TypBytes ¶
func (s PresenceListJSONCapn) TypBytes() ([]byte, error)
type PresenceListJSONCapn_List ¶
PresenceListJSONCapn_List is a list of PresenceListJSONCapn.
func NewPresenceListJSONCapn_List ¶
func NewPresenceListJSONCapn_List(s *capnp.Segment, sz int32) (PresenceListJSONCapn_List, error)
NewPresenceListJSONCapn creates a new list of PresenceListJSONCapn.
func (PresenceListJSONCapn_List) At ¶
func (s PresenceListJSONCapn_List) At(i int) PresenceListJSONCapn
func (PresenceListJSONCapn_List) Set ¶
func (s PresenceListJSONCapn_List) Set(i int, v PresenceListJSONCapn) error
func (PresenceListJSONCapn_List) String ¶
func (s PresenceListJSONCapn_List) String() string
type PresenceListJSONCapn_Promise ¶
PresenceListJSONCapn_Promise is a wrapper for a PresenceListJSONCapn promised by a client call.
func (PresenceListJSONCapn_Promise) Content ¶
func (p PresenceListJSONCapn_Promise) Content() PresenceJSONCapn_Promise
func (PresenceListJSONCapn_Promise) Struct ¶
func (p PresenceListJSONCapn_Promise) Struct() (PresenceListJSONCapn, error)
type ProfileItem ¶
type ProtocolInstance ¶
type PublicRoomsChunk ¶
type PublicRoomsChunk struct { RoomID string `json:"room_id"` Aliases []string `json:"aliases,omitempty"` CanonicalAlias string `json:"canonical_alias,omitempty"` Name string `json:"name,omitempty"` Topic string `json:"topic,omitempty"` AvatarURL string `json:"avatar_url,omitempty"` NumJoinedMembers int64 `json:"num_joined_members"` WorldReadable bool `json:"world_readable"` GuestCanJoin bool `json:"guest_can_join"` }
type PublicRoomsChunkCapn ¶
func NewPublicRoomsChunkCapn ¶
func NewPublicRoomsChunkCapn(s *capnp.Segment) (PublicRoomsChunkCapn, error)
func NewRootPublicRoomsChunkCapn ¶
func NewRootPublicRoomsChunkCapn(s *capnp.Segment) (PublicRoomsChunkCapn, error)
func ReadRootPublicRoomsChunkCapn ¶
func ReadRootPublicRoomsChunkCapn(msg *capnp.Message) (PublicRoomsChunkCapn, error)
func (PublicRoomsChunkCapn) Aliases ¶
func (s PublicRoomsChunkCapn) Aliases() (capnp.TextList, error)
func (PublicRoomsChunkCapn) AvatarURL ¶
func (s PublicRoomsChunkCapn) AvatarURL() (string, error)
func (PublicRoomsChunkCapn) AvatarURLBytes ¶
func (s PublicRoomsChunkCapn) AvatarURLBytes() ([]byte, error)
func (PublicRoomsChunkCapn) CanonicalAlias ¶
func (s PublicRoomsChunkCapn) CanonicalAlias() (string, error)
func (PublicRoomsChunkCapn) CanonicalAliasBytes ¶
func (s PublicRoomsChunkCapn) CanonicalAliasBytes() ([]byte, error)
func (PublicRoomsChunkCapn) GuestCanJoin ¶
func (s PublicRoomsChunkCapn) GuestCanJoin() bool
func (PublicRoomsChunkCapn) HasAliases ¶
func (s PublicRoomsChunkCapn) HasAliases() bool
func (PublicRoomsChunkCapn) HasAvatarURL ¶
func (s PublicRoomsChunkCapn) HasAvatarURL() bool
func (PublicRoomsChunkCapn) HasCanonicalAlias ¶
func (s PublicRoomsChunkCapn) HasCanonicalAlias() bool
func (PublicRoomsChunkCapn) HasName ¶
func (s PublicRoomsChunkCapn) HasName() bool
func (PublicRoomsChunkCapn) HasRoomID ¶
func (s PublicRoomsChunkCapn) HasRoomID() bool
func (PublicRoomsChunkCapn) HasTopic ¶
func (s PublicRoomsChunkCapn) HasTopic() bool
func (PublicRoomsChunkCapn) Name ¶
func (s PublicRoomsChunkCapn) Name() (string, error)
func (PublicRoomsChunkCapn) NameBytes ¶
func (s PublicRoomsChunkCapn) NameBytes() ([]byte, error)
func (PublicRoomsChunkCapn) NewAliases ¶
func (s PublicRoomsChunkCapn) NewAliases(n int32) (capnp.TextList, error)
NewAliases sets the aliases field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (PublicRoomsChunkCapn) NumJoinedMembers ¶
func (s PublicRoomsChunkCapn) NumJoinedMembers() int64
func (PublicRoomsChunkCapn) RoomID ¶
func (s PublicRoomsChunkCapn) RoomID() (string, error)
func (PublicRoomsChunkCapn) RoomIDBytes ¶
func (s PublicRoomsChunkCapn) RoomIDBytes() ([]byte, error)
func (PublicRoomsChunkCapn) SetAliases ¶
func (s PublicRoomsChunkCapn) SetAliases(v capnp.TextList) error
func (PublicRoomsChunkCapn) SetAvatarURL ¶
func (s PublicRoomsChunkCapn) SetAvatarURL(v string) error
func (PublicRoomsChunkCapn) SetCanonicalAlias ¶
func (s PublicRoomsChunkCapn) SetCanonicalAlias(v string) error
func (PublicRoomsChunkCapn) SetGuestCanJoin ¶
func (s PublicRoomsChunkCapn) SetGuestCanJoin(v bool)
func (PublicRoomsChunkCapn) SetName ¶
func (s PublicRoomsChunkCapn) SetName(v string) error
func (PublicRoomsChunkCapn) SetNumJoinedMembers ¶
func (s PublicRoomsChunkCapn) SetNumJoinedMembers(v int64)
func (PublicRoomsChunkCapn) SetRoomID ¶
func (s PublicRoomsChunkCapn) SetRoomID(v string) error
func (PublicRoomsChunkCapn) SetTopic ¶
func (s PublicRoomsChunkCapn) SetTopic(v string) error
func (PublicRoomsChunkCapn) SetWorldReadable ¶
func (s PublicRoomsChunkCapn) SetWorldReadable(v bool)
func (PublicRoomsChunkCapn) String ¶
func (s PublicRoomsChunkCapn) String() string
func (PublicRoomsChunkCapn) Topic ¶
func (s PublicRoomsChunkCapn) Topic() (string, error)
func (PublicRoomsChunkCapn) TopicBytes ¶
func (s PublicRoomsChunkCapn) TopicBytes() ([]byte, error)
func (PublicRoomsChunkCapn) WorldReadable ¶
func (s PublicRoomsChunkCapn) WorldReadable() bool
type PublicRoomsChunkCapn_List ¶
PublicRoomsChunkCapn_List is a list of PublicRoomsChunkCapn.
func NewPublicRoomsChunkCapn_List ¶
func NewPublicRoomsChunkCapn_List(s *capnp.Segment, sz int32) (PublicRoomsChunkCapn_List, error)
NewPublicRoomsChunkCapn creates a new list of PublicRoomsChunkCapn.
func (PublicRoomsChunkCapn_List) At ¶
func (s PublicRoomsChunkCapn_List) At(i int) PublicRoomsChunkCapn
func (PublicRoomsChunkCapn_List) Set ¶
func (s PublicRoomsChunkCapn_List) Set(i int, v PublicRoomsChunkCapn) error
func (PublicRoomsChunkCapn_List) String ¶
func (s PublicRoomsChunkCapn_List) String() string
type PublicRoomsChunkCapn_Promise ¶
PublicRoomsChunkCapn_Promise is a wrapper for a PublicRoomsChunkCapn promised by a client call.
func (PublicRoomsChunkCapn_Promise) Struct ¶
func (p PublicRoomsChunkCapn_Promise) Struct() (PublicRoomsChunkCapn, error)
type PushCondition ¶
type PushConditionCapn ¶
func NewPushConditionCapn ¶
func NewPushConditionCapn(s *capnp.Segment) (PushConditionCapn, error)
func NewRootPushConditionCapn ¶
func NewRootPushConditionCapn(s *capnp.Segment) (PushConditionCapn, error)
func ReadRootPushConditionCapn ¶
func ReadRootPushConditionCapn(msg *capnp.Message) (PushConditionCapn, error)
func (PushConditionCapn) HasIs ¶
func (s PushConditionCapn) HasIs() bool
func (PushConditionCapn) HasKey ¶
func (s PushConditionCapn) HasKey() bool
func (PushConditionCapn) HasKind ¶
func (s PushConditionCapn) HasKind() bool
func (PushConditionCapn) HasPattern ¶
func (s PushConditionCapn) HasPattern() bool
func (PushConditionCapn) Is ¶
func (s PushConditionCapn) Is() (string, error)
func (PushConditionCapn) IsBytes ¶
func (s PushConditionCapn) IsBytes() ([]byte, error)
func (PushConditionCapn) Key ¶
func (s PushConditionCapn) Key() (string, error)
func (PushConditionCapn) KeyBytes ¶
func (s PushConditionCapn) KeyBytes() ([]byte, error)
func (PushConditionCapn) Kind ¶
func (s PushConditionCapn) Kind() (string, error)
func (PushConditionCapn) KindBytes ¶
func (s PushConditionCapn) KindBytes() ([]byte, error)
func (PushConditionCapn) Pattern ¶
func (s PushConditionCapn) Pattern() (string, error)
func (PushConditionCapn) PatternBytes ¶
func (s PushConditionCapn) PatternBytes() ([]byte, error)
func (PushConditionCapn) SetIs ¶
func (s PushConditionCapn) SetIs(v string) error
func (PushConditionCapn) SetKey ¶
func (s PushConditionCapn) SetKey(v string) error
func (PushConditionCapn) SetKind ¶
func (s PushConditionCapn) SetKind(v string) error
func (PushConditionCapn) SetPattern ¶
func (s PushConditionCapn) SetPattern(v string) error
func (PushConditionCapn) String ¶
func (s PushConditionCapn) String() string
type PushConditionCapn_List ¶
PushConditionCapn_List is a list of PushConditionCapn.
func NewPushConditionCapn_List ¶
func NewPushConditionCapn_List(s *capnp.Segment, sz int32) (PushConditionCapn_List, error)
NewPushConditionCapn creates a new list of PushConditionCapn.
func (PushConditionCapn_List) At ¶
func (s PushConditionCapn_List) At(i int) PushConditionCapn
func (PushConditionCapn_List) Set ¶
func (s PushConditionCapn_List) Set(i int, v PushConditionCapn) error
func (PushConditionCapn_List) String ¶
func (s PushConditionCapn_List) String() string
type PushConditionCapn_Promise ¶
PushConditionCapn_Promise is a wrapper for a PushConditionCapn promised by a client call.
func (PushConditionCapn_Promise) Struct ¶
func (p PushConditionCapn_Promise) Struct() (PushConditionCapn, error)
type PushRule ¶
type PushRule struct { Actions []interface{} `json:"actions"` Default bool `json:"default"` Enabled bool `json:"enabled"` RuleID string `json:"rule_id"` Conditions []PushCondition `json:"conditions"` Pattern string `json:"pattern"` }
type Pusher ¶
type Pusher struct { Pushkey string `json:"pushkey"` Kind string `json:"kind"` AppID string `json:"app_id"` AppDisplayName string `json:"app_display_name"` DeviceDisplayName string `json:"device_display_name"` ProfileTag string `json:"profile_tag"` Lang string `json:"lang"` Data PusherData `json:"data"` }
type PusherCapn ¶
func NewPusherCapn ¶
func NewPusherCapn(s *capnp.Segment) (PusherCapn, error)
func NewRootPusherCapn ¶
func NewRootPusherCapn(s *capnp.Segment) (PusherCapn, error)
func ReadRootPusherCapn ¶
func ReadRootPusherCapn(msg *capnp.Message) (PusherCapn, error)
func (PusherCapn) AppDisplayName ¶
func (s PusherCapn) AppDisplayName() (string, error)
func (PusherCapn) AppDisplayNameBytes ¶
func (s PusherCapn) AppDisplayNameBytes() ([]byte, error)
func (PusherCapn) AppID ¶
func (s PusherCapn) AppID() (string, error)
func (PusherCapn) AppIDBytes ¶
func (s PusherCapn) AppIDBytes() ([]byte, error)
func (PusherCapn) Data ¶
func (s PusherCapn) Data() (PusherDataCapn, error)
func (PusherCapn) DeviceDisplayName ¶
func (s PusherCapn) DeviceDisplayName() (string, error)
func (PusherCapn) DeviceDisplayNameBytes ¶
func (s PusherCapn) DeviceDisplayNameBytes() ([]byte, error)
func (PusherCapn) HasAppDisplayName ¶
func (s PusherCapn) HasAppDisplayName() bool
func (PusherCapn) HasAppID ¶
func (s PusherCapn) HasAppID() bool
func (PusherCapn) HasData ¶
func (s PusherCapn) HasData() bool
func (PusherCapn) HasDeviceDisplayName ¶
func (s PusherCapn) HasDeviceDisplayName() bool
func (PusherCapn) HasKind ¶
func (s PusherCapn) HasKind() bool
func (PusherCapn) HasLang ¶
func (s PusherCapn) HasLang() bool
func (PusherCapn) HasProfileTag ¶
func (s PusherCapn) HasProfileTag() bool
func (PusherCapn) HasPushkey ¶
func (s PusherCapn) HasPushkey() bool
func (PusherCapn) Kind ¶
func (s PusherCapn) Kind() (string, error)
func (PusherCapn) KindBytes ¶
func (s PusherCapn) KindBytes() ([]byte, error)
func (PusherCapn) Lang ¶
func (s PusherCapn) Lang() (string, error)
func (PusherCapn) LangBytes ¶
func (s PusherCapn) LangBytes() ([]byte, error)
func (PusherCapn) NewData ¶
func (s PusherCapn) NewData() (PusherDataCapn, error)
NewData sets the data field to a newly allocated PusherDataCapn struct, preferring placement in s's segment.
func (PusherCapn) ProfileTag ¶
func (s PusherCapn) ProfileTag() (string, error)
func (PusherCapn) ProfileTagBytes ¶
func (s PusherCapn) ProfileTagBytes() ([]byte, error)
func (PusherCapn) Pushkey ¶
func (s PusherCapn) Pushkey() (string, error)
func (PusherCapn) PushkeyBytes ¶
func (s PusherCapn) PushkeyBytes() ([]byte, error)
func (PusherCapn) SetAppDisplayName ¶
func (s PusherCapn) SetAppDisplayName(v string) error
func (PusherCapn) SetAppID ¶
func (s PusherCapn) SetAppID(v string) error
func (PusherCapn) SetData ¶
func (s PusherCapn) SetData(v PusherDataCapn) error
func (PusherCapn) SetDeviceDisplayName ¶
func (s PusherCapn) SetDeviceDisplayName(v string) error
func (PusherCapn) SetKind ¶
func (s PusherCapn) SetKind(v string) error
func (PusherCapn) SetLang ¶
func (s PusherCapn) SetLang(v string) error
func (PusherCapn) SetProfileTag ¶
func (s PusherCapn) SetProfileTag(v string) error
func (PusherCapn) SetPushkey ¶
func (s PusherCapn) SetPushkey(v string) error
func (PusherCapn) String ¶
func (s PusherCapn) String() string
type PusherCapn_List ¶
PusherCapn_List is a list of PusherCapn.
func NewPusherCapn_List ¶
func NewPusherCapn_List(s *capnp.Segment, sz int32) (PusherCapn_List, error)
NewPusherCapn creates a new list of PusherCapn.
func (PusherCapn_List) At ¶
func (s PusherCapn_List) At(i int) PusherCapn
func (PusherCapn_List) Set ¶
func (s PusherCapn_List) Set(i int, v PusherCapn) error
func (PusherCapn_List) String ¶
func (s PusherCapn_List) String() string
type PusherCapn_Promise ¶
PusherCapn_Promise is a wrapper for a PusherCapn promised by a client call.
func (PusherCapn_Promise) Data ¶
func (p PusherCapn_Promise) Data() PusherDataCapn_Promise
func (PusherCapn_Promise) Struct ¶
func (p PusherCapn_Promise) Struct() (PusherCapn, error)
type PusherData ¶
type PusherDataCapn ¶
func NewPusherDataCapn ¶
func NewPusherDataCapn(s *capnp.Segment) (PusherDataCapn, error)
func NewRootPusherDataCapn ¶
func NewRootPusherDataCapn(s *capnp.Segment) (PusherDataCapn, error)
func ReadRootPusherDataCapn ¶
func ReadRootPusherDataCapn(msg *capnp.Message) (PusherDataCapn, error)
func (PusherDataCapn) Format ¶
func (s PusherDataCapn) Format() (string, error)
func (PusherDataCapn) FormatBytes ¶
func (s PusherDataCapn) FormatBytes() ([]byte, error)
func (PusherDataCapn) HasFormat ¶
func (s PusherDataCapn) HasFormat() bool
func (PusherDataCapn) HasPushChannel ¶
func (s PusherDataCapn) HasPushChannel() bool
func (PusherDataCapn) HasPushType ¶
func (s PusherDataCapn) HasPushType() bool
func (PusherDataCapn) HasURL ¶
func (s PusherDataCapn) HasURL() bool
func (PusherDataCapn) PushChannel ¶
func (s PusherDataCapn) PushChannel() (string, error)
func (PusherDataCapn) PushChannelBytes ¶
func (s PusherDataCapn) PushChannelBytes() ([]byte, error)
func (PusherDataCapn) PushType ¶
func (s PusherDataCapn) PushType() (string, error)
func (PusherDataCapn) PushTypeBytes ¶
func (s PusherDataCapn) PushTypeBytes() ([]byte, error)
func (PusherDataCapn) SetFormat ¶
func (s PusherDataCapn) SetFormat(v string) error
func (PusherDataCapn) SetPushChannel ¶
func (s PusherDataCapn) SetPushChannel(v string) error
func (PusherDataCapn) SetPushType ¶
func (s PusherDataCapn) SetPushType(v string) error
func (PusherDataCapn) SetURL ¶
func (s PusherDataCapn) SetURL(v string) error
func (PusherDataCapn) String ¶
func (s PusherDataCapn) String() string
func (PusherDataCapn) URL ¶
func (s PusherDataCapn) URL() (string, error)
func (PusherDataCapn) URLBytes ¶
func (s PusherDataCapn) URLBytes() ([]byte, error)
type PusherDataCapn_List ¶
PusherDataCapn_List is a list of PusherDataCapn.
func NewPusherDataCapn_List ¶
func NewPusherDataCapn_List(s *capnp.Segment, sz int32) (PusherDataCapn_List, error)
NewPusherDataCapn creates a new list of PusherDataCapn.
func (PusherDataCapn_List) At ¶
func (s PusherDataCapn_List) At(i int) PusherDataCapn
func (PusherDataCapn_List) Set ¶
func (s PusherDataCapn_List) Set(i int, v PusherDataCapn) error
func (PusherDataCapn_List) String ¶
func (s PusherDataCapn_List) String() string
type PusherDataCapn_Promise ¶
PusherDataCapn_Promise is a wrapper for a PusherDataCapn promised by a client call.
func (PusherDataCapn_Promise) Struct ¶
func (p PusherDataCapn_Promise) Struct() (PusherDataCapn, error)
type PutAvatarURLRequest ¶
type PutAvatarURLRequest struct { UserID string `json:"user_id"` AvatarURL string `json:"avatar_url"` }
PUT /_matrix/client/r0/profile/{userID}/avatar_url
func (*PutAvatarURLRequest) Decode ¶
func (externalReq *PutAvatarURLRequest) Decode(input []byte) error
func (*PutAvatarURLRequest) Encode ¶
func (externalReq *PutAvatarURLRequest) Encode() ([]byte, error)
type PutAvatarURLRequestCapn ¶
func NewPutAvatarURLRequestCapn ¶
func NewPutAvatarURLRequestCapn(s *capnp.Segment) (PutAvatarURLRequestCapn, error)
func NewRootPutAvatarURLRequestCapn ¶
func NewRootPutAvatarURLRequestCapn(s *capnp.Segment) (PutAvatarURLRequestCapn, error)
func ReadRootPutAvatarURLRequestCapn ¶
func ReadRootPutAvatarURLRequestCapn(msg *capnp.Message) (PutAvatarURLRequestCapn, error)
func (PutAvatarURLRequestCapn) AvatarURL ¶
func (s PutAvatarURLRequestCapn) AvatarURL() (string, error)
func (PutAvatarURLRequestCapn) AvatarURLBytes ¶
func (s PutAvatarURLRequestCapn) AvatarURLBytes() ([]byte, error)
func (PutAvatarURLRequestCapn) HasAvatarURL ¶
func (s PutAvatarURLRequestCapn) HasAvatarURL() bool
func (PutAvatarURLRequestCapn) HasUserID ¶
func (s PutAvatarURLRequestCapn) HasUserID() bool
func (PutAvatarURLRequestCapn) SetAvatarURL ¶
func (s PutAvatarURLRequestCapn) SetAvatarURL(v string) error
func (PutAvatarURLRequestCapn) SetUserID ¶
func (s PutAvatarURLRequestCapn) SetUserID(v string) error
func (PutAvatarURLRequestCapn) String ¶
func (s PutAvatarURLRequestCapn) String() string
func (PutAvatarURLRequestCapn) UserID ¶
func (s PutAvatarURLRequestCapn) UserID() (string, error)
func (PutAvatarURLRequestCapn) UserIDBytes ¶
func (s PutAvatarURLRequestCapn) UserIDBytes() ([]byte, error)
type PutAvatarURLRequestCapn_List ¶
PutAvatarURLRequestCapn_List is a list of PutAvatarURLRequestCapn.
func NewPutAvatarURLRequestCapn_List ¶
func NewPutAvatarURLRequestCapn_List(s *capnp.Segment, sz int32) (PutAvatarURLRequestCapn_List, error)
NewPutAvatarURLRequestCapn creates a new list of PutAvatarURLRequestCapn.
func (PutAvatarURLRequestCapn_List) At ¶
func (s PutAvatarURLRequestCapn_List) At(i int) PutAvatarURLRequestCapn
func (PutAvatarURLRequestCapn_List) Set ¶
func (s PutAvatarURLRequestCapn_List) Set(i int, v PutAvatarURLRequestCapn) error
func (PutAvatarURLRequestCapn_List) String ¶
func (s PutAvatarURLRequestCapn_List) String() string
type PutAvatarURLRequestCapn_Promise ¶
PutAvatarURLRequestCapn_Promise is a wrapper for a PutAvatarURLRequestCapn promised by a client call.
func (PutAvatarURLRequestCapn_Promise) Struct ¶
func (p PutAvatarURLRequestCapn_Promise) Struct() (PutAvatarURLRequestCapn, error)
type PutDeviceRequest ¶
type PutDeviceRequest struct { DeviceID string `json:"device_id"` DisplayName string `json:"display_name,omitempty"` }
PUT /_matrix/client/r0/devices/{deviceId}
func (*PutDeviceRequest) Decode ¶
func (externalReq *PutDeviceRequest) Decode(input []byte) error
func (*PutDeviceRequest) Encode ¶
func (externalReq *PutDeviceRequest) Encode() ([]byte, error)
type PutDeviceRequestCapn ¶
func NewPutDeviceRequestCapn ¶
func NewPutDeviceRequestCapn(s *capnp.Segment) (PutDeviceRequestCapn, error)
func NewRootPutDeviceRequestCapn ¶
func NewRootPutDeviceRequestCapn(s *capnp.Segment) (PutDeviceRequestCapn, error)
func ReadRootPutDeviceRequestCapn ¶
func ReadRootPutDeviceRequestCapn(msg *capnp.Message) (PutDeviceRequestCapn, error)
func (PutDeviceRequestCapn) DeviceID ¶
func (s PutDeviceRequestCapn) DeviceID() (string, error)
func (PutDeviceRequestCapn) DeviceIDBytes ¶
func (s PutDeviceRequestCapn) DeviceIDBytes() ([]byte, error)
func (PutDeviceRequestCapn) DisplayName ¶
func (s PutDeviceRequestCapn) DisplayName() (string, error)
func (PutDeviceRequestCapn) DisplayNameBytes ¶
func (s PutDeviceRequestCapn) DisplayNameBytes() ([]byte, error)
func (PutDeviceRequestCapn) HasDeviceID ¶
func (s PutDeviceRequestCapn) HasDeviceID() bool
func (PutDeviceRequestCapn) HasDisplayName ¶
func (s PutDeviceRequestCapn) HasDisplayName() bool
func (PutDeviceRequestCapn) SetDeviceID ¶
func (s PutDeviceRequestCapn) SetDeviceID(v string) error
func (PutDeviceRequestCapn) SetDisplayName ¶
func (s PutDeviceRequestCapn) SetDisplayName(v string) error
func (PutDeviceRequestCapn) String ¶
func (s PutDeviceRequestCapn) String() string
type PutDeviceRequestCapn_List ¶
PutDeviceRequestCapn_List is a list of PutDeviceRequestCapn.
func NewPutDeviceRequestCapn_List ¶
func NewPutDeviceRequestCapn_List(s *capnp.Segment, sz int32) (PutDeviceRequestCapn_List, error)
NewPutDeviceRequestCapn creates a new list of PutDeviceRequestCapn.
func (PutDeviceRequestCapn_List) At ¶
func (s PutDeviceRequestCapn_List) At(i int) PutDeviceRequestCapn
func (PutDeviceRequestCapn_List) Set ¶
func (s PutDeviceRequestCapn_List) Set(i int, v PutDeviceRequestCapn) error
func (PutDeviceRequestCapn_List) String ¶
func (s PutDeviceRequestCapn_List) String() string
type PutDeviceRequestCapn_Promise ¶
PutDeviceRequestCapn_Promise is a wrapper for a PutDeviceRequestCapn promised by a client call.
func (PutDeviceRequestCapn_Promise) Struct ¶
func (p PutDeviceRequestCapn_Promise) Struct() (PutDeviceRequestCapn, error)
type PutDevicesByIDRequest ¶
type PutDevicesByIDRequest struct { DeviceId string `json:"deviceId"` DisplayName string `json:"display_name"` }
PUT /_matrix/client/r0/devices/{deviceId}
type PutDevicesByIDRequestCapn ¶
func NewPutDevicesByIDRequestCapn ¶
func NewPutDevicesByIDRequestCapn(s *capnp.Segment) (PutDevicesByIDRequestCapn, error)
func NewRootPutDevicesByIDRequestCapn ¶
func NewRootPutDevicesByIDRequestCapn(s *capnp.Segment) (PutDevicesByIDRequestCapn, error)
func ReadRootPutDevicesByIDRequestCapn ¶
func ReadRootPutDevicesByIDRequestCapn(msg *capnp.Message) (PutDevicesByIDRequestCapn, error)
func (PutDevicesByIDRequestCapn) DeviceId ¶
func (s PutDevicesByIDRequestCapn) DeviceId() (string, error)
func (PutDevicesByIDRequestCapn) DeviceIdBytes ¶
func (s PutDevicesByIDRequestCapn) DeviceIdBytes() ([]byte, error)
func (PutDevicesByIDRequestCapn) DisplayName ¶
func (s PutDevicesByIDRequestCapn) DisplayName() (string, error)
func (PutDevicesByIDRequestCapn) DisplayNameBytes ¶
func (s PutDevicesByIDRequestCapn) DisplayNameBytes() ([]byte, error)
func (PutDevicesByIDRequestCapn) HasDeviceId ¶
func (s PutDevicesByIDRequestCapn) HasDeviceId() bool
func (PutDevicesByIDRequestCapn) HasDisplayName ¶
func (s PutDevicesByIDRequestCapn) HasDisplayName() bool
func (PutDevicesByIDRequestCapn) SetDeviceId ¶
func (s PutDevicesByIDRequestCapn) SetDeviceId(v string) error
func (PutDevicesByIDRequestCapn) SetDisplayName ¶
func (s PutDevicesByIDRequestCapn) SetDisplayName(v string) error
func (PutDevicesByIDRequestCapn) String ¶
func (s PutDevicesByIDRequestCapn) String() string
type PutDevicesByIDRequestCapn_List ¶
PutDevicesByIDRequestCapn_List is a list of PutDevicesByIDRequestCapn.
func NewPutDevicesByIDRequestCapn_List ¶
func NewPutDevicesByIDRequestCapn_List(s *capnp.Segment, sz int32) (PutDevicesByIDRequestCapn_List, error)
NewPutDevicesByIDRequestCapn creates a new list of PutDevicesByIDRequestCapn.
func (PutDevicesByIDRequestCapn_List) At ¶
func (s PutDevicesByIDRequestCapn_List) At(i int) PutDevicesByIDRequestCapn
func (PutDevicesByIDRequestCapn_List) Set ¶
func (s PutDevicesByIDRequestCapn_List) Set(i int, v PutDevicesByIDRequestCapn) error
func (PutDevicesByIDRequestCapn_List) String ¶
func (s PutDevicesByIDRequestCapn_List) String() string
type PutDevicesByIDRequestCapn_Promise ¶
PutDevicesByIDRequestCapn_Promise is a wrapper for a PutDevicesByIDRequestCapn promised by a client call.
func (PutDevicesByIDRequestCapn_Promise) Struct ¶
func (p PutDevicesByIDRequestCapn_Promise) Struct() (PutDevicesByIDRequestCapn, error)
type PutDirectoryRoomAliasRequest ¶
type PutDirectoryRoomAliasRequest struct { RoomAlias string `json:"roomAlias"` RoomID string `json:"room_id"` }
PUT /_matrix/client/r0/directory/room/{roomAlias}
func (*PutDirectoryRoomAliasRequest) Decode ¶
func (externalReq *PutDirectoryRoomAliasRequest) Decode(input []byte) error
func (*PutDirectoryRoomAliasRequest) Encode ¶
func (externalReq *PutDirectoryRoomAliasRequest) Encode() ([]byte, error)
type PutDirectoryRoomAliasRequestCapn ¶
func NewPutDirectoryRoomAliasRequestCapn ¶
func NewPutDirectoryRoomAliasRequestCapn(s *capnp.Segment) (PutDirectoryRoomAliasRequestCapn, error)
func NewRootPutDirectoryRoomAliasRequestCapn ¶
func NewRootPutDirectoryRoomAliasRequestCapn(s *capnp.Segment) (PutDirectoryRoomAliasRequestCapn, error)
func ReadRootPutDirectoryRoomAliasRequestCapn ¶
func ReadRootPutDirectoryRoomAliasRequestCapn(msg *capnp.Message) (PutDirectoryRoomAliasRequestCapn, error)
func (PutDirectoryRoomAliasRequestCapn) HasRoomAlias ¶
func (s PutDirectoryRoomAliasRequestCapn) HasRoomAlias() bool
func (PutDirectoryRoomAliasRequestCapn) HasRoomID ¶
func (s PutDirectoryRoomAliasRequestCapn) HasRoomID() bool
func (PutDirectoryRoomAliasRequestCapn) RoomAlias ¶
func (s PutDirectoryRoomAliasRequestCapn) RoomAlias() (string, error)
func (PutDirectoryRoomAliasRequestCapn) RoomAliasBytes ¶
func (s PutDirectoryRoomAliasRequestCapn) RoomAliasBytes() ([]byte, error)
func (PutDirectoryRoomAliasRequestCapn) RoomID ¶
func (s PutDirectoryRoomAliasRequestCapn) RoomID() (string, error)
func (PutDirectoryRoomAliasRequestCapn) RoomIDBytes ¶
func (s PutDirectoryRoomAliasRequestCapn) RoomIDBytes() ([]byte, error)
func (PutDirectoryRoomAliasRequestCapn) SetRoomAlias ¶
func (s PutDirectoryRoomAliasRequestCapn) SetRoomAlias(v string) error
func (PutDirectoryRoomAliasRequestCapn) SetRoomID ¶
func (s PutDirectoryRoomAliasRequestCapn) SetRoomID(v string) error
func (PutDirectoryRoomAliasRequestCapn) String ¶
func (s PutDirectoryRoomAliasRequestCapn) String() string
type PutDirectoryRoomAliasRequestCapn_List ¶
PutDirectoryRoomAliasRequestCapn_List is a list of PutDirectoryRoomAliasRequestCapn.
func NewPutDirectoryRoomAliasRequestCapn_List ¶
func NewPutDirectoryRoomAliasRequestCapn_List(s *capnp.Segment, sz int32) (PutDirectoryRoomAliasRequestCapn_List, error)
NewPutDirectoryRoomAliasRequestCapn creates a new list of PutDirectoryRoomAliasRequestCapn.
func (PutDirectoryRoomAliasRequestCapn_List) Set ¶
func (s PutDirectoryRoomAliasRequestCapn_List) Set(i int, v PutDirectoryRoomAliasRequestCapn) error
func (PutDirectoryRoomAliasRequestCapn_List) String ¶
func (s PutDirectoryRoomAliasRequestCapn_List) String() string
type PutDirectoryRoomAliasRequestCapn_Promise ¶
PutDirectoryRoomAliasRequestCapn_Promise is a wrapper for a PutDirectoryRoomAliasRequestCapn promised by a client call.
func (PutDirectoryRoomAliasRequestCapn_Promise) Struct ¶
func (p PutDirectoryRoomAliasRequestCapn_Promise) Struct() (PutDirectoryRoomAliasRequestCapn, error)
type PutDirectoryRoomRequest ¶
type PutDirectoryRoomRequest struct { RoomID string `json:"room_id"` Visibility string `json:"visibility"` }
PUT /_matrix/client/r0/directory/list/room/{roomId}
func (*PutDirectoryRoomRequest) Decode ¶
func (externalReq *PutDirectoryRoomRequest) Decode(input []byte) error
func (*PutDirectoryRoomRequest) Encode ¶
func (externalReq *PutDirectoryRoomRequest) Encode() ([]byte, error)
type PutDirectoryRoomRequestCapn ¶
func NewPutDirectoryRoomRequestCapn ¶
func NewPutDirectoryRoomRequestCapn(s *capnp.Segment) (PutDirectoryRoomRequestCapn, error)
func NewRootPutDirectoryRoomRequestCapn ¶
func NewRootPutDirectoryRoomRequestCapn(s *capnp.Segment) (PutDirectoryRoomRequestCapn, error)
func ReadRootPutDirectoryRoomRequestCapn ¶
func ReadRootPutDirectoryRoomRequestCapn(msg *capnp.Message) (PutDirectoryRoomRequestCapn, error)
func (PutDirectoryRoomRequestCapn) HasRoomID ¶
func (s PutDirectoryRoomRequestCapn) HasRoomID() bool
func (PutDirectoryRoomRequestCapn) HasVisibility ¶
func (s PutDirectoryRoomRequestCapn) HasVisibility() bool
func (PutDirectoryRoomRequestCapn) RoomID ¶
func (s PutDirectoryRoomRequestCapn) RoomID() (string, error)
func (PutDirectoryRoomRequestCapn) RoomIDBytes ¶
func (s PutDirectoryRoomRequestCapn) RoomIDBytes() ([]byte, error)
func (PutDirectoryRoomRequestCapn) SetRoomID ¶
func (s PutDirectoryRoomRequestCapn) SetRoomID(v string) error
func (PutDirectoryRoomRequestCapn) SetVisibility ¶
func (s PutDirectoryRoomRequestCapn) SetVisibility(v string) error
func (PutDirectoryRoomRequestCapn) String ¶
func (s PutDirectoryRoomRequestCapn) String() string
func (PutDirectoryRoomRequestCapn) Visibility ¶
func (s PutDirectoryRoomRequestCapn) Visibility() (string, error)
func (PutDirectoryRoomRequestCapn) VisibilityBytes ¶
func (s PutDirectoryRoomRequestCapn) VisibilityBytes() ([]byte, error)
type PutDirectoryRoomRequestCapn_List ¶
PutDirectoryRoomRequestCapn_List is a list of PutDirectoryRoomRequestCapn.
func NewPutDirectoryRoomRequestCapn_List ¶
func NewPutDirectoryRoomRequestCapn_List(s *capnp.Segment, sz int32) (PutDirectoryRoomRequestCapn_List, error)
NewPutDirectoryRoomRequestCapn creates a new list of PutDirectoryRoomRequestCapn.
func (PutDirectoryRoomRequestCapn_List) At ¶
func (s PutDirectoryRoomRequestCapn_List) At(i int) PutDirectoryRoomRequestCapn
func (PutDirectoryRoomRequestCapn_List) Set ¶
func (s PutDirectoryRoomRequestCapn_List) Set(i int, v PutDirectoryRoomRequestCapn) error
func (PutDirectoryRoomRequestCapn_List) String ¶
func (s PutDirectoryRoomRequestCapn_List) String() string
type PutDirectoryRoomRequestCapn_Promise ¶
PutDirectoryRoomRequestCapn_Promise is a wrapper for a PutDirectoryRoomRequestCapn promised by a client call.
func (PutDirectoryRoomRequestCapn_Promise) Struct ¶
func (p PutDirectoryRoomRequestCapn_Promise) Struct() (PutDirectoryRoomRequestCapn, error)
type PutDisplayNameRequest ¶
type PutDisplayNameRequest struct { UserID string `json:"user_id"` DisplayName string `json:"displayname"` }
PUT /_matrix/client/r0/profile/{userID}/displayname
func (*PutDisplayNameRequest) Decode ¶
func (externalReq *PutDisplayNameRequest) Decode(input []byte) error
func (*PutDisplayNameRequest) Encode ¶
func (externalReq *PutDisplayNameRequest) Encode() ([]byte, error)
type PutDisplayNameRequestCapn ¶
func NewPutDisplayNameRequestCapn ¶
func NewPutDisplayNameRequestCapn(s *capnp.Segment) (PutDisplayNameRequestCapn, error)
func NewRootPutDisplayNameRequestCapn ¶
func NewRootPutDisplayNameRequestCapn(s *capnp.Segment) (PutDisplayNameRequestCapn, error)
func ReadRootPutDisplayNameRequestCapn ¶
func ReadRootPutDisplayNameRequestCapn(msg *capnp.Message) (PutDisplayNameRequestCapn, error)
func (PutDisplayNameRequestCapn) DisplayName ¶
func (s PutDisplayNameRequestCapn) DisplayName() (string, error)
func (PutDisplayNameRequestCapn) DisplayNameBytes ¶
func (s PutDisplayNameRequestCapn) DisplayNameBytes() ([]byte, error)
func (PutDisplayNameRequestCapn) HasDisplayName ¶
func (s PutDisplayNameRequestCapn) HasDisplayName() bool
func (PutDisplayNameRequestCapn) HasUserID ¶
func (s PutDisplayNameRequestCapn) HasUserID() bool
func (PutDisplayNameRequestCapn) SetDisplayName ¶
func (s PutDisplayNameRequestCapn) SetDisplayName(v string) error
func (PutDisplayNameRequestCapn) SetUserID ¶
func (s PutDisplayNameRequestCapn) SetUserID(v string) error
func (PutDisplayNameRequestCapn) String ¶
func (s PutDisplayNameRequestCapn) String() string
func (PutDisplayNameRequestCapn) UserID ¶
func (s PutDisplayNameRequestCapn) UserID() (string, error)
func (PutDisplayNameRequestCapn) UserIDBytes ¶
func (s PutDisplayNameRequestCapn) UserIDBytes() ([]byte, error)
type PutDisplayNameRequestCapn_List ¶
PutDisplayNameRequestCapn_List is a list of PutDisplayNameRequestCapn.
func NewPutDisplayNameRequestCapn_List ¶
func NewPutDisplayNameRequestCapn_List(s *capnp.Segment, sz int32) (PutDisplayNameRequestCapn_List, error)
NewPutDisplayNameRequestCapn creates a new list of PutDisplayNameRequestCapn.
func (PutDisplayNameRequestCapn_List) At ¶
func (s PutDisplayNameRequestCapn_List) At(i int) PutDisplayNameRequestCapn
func (PutDisplayNameRequestCapn_List) Set ¶
func (s PutDisplayNameRequestCapn_List) Set(i int, v PutDisplayNameRequestCapn) error
func (PutDisplayNameRequestCapn_List) String ¶
func (s PutDisplayNameRequestCapn_List) String() string
type PutDisplayNameRequestCapn_Promise ¶
PutDisplayNameRequestCapn_Promise is a wrapper for a PutDisplayNameRequestCapn promised by a client call.
func (PutDisplayNameRequestCapn_Promise) Struct ¶
func (p PutDisplayNameRequestCapn_Promise) Struct() (PutDisplayNameRequestCapn, error)
type PutFedInviteRequest ¶
type PutFedInviteRequest struct { RoomID string `json:"roomID"` EventID string `json:"eventID"` Event gomatrixserverlib.Event `json:"event"` }
func (*PutFedInviteRequest) Decode ¶
func (externalReq *PutFedInviteRequest) Decode(data []byte) error
func (*PutFedInviteRequest) Encode ¶
func (externalReq *PutFedInviteRequest) Encode() ([]byte, error)
type PutPresenceRequest ¶
type PutPresenceRequest struct { UserID string `json:"user_id"` Presence *string `json:"presence,omitempty"` StatusMsg *string `json:"status_msg,omitempty"` ExtStatusMsg *string `json:"ext_status_msg,omitempty"` }
PUT /_matrix/client/r0/presence/{userId}/status
func (*PutPresenceRequest) Decode ¶
func (externalReq *PutPresenceRequest) Decode(input []byte) error
func (*PutPresenceRequest) Encode ¶
func (externalReq *PutPresenceRequest) Encode() ([]byte, error)
type PutPresenceRequestCapn ¶
func NewPutPresenceRequestCapn ¶
func NewPutPresenceRequestCapn(s *capnp.Segment) (PutPresenceRequestCapn, error)
func NewRootPutPresenceRequestCapn ¶
func NewRootPutPresenceRequestCapn(s *capnp.Segment) (PutPresenceRequestCapn, error)
func ReadRootPutPresenceRequestCapn ¶
func ReadRootPutPresenceRequestCapn(msg *capnp.Message) (PutPresenceRequestCapn, error)
func (PutPresenceRequestCapn) ExtStatusMsg ¶
func (s PutPresenceRequestCapn) ExtStatusMsg() (string, error)
func (PutPresenceRequestCapn) ExtStatusMsgBytes ¶
func (s PutPresenceRequestCapn) ExtStatusMsgBytes() ([]byte, error)
func (PutPresenceRequestCapn) HasExtStatusMsg ¶
func (s PutPresenceRequestCapn) HasExtStatusMsg() bool
func (PutPresenceRequestCapn) HasPresence ¶
func (s PutPresenceRequestCapn) HasPresence() bool
func (PutPresenceRequestCapn) HasStatusMsg ¶
func (s PutPresenceRequestCapn) HasStatusMsg() bool
func (PutPresenceRequestCapn) HasUserID ¶
func (s PutPresenceRequestCapn) HasUserID() bool
func (PutPresenceRequestCapn) Presence ¶
func (s PutPresenceRequestCapn) Presence() (string, error)
func (PutPresenceRequestCapn) PresenceBytes ¶
func (s PutPresenceRequestCapn) PresenceBytes() ([]byte, error)
func (PutPresenceRequestCapn) SetExtStatusMsg ¶
func (s PutPresenceRequestCapn) SetExtStatusMsg(v string) error
func (PutPresenceRequestCapn) SetPresence ¶
func (s PutPresenceRequestCapn) SetPresence(v string) error
func (PutPresenceRequestCapn) SetStatusMsg ¶
func (s PutPresenceRequestCapn) SetStatusMsg(v string) error
func (PutPresenceRequestCapn) SetUserID ¶
func (s PutPresenceRequestCapn) SetUserID(v string) error
func (PutPresenceRequestCapn) StatusMsg ¶
func (s PutPresenceRequestCapn) StatusMsg() (string, error)
func (PutPresenceRequestCapn) StatusMsgBytes ¶
func (s PutPresenceRequestCapn) StatusMsgBytes() ([]byte, error)
func (PutPresenceRequestCapn) String ¶
func (s PutPresenceRequestCapn) String() string
func (PutPresenceRequestCapn) UserID ¶
func (s PutPresenceRequestCapn) UserID() (string, error)
func (PutPresenceRequestCapn) UserIDBytes ¶
func (s PutPresenceRequestCapn) UserIDBytes() ([]byte, error)
type PutPresenceRequestCapn_List ¶
PutPresenceRequestCapn_List is a list of PutPresenceRequestCapn.
func NewPutPresenceRequestCapn_List ¶
func NewPutPresenceRequestCapn_List(s *capnp.Segment, sz int32) (PutPresenceRequestCapn_List, error)
NewPutPresenceRequestCapn creates a new list of PutPresenceRequestCapn.
func (PutPresenceRequestCapn_List) At ¶
func (s PutPresenceRequestCapn_List) At(i int) PutPresenceRequestCapn
func (PutPresenceRequestCapn_List) Set ¶
func (s PutPresenceRequestCapn_List) Set(i int, v PutPresenceRequestCapn) error
func (PutPresenceRequestCapn_List) String ¶
func (s PutPresenceRequestCapn_List) String() string
type PutPresenceRequestCapn_Promise ¶
PutPresenceRequestCapn_Promise is a wrapper for a PutPresenceRequestCapn promised by a client call.
func (PutPresenceRequestCapn_Promise) Struct ¶
func (p PutPresenceRequestCapn_Promise) Struct() (PutPresenceRequestCapn, error)
type PutPushrulesActionsByIDRequest ¶
type PutPushrulesActionsByIDRequest struct { Scope string `json:"scope"` Kind string `json:"kind"` RuleID string `json:"ruleId"` Actions []string `json:"actions"` }
PUT /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/actions
func (*PutPushrulesActionsByIDRequest) Decode ¶
func (externalReq *PutPushrulesActionsByIDRequest) Decode(input []byte) error
func (*PutPushrulesActionsByIDRequest) Encode ¶
func (externalReq *PutPushrulesActionsByIDRequest) Encode() ([]byte, error)
type PutPushrulesActionsByIDRequestCapn ¶
func NewPutPushrulesActionsByIDRequestCapn ¶
func NewPutPushrulesActionsByIDRequestCapn(s *capnp.Segment) (PutPushrulesActionsByIDRequestCapn, error)
func NewRootPutPushrulesActionsByIDRequestCapn ¶
func NewRootPutPushrulesActionsByIDRequestCapn(s *capnp.Segment) (PutPushrulesActionsByIDRequestCapn, error)
func ReadRootPutPushrulesActionsByIDRequestCapn ¶
func ReadRootPutPushrulesActionsByIDRequestCapn(msg *capnp.Message) (PutPushrulesActionsByIDRequestCapn, error)
func (PutPushrulesActionsByIDRequestCapn) Actions ¶
func (s PutPushrulesActionsByIDRequestCapn) Actions() (capnp.TextList, error)
func (PutPushrulesActionsByIDRequestCapn) HasActions ¶
func (s PutPushrulesActionsByIDRequestCapn) HasActions() bool
func (PutPushrulesActionsByIDRequestCapn) HasKind ¶
func (s PutPushrulesActionsByIDRequestCapn) HasKind() bool
func (PutPushrulesActionsByIDRequestCapn) HasRuleID ¶
func (s PutPushrulesActionsByIDRequestCapn) HasRuleID() bool
func (PutPushrulesActionsByIDRequestCapn) HasScope ¶
func (s PutPushrulesActionsByIDRequestCapn) HasScope() bool
func (PutPushrulesActionsByIDRequestCapn) Kind ¶
func (s PutPushrulesActionsByIDRequestCapn) Kind() (string, error)
func (PutPushrulesActionsByIDRequestCapn) KindBytes ¶
func (s PutPushrulesActionsByIDRequestCapn) KindBytes() ([]byte, error)
func (PutPushrulesActionsByIDRequestCapn) NewActions ¶
func (s PutPushrulesActionsByIDRequestCapn) NewActions(n int32) (capnp.TextList, error)
NewActions sets the actions field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (PutPushrulesActionsByIDRequestCapn) RuleID ¶
func (s PutPushrulesActionsByIDRequestCapn) RuleID() (string, error)
func (PutPushrulesActionsByIDRequestCapn) RuleIDBytes ¶
func (s PutPushrulesActionsByIDRequestCapn) RuleIDBytes() ([]byte, error)
func (PutPushrulesActionsByIDRequestCapn) Scope ¶
func (s PutPushrulesActionsByIDRequestCapn) Scope() (string, error)
func (PutPushrulesActionsByIDRequestCapn) ScopeBytes ¶
func (s PutPushrulesActionsByIDRequestCapn) ScopeBytes() ([]byte, error)
func (PutPushrulesActionsByIDRequestCapn) SetActions ¶
func (s PutPushrulesActionsByIDRequestCapn) SetActions(v capnp.TextList) error
func (PutPushrulesActionsByIDRequestCapn) SetKind ¶
func (s PutPushrulesActionsByIDRequestCapn) SetKind(v string) error
func (PutPushrulesActionsByIDRequestCapn) SetRuleID ¶
func (s PutPushrulesActionsByIDRequestCapn) SetRuleID(v string) error
func (PutPushrulesActionsByIDRequestCapn) SetScope ¶
func (s PutPushrulesActionsByIDRequestCapn) SetScope(v string) error
func (PutPushrulesActionsByIDRequestCapn) String ¶
func (s PutPushrulesActionsByIDRequestCapn) String() string
type PutPushrulesActionsByIDRequestCapn_List ¶
PutPushrulesActionsByIDRequestCapn_List is a list of PutPushrulesActionsByIDRequestCapn.
func NewPutPushrulesActionsByIDRequestCapn_List ¶
func NewPutPushrulesActionsByIDRequestCapn_List(s *capnp.Segment, sz int32) (PutPushrulesActionsByIDRequestCapn_List, error)
NewPutPushrulesActionsByIDRequestCapn creates a new list of PutPushrulesActionsByIDRequestCapn.
func (PutPushrulesActionsByIDRequestCapn_List) Set ¶
func (s PutPushrulesActionsByIDRequestCapn_List) Set(i int, v PutPushrulesActionsByIDRequestCapn) error
func (PutPushrulesActionsByIDRequestCapn_List) String ¶
func (s PutPushrulesActionsByIDRequestCapn_List) String() string
type PutPushrulesActionsByIDRequestCapn_Promise ¶
PutPushrulesActionsByIDRequestCapn_Promise is a wrapper for a PutPushrulesActionsByIDRequestCapn promised by a client call.
func (PutPushrulesActionsByIDRequestCapn_Promise) Struct ¶
func (p PutPushrulesActionsByIDRequestCapn_Promise) Struct() (PutPushrulesActionsByIDRequestCapn, error)
type PutPushrulesByIDRequest ¶
type PutPushrulesByIDRequest struct { Actions []interface{} `json:"actions"` Conditions []PushCondition `json:"conditions"` Pattern string `json:"pattern"` Scope string `json:"scope"` Kind string `json:"kind"` RuleID string `json:"ruleId"` Before string `json:"before"` After string `json:"after"` }
PUT /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}
func (*PutPushrulesByIDRequest) Decode ¶
func (externalReq *PutPushrulesByIDRequest) Decode(input []byte) error
func (*PutPushrulesByIDRequest) Encode ¶
func (externalReq *PutPushrulesByIDRequest) Encode() ([]byte, error)
type PutPushrulesByIDRequestCapn ¶
func NewPutPushrulesByIDRequestCapn ¶
func NewPutPushrulesByIDRequestCapn(s *capnp.Segment) (PutPushrulesByIDRequestCapn, error)
func NewRootPutPushrulesByIDRequestCapn ¶
func NewRootPutPushrulesByIDRequestCapn(s *capnp.Segment) (PutPushrulesByIDRequestCapn, error)
func ReadRootPutPushrulesByIDRequestCapn ¶
func ReadRootPutPushrulesByIDRequestCapn(msg *capnp.Message) (PutPushrulesByIDRequestCapn, error)
func (PutPushrulesByIDRequestCapn) Actions ¶
func (s PutPushrulesByIDRequestCapn) Actions() (capnp.TextList, error)
func (PutPushrulesByIDRequestCapn) After ¶
func (s PutPushrulesByIDRequestCapn) After() (string, error)
func (PutPushrulesByIDRequestCapn) AfterBytes ¶
func (s PutPushrulesByIDRequestCapn) AfterBytes() ([]byte, error)
func (PutPushrulesByIDRequestCapn) Before ¶
func (s PutPushrulesByIDRequestCapn) Before() (string, error)
func (PutPushrulesByIDRequestCapn) BeforeBytes ¶
func (s PutPushrulesByIDRequestCapn) BeforeBytes() ([]byte, error)
func (PutPushrulesByIDRequestCapn) Conditions ¶
func (s PutPushrulesByIDRequestCapn) Conditions() (PushConditionCapn_List, error)
func (PutPushrulesByIDRequestCapn) HasActions ¶
func (s PutPushrulesByIDRequestCapn) HasActions() bool
func (PutPushrulesByIDRequestCapn) HasAfter ¶
func (s PutPushrulesByIDRequestCapn) HasAfter() bool
func (PutPushrulesByIDRequestCapn) HasBefore ¶
func (s PutPushrulesByIDRequestCapn) HasBefore() bool
func (PutPushrulesByIDRequestCapn) HasConditions ¶
func (s PutPushrulesByIDRequestCapn) HasConditions() bool
func (PutPushrulesByIDRequestCapn) HasKind ¶
func (s PutPushrulesByIDRequestCapn) HasKind() bool
func (PutPushrulesByIDRequestCapn) HasPattern ¶
func (s PutPushrulesByIDRequestCapn) HasPattern() bool
func (PutPushrulesByIDRequestCapn) HasRuleID ¶
func (s PutPushrulesByIDRequestCapn) HasRuleID() bool
func (PutPushrulesByIDRequestCapn) HasScope ¶
func (s PutPushrulesByIDRequestCapn) HasScope() bool
func (PutPushrulesByIDRequestCapn) Kind ¶
func (s PutPushrulesByIDRequestCapn) Kind() (string, error)
func (PutPushrulesByIDRequestCapn) KindBytes ¶
func (s PutPushrulesByIDRequestCapn) KindBytes() ([]byte, error)
func (PutPushrulesByIDRequestCapn) NewActions ¶
func (s PutPushrulesByIDRequestCapn) NewActions(n int32) (capnp.TextList, error)
NewActions sets the actions field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (PutPushrulesByIDRequestCapn) NewConditions ¶
func (s PutPushrulesByIDRequestCapn) NewConditions(n int32) (PushConditionCapn_List, error)
NewConditions sets the conditions field to a newly allocated PushConditionCapn_List, preferring placement in s's segment.
func (PutPushrulesByIDRequestCapn) Pattern ¶
func (s PutPushrulesByIDRequestCapn) Pattern() (string, error)
func (PutPushrulesByIDRequestCapn) PatternBytes ¶
func (s PutPushrulesByIDRequestCapn) PatternBytes() ([]byte, error)
func (PutPushrulesByIDRequestCapn) RuleID ¶
func (s PutPushrulesByIDRequestCapn) RuleID() (string, error)
func (PutPushrulesByIDRequestCapn) RuleIDBytes ¶
func (s PutPushrulesByIDRequestCapn) RuleIDBytes() ([]byte, error)
func (PutPushrulesByIDRequestCapn) Scope ¶
func (s PutPushrulesByIDRequestCapn) Scope() (string, error)
func (PutPushrulesByIDRequestCapn) ScopeBytes ¶
func (s PutPushrulesByIDRequestCapn) ScopeBytes() ([]byte, error)
func (PutPushrulesByIDRequestCapn) SetActions ¶
func (s PutPushrulesByIDRequestCapn) SetActions(v capnp.TextList) error
func (PutPushrulesByIDRequestCapn) SetAfter ¶
func (s PutPushrulesByIDRequestCapn) SetAfter(v string) error
func (PutPushrulesByIDRequestCapn) SetBefore ¶
func (s PutPushrulesByIDRequestCapn) SetBefore(v string) error
func (PutPushrulesByIDRequestCapn) SetConditions ¶
func (s PutPushrulesByIDRequestCapn) SetConditions(v PushConditionCapn_List) error
func (PutPushrulesByIDRequestCapn) SetKind ¶
func (s PutPushrulesByIDRequestCapn) SetKind(v string) error
func (PutPushrulesByIDRequestCapn) SetPattern ¶
func (s PutPushrulesByIDRequestCapn) SetPattern(v string) error
func (PutPushrulesByIDRequestCapn) SetRuleID ¶
func (s PutPushrulesByIDRequestCapn) SetRuleID(v string) error
func (PutPushrulesByIDRequestCapn) SetScope ¶
func (s PutPushrulesByIDRequestCapn) SetScope(v string) error
func (PutPushrulesByIDRequestCapn) String ¶
func (s PutPushrulesByIDRequestCapn) String() string
type PutPushrulesByIDRequestCapn_List ¶
PutPushrulesByIDRequestCapn_List is a list of PutPushrulesByIDRequestCapn.
func NewPutPushrulesByIDRequestCapn_List ¶
func NewPutPushrulesByIDRequestCapn_List(s *capnp.Segment, sz int32) (PutPushrulesByIDRequestCapn_List, error)
NewPutPushrulesByIDRequestCapn creates a new list of PutPushrulesByIDRequestCapn.
func (PutPushrulesByIDRequestCapn_List) At ¶
func (s PutPushrulesByIDRequestCapn_List) At(i int) PutPushrulesByIDRequestCapn
func (PutPushrulesByIDRequestCapn_List) Set ¶
func (s PutPushrulesByIDRequestCapn_List) Set(i int, v PutPushrulesByIDRequestCapn) error
func (PutPushrulesByIDRequestCapn_List) String ¶
func (s PutPushrulesByIDRequestCapn_List) String() string
type PutPushrulesByIDRequestCapn_Promise ¶
PutPushrulesByIDRequestCapn_Promise is a wrapper for a PutPushrulesByIDRequestCapn promised by a client call.
func (PutPushrulesByIDRequestCapn_Promise) Struct ¶
func (p PutPushrulesByIDRequestCapn_Promise) Struct() (PutPushrulesByIDRequestCapn, error)
type PutPushrulesEnabledByIDRequest ¶
type PutPushrulesEnabledByIDRequest struct { Scope string `json:"scope"` Kind string `json:"kind"` RuleID string `json:"ruleId"` Enabled bool `json:"enabled"` }
PUT /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/enabled
func (*PutPushrulesEnabledByIDRequest) Decode ¶
func (externalReq *PutPushrulesEnabledByIDRequest) Decode(input []byte) error
func (*PutPushrulesEnabledByIDRequest) Encode ¶
func (externalReq *PutPushrulesEnabledByIDRequest) Encode() ([]byte, error)
type PutPushrulesEnabledByIDRequestCapn ¶
func NewPutPushrulesEnabledByIDRequestCapn ¶
func NewPutPushrulesEnabledByIDRequestCapn(s *capnp.Segment) (PutPushrulesEnabledByIDRequestCapn, error)
func NewRootPutPushrulesEnabledByIDRequestCapn ¶
func NewRootPutPushrulesEnabledByIDRequestCapn(s *capnp.Segment) (PutPushrulesEnabledByIDRequestCapn, error)
func ReadRootPutPushrulesEnabledByIDRequestCapn ¶
func ReadRootPutPushrulesEnabledByIDRequestCapn(msg *capnp.Message) (PutPushrulesEnabledByIDRequestCapn, error)
func (PutPushrulesEnabledByIDRequestCapn) Enabled ¶
func (s PutPushrulesEnabledByIDRequestCapn) Enabled() bool
func (PutPushrulesEnabledByIDRequestCapn) HasKind ¶
func (s PutPushrulesEnabledByIDRequestCapn) HasKind() bool
func (PutPushrulesEnabledByIDRequestCapn) HasRuleID ¶
func (s PutPushrulesEnabledByIDRequestCapn) HasRuleID() bool
func (PutPushrulesEnabledByIDRequestCapn) HasScope ¶
func (s PutPushrulesEnabledByIDRequestCapn) HasScope() bool
func (PutPushrulesEnabledByIDRequestCapn) Kind ¶
func (s PutPushrulesEnabledByIDRequestCapn) Kind() (string, error)
func (PutPushrulesEnabledByIDRequestCapn) KindBytes ¶
func (s PutPushrulesEnabledByIDRequestCapn) KindBytes() ([]byte, error)
func (PutPushrulesEnabledByIDRequestCapn) RuleID ¶
func (s PutPushrulesEnabledByIDRequestCapn) RuleID() (string, error)
func (PutPushrulesEnabledByIDRequestCapn) RuleIDBytes ¶
func (s PutPushrulesEnabledByIDRequestCapn) RuleIDBytes() ([]byte, error)
func (PutPushrulesEnabledByIDRequestCapn) Scope ¶
func (s PutPushrulesEnabledByIDRequestCapn) Scope() (string, error)
func (PutPushrulesEnabledByIDRequestCapn) ScopeBytes ¶
func (s PutPushrulesEnabledByIDRequestCapn) ScopeBytes() ([]byte, error)
func (PutPushrulesEnabledByIDRequestCapn) SetEnabled ¶
func (s PutPushrulesEnabledByIDRequestCapn) SetEnabled(v bool)
func (PutPushrulesEnabledByIDRequestCapn) SetKind ¶
func (s PutPushrulesEnabledByIDRequestCapn) SetKind(v string) error
func (PutPushrulesEnabledByIDRequestCapn) SetRuleID ¶
func (s PutPushrulesEnabledByIDRequestCapn) SetRuleID(v string) error
func (PutPushrulesEnabledByIDRequestCapn) SetScope ¶
func (s PutPushrulesEnabledByIDRequestCapn) SetScope(v string) error
func (PutPushrulesEnabledByIDRequestCapn) String ¶
func (s PutPushrulesEnabledByIDRequestCapn) String() string
type PutPushrulesEnabledByIDRequestCapn_List ¶
PutPushrulesEnabledByIDRequestCapn_List is a list of PutPushrulesEnabledByIDRequestCapn.
func NewPutPushrulesEnabledByIDRequestCapn_List ¶
func NewPutPushrulesEnabledByIDRequestCapn_List(s *capnp.Segment, sz int32) (PutPushrulesEnabledByIDRequestCapn_List, error)
NewPutPushrulesEnabledByIDRequestCapn creates a new list of PutPushrulesEnabledByIDRequestCapn.
func (PutPushrulesEnabledByIDRequestCapn_List) Set ¶
func (s PutPushrulesEnabledByIDRequestCapn_List) Set(i int, v PutPushrulesEnabledByIDRequestCapn) error
func (PutPushrulesEnabledByIDRequestCapn_List) String ¶
func (s PutPushrulesEnabledByIDRequestCapn_List) String() string
type PutPushrulesEnabledByIDRequestCapn_Promise ¶
PutPushrulesEnabledByIDRequestCapn_Promise is a wrapper for a PutPushrulesEnabledByIDRequestCapn promised by a client call.
func (PutPushrulesEnabledByIDRequestCapn_Promise) Struct ¶
func (p PutPushrulesEnabledByIDRequestCapn_Promise) Struct() (PutPushrulesEnabledByIDRequestCapn, error)
type PutRedactEventRequest ¶
type PutRedactEventRequest struct { RoomID string `json:"roomId,omitempty"` EventID string `json:"eventId,omitempty"` Reason string `json:"reason,omitempty"` Content []byte `json:"content,omitempty"` }
PUT /_matrix/client/r0/rooms/{roomId}/redact/{eventId}/
func (*PutRedactEventRequest) Decode ¶
func (externalReq *PutRedactEventRequest) Decode(input []byte) error
func (*PutRedactEventRequest) Encode ¶
func (externalReq *PutRedactEventRequest) Encode() ([]byte, error)
type PutRedactEventRequestCapn ¶
func NewPutRedactEventRequestCapn ¶
func NewPutRedactEventRequestCapn(s *capnp.Segment) (PutRedactEventRequestCapn, error)
func NewRootPutRedactEventRequestCapn ¶
func NewRootPutRedactEventRequestCapn(s *capnp.Segment) (PutRedactEventRequestCapn, error)
func ReadRootPutRedactEventRequestCapn ¶
func ReadRootPutRedactEventRequestCapn(msg *capnp.Message) (PutRedactEventRequestCapn, error)
func (PutRedactEventRequestCapn) Content ¶
func (s PutRedactEventRequestCapn) Content() ([]byte, error)
func (PutRedactEventRequestCapn) EventID ¶
func (s PutRedactEventRequestCapn) EventID() (string, error)
func (PutRedactEventRequestCapn) EventIDBytes ¶
func (s PutRedactEventRequestCapn) EventIDBytes() ([]byte, error)
func (PutRedactEventRequestCapn) HasContent ¶
func (s PutRedactEventRequestCapn) HasContent() bool
func (PutRedactEventRequestCapn) HasEventID ¶
func (s PutRedactEventRequestCapn) HasEventID() bool
func (PutRedactEventRequestCapn) HasReason ¶
func (s PutRedactEventRequestCapn) HasReason() bool
func (PutRedactEventRequestCapn) HasRoomID ¶
func (s PutRedactEventRequestCapn) HasRoomID() bool
func (PutRedactEventRequestCapn) Reason ¶
func (s PutRedactEventRequestCapn) Reason() (string, error)
func (PutRedactEventRequestCapn) ReasonBytes ¶
func (s PutRedactEventRequestCapn) ReasonBytes() ([]byte, error)
func (PutRedactEventRequestCapn) RoomID ¶
func (s PutRedactEventRequestCapn) RoomID() (string, error)
func (PutRedactEventRequestCapn) RoomIDBytes ¶
func (s PutRedactEventRequestCapn) RoomIDBytes() ([]byte, error)
func (PutRedactEventRequestCapn) SetContent ¶
func (s PutRedactEventRequestCapn) SetContent(v []byte) error
func (PutRedactEventRequestCapn) SetEventID ¶
func (s PutRedactEventRequestCapn) SetEventID(v string) error
func (PutRedactEventRequestCapn) SetReason ¶
func (s PutRedactEventRequestCapn) SetReason(v string) error
func (PutRedactEventRequestCapn) SetRoomID ¶
func (s PutRedactEventRequestCapn) SetRoomID(v string) error
func (PutRedactEventRequestCapn) String ¶
func (s PutRedactEventRequestCapn) String() string
type PutRedactEventRequestCapn_List ¶
PutRedactEventRequestCapn_List is a list of PutRedactEventRequestCapn.
func NewPutRedactEventRequestCapn_List ¶
func NewPutRedactEventRequestCapn_List(s *capnp.Segment, sz int32) (PutRedactEventRequestCapn_List, error)
NewPutRedactEventRequestCapn creates a new list of PutRedactEventRequestCapn.
func (PutRedactEventRequestCapn_List) At ¶
func (s PutRedactEventRequestCapn_List) At(i int) PutRedactEventRequestCapn
func (PutRedactEventRequestCapn_List) Set ¶
func (s PutRedactEventRequestCapn_List) Set(i int, v PutRedactEventRequestCapn) error
func (PutRedactEventRequestCapn_List) String ¶
func (s PutRedactEventRequestCapn_List) String() string
type PutRedactEventRequestCapn_Promise ¶
PutRedactEventRequestCapn_Promise is a wrapper for a PutRedactEventRequestCapn promised by a client call.
func (PutRedactEventRequestCapn_Promise) Struct ¶
func (p PutRedactEventRequestCapn_Promise) Struct() (PutRedactEventRequestCapn, error)
type PutRedactEventResponse ¶
type PutRedactEventResponse struct {
EventID string `json:"event_id"`
}
response
func (*PutRedactEventResponse) Decode ¶
func (res *PutRedactEventResponse) Decode(input []byte) error
func (*PutRedactEventResponse) Encode ¶
func (res *PutRedactEventResponse) Encode() ([]byte, error)
type PutRedactEventResponseCapn ¶
func NewPutRedactEventResponseCapn ¶
func NewPutRedactEventResponseCapn(s *capnp.Segment) (PutRedactEventResponseCapn, error)
func NewRootPutRedactEventResponseCapn ¶
func NewRootPutRedactEventResponseCapn(s *capnp.Segment) (PutRedactEventResponseCapn, error)
func ReadRootPutRedactEventResponseCapn ¶
func ReadRootPutRedactEventResponseCapn(msg *capnp.Message) (PutRedactEventResponseCapn, error)
func (PutRedactEventResponseCapn) EventID ¶
func (s PutRedactEventResponseCapn) EventID() (string, error)
func (PutRedactEventResponseCapn) EventIDBytes ¶
func (s PutRedactEventResponseCapn) EventIDBytes() ([]byte, error)
func (PutRedactEventResponseCapn) HasEventID ¶
func (s PutRedactEventResponseCapn) HasEventID() bool
func (PutRedactEventResponseCapn) SetEventID ¶
func (s PutRedactEventResponseCapn) SetEventID(v string) error
func (PutRedactEventResponseCapn) String ¶
func (s PutRedactEventResponseCapn) String() string
type PutRedactEventResponseCapn_List ¶
PutRedactEventResponseCapn_List is a list of PutRedactEventResponseCapn.
func NewPutRedactEventResponseCapn_List ¶
func NewPutRedactEventResponseCapn_List(s *capnp.Segment, sz int32) (PutRedactEventResponseCapn_List, error)
NewPutRedactEventResponseCapn creates a new list of PutRedactEventResponseCapn.
func (PutRedactEventResponseCapn_List) At ¶
func (s PutRedactEventResponseCapn_List) At(i int) PutRedactEventResponseCapn
func (PutRedactEventResponseCapn_List) Set ¶
func (s PutRedactEventResponseCapn_List) Set(i int, v PutRedactEventResponseCapn) error
func (PutRedactEventResponseCapn_List) String ¶
func (s PutRedactEventResponseCapn_List) String() string
type PutRedactEventResponseCapn_Promise ¶
PutRedactEventResponseCapn_Promise is a wrapper for a PutRedactEventResponseCapn promised by a client call.
func (PutRedactEventResponseCapn_Promise) Struct ¶
func (p PutRedactEventResponseCapn_Promise) Struct() (PutRedactEventResponseCapn, error)
type PutRedactWithTxnIDEventRequest ¶
type PutRedactWithTxnIDEventRequest struct { RoomID string `json:"roomId,omitempty"` EventID string `json:"eventId,omitempty"` TxnID string `json:"txnId,omitempty"` Reason string `json:"reason,omitempty"` Content []byte `json:"content,omitempty"` }
PUT /_matrix/client/r0/rooms/{roomId}/redact/{eventId}/{txnId}
func (*PutRedactWithTxnIDEventRequest) Decode ¶
func (externalReq *PutRedactWithTxnIDEventRequest) Decode(input []byte) error
func (*PutRedactWithTxnIDEventRequest) Encode ¶
func (externalReq *PutRedactWithTxnIDEventRequest) Encode() ([]byte, error)
type PutRedactWithTxnIDEventRequestCapn ¶
func NewPutRedactWithTxnIDEventRequestCapn ¶
func NewPutRedactWithTxnIDEventRequestCapn(s *capnp.Segment) (PutRedactWithTxnIDEventRequestCapn, error)
func NewRootPutRedactWithTxnIDEventRequestCapn ¶
func NewRootPutRedactWithTxnIDEventRequestCapn(s *capnp.Segment) (PutRedactWithTxnIDEventRequestCapn, error)
func ReadRootPutRedactWithTxnIDEventRequestCapn ¶
func ReadRootPutRedactWithTxnIDEventRequestCapn(msg *capnp.Message) (PutRedactWithTxnIDEventRequestCapn, error)
func (PutRedactWithTxnIDEventRequestCapn) Content ¶
func (s PutRedactWithTxnIDEventRequestCapn) Content() ([]byte, error)
func (PutRedactWithTxnIDEventRequestCapn) EventID ¶
func (s PutRedactWithTxnIDEventRequestCapn) EventID() (string, error)
func (PutRedactWithTxnIDEventRequestCapn) EventIDBytes ¶
func (s PutRedactWithTxnIDEventRequestCapn) EventIDBytes() ([]byte, error)
func (PutRedactWithTxnIDEventRequestCapn) HasContent ¶
func (s PutRedactWithTxnIDEventRequestCapn) HasContent() bool
func (PutRedactWithTxnIDEventRequestCapn) HasEventID ¶
func (s PutRedactWithTxnIDEventRequestCapn) HasEventID() bool
func (PutRedactWithTxnIDEventRequestCapn) HasReason ¶
func (s PutRedactWithTxnIDEventRequestCapn) HasReason() bool
func (PutRedactWithTxnIDEventRequestCapn) HasRoomID ¶
func (s PutRedactWithTxnIDEventRequestCapn) HasRoomID() bool
func (PutRedactWithTxnIDEventRequestCapn) HasTxnID ¶
func (s PutRedactWithTxnIDEventRequestCapn) HasTxnID() bool
func (PutRedactWithTxnIDEventRequestCapn) Reason ¶
func (s PutRedactWithTxnIDEventRequestCapn) Reason() (string, error)
func (PutRedactWithTxnIDEventRequestCapn) ReasonBytes ¶
func (s PutRedactWithTxnIDEventRequestCapn) ReasonBytes() ([]byte, error)
func (PutRedactWithTxnIDEventRequestCapn) RoomID ¶
func (s PutRedactWithTxnIDEventRequestCapn) RoomID() (string, error)
func (PutRedactWithTxnIDEventRequestCapn) RoomIDBytes ¶
func (s PutRedactWithTxnIDEventRequestCapn) RoomIDBytes() ([]byte, error)
func (PutRedactWithTxnIDEventRequestCapn) SetContent ¶
func (s PutRedactWithTxnIDEventRequestCapn) SetContent(v []byte) error
func (PutRedactWithTxnIDEventRequestCapn) SetEventID ¶
func (s PutRedactWithTxnIDEventRequestCapn) SetEventID(v string) error
func (PutRedactWithTxnIDEventRequestCapn) SetReason ¶
func (s PutRedactWithTxnIDEventRequestCapn) SetReason(v string) error
func (PutRedactWithTxnIDEventRequestCapn) SetRoomID ¶
func (s PutRedactWithTxnIDEventRequestCapn) SetRoomID(v string) error
func (PutRedactWithTxnIDEventRequestCapn) SetTxnID ¶
func (s PutRedactWithTxnIDEventRequestCapn) SetTxnID(v string) error
func (PutRedactWithTxnIDEventRequestCapn) String ¶
func (s PutRedactWithTxnIDEventRequestCapn) String() string
func (PutRedactWithTxnIDEventRequestCapn) TxnID ¶
func (s PutRedactWithTxnIDEventRequestCapn) TxnID() (string, error)
func (PutRedactWithTxnIDEventRequestCapn) TxnIDBytes ¶
func (s PutRedactWithTxnIDEventRequestCapn) TxnIDBytes() ([]byte, error)
type PutRedactWithTxnIDEventRequestCapn_List ¶
PutRedactWithTxnIDEventRequestCapn_List is a list of PutRedactWithTxnIDEventRequestCapn.
func NewPutRedactWithTxnIDEventRequestCapn_List ¶
func NewPutRedactWithTxnIDEventRequestCapn_List(s *capnp.Segment, sz int32) (PutRedactWithTxnIDEventRequestCapn_List, error)
NewPutRedactWithTxnIDEventRequestCapn creates a new list of PutRedactWithTxnIDEventRequestCapn.
func (PutRedactWithTxnIDEventRequestCapn_List) Set ¶
func (s PutRedactWithTxnIDEventRequestCapn_List) Set(i int, v PutRedactWithTxnIDEventRequestCapn) error
func (PutRedactWithTxnIDEventRequestCapn_List) String ¶
func (s PutRedactWithTxnIDEventRequestCapn_List) String() string
type PutRedactWithTxnIDEventRequestCapn_Promise ¶
PutRedactWithTxnIDEventRequestCapn_Promise is a wrapper for a PutRedactWithTxnIDEventRequestCapn promised by a client call.
func (PutRedactWithTxnIDEventRequestCapn_Promise) Struct ¶
func (p PutRedactWithTxnIDEventRequestCapn_Promise) Struct() (PutRedactWithTxnIDEventRequestCapn, error)
type PutRoomAccountDataRequest ¶
type PutRoomAccountDataRequest struct { UserId string `json:"userId"` RoomID string `json:"roomId"` Type string `json:"type"` Content []byte `json:"content"` }
PUT /_matrix/client/r0/user/{userId}/rooms/{roomId}/account_data/{type}
func (*PutRoomAccountDataRequest) Decode ¶
func (externalReq *PutRoomAccountDataRequest) Decode(input []byte) error
func (*PutRoomAccountDataRequest) Encode ¶
func (externalReq *PutRoomAccountDataRequest) Encode() ([]byte, error)
type PutRoomAccountDataRequestCapn ¶
func NewPutRoomAccountDataRequestCapn ¶
func NewPutRoomAccountDataRequestCapn(s *capnp.Segment) (PutRoomAccountDataRequestCapn, error)
func NewRootPutRoomAccountDataRequestCapn ¶
func NewRootPutRoomAccountDataRequestCapn(s *capnp.Segment) (PutRoomAccountDataRequestCapn, error)
func ReadRootPutRoomAccountDataRequestCapn ¶
func ReadRootPutRoomAccountDataRequestCapn(msg *capnp.Message) (PutRoomAccountDataRequestCapn, error)
func (PutRoomAccountDataRequestCapn) Content ¶
func (s PutRoomAccountDataRequestCapn) Content() ([]byte, error)
func (PutRoomAccountDataRequestCapn) HasContent ¶
func (s PutRoomAccountDataRequestCapn) HasContent() bool
func (PutRoomAccountDataRequestCapn) HasRoomID ¶
func (s PutRoomAccountDataRequestCapn) HasRoomID() bool
func (PutRoomAccountDataRequestCapn) HasType ¶
func (s PutRoomAccountDataRequestCapn) HasType() bool
func (PutRoomAccountDataRequestCapn) HasUserId ¶
func (s PutRoomAccountDataRequestCapn) HasUserId() bool
func (PutRoomAccountDataRequestCapn) RoomID ¶
func (s PutRoomAccountDataRequestCapn) RoomID() (string, error)
func (PutRoomAccountDataRequestCapn) RoomIDBytes ¶
func (s PutRoomAccountDataRequestCapn) RoomIDBytes() ([]byte, error)
func (PutRoomAccountDataRequestCapn) SetContent ¶
func (s PutRoomAccountDataRequestCapn) SetContent(v []byte) error
func (PutRoomAccountDataRequestCapn) SetRoomID ¶
func (s PutRoomAccountDataRequestCapn) SetRoomID(v string) error
func (PutRoomAccountDataRequestCapn) SetType ¶
func (s PutRoomAccountDataRequestCapn) SetType(v string) error
func (PutRoomAccountDataRequestCapn) SetUserId ¶
func (s PutRoomAccountDataRequestCapn) SetUserId(v string) error
func (PutRoomAccountDataRequestCapn) String ¶
func (s PutRoomAccountDataRequestCapn) String() string
func (PutRoomAccountDataRequestCapn) Type ¶
func (s PutRoomAccountDataRequestCapn) Type() (string, error)
func (PutRoomAccountDataRequestCapn) TypeBytes ¶
func (s PutRoomAccountDataRequestCapn) TypeBytes() ([]byte, error)
func (PutRoomAccountDataRequestCapn) UserId ¶
func (s PutRoomAccountDataRequestCapn) UserId() (string, error)
func (PutRoomAccountDataRequestCapn) UserIdBytes ¶
func (s PutRoomAccountDataRequestCapn) UserIdBytes() ([]byte, error)
type PutRoomAccountDataRequestCapn_List ¶
PutRoomAccountDataRequestCapn_List is a list of PutRoomAccountDataRequestCapn.
func NewPutRoomAccountDataRequestCapn_List ¶
func NewPutRoomAccountDataRequestCapn_List(s *capnp.Segment, sz int32) (PutRoomAccountDataRequestCapn_List, error)
NewPutRoomAccountDataRequestCapn creates a new list of PutRoomAccountDataRequestCapn.
func (PutRoomAccountDataRequestCapn_List) At ¶
func (s PutRoomAccountDataRequestCapn_List) At(i int) PutRoomAccountDataRequestCapn
func (PutRoomAccountDataRequestCapn_List) Set ¶
func (s PutRoomAccountDataRequestCapn_List) Set(i int, v PutRoomAccountDataRequestCapn) error
func (PutRoomAccountDataRequestCapn_List) String ¶
func (s PutRoomAccountDataRequestCapn_List) String() string
type PutRoomAccountDataRequestCapn_Promise ¶
PutRoomAccountDataRequestCapn_Promise is a wrapper for a PutRoomAccountDataRequestCapn promised by a client call.
func (PutRoomAccountDataRequestCapn_Promise) Struct ¶
func (p PutRoomAccountDataRequestCapn_Promise) Struct() (PutRoomAccountDataRequestCapn, error)
type PutRoomStateByType ¶
type PutRoomStateByType struct { RoomID string `json:"roomId,omitempty"` EventType string `json:"eventType,omitempty"` Content []byte `json:"content,omitempty"` }
PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}
func (*PutRoomStateByType) Decode ¶
func (externalReq *PutRoomStateByType) Decode(input []byte) error
func (*PutRoomStateByType) Encode ¶
func (externalReq *PutRoomStateByType) Encode() ([]byte, error)
type PutRoomStateByTypeAndStateKey ¶
type PutRoomStateByTypeAndStateKey struct { RoomID string `json:"roomId,omitempty"` EventType string `json:"eventType,omitempty"` StateKey string `json:"stateKey,omitempty"` Content []byte `json:"content,omitempty"` }
PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}
func (*PutRoomStateByTypeAndStateKey) Decode ¶
func (externalReq *PutRoomStateByTypeAndStateKey) Decode(input []byte) error
func (*PutRoomStateByTypeAndStateKey) Encode ¶
func (externalReq *PutRoomStateByTypeAndStateKey) Encode() ([]byte, error)
type PutRoomStateByTypeAndStateKeyCapn ¶
func NewPutRoomStateByTypeAndStateKeyCapn ¶
func NewPutRoomStateByTypeAndStateKeyCapn(s *capnp.Segment) (PutRoomStateByTypeAndStateKeyCapn, error)
func NewRootPutRoomStateByTypeAndStateKeyCapn ¶
func NewRootPutRoomStateByTypeAndStateKeyCapn(s *capnp.Segment) (PutRoomStateByTypeAndStateKeyCapn, error)
func ReadRootPutRoomStateByTypeAndStateKeyCapn ¶
func ReadRootPutRoomStateByTypeAndStateKeyCapn(msg *capnp.Message) (PutRoomStateByTypeAndStateKeyCapn, error)
func (PutRoomStateByTypeAndStateKeyCapn) Content ¶
func (s PutRoomStateByTypeAndStateKeyCapn) Content() ([]byte, error)
func (PutRoomStateByTypeAndStateKeyCapn) EventType ¶
func (s PutRoomStateByTypeAndStateKeyCapn) EventType() (string, error)
func (PutRoomStateByTypeAndStateKeyCapn) EventTypeBytes ¶
func (s PutRoomStateByTypeAndStateKeyCapn) EventTypeBytes() ([]byte, error)
func (PutRoomStateByTypeAndStateKeyCapn) HasContent ¶
func (s PutRoomStateByTypeAndStateKeyCapn) HasContent() bool
func (PutRoomStateByTypeAndStateKeyCapn) HasEventType ¶
func (s PutRoomStateByTypeAndStateKeyCapn) HasEventType() bool
func (PutRoomStateByTypeAndStateKeyCapn) HasRoomID ¶
func (s PutRoomStateByTypeAndStateKeyCapn) HasRoomID() bool
func (PutRoomStateByTypeAndStateKeyCapn) HasStateKey ¶
func (s PutRoomStateByTypeAndStateKeyCapn) HasStateKey() bool
func (PutRoomStateByTypeAndStateKeyCapn) RoomID ¶
func (s PutRoomStateByTypeAndStateKeyCapn) RoomID() (string, error)
func (PutRoomStateByTypeAndStateKeyCapn) RoomIDBytes ¶
func (s PutRoomStateByTypeAndStateKeyCapn) RoomIDBytes() ([]byte, error)
func (PutRoomStateByTypeAndStateKeyCapn) SetContent ¶
func (s PutRoomStateByTypeAndStateKeyCapn) SetContent(v []byte) error
func (PutRoomStateByTypeAndStateKeyCapn) SetEventType ¶
func (s PutRoomStateByTypeAndStateKeyCapn) SetEventType(v string) error
func (PutRoomStateByTypeAndStateKeyCapn) SetRoomID ¶
func (s PutRoomStateByTypeAndStateKeyCapn) SetRoomID(v string) error
func (PutRoomStateByTypeAndStateKeyCapn) SetStateKey ¶
func (s PutRoomStateByTypeAndStateKeyCapn) SetStateKey(v string) error
func (PutRoomStateByTypeAndStateKeyCapn) StateKey ¶
func (s PutRoomStateByTypeAndStateKeyCapn) StateKey() (string, error)
func (PutRoomStateByTypeAndStateKeyCapn) StateKeyBytes ¶
func (s PutRoomStateByTypeAndStateKeyCapn) StateKeyBytes() ([]byte, error)
func (PutRoomStateByTypeAndStateKeyCapn) String ¶
func (s PutRoomStateByTypeAndStateKeyCapn) String() string
type PutRoomStateByTypeAndStateKeyCapn_List ¶
PutRoomStateByTypeAndStateKeyCapn_List is a list of PutRoomStateByTypeAndStateKeyCapn.
func NewPutRoomStateByTypeAndStateKeyCapn_List ¶
func NewPutRoomStateByTypeAndStateKeyCapn_List(s *capnp.Segment, sz int32) (PutRoomStateByTypeAndStateKeyCapn_List, error)
NewPutRoomStateByTypeAndStateKeyCapn creates a new list of PutRoomStateByTypeAndStateKeyCapn.
func (PutRoomStateByTypeAndStateKeyCapn_List) Set ¶
func (s PutRoomStateByTypeAndStateKeyCapn_List) Set(i int, v PutRoomStateByTypeAndStateKeyCapn) error
func (PutRoomStateByTypeAndStateKeyCapn_List) String ¶
func (s PutRoomStateByTypeAndStateKeyCapn_List) String() string
type PutRoomStateByTypeAndStateKeyCapn_Promise ¶
PutRoomStateByTypeAndStateKeyCapn_Promise is a wrapper for a PutRoomStateByTypeAndStateKeyCapn promised by a client call.
func (PutRoomStateByTypeAndStateKeyCapn_Promise) Struct ¶
func (p PutRoomStateByTypeAndStateKeyCapn_Promise) Struct() (PutRoomStateByTypeAndStateKeyCapn, error)
type PutRoomStateByTypeCapn ¶
func NewPutRoomStateByTypeCapn ¶
func NewPutRoomStateByTypeCapn(s *capnp.Segment) (PutRoomStateByTypeCapn, error)
func NewRootPutRoomStateByTypeCapn ¶
func NewRootPutRoomStateByTypeCapn(s *capnp.Segment) (PutRoomStateByTypeCapn, error)
func ReadRootPutRoomStateByTypeCapn ¶
func ReadRootPutRoomStateByTypeCapn(msg *capnp.Message) (PutRoomStateByTypeCapn, error)
func (PutRoomStateByTypeCapn) Content ¶
func (s PutRoomStateByTypeCapn) Content() ([]byte, error)
func (PutRoomStateByTypeCapn) EventType ¶
func (s PutRoomStateByTypeCapn) EventType() (string, error)
func (PutRoomStateByTypeCapn) EventTypeBytes ¶
func (s PutRoomStateByTypeCapn) EventTypeBytes() ([]byte, error)
func (PutRoomStateByTypeCapn) HasContent ¶
func (s PutRoomStateByTypeCapn) HasContent() bool
func (PutRoomStateByTypeCapn) HasEventType ¶
func (s PutRoomStateByTypeCapn) HasEventType() bool
func (PutRoomStateByTypeCapn) HasRoomID ¶
func (s PutRoomStateByTypeCapn) HasRoomID() bool
func (PutRoomStateByTypeCapn) RoomID ¶
func (s PutRoomStateByTypeCapn) RoomID() (string, error)
func (PutRoomStateByTypeCapn) RoomIDBytes ¶
func (s PutRoomStateByTypeCapn) RoomIDBytes() ([]byte, error)
func (PutRoomStateByTypeCapn) SetContent ¶
func (s PutRoomStateByTypeCapn) SetContent(v []byte) error
func (PutRoomStateByTypeCapn) SetEventType ¶
func (s PutRoomStateByTypeCapn) SetEventType(v string) error
func (PutRoomStateByTypeCapn) SetRoomID ¶
func (s PutRoomStateByTypeCapn) SetRoomID(v string) error
func (PutRoomStateByTypeCapn) String ¶
func (s PutRoomStateByTypeCapn) String() string
type PutRoomStateByTypeCapn_List ¶
PutRoomStateByTypeCapn_List is a list of PutRoomStateByTypeCapn.
func NewPutRoomStateByTypeCapn_List ¶
func NewPutRoomStateByTypeCapn_List(s *capnp.Segment, sz int32) (PutRoomStateByTypeCapn_List, error)
NewPutRoomStateByTypeCapn creates a new list of PutRoomStateByTypeCapn.
func (PutRoomStateByTypeCapn_List) At ¶
func (s PutRoomStateByTypeCapn_List) At(i int) PutRoomStateByTypeCapn
func (PutRoomStateByTypeCapn_List) Set ¶
func (s PutRoomStateByTypeCapn_List) Set(i int, v PutRoomStateByTypeCapn) error
func (PutRoomStateByTypeCapn_List) String ¶
func (s PutRoomStateByTypeCapn_List) String() string
type PutRoomStateByTypeCapn_Promise ¶
PutRoomStateByTypeCapn_Promise is a wrapper for a PutRoomStateByTypeCapn promised by a client call.
func (PutRoomStateByTypeCapn_Promise) Struct ¶
func (p PutRoomStateByTypeCapn_Promise) Struct() (PutRoomStateByTypeCapn, error)
type PutRoomStateByTypeResponse ¶
type PutRoomStateByTypeResponse struct {
EventID string `json:"event_id"`
}
respoonse
func (*PutRoomStateByTypeResponse) Decode ¶
func (res *PutRoomStateByTypeResponse) Decode(input []byte) error
func (*PutRoomStateByTypeResponse) Encode ¶
func (res *PutRoomStateByTypeResponse) Encode() ([]byte, error)
type PutRoomStateByTypeResponseCapn ¶
func NewPutRoomStateByTypeResponseCapn ¶
func NewPutRoomStateByTypeResponseCapn(s *capnp.Segment) (PutRoomStateByTypeResponseCapn, error)
func NewRootPutRoomStateByTypeResponseCapn ¶
func NewRootPutRoomStateByTypeResponseCapn(s *capnp.Segment) (PutRoomStateByTypeResponseCapn, error)
func ReadRootPutRoomStateByTypeResponseCapn ¶
func ReadRootPutRoomStateByTypeResponseCapn(msg *capnp.Message) (PutRoomStateByTypeResponseCapn, error)
func (PutRoomStateByTypeResponseCapn) EventID ¶
func (s PutRoomStateByTypeResponseCapn) EventID() (string, error)
func (PutRoomStateByTypeResponseCapn) EventIDBytes ¶
func (s PutRoomStateByTypeResponseCapn) EventIDBytes() ([]byte, error)
func (PutRoomStateByTypeResponseCapn) HasEventID ¶
func (s PutRoomStateByTypeResponseCapn) HasEventID() bool
func (PutRoomStateByTypeResponseCapn) SetEventID ¶
func (s PutRoomStateByTypeResponseCapn) SetEventID(v string) error
func (PutRoomStateByTypeResponseCapn) String ¶
func (s PutRoomStateByTypeResponseCapn) String() string
type PutRoomStateByTypeResponseCapn_List ¶
PutRoomStateByTypeResponseCapn_List is a list of PutRoomStateByTypeResponseCapn.
func NewPutRoomStateByTypeResponseCapn_List ¶
func NewPutRoomStateByTypeResponseCapn_List(s *capnp.Segment, sz int32) (PutRoomStateByTypeResponseCapn_List, error)
NewPutRoomStateByTypeResponseCapn creates a new list of PutRoomStateByTypeResponseCapn.
func (PutRoomStateByTypeResponseCapn_List) At ¶
func (s PutRoomStateByTypeResponseCapn_List) At(i int) PutRoomStateByTypeResponseCapn
func (PutRoomStateByTypeResponseCapn_List) Set ¶
func (s PutRoomStateByTypeResponseCapn_List) Set(i int, v PutRoomStateByTypeResponseCapn) error
func (PutRoomStateByTypeResponseCapn_List) String ¶
func (s PutRoomStateByTypeResponseCapn_List) String() string
type PutRoomStateByTypeResponseCapn_Promise ¶
PutRoomStateByTypeResponseCapn_Promise is a wrapper for a PutRoomStateByTypeResponseCapn promised by a client call.
func (PutRoomStateByTypeResponseCapn_Promise) Struct ¶
func (p PutRoomStateByTypeResponseCapn_Promise) Struct() (PutRoomStateByTypeResponseCapn, error)
type PutRoomStateByTypeWithTxnID ¶
type PutRoomStateByTypeWithTxnID struct { RoomID string `json:"roomId,omitempty"` EventType string `json:"eventType,omitempty"` StateKey string `json:"stateKey,omitempty"` TxnID string `json:"txnId,omitempty"` Content []byte `json:"content,omitempty"` IP string `json:"ip,omitempty"` }
PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}
func (*PutRoomStateByTypeWithTxnID) Decode ¶
func (externalReq *PutRoomStateByTypeWithTxnID) Decode(input []byte) error
func (*PutRoomStateByTypeWithTxnID) Encode ¶
func (externalReq *PutRoomStateByTypeWithTxnID) Encode() ([]byte, error)
type PutRoomStateByTypeWithTxnIDCapn ¶
func NewPutRoomStateByTypeWithTxnIDCapn ¶
func NewPutRoomStateByTypeWithTxnIDCapn(s *capnp.Segment) (PutRoomStateByTypeWithTxnIDCapn, error)
func NewRootPutRoomStateByTypeWithTxnIDCapn ¶
func NewRootPutRoomStateByTypeWithTxnIDCapn(s *capnp.Segment) (PutRoomStateByTypeWithTxnIDCapn, error)
func ReadRootPutRoomStateByTypeWithTxnIDCapn ¶
func ReadRootPutRoomStateByTypeWithTxnIDCapn(msg *capnp.Message) (PutRoomStateByTypeWithTxnIDCapn, error)
func (PutRoomStateByTypeWithTxnIDCapn) Content ¶
func (s PutRoomStateByTypeWithTxnIDCapn) Content() ([]byte, error)
func (PutRoomStateByTypeWithTxnIDCapn) EventType ¶
func (s PutRoomStateByTypeWithTxnIDCapn) EventType() (string, error)
func (PutRoomStateByTypeWithTxnIDCapn) EventTypeBytes ¶
func (s PutRoomStateByTypeWithTxnIDCapn) EventTypeBytes() ([]byte, error)
func (PutRoomStateByTypeWithTxnIDCapn) HasContent ¶
func (s PutRoomStateByTypeWithTxnIDCapn) HasContent() bool
func (PutRoomStateByTypeWithTxnIDCapn) HasEventType ¶
func (s PutRoomStateByTypeWithTxnIDCapn) HasEventType() bool
func (PutRoomStateByTypeWithTxnIDCapn) HasIp ¶
func (s PutRoomStateByTypeWithTxnIDCapn) HasIp() bool
func (PutRoomStateByTypeWithTxnIDCapn) HasRoomID ¶
func (s PutRoomStateByTypeWithTxnIDCapn) HasRoomID() bool
func (PutRoomStateByTypeWithTxnIDCapn) HasStateKey ¶
func (s PutRoomStateByTypeWithTxnIDCapn) HasStateKey() bool
func (PutRoomStateByTypeWithTxnIDCapn) HasTxnID ¶
func (s PutRoomStateByTypeWithTxnIDCapn) HasTxnID() bool
func (PutRoomStateByTypeWithTxnIDCapn) Ip ¶
func (s PutRoomStateByTypeWithTxnIDCapn) Ip() (string, error)
func (PutRoomStateByTypeWithTxnIDCapn) IpBytes ¶
func (s PutRoomStateByTypeWithTxnIDCapn) IpBytes() ([]byte, error)
func (PutRoomStateByTypeWithTxnIDCapn) RoomID ¶
func (s PutRoomStateByTypeWithTxnIDCapn) RoomID() (string, error)
func (PutRoomStateByTypeWithTxnIDCapn) RoomIDBytes ¶
func (s PutRoomStateByTypeWithTxnIDCapn) RoomIDBytes() ([]byte, error)
func (PutRoomStateByTypeWithTxnIDCapn) SetContent ¶
func (s PutRoomStateByTypeWithTxnIDCapn) SetContent(v []byte) error
func (PutRoomStateByTypeWithTxnIDCapn) SetEventType ¶
func (s PutRoomStateByTypeWithTxnIDCapn) SetEventType(v string) error
func (PutRoomStateByTypeWithTxnIDCapn) SetIp ¶
func (s PutRoomStateByTypeWithTxnIDCapn) SetIp(v string) error
func (PutRoomStateByTypeWithTxnIDCapn) SetRoomID ¶
func (s PutRoomStateByTypeWithTxnIDCapn) SetRoomID(v string) error
func (PutRoomStateByTypeWithTxnIDCapn) SetStateKey ¶
func (s PutRoomStateByTypeWithTxnIDCapn) SetStateKey(v string) error
func (PutRoomStateByTypeWithTxnIDCapn) SetTxnID ¶
func (s PutRoomStateByTypeWithTxnIDCapn) SetTxnID(v string) error
func (PutRoomStateByTypeWithTxnIDCapn) StateKey ¶
func (s PutRoomStateByTypeWithTxnIDCapn) StateKey() (string, error)
func (PutRoomStateByTypeWithTxnIDCapn) StateKeyBytes ¶
func (s PutRoomStateByTypeWithTxnIDCapn) StateKeyBytes() ([]byte, error)
func (PutRoomStateByTypeWithTxnIDCapn) String ¶
func (s PutRoomStateByTypeWithTxnIDCapn) String() string
func (PutRoomStateByTypeWithTxnIDCapn) TxnID ¶
func (s PutRoomStateByTypeWithTxnIDCapn) TxnID() (string, error)
func (PutRoomStateByTypeWithTxnIDCapn) TxnIDBytes ¶
func (s PutRoomStateByTypeWithTxnIDCapn) TxnIDBytes() ([]byte, error)
type PutRoomStateByTypeWithTxnIDCapn_List ¶
PutRoomStateByTypeWithTxnIDCapn_List is a list of PutRoomStateByTypeWithTxnIDCapn.
func NewPutRoomStateByTypeWithTxnIDCapn_List ¶
func NewPutRoomStateByTypeWithTxnIDCapn_List(s *capnp.Segment, sz int32) (PutRoomStateByTypeWithTxnIDCapn_List, error)
NewPutRoomStateByTypeWithTxnIDCapn creates a new list of PutRoomStateByTypeWithTxnIDCapn.
func (PutRoomStateByTypeWithTxnIDCapn_List) Set ¶
func (s PutRoomStateByTypeWithTxnIDCapn_List) Set(i int, v PutRoomStateByTypeWithTxnIDCapn) error
func (PutRoomStateByTypeWithTxnIDCapn_List) String ¶
func (s PutRoomStateByTypeWithTxnIDCapn_List) String() string
type PutRoomStateByTypeWithTxnIDCapn_Promise ¶
PutRoomStateByTypeWithTxnIDCapn_Promise is a wrapper for a PutRoomStateByTypeWithTxnIDCapn promised by a client call.
func (PutRoomStateByTypeWithTxnIDCapn_Promise) Struct ¶
func (p PutRoomStateByTypeWithTxnIDCapn_Promise) Struct() (PutRoomStateByTypeWithTxnIDCapn, error)
type PutRoomStateByTypeWithTxnIDResponse ¶
type PutRoomStateByTypeWithTxnIDResponse struct {
EventID string `json:"event_id"`
}
response
func (*PutRoomStateByTypeWithTxnIDResponse) Decode ¶
func (res *PutRoomStateByTypeWithTxnIDResponse) Decode(input []byte) error
func (*PutRoomStateByTypeWithTxnIDResponse) Encode ¶
func (res *PutRoomStateByTypeWithTxnIDResponse) Encode() ([]byte, error)
type PutRoomStateByTypeWithTxnIDResponseCapn ¶
func NewPutRoomStateByTypeWithTxnIDResponseCapn ¶
func NewPutRoomStateByTypeWithTxnIDResponseCapn(s *capnp.Segment) (PutRoomStateByTypeWithTxnIDResponseCapn, error)
func NewRootPutRoomStateByTypeWithTxnIDResponseCapn ¶
func NewRootPutRoomStateByTypeWithTxnIDResponseCapn(s *capnp.Segment) (PutRoomStateByTypeWithTxnIDResponseCapn, error)
func ReadRootPutRoomStateByTypeWithTxnIDResponseCapn ¶
func ReadRootPutRoomStateByTypeWithTxnIDResponseCapn(msg *capnp.Message) (PutRoomStateByTypeWithTxnIDResponseCapn, error)
func (PutRoomStateByTypeWithTxnIDResponseCapn) EventID ¶
func (s PutRoomStateByTypeWithTxnIDResponseCapn) EventID() (string, error)
func (PutRoomStateByTypeWithTxnIDResponseCapn) EventIDBytes ¶
func (s PutRoomStateByTypeWithTxnIDResponseCapn) EventIDBytes() ([]byte, error)
func (PutRoomStateByTypeWithTxnIDResponseCapn) HasEventID ¶
func (s PutRoomStateByTypeWithTxnIDResponseCapn) HasEventID() bool
func (PutRoomStateByTypeWithTxnIDResponseCapn) SetEventID ¶
func (s PutRoomStateByTypeWithTxnIDResponseCapn) SetEventID(v string) error
func (PutRoomStateByTypeWithTxnIDResponseCapn) String ¶
func (s PutRoomStateByTypeWithTxnIDResponseCapn) String() string
type PutRoomStateByTypeWithTxnIDResponseCapn_List ¶
PutRoomStateByTypeWithTxnIDResponseCapn_List is a list of PutRoomStateByTypeWithTxnIDResponseCapn.
func NewPutRoomStateByTypeWithTxnIDResponseCapn_List ¶
func NewPutRoomStateByTypeWithTxnIDResponseCapn_List(s *capnp.Segment, sz int32) (PutRoomStateByTypeWithTxnIDResponseCapn_List, error)
NewPutRoomStateByTypeWithTxnIDResponseCapn creates a new list of PutRoomStateByTypeWithTxnIDResponseCapn.
func (PutRoomStateByTypeWithTxnIDResponseCapn_List) String ¶
func (s PutRoomStateByTypeWithTxnIDResponseCapn_List) String() string
type PutRoomStateByTypeWithTxnIDResponseCapn_Promise ¶
PutRoomStateByTypeWithTxnIDResponseCapn_Promise is a wrapper for a PutRoomStateByTypeWithTxnIDResponseCapn promised by a client call.
func (PutRoomStateByTypeWithTxnIDResponseCapn_Promise) Struct ¶
func (p PutRoomStateByTypeWithTxnIDResponseCapn_Promise) Struct() (PutRoomStateByTypeWithTxnIDResponseCapn, error)
type PutRoomStateResponse ¶
type PutRoomStateResponse struct {
EventID string `json:"event_id,omitempty"`
}
func (*PutRoomStateResponse) Decode ¶
func (res *PutRoomStateResponse) Decode(input []byte) error
func (*PutRoomStateResponse) Encode ¶
func (res *PutRoomStateResponse) Encode() ([]byte, error)
type PutRoomStateResponseCapn ¶
func NewPutRoomStateResponseCapn ¶
func NewPutRoomStateResponseCapn(s *capnp.Segment) (PutRoomStateResponseCapn, error)
func NewRootPutRoomStateResponseCapn ¶
func NewRootPutRoomStateResponseCapn(s *capnp.Segment) (PutRoomStateResponseCapn, error)
func ReadRootPutRoomStateResponseCapn ¶
func ReadRootPutRoomStateResponseCapn(msg *capnp.Message) (PutRoomStateResponseCapn, error)
func (PutRoomStateResponseCapn) EventID ¶
func (s PutRoomStateResponseCapn) EventID() (string, error)
func (PutRoomStateResponseCapn) EventIDBytes ¶
func (s PutRoomStateResponseCapn) EventIDBytes() ([]byte, error)
func (PutRoomStateResponseCapn) HasEventID ¶
func (s PutRoomStateResponseCapn) HasEventID() bool
func (PutRoomStateResponseCapn) SetEventID ¶
func (s PutRoomStateResponseCapn) SetEventID(v string) error
func (PutRoomStateResponseCapn) String ¶
func (s PutRoomStateResponseCapn) String() string
type PutRoomStateResponseCapn_List ¶
PutRoomStateResponseCapn_List is a list of PutRoomStateResponseCapn.
func NewPutRoomStateResponseCapn_List ¶
func NewPutRoomStateResponseCapn_List(s *capnp.Segment, sz int32) (PutRoomStateResponseCapn_List, error)
NewPutRoomStateResponseCapn creates a new list of PutRoomStateResponseCapn.
func (PutRoomStateResponseCapn_List) At ¶
func (s PutRoomStateResponseCapn_List) At(i int) PutRoomStateResponseCapn
func (PutRoomStateResponseCapn_List) Set ¶
func (s PutRoomStateResponseCapn_List) Set(i int, v PutRoomStateResponseCapn) error
func (PutRoomStateResponseCapn_List) String ¶
func (s PutRoomStateResponseCapn_List) String() string
type PutRoomStateResponseCapn_Promise ¶
PutRoomStateResponseCapn_Promise is a wrapper for a PutRoomStateResponseCapn promised by a client call.
func (PutRoomStateResponseCapn_Promise) Struct ¶
func (p PutRoomStateResponseCapn_Promise) Struct() (PutRoomStateResponseCapn, error)
type PutRoomUserTypingRequest ¶
type PutRoomUserTypingRequest struct { UserID string `json:"userId"` RoomID string `json:"roomId"` Typing bool `json:"typing"` TimeOut int `json:"timeout"` }
PUT /_matrix/client/r0/rooms/{roomId}/typing/{userId}
func (*PutRoomUserTypingRequest) Decode ¶
func (externalReq *PutRoomUserTypingRequest) Decode(input []byte) error
func (*PutRoomUserTypingRequest) Encode ¶
func (externalReq *PutRoomUserTypingRequest) Encode() ([]byte, error)
type PutRoomUserTypingRequestCapn ¶
func NewPutRoomUserTypingRequestCapn ¶
func NewPutRoomUserTypingRequestCapn(s *capnp.Segment) (PutRoomUserTypingRequestCapn, error)
func NewRootPutRoomUserTypingRequestCapn ¶
func NewRootPutRoomUserTypingRequestCapn(s *capnp.Segment) (PutRoomUserTypingRequestCapn, error)
func ReadRootPutRoomUserTypingRequestCapn ¶
func ReadRootPutRoomUserTypingRequestCapn(msg *capnp.Message) (PutRoomUserTypingRequestCapn, error)
func (PutRoomUserTypingRequestCapn) HasRoomID ¶
func (s PutRoomUserTypingRequestCapn) HasRoomID() bool
func (PutRoomUserTypingRequestCapn) HasUserID ¶
func (s PutRoomUserTypingRequestCapn) HasUserID() bool
func (PutRoomUserTypingRequestCapn) RoomID ¶
func (s PutRoomUserTypingRequestCapn) RoomID() (string, error)
func (PutRoomUserTypingRequestCapn) RoomIDBytes ¶
func (s PutRoomUserTypingRequestCapn) RoomIDBytes() ([]byte, error)
func (PutRoomUserTypingRequestCapn) SetRoomID ¶
func (s PutRoomUserTypingRequestCapn) SetRoomID(v string) error
func (PutRoomUserTypingRequestCapn) SetTimeOut ¶
func (s PutRoomUserTypingRequestCapn) SetTimeOut(v int64)
func (PutRoomUserTypingRequestCapn) SetTyping ¶
func (s PutRoomUserTypingRequestCapn) SetTyping(v bool)
func (PutRoomUserTypingRequestCapn) SetUserID ¶
func (s PutRoomUserTypingRequestCapn) SetUserID(v string) error
func (PutRoomUserTypingRequestCapn) String ¶
func (s PutRoomUserTypingRequestCapn) String() string
func (PutRoomUserTypingRequestCapn) TimeOut ¶
func (s PutRoomUserTypingRequestCapn) TimeOut() int64
func (PutRoomUserTypingRequestCapn) Typing ¶
func (s PutRoomUserTypingRequestCapn) Typing() bool
func (PutRoomUserTypingRequestCapn) UserID ¶
func (s PutRoomUserTypingRequestCapn) UserID() (string, error)
func (PutRoomUserTypingRequestCapn) UserIDBytes ¶
func (s PutRoomUserTypingRequestCapn) UserIDBytes() ([]byte, error)
type PutRoomUserTypingRequestCapn_List ¶
PutRoomUserTypingRequestCapn_List is a list of PutRoomUserTypingRequestCapn.
func NewPutRoomUserTypingRequestCapn_List ¶
func NewPutRoomUserTypingRequestCapn_List(s *capnp.Segment, sz int32) (PutRoomUserTypingRequestCapn_List, error)
NewPutRoomUserTypingRequestCapn creates a new list of PutRoomUserTypingRequestCapn.
func (PutRoomUserTypingRequestCapn_List) At ¶
func (s PutRoomUserTypingRequestCapn_List) At(i int) PutRoomUserTypingRequestCapn
func (PutRoomUserTypingRequestCapn_List) Set ¶
func (s PutRoomUserTypingRequestCapn_List) Set(i int, v PutRoomUserTypingRequestCapn) error
func (PutRoomUserTypingRequestCapn_List) String ¶
func (s PutRoomUserTypingRequestCapn_List) String() string
type PutRoomUserTypingRequestCapn_Promise ¶
PutRoomUserTypingRequestCapn_Promise is a wrapper for a PutRoomUserTypingRequestCapn promised by a client call.
func (PutRoomUserTypingRequestCapn_Promise) Struct ¶
func (p PutRoomUserTypingRequestCapn_Promise) Struct() (PutRoomUserTypingRequestCapn, error)
type PutRoomsTagsByIDRequest ¶
type PutRoomsTagsByIDRequest struct { UserId string `json:"userId"` RoomId string `json:"roomId"` Tag string `json:"tag"` //Order string `json:"order"` Content []byte `json:"contentBytes"` }
PUT /_matrix/client/r0/user/{userId}/rooms/{roomId}/tags/{tag}
func (*PutRoomsTagsByIDRequest) Decode ¶
func (externalReq *PutRoomsTagsByIDRequest) Decode(input []byte) error
func (*PutRoomsTagsByIDRequest) Encode ¶
func (externalReq *PutRoomsTagsByIDRequest) Encode() ([]byte, error)
type PutRoomsTagsByIDRequestCapn ¶
func NewPutRoomsTagsByIDRequestCapn ¶
func NewPutRoomsTagsByIDRequestCapn(s *capnp.Segment) (PutRoomsTagsByIDRequestCapn, error)
func NewRootPutRoomsTagsByIDRequestCapn ¶
func NewRootPutRoomsTagsByIDRequestCapn(s *capnp.Segment) (PutRoomsTagsByIDRequestCapn, error)
func ReadRootPutRoomsTagsByIDRequestCapn ¶
func ReadRootPutRoomsTagsByIDRequestCapn(msg *capnp.Message) (PutRoomsTagsByIDRequestCapn, error)
func (PutRoomsTagsByIDRequestCapn) Content ¶
func (s PutRoomsTagsByIDRequestCapn) Content() ([]byte, error)
func (PutRoomsTagsByIDRequestCapn) HasContent ¶
func (s PutRoomsTagsByIDRequestCapn) HasContent() bool
func (PutRoomsTagsByIDRequestCapn) HasRoomId ¶
func (s PutRoomsTagsByIDRequestCapn) HasRoomId() bool
func (PutRoomsTagsByIDRequestCapn) HasTag ¶
func (s PutRoomsTagsByIDRequestCapn) HasTag() bool
func (PutRoomsTagsByIDRequestCapn) HasUserId ¶
func (s PutRoomsTagsByIDRequestCapn) HasUserId() bool
func (PutRoomsTagsByIDRequestCapn) Order ¶
func (s PutRoomsTagsByIDRequestCapn) Order() float32
func (PutRoomsTagsByIDRequestCapn) RoomId ¶
func (s PutRoomsTagsByIDRequestCapn) RoomId() (string, error)
func (PutRoomsTagsByIDRequestCapn) RoomIdBytes ¶
func (s PutRoomsTagsByIDRequestCapn) RoomIdBytes() ([]byte, error)
func (PutRoomsTagsByIDRequestCapn) SetContent ¶
func (s PutRoomsTagsByIDRequestCapn) SetContent(v []byte) error
func (PutRoomsTagsByIDRequestCapn) SetOrder ¶
func (s PutRoomsTagsByIDRequestCapn) SetOrder(v float32)
func (PutRoomsTagsByIDRequestCapn) SetRoomId ¶
func (s PutRoomsTagsByIDRequestCapn) SetRoomId(v string) error
func (PutRoomsTagsByIDRequestCapn) SetTag ¶
func (s PutRoomsTagsByIDRequestCapn) SetTag(v string) error
func (PutRoomsTagsByIDRequestCapn) SetUserId ¶
func (s PutRoomsTagsByIDRequestCapn) SetUserId(v string) error
func (PutRoomsTagsByIDRequestCapn) String ¶
func (s PutRoomsTagsByIDRequestCapn) String() string
func (PutRoomsTagsByIDRequestCapn) Tag ¶
func (s PutRoomsTagsByIDRequestCapn) Tag() (string, error)
func (PutRoomsTagsByIDRequestCapn) TagBytes ¶
func (s PutRoomsTagsByIDRequestCapn) TagBytes() ([]byte, error)
func (PutRoomsTagsByIDRequestCapn) UserId ¶
func (s PutRoomsTagsByIDRequestCapn) UserId() (string, error)
func (PutRoomsTagsByIDRequestCapn) UserIdBytes ¶
func (s PutRoomsTagsByIDRequestCapn) UserIdBytes() ([]byte, error)
type PutRoomsTagsByIDRequestCapn_List ¶
PutRoomsTagsByIDRequestCapn_List is a list of PutRoomsTagsByIDRequestCapn.
func NewPutRoomsTagsByIDRequestCapn_List ¶
func NewPutRoomsTagsByIDRequestCapn_List(s *capnp.Segment, sz int32) (PutRoomsTagsByIDRequestCapn_List, error)
NewPutRoomsTagsByIDRequestCapn creates a new list of PutRoomsTagsByIDRequestCapn.
func (PutRoomsTagsByIDRequestCapn_List) At ¶
func (s PutRoomsTagsByIDRequestCapn_List) At(i int) PutRoomsTagsByIDRequestCapn
func (PutRoomsTagsByIDRequestCapn_List) Set ¶
func (s PutRoomsTagsByIDRequestCapn_List) Set(i int, v PutRoomsTagsByIDRequestCapn) error
func (PutRoomsTagsByIDRequestCapn_List) String ¶
func (s PutRoomsTagsByIDRequestCapn_List) String() string
type PutRoomsTagsByIDRequestCapn_Promise ¶
PutRoomsTagsByIDRequestCapn_Promise is a wrapper for a PutRoomsTagsByIDRequestCapn promised by a client call.
func (PutRoomsTagsByIDRequestCapn_Promise) Struct ¶
func (p PutRoomsTagsByIDRequestCapn_Promise) Struct() (PutRoomsTagsByIDRequestCapn, error)
type PutSendJoinRequest ¶
type PutSendJoinRequest struct { RoomID string `json:"roomId"` EventID string `json:"eventId"` Event gomatrixserverlib.Event `json:"event"` }
func (*PutSendJoinRequest) Decode ¶
func (externalReq *PutSendJoinRequest) Decode(data []byte) error
func (*PutSendJoinRequest) Encode ¶
func (externalReq *PutSendJoinRequest) Encode() ([]byte, error)
type PutSendJoinResponseRoomState ¶
type PutSendJoinResponseRoomState struct { Origin string `json:"origin"` AuthChain []gomatrixserverlib.Event `json:"auth_chain"` State []gomatrixserverlib.Event `json:"state"` }
type PutSendLeaveRequest ¶
type PutSendLeaveRequest struct { RoomID string `json:"roomId"` EventID string `json:"eventId"` Event gomatrixserverlib.Event `json:"event"` }
func (*PutSendLeaveRequest) Decode ¶
func (externalReq *PutSendLeaveRequest) Decode(data []byte) error
func (*PutSendLeaveRequest) Encode ¶
func (externalReq *PutSendLeaveRequest) Encode() ([]byte, error)
type PutSendToDeviceRequest ¶
type PutSendToDeviceRequest struct { EventType string `json:"eventType"` TxnId string `json:"txnId"` //Messages map[string]map[string]interface{} `json:"messages"` Content []byte `json:"content"` }
PUT /_matrix/client/r0/sendToDevice/{eventType}/{txnId}
func (*PutSendToDeviceRequest) Decode ¶
func (externalReq *PutSendToDeviceRequest) Decode(input []byte) error
func (*PutSendToDeviceRequest) Encode ¶
func (externalReq *PutSendToDeviceRequest) Encode() ([]byte, error)
type PutUserAccountDataRequest ¶
type PutUserAccountDataRequest struct { UserId string `json:"userId"` Type string `json:"type"` Content []byte `json:"content"` }
PUT /_matrix/client/r0/user/{userId}/account_data/{type}
func (*PutUserAccountDataRequest) Decode ¶
func (externalReq *PutUserAccountDataRequest) Decode(input []byte) error
func (*PutUserAccountDataRequest) Encode ¶
func (externalReq *PutUserAccountDataRequest) Encode() ([]byte, error)
type PutUserAccountDataRequestCapn ¶
func NewPutUserAccountDataRequestCapn ¶
func NewPutUserAccountDataRequestCapn(s *capnp.Segment) (PutUserAccountDataRequestCapn, error)
func NewRootPutUserAccountDataRequestCapn ¶
func NewRootPutUserAccountDataRequestCapn(s *capnp.Segment) (PutUserAccountDataRequestCapn, error)
func ReadRootPutUserAccountDataRequestCapn ¶
func ReadRootPutUserAccountDataRequestCapn(msg *capnp.Message) (PutUserAccountDataRequestCapn, error)
func (PutUserAccountDataRequestCapn) Content ¶
func (s PutUserAccountDataRequestCapn) Content() ([]byte, error)
func (PutUserAccountDataRequestCapn) HasContent ¶
func (s PutUserAccountDataRequestCapn) HasContent() bool
func (PutUserAccountDataRequestCapn) HasType ¶
func (s PutUserAccountDataRequestCapn) HasType() bool
func (PutUserAccountDataRequestCapn) HasUserId ¶
func (s PutUserAccountDataRequestCapn) HasUserId() bool
func (PutUserAccountDataRequestCapn) SetContent ¶
func (s PutUserAccountDataRequestCapn) SetContent(v []byte) error
func (PutUserAccountDataRequestCapn) SetType ¶
func (s PutUserAccountDataRequestCapn) SetType(v string) error
func (PutUserAccountDataRequestCapn) SetUserId ¶
func (s PutUserAccountDataRequestCapn) SetUserId(v string) error
func (PutUserAccountDataRequestCapn) String ¶
func (s PutUserAccountDataRequestCapn) String() string
func (PutUserAccountDataRequestCapn) Type ¶
func (s PutUserAccountDataRequestCapn) Type() (string, error)
func (PutUserAccountDataRequestCapn) TypeBytes ¶
func (s PutUserAccountDataRequestCapn) TypeBytes() ([]byte, error)
func (PutUserAccountDataRequestCapn) UserId ¶
func (s PutUserAccountDataRequestCapn) UserId() (string, error)
func (PutUserAccountDataRequestCapn) UserIdBytes ¶
func (s PutUserAccountDataRequestCapn) UserIdBytes() ([]byte, error)
type PutUserAccountDataRequestCapn_List ¶
PutUserAccountDataRequestCapn_List is a list of PutUserAccountDataRequestCapn.
func NewPutUserAccountDataRequestCapn_List ¶
func NewPutUserAccountDataRequestCapn_List(s *capnp.Segment, sz int32) (PutUserAccountDataRequestCapn_List, error)
NewPutUserAccountDataRequestCapn creates a new list of PutUserAccountDataRequestCapn.
func (PutUserAccountDataRequestCapn_List) At ¶
func (s PutUserAccountDataRequestCapn_List) At(i int) PutUserAccountDataRequestCapn
func (PutUserAccountDataRequestCapn_List) Set ¶
func (s PutUserAccountDataRequestCapn_List) Set(i int, v PutUserAccountDataRequestCapn) error
func (PutUserAccountDataRequestCapn_List) String ¶
func (s PutUserAccountDataRequestCapn_List) String() string
type PutUserAccountDataRequestCapn_Promise ¶
PutUserAccountDataRequestCapn_Promise is a wrapper for a PutUserAccountDataRequestCapn promised by a client call.
func (PutUserAccountDataRequestCapn_Promise) Struct ¶
func (p PutUserAccountDataRequestCapn_Promise) Struct() (PutUserAccountDataRequestCapn, error)
type PutUserInfoRequest ¶
type PutUserInfoRequest struct { UserID string `json:"user_id"` UserName string `json:"user_name"` JobNumber string `json:"job_number"` Mobile string `json:"mobile"` Landline string `json:"landline"` Email string `json:"email"` State int `json:"state,omitempty"` }
PUT /_matrix/client/r0/user_info/{userID}
func (*PutUserInfoRequest) Decode ¶
func (externalReq *PutUserInfoRequest) Decode(data []byte) error
func (*PutUserInfoRequest) Encode ¶
func (externalReq *PutUserInfoRequest) Encode() ([]byte, error)
type PutUserPresenceRequest ¶
type PutUserPresenceRequest struct { UserID string `json:"userId"` Presence string `json:"presence"` Status string `json:"status_msg"` }
PUT /_matrix/client/r0/presence/{userId}/status
type PutUserPresenceRequestCapn ¶
func NewPutUserPresenceRequestCapn ¶
func NewPutUserPresenceRequestCapn(s *capnp.Segment) (PutUserPresenceRequestCapn, error)
func NewRootPutUserPresenceRequestCapn ¶
func NewRootPutUserPresenceRequestCapn(s *capnp.Segment) (PutUserPresenceRequestCapn, error)
func ReadRootPutUserPresenceRequestCapn ¶
func ReadRootPutUserPresenceRequestCapn(msg *capnp.Message) (PutUserPresenceRequestCapn, error)
func (PutUserPresenceRequestCapn) HasPresence ¶
func (s PutUserPresenceRequestCapn) HasPresence() bool
func (PutUserPresenceRequestCapn) HasStatus ¶
func (s PutUserPresenceRequestCapn) HasStatus() bool
func (PutUserPresenceRequestCapn) HasUserID ¶
func (s PutUserPresenceRequestCapn) HasUserID() bool
func (PutUserPresenceRequestCapn) Presence ¶
func (s PutUserPresenceRequestCapn) Presence() (string, error)
func (PutUserPresenceRequestCapn) PresenceBytes ¶
func (s PutUserPresenceRequestCapn) PresenceBytes() ([]byte, error)
func (PutUserPresenceRequestCapn) SetPresence ¶
func (s PutUserPresenceRequestCapn) SetPresence(v string) error
func (PutUserPresenceRequestCapn) SetStatus ¶
func (s PutUserPresenceRequestCapn) SetStatus(v string) error
func (PutUserPresenceRequestCapn) SetUserID ¶
func (s PutUserPresenceRequestCapn) SetUserID(v string) error
func (PutUserPresenceRequestCapn) Status ¶
func (s PutUserPresenceRequestCapn) Status() (string, error)
func (PutUserPresenceRequestCapn) StatusBytes ¶
func (s PutUserPresenceRequestCapn) StatusBytes() ([]byte, error)
func (PutUserPresenceRequestCapn) String ¶
func (s PutUserPresenceRequestCapn) String() string
func (PutUserPresenceRequestCapn) UserID ¶
func (s PutUserPresenceRequestCapn) UserID() (string, error)
func (PutUserPresenceRequestCapn) UserIDBytes ¶
func (s PutUserPresenceRequestCapn) UserIDBytes() ([]byte, error)
type PutUserPresenceRequestCapn_List ¶
PutUserPresenceRequestCapn_List is a list of PutUserPresenceRequestCapn.
func NewPutUserPresenceRequestCapn_List ¶
func NewPutUserPresenceRequestCapn_List(s *capnp.Segment, sz int32) (PutUserPresenceRequestCapn_List, error)
NewPutUserPresenceRequestCapn creates a new list of PutUserPresenceRequestCapn.
func (PutUserPresenceRequestCapn_List) At ¶
func (s PutUserPresenceRequestCapn_List) At(i int) PutUserPresenceRequestCapn
func (PutUserPresenceRequestCapn_List) Set ¶
func (s PutUserPresenceRequestCapn_List) Set(i int, v PutUserPresenceRequestCapn) error
func (PutUserPresenceRequestCapn_List) String ¶
func (s PutUserPresenceRequestCapn_List) String() string
type PutUserPresenceRequestCapn_Promise ¶
PutUserPresenceRequestCapn_Promise is a wrapper for a PutUserPresenceRequestCapn promised by a client call.
func (PutUserPresenceRequestCapn_Promise) Struct ¶
func (p PutUserPresenceRequestCapn_Promise) Struct() (PutUserPresenceRequestCapn, error)
type PutUserProfileAvatarURLRequest ¶
type PutUserProfileAvatarURLRequest struct { UserID string `json:"user_id"` AvatarURL string `json:"avatar_url"` }
PUT /_matrix/client/r0/profile/{userId}/avatar_url
type PutUserProfileAvatarURLRequestCapn ¶
func NewPutUserProfileAvatarURLRequestCapn ¶
func NewPutUserProfileAvatarURLRequestCapn(s *capnp.Segment) (PutUserProfileAvatarURLRequestCapn, error)
func NewRootPutUserProfileAvatarURLRequestCapn ¶
func NewRootPutUserProfileAvatarURLRequestCapn(s *capnp.Segment) (PutUserProfileAvatarURLRequestCapn, error)
func ReadRootPutUserProfileAvatarURLRequestCapn ¶
func ReadRootPutUserProfileAvatarURLRequestCapn(msg *capnp.Message) (PutUserProfileAvatarURLRequestCapn, error)
func (PutUserProfileAvatarURLRequestCapn) AvatarURL ¶
func (s PutUserProfileAvatarURLRequestCapn) AvatarURL() (string, error)
func (PutUserProfileAvatarURLRequestCapn) AvatarURLBytes ¶
func (s PutUserProfileAvatarURLRequestCapn) AvatarURLBytes() ([]byte, error)
func (PutUserProfileAvatarURLRequestCapn) HasAvatarURL ¶
func (s PutUserProfileAvatarURLRequestCapn) HasAvatarURL() bool
func (PutUserProfileAvatarURLRequestCapn) HasUserID ¶
func (s PutUserProfileAvatarURLRequestCapn) HasUserID() bool
func (PutUserProfileAvatarURLRequestCapn) SetAvatarURL ¶
func (s PutUserProfileAvatarURLRequestCapn) SetAvatarURL(v string) error
func (PutUserProfileAvatarURLRequestCapn) SetUserID ¶
func (s PutUserProfileAvatarURLRequestCapn) SetUserID(v string) error
func (PutUserProfileAvatarURLRequestCapn) String ¶
func (s PutUserProfileAvatarURLRequestCapn) String() string
func (PutUserProfileAvatarURLRequestCapn) UserID ¶
func (s PutUserProfileAvatarURLRequestCapn) UserID() (string, error)
func (PutUserProfileAvatarURLRequestCapn) UserIDBytes ¶
func (s PutUserProfileAvatarURLRequestCapn) UserIDBytes() ([]byte, error)
type PutUserProfileAvatarURLRequestCapn_List ¶
PutUserProfileAvatarURLRequestCapn_List is a list of PutUserProfileAvatarURLRequestCapn.
func NewPutUserProfileAvatarURLRequestCapn_List ¶
func NewPutUserProfileAvatarURLRequestCapn_List(s *capnp.Segment, sz int32) (PutUserProfileAvatarURLRequestCapn_List, error)
NewPutUserProfileAvatarURLRequestCapn creates a new list of PutUserProfileAvatarURLRequestCapn.
func (PutUserProfileAvatarURLRequestCapn_List) Set ¶
func (s PutUserProfileAvatarURLRequestCapn_List) Set(i int, v PutUserProfileAvatarURLRequestCapn) error
func (PutUserProfileAvatarURLRequestCapn_List) String ¶
func (s PutUserProfileAvatarURLRequestCapn_List) String() string
type PutUserProfileAvatarURLRequestCapn_Promise ¶
PutUserProfileAvatarURLRequestCapn_Promise is a wrapper for a PutUserProfileAvatarURLRequestCapn promised by a client call.
func (PutUserProfileAvatarURLRequestCapn_Promise) Struct ¶
func (p PutUserProfileAvatarURLRequestCapn_Promise) Struct() (PutUserProfileAvatarURLRequestCapn, error)
type PutUserProfileDisplayNameRequest ¶
type PutUserProfileDisplayNameRequest struct { UserID string `json:"user_id"` DisplayName string `json:"display_name"` }
PUT /_matrix/client/r0/profile/{userId}/displayname
type PutUserProfileDisplayNameRequestCapn ¶
func NewPutUserProfileDisplayNameRequestCapn ¶
func NewPutUserProfileDisplayNameRequestCapn(s *capnp.Segment) (PutUserProfileDisplayNameRequestCapn, error)
func NewRootPutUserProfileDisplayNameRequestCapn ¶
func NewRootPutUserProfileDisplayNameRequestCapn(s *capnp.Segment) (PutUserProfileDisplayNameRequestCapn, error)
func ReadRootPutUserProfileDisplayNameRequestCapn ¶
func ReadRootPutUserProfileDisplayNameRequestCapn(msg *capnp.Message) (PutUserProfileDisplayNameRequestCapn, error)
func (PutUserProfileDisplayNameRequestCapn) DisplayName ¶
func (s PutUserProfileDisplayNameRequestCapn) DisplayName() (string, error)
func (PutUserProfileDisplayNameRequestCapn) DisplayNameBytes ¶
func (s PutUserProfileDisplayNameRequestCapn) DisplayNameBytes() ([]byte, error)
func (PutUserProfileDisplayNameRequestCapn) HasDisplayName ¶
func (s PutUserProfileDisplayNameRequestCapn) HasDisplayName() bool
func (PutUserProfileDisplayNameRequestCapn) HasUserID ¶
func (s PutUserProfileDisplayNameRequestCapn) HasUserID() bool
func (PutUserProfileDisplayNameRequestCapn) SetDisplayName ¶
func (s PutUserProfileDisplayNameRequestCapn) SetDisplayName(v string) error
func (PutUserProfileDisplayNameRequestCapn) SetUserID ¶
func (s PutUserProfileDisplayNameRequestCapn) SetUserID(v string) error
func (PutUserProfileDisplayNameRequestCapn) String ¶
func (s PutUserProfileDisplayNameRequestCapn) String() string
func (PutUserProfileDisplayNameRequestCapn) UserID ¶
func (s PutUserProfileDisplayNameRequestCapn) UserID() (string, error)
func (PutUserProfileDisplayNameRequestCapn) UserIDBytes ¶
func (s PutUserProfileDisplayNameRequestCapn) UserIDBytes() ([]byte, error)
type PutUserProfileDisplayNameRequestCapn_List ¶
PutUserProfileDisplayNameRequestCapn_List is a list of PutUserProfileDisplayNameRequestCapn.
func NewPutUserProfileDisplayNameRequestCapn_List ¶
func NewPutUserProfileDisplayNameRequestCapn_List(s *capnp.Segment, sz int32) (PutUserProfileDisplayNameRequestCapn_List, error)
NewPutUserProfileDisplayNameRequestCapn creates a new list of PutUserProfileDisplayNameRequestCapn.
func (PutUserProfileDisplayNameRequestCapn_List) Set ¶
func (s PutUserProfileDisplayNameRequestCapn_List) Set(i int, v PutUserProfileDisplayNameRequestCapn) error
func (PutUserProfileDisplayNameRequestCapn_List) String ¶
func (s PutUserProfileDisplayNameRequestCapn_List) String() string
type PutUserProfileDisplayNameRequestCapn_Promise ¶
PutUserProfileDisplayNameRequestCapn_Promise is a wrapper for a PutUserProfileDisplayNameRequestCapn promised by a client call.
func (PutUserProfileDisplayNameRequestCapn_Promise) Struct ¶
func (p PutUserProfileDisplayNameRequestCapn_Promise) Struct() (PutUserProfileDisplayNameRequestCapn, error)
type RegisterResponse ¶
type RegisterResponse struct { UserID string `json:"user_id"` AccessToken string `json:"access_token"` HomeServer string `json:"home_server"` DeviceID string `json:"device_id"` }
response
func (*RegisterResponse) Decode ¶
func (res *RegisterResponse) Decode(input []byte) error
func (*RegisterResponse) Encode ¶
func (res *RegisterResponse) Encode() ([]byte, error)
type RegisterResponseCapn ¶
func NewRegisterResponseCapn ¶
func NewRegisterResponseCapn(s *capnp.Segment) (RegisterResponseCapn, error)
func NewRootRegisterResponseCapn ¶
func NewRootRegisterResponseCapn(s *capnp.Segment) (RegisterResponseCapn, error)
func ReadRootRegisterResponseCapn ¶
func ReadRootRegisterResponseCapn(msg *capnp.Message) (RegisterResponseCapn, error)
func (RegisterResponseCapn) AccessToken ¶
func (s RegisterResponseCapn) AccessToken() (string, error)
func (RegisterResponseCapn) AccessTokenBytes ¶
func (s RegisterResponseCapn) AccessTokenBytes() ([]byte, error)
func (RegisterResponseCapn) DeviceID ¶
func (s RegisterResponseCapn) DeviceID() (string, error)
func (RegisterResponseCapn) DeviceIDBytes ¶
func (s RegisterResponseCapn) DeviceIDBytes() ([]byte, error)
func (RegisterResponseCapn) HasAccessToken ¶
func (s RegisterResponseCapn) HasAccessToken() bool
func (RegisterResponseCapn) HasDeviceID ¶
func (s RegisterResponseCapn) HasDeviceID() bool
func (RegisterResponseCapn) HasHomeServer ¶
func (s RegisterResponseCapn) HasHomeServer() bool
func (RegisterResponseCapn) HasUserID ¶
func (s RegisterResponseCapn) HasUserID() bool
func (RegisterResponseCapn) HomeServer ¶
func (s RegisterResponseCapn) HomeServer() (string, error)
func (RegisterResponseCapn) HomeServerBytes ¶
func (s RegisterResponseCapn) HomeServerBytes() ([]byte, error)
func (RegisterResponseCapn) SetAccessToken ¶
func (s RegisterResponseCapn) SetAccessToken(v string) error
func (RegisterResponseCapn) SetDeviceID ¶
func (s RegisterResponseCapn) SetDeviceID(v string) error
func (RegisterResponseCapn) SetHomeServer ¶
func (s RegisterResponseCapn) SetHomeServer(v string) error
func (RegisterResponseCapn) SetUserID ¶
func (s RegisterResponseCapn) SetUserID(v string) error
func (RegisterResponseCapn) String ¶
func (s RegisterResponseCapn) String() string
func (RegisterResponseCapn) UserID ¶
func (s RegisterResponseCapn) UserID() (string, error)
func (RegisterResponseCapn) UserIDBytes ¶
func (s RegisterResponseCapn) UserIDBytes() ([]byte, error)
type RegisterResponseCapn_List ¶
RegisterResponseCapn_List is a list of RegisterResponseCapn.
func NewRegisterResponseCapn_List ¶
func NewRegisterResponseCapn_List(s *capnp.Segment, sz int32) (RegisterResponseCapn_List, error)
NewRegisterResponseCapn creates a new list of RegisterResponseCapn.
func (RegisterResponseCapn_List) At ¶
func (s RegisterResponseCapn_List) At(i int) RegisterResponseCapn
func (RegisterResponseCapn_List) Set ¶
func (s RegisterResponseCapn_List) Set(i int, v RegisterResponseCapn) error
func (RegisterResponseCapn_List) String ¶
func (s RegisterResponseCapn_List) String() string
type RegisterResponseCapn_Promise ¶
RegisterResponseCapn_Promise is a wrapper for a RegisterResponseCapn promised by a client call.
func (RegisterResponseCapn_Promise) Struct ¶
func (p RegisterResponseCapn_Promise) Struct() (RegisterResponseCapn, error)
type ReqGetSettingRequest ¶
type ReqGetSettingRequest struct {
SettingKey string `json:"settingKey"`
}
func (*ReqGetSettingRequest) Decode ¶
func (externalReq *ReqGetSettingRequest) Decode(data []byte) error
func (*ReqGetSettingRequest) Encode ¶
func (externalReq *ReqGetSettingRequest) Encode() ([]byte, error)
type ReqPostNotaryNoticeRequest ¶
type ReqPostNotaryNoticeRequest struct { Action string `json:"action"` TargetDomain string `json:"target_domain"` }
POST /notary/
func (*ReqPostNotaryNoticeRequest) Decode ¶
func (externalReq *ReqPostNotaryNoticeRequest) Decode(data []byte) error
func (*ReqPostNotaryNoticeRequest) Encode ¶
func (externalReq *ReqPostNotaryNoticeRequest) Encode() ([]byte, error)
type ReqPostNotaryNoticeResponse ¶
type ReqPostNotaryNoticeResponse struct {
Ack int `json:"ack"`
}
func (*ReqPostNotaryNoticeResponse) Decode ¶
func (res *ReqPostNotaryNoticeResponse) Decode(input []byte) error
func (*ReqPostNotaryNoticeResponse) Encode ¶
func (r *ReqPostNotaryNoticeResponse) Encode() ([]byte, error)
type ReqPutSettingRequest ¶
func (*ReqPutSettingRequest) Decode ¶
func (externalReq *ReqPutSettingRequest) Decode(data []byte) error
func (*ReqPutSettingRequest) Encode ¶
func (externalReq *ReqPutSettingRequest) Encode() ([]byte, error)
type RoomEvent ¶
type RoomEvent struct { Content []byte `json:"content,omitempty"` Type string `json:"type,omitempty"` EventID string `json:"event_id,omitempty"` Sender string `json:"sender,omitempty"` OriginServerTS int64 `json:"origin_server_ts,omitempty"` Unsigned UnsignedData `json:"unsigned,omitempty"` RoomID string `json:"room_id,omitempty"` }
type RoomEventCapn ¶
func NewRoomEventCapn ¶
func NewRoomEventCapn(s *capnp.Segment) (RoomEventCapn, error)
func NewRootRoomEventCapn ¶
func NewRootRoomEventCapn(s *capnp.Segment) (RoomEventCapn, error)
func ReadRootRoomEventCapn ¶
func ReadRootRoomEventCapn(msg *capnp.Message) (RoomEventCapn, error)
func (RoomEventCapn) Content ¶
func (s RoomEventCapn) Content() ([]byte, error)
func (RoomEventCapn) EventID ¶
func (s RoomEventCapn) EventID() (string, error)
func (RoomEventCapn) EventIDBytes ¶
func (s RoomEventCapn) EventIDBytes() ([]byte, error)
func (RoomEventCapn) HasContent ¶
func (s RoomEventCapn) HasContent() bool
func (RoomEventCapn) HasEventID ¶
func (s RoomEventCapn) HasEventID() bool
func (RoomEventCapn) HasRoomID ¶
func (s RoomEventCapn) HasRoomID() bool
func (RoomEventCapn) HasSender ¶
func (s RoomEventCapn) HasSender() bool
func (RoomEventCapn) HasType ¶
func (s RoomEventCapn) HasType() bool
func (RoomEventCapn) HasUnsigned ¶
func (s RoomEventCapn) HasUnsigned() bool
func (RoomEventCapn) NewUnsigned ¶
func (s RoomEventCapn) NewUnsigned() (UnsignedDataCapn, error)
NewUnsigned sets the unsigned field to a newly allocated UnsignedDataCapn struct, preferring placement in s's segment.
func (RoomEventCapn) OriginServerTS ¶
func (s RoomEventCapn) OriginServerTS() int64
func (RoomEventCapn) RoomID ¶
func (s RoomEventCapn) RoomID() (string, error)
func (RoomEventCapn) RoomIDBytes ¶
func (s RoomEventCapn) RoomIDBytes() ([]byte, error)
func (RoomEventCapn) Sender ¶
func (s RoomEventCapn) Sender() (string, error)
func (RoomEventCapn) SenderBytes ¶
func (s RoomEventCapn) SenderBytes() ([]byte, error)
func (RoomEventCapn) SetContent ¶
func (s RoomEventCapn) SetContent(v []byte) error
func (RoomEventCapn) SetEventID ¶
func (s RoomEventCapn) SetEventID(v string) error
func (RoomEventCapn) SetOriginServerTS ¶
func (s RoomEventCapn) SetOriginServerTS(v int64)
func (RoomEventCapn) SetRoomID ¶
func (s RoomEventCapn) SetRoomID(v string) error
func (RoomEventCapn) SetSender ¶
func (s RoomEventCapn) SetSender(v string) error
func (RoomEventCapn) SetType ¶
func (s RoomEventCapn) SetType(v string) error
func (RoomEventCapn) SetUnsigned ¶
func (s RoomEventCapn) SetUnsigned(v UnsignedDataCapn) error
func (RoomEventCapn) String ¶
func (s RoomEventCapn) String() string
func (RoomEventCapn) Type ¶
func (s RoomEventCapn) Type() (string, error)
func (RoomEventCapn) TypeBytes ¶
func (s RoomEventCapn) TypeBytes() ([]byte, error)
func (RoomEventCapn) Unsigned ¶
func (s RoomEventCapn) Unsigned() (UnsignedDataCapn, error)
type RoomEventCapn_List ¶
RoomEventCapn_List is a list of RoomEventCapn.
func NewRoomEventCapn_List ¶
func NewRoomEventCapn_List(s *capnp.Segment, sz int32) (RoomEventCapn_List, error)
NewRoomEventCapn creates a new list of RoomEventCapn.
func (RoomEventCapn_List) At ¶
func (s RoomEventCapn_List) At(i int) RoomEventCapn
func (RoomEventCapn_List) Set ¶
func (s RoomEventCapn_List) Set(i int, v RoomEventCapn) error
func (RoomEventCapn_List) String ¶
func (s RoomEventCapn_List) String() string
type RoomEventCapn_Promise ¶
RoomEventCapn_Promise is a wrapper for a RoomEventCapn promised by a client call.
func (RoomEventCapn_Promise) Struct ¶
func (p RoomEventCapn_Promise) Struct() (RoomEventCapn, error)
func (RoomEventCapn_Promise) Unsigned ¶
func (p RoomEventCapn_Promise) Unsigned() UnsignedDataCapn_Promise
type RoomEventFilter ¶
type RoomEventFilter struct { EventFilter NotRooms []string `json:"not_rooms,omitempty"` Rooms []string `json:"rooms,omitempty"` ContainsURL bool `json:"contains_url,omitempty"` }
type RoomEventFilterCapn ¶
func NewRoomEventFilterCapn ¶
func NewRoomEventFilterCapn(s *capnp.Segment) (RoomEventFilterCapn, error)
func NewRootRoomEventFilterCapn ¶
func NewRootRoomEventFilterCapn(s *capnp.Segment) (RoomEventFilterCapn, error)
func ReadRootRoomEventFilterCapn ¶
func ReadRootRoomEventFilterCapn(msg *capnp.Message) (RoomEventFilterCapn, error)
func (RoomEventFilterCapn) ContainsURL ¶
func (s RoomEventFilterCapn) ContainsURL() bool
func (RoomEventFilterCapn) EventFilter ¶
func (s RoomEventFilterCapn) EventFilter() (EventFilterCapn, error)
func (RoomEventFilterCapn) HasEventFilter ¶
func (s RoomEventFilterCapn) HasEventFilter() bool
func (RoomEventFilterCapn) HasNotRooms ¶
func (s RoomEventFilterCapn) HasNotRooms() bool
func (RoomEventFilterCapn) HasRooms ¶
func (s RoomEventFilterCapn) HasRooms() bool
func (RoomEventFilterCapn) NewEventFilter ¶
func (s RoomEventFilterCapn) NewEventFilter() (EventFilterCapn, error)
NewEventFilter sets the eventFilter field to a newly allocated EventFilterCapn struct, preferring placement in s's segment.
func (RoomEventFilterCapn) NewNotRooms ¶
func (s RoomEventFilterCapn) NewNotRooms(n int32) (capnp.TextList, error)
NewNotRooms sets the notRooms field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (RoomEventFilterCapn) NewRooms ¶
func (s RoomEventFilterCapn) NewRooms(n int32) (capnp.TextList, error)
NewRooms sets the rooms field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (RoomEventFilterCapn) NotRooms ¶
func (s RoomEventFilterCapn) NotRooms() (capnp.TextList, error)
func (RoomEventFilterCapn) SetContainsURL ¶
func (s RoomEventFilterCapn) SetContainsURL(v bool)
func (RoomEventFilterCapn) SetEventFilter ¶
func (s RoomEventFilterCapn) SetEventFilter(v EventFilterCapn) error
func (RoomEventFilterCapn) SetNotRooms ¶
func (s RoomEventFilterCapn) SetNotRooms(v capnp.TextList) error
func (RoomEventFilterCapn) String ¶
func (s RoomEventFilterCapn) String() string
type RoomEventFilterCapn_List ¶
RoomEventFilterCapn_List is a list of RoomEventFilterCapn.
func NewRoomEventFilterCapn_List ¶
func NewRoomEventFilterCapn_List(s *capnp.Segment, sz int32) (RoomEventFilterCapn_List, error)
NewRoomEventFilterCapn creates a new list of RoomEventFilterCapn.
func (RoomEventFilterCapn_List) At ¶
func (s RoomEventFilterCapn_List) At(i int) RoomEventFilterCapn
func (RoomEventFilterCapn_List) Set ¶
func (s RoomEventFilterCapn_List) Set(i int, v RoomEventFilterCapn) error
func (RoomEventFilterCapn_List) String ¶
func (s RoomEventFilterCapn_List) String() string
type RoomEventFilterCapn_Promise ¶
RoomEventFilterCapn_Promise is a wrapper for a RoomEventFilterCapn promised by a client call.
func (RoomEventFilterCapn_Promise) EventFilter ¶
func (p RoomEventFilterCapn_Promise) EventFilter() EventFilterCapn_Promise
func (RoomEventFilterCapn_Promise) Struct ¶
func (p RoomEventFilterCapn_Promise) Struct() (RoomEventFilterCapn, error)
type RoomInfo ¶
type RoomInfo struct { RoomID string `json:"room_id"` Membership string `json:"membership"` //Invite InviteEvent `json:"invite,omitempty"` Messages PaginationChunk `json:"messages"` State []StateEvent `json:"state"` Visibility string `json:"visibility"` AccountData []Event `json:"account_data"` }
type RoomMember ¶
type ServerNameCfgRequest ¶
type ServerNameCfgRequest struct { Type string `json:"type"` ServerNames []string `json:"server_names"` }
func (*ServerNameCfgRequest) Decode ¶
func (externalReq *ServerNameCfgRequest) Decode(input []byte) error
func (*ServerNameCfgRequest) Encode ¶
func (externalReq *ServerNameCfgRequest) Encode() ([]byte, error)
type SessionInfo ¶
type SessionInfo struct {
Connections []ConnectionInfo `json:"connections`
}
type Signatures ¶
type SignedCapn ¶
func NewRootSignedCapn ¶
func NewRootSignedCapn(s *capnp.Segment) (SignedCapn, error)
func NewSignedCapn ¶
func NewSignedCapn(s *capnp.Segment) (SignedCapn, error)
func ReadRootSignedCapn ¶
func ReadRootSignedCapn(msg *capnp.Message) (SignedCapn, error)
func (SignedCapn) HasMxID ¶
func (s SignedCapn) HasMxID() bool
func (SignedCapn) HasSignatures ¶
func (s SignedCapn) HasSignatures() bool
func (SignedCapn) HasToken ¶
func (s SignedCapn) HasToken() bool
func (SignedCapn) MxID ¶
func (s SignedCapn) MxID() (string, error)
func (SignedCapn) MxIDBytes ¶
func (s SignedCapn) MxIDBytes() ([]byte, error)
func (SignedCapn) SetMxID ¶
func (s SignedCapn) SetMxID(v string) error
func (SignedCapn) SetSignatures ¶
func (s SignedCapn) SetSignatures(v string) error
func (SignedCapn) SetToken ¶
func (s SignedCapn) SetToken(v string) error
func (SignedCapn) Signatures ¶
func (s SignedCapn) Signatures() (string, error)
func (SignedCapn) SignaturesBytes ¶
func (s SignedCapn) SignaturesBytes() ([]byte, error)
func (SignedCapn) String ¶
func (s SignedCapn) String() string
func (SignedCapn) Token ¶
func (s SignedCapn) Token() (string, error)
func (SignedCapn) TokenBytes ¶
func (s SignedCapn) TokenBytes() ([]byte, error)
type SignedCapn_List ¶
SignedCapn_List is a list of SignedCapn.
func NewSignedCapn_List ¶
func NewSignedCapn_List(s *capnp.Segment, sz int32) (SignedCapn_List, error)
NewSignedCapn creates a new list of SignedCapn.
func (SignedCapn_List) At ¶
func (s SignedCapn_List) At(i int) SignedCapn
func (SignedCapn_List) Set ¶
func (s SignedCapn_List) Set(i int, v SignedCapn) error
func (SignedCapn_List) String ¶
func (s SignedCapn_List) String() string
type SignedCapn_Promise ¶
SignedCapn_Promise is a wrapper for a SignedCapn promised by a client call.
func (SignedCapn_Promise) Struct ¶
func (p SignedCapn_Promise) Struct() (SignedCapn, error)
type State ¶
type State struct {
Events []StateEvent `json:"events"`
}
type StateEvent ¶
type StateEvent struct { Type string `json:"type,omitempty"` StateKey string `json:"state_key,omitempty"` Content interface{} `json:"content,omitempty"` EventID string `json:"event_id,omitempty"` Sender string `json:"sender,omitempty"` OriginServerTS int64 `json:"origin_server_ts,omitempty"` Unsigned UnsignedData `json:"unsigned,omitempty"` PrevContent EventContent `json:"prev_content,omitempty"` RoomID string `json:"room_id,omitempty"` }
type StrippedState ¶
type StrippedState struct { Content EventContent `json:"content,omitempty"` StateKey string `json:"state_key,omitempty"` Type string `json:"type,omitempty"` Sender string `json:"sender,omitempty"` }
type TPInvite ¶
type TPInvite struct { DisplayName string `json:"display_name"` Signed TPInviteSigned `json:"signed"` }
TPInvite is the "Invite" structure defined at http://matrix.org/docs/spec/client_server/r0.2.0.html#m-room-member
type TPInviteSigned ¶
type TPInviteSigned struct { MXID string `json:"mxid"` Signatures map[string]map[string]string `json:"signatures"` Token string `json:"token"` }
TPInviteSigned is the "signed" structure defined at http://matrix.org/docs/spec/client_server/r0.2.0.html#m-room-member
type TagCapn_List ¶
TagCapn_List is a list of TagCapn.
func NewTagCapn_List ¶
func NewTagCapn_List(s *capnp.Segment, sz int32) (TagCapn_List, error)
NewTagCapn creates a new list of TagCapn.
func (TagCapn_List) At ¶
func (s TagCapn_List) At(i int) TagCapn
func (TagCapn_List) String ¶
func (s TagCapn_List) String() string
type TagCapn_Promise ¶
TagCapn_Promise is a wrapper for a TagCapn promised by a client call.
func (TagCapn_Promise) Struct ¶
func (p TagCapn_Promise) Struct() (TagCapn, error)
type ThirdPartyIdentifier ¶
type ThirdPartyIdentifierCapn ¶
func NewRootThirdPartyIdentifierCapn ¶
func NewRootThirdPartyIdentifierCapn(s *capnp.Segment) (ThirdPartyIdentifierCapn, error)
func NewThirdPartyIdentifierCapn ¶
func NewThirdPartyIdentifierCapn(s *capnp.Segment) (ThirdPartyIdentifierCapn, error)
func ReadRootThirdPartyIdentifierCapn ¶
func ReadRootThirdPartyIdentifierCapn(msg *capnp.Message) (ThirdPartyIdentifierCapn, error)
func (ThirdPartyIdentifierCapn) AddedAt ¶
func (s ThirdPartyIdentifierCapn) AddedAt() int64
func (ThirdPartyIdentifierCapn) Address ¶
func (s ThirdPartyIdentifierCapn) Address() (string, error)
func (ThirdPartyIdentifierCapn) AddressBytes ¶
func (s ThirdPartyIdentifierCapn) AddressBytes() ([]byte, error)
func (ThirdPartyIdentifierCapn) HasAddress ¶
func (s ThirdPartyIdentifierCapn) HasAddress() bool
func (ThirdPartyIdentifierCapn) HasMedium ¶
func (s ThirdPartyIdentifierCapn) HasMedium() bool
func (ThirdPartyIdentifierCapn) Medium ¶
func (s ThirdPartyIdentifierCapn) Medium() (string, error)
func (ThirdPartyIdentifierCapn) MediumBytes ¶
func (s ThirdPartyIdentifierCapn) MediumBytes() ([]byte, error)
func (ThirdPartyIdentifierCapn) SetAddedAt ¶
func (s ThirdPartyIdentifierCapn) SetAddedAt(v int64)
func (ThirdPartyIdentifierCapn) SetAddress ¶
func (s ThirdPartyIdentifierCapn) SetAddress(v string) error
func (ThirdPartyIdentifierCapn) SetMedium ¶
func (s ThirdPartyIdentifierCapn) SetMedium(v string) error
func (ThirdPartyIdentifierCapn) SetValidatedAt ¶
func (s ThirdPartyIdentifierCapn) SetValidatedAt(v int64)
func (ThirdPartyIdentifierCapn) String ¶
func (s ThirdPartyIdentifierCapn) String() string
func (ThirdPartyIdentifierCapn) ValidatedAt ¶
func (s ThirdPartyIdentifierCapn) ValidatedAt() int64
type ThirdPartyIdentifierCapn_List ¶
ThirdPartyIdentifierCapn_List is a list of ThirdPartyIdentifierCapn.
func NewThirdPartyIdentifierCapn_List ¶
func NewThirdPartyIdentifierCapn_List(s *capnp.Segment, sz int32) (ThirdPartyIdentifierCapn_List, error)
NewThirdPartyIdentifierCapn creates a new list of ThirdPartyIdentifierCapn.
func (ThirdPartyIdentifierCapn_List) At ¶
func (s ThirdPartyIdentifierCapn_List) At(i int) ThirdPartyIdentifierCapn
func (ThirdPartyIdentifierCapn_List) Set ¶
func (s ThirdPartyIdentifierCapn_List) Set(i int, v ThirdPartyIdentifierCapn) error
func (ThirdPartyIdentifierCapn_List) String ¶
func (s ThirdPartyIdentifierCapn_List) String() string
type ThirdPartyIdentifierCapn_Promise ¶
ThirdPartyIdentifierCapn_Promise is a wrapper for a ThirdPartyIdentifierCapn promised by a client call.
func (ThirdPartyIdentifierCapn_Promise) Struct ¶
func (p ThirdPartyIdentifierCapn_Promise) Struct() (ThirdPartyIdentifierCapn, error)
type ThirdPartySigned ¶
type ThirdPartySigned struct { MxID string `json:"mxid,omitempty"` Sender string `json:"sender,omitempty"` Token string `json:"token,omitempty"` Signatures Signatures `json:"signatures,omitempty"` }
type ThirdPartyUser ¶
type ThreePidCredentials ¶
type ThreePidCredentialsCapn ¶
func NewRootThreePidCredentialsCapn ¶
func NewRootThreePidCredentialsCapn(s *capnp.Segment) (ThreePidCredentialsCapn, error)
func NewThreePidCredentialsCapn ¶
func NewThreePidCredentialsCapn(s *capnp.Segment) (ThreePidCredentialsCapn, error)
func ReadRootThreePidCredentialsCapn ¶
func ReadRootThreePidCredentialsCapn(msg *capnp.Message) (ThreePidCredentialsCapn, error)
func (ThreePidCredentialsCapn) ClientSecret ¶
func (s ThreePidCredentialsCapn) ClientSecret() (string, error)
func (ThreePidCredentialsCapn) ClientSecretBytes ¶
func (s ThreePidCredentialsCapn) ClientSecretBytes() ([]byte, error)
func (ThreePidCredentialsCapn) HasClientSecret ¶
func (s ThreePidCredentialsCapn) HasClientSecret() bool
func (ThreePidCredentialsCapn) HasIdServer ¶
func (s ThreePidCredentialsCapn) HasIdServer() bool
func (ThreePidCredentialsCapn) HasSid ¶
func (s ThreePidCredentialsCapn) HasSid() bool
func (ThreePidCredentialsCapn) IdServer ¶
func (s ThreePidCredentialsCapn) IdServer() (string, error)
func (ThreePidCredentialsCapn) IdServerBytes ¶
func (s ThreePidCredentialsCapn) IdServerBytes() ([]byte, error)
func (ThreePidCredentialsCapn) SetClientSecret ¶
func (s ThreePidCredentialsCapn) SetClientSecret(v string) error
func (ThreePidCredentialsCapn) SetIdServer ¶
func (s ThreePidCredentialsCapn) SetIdServer(v string) error
func (ThreePidCredentialsCapn) SetSid ¶
func (s ThreePidCredentialsCapn) SetSid(v string) error
func (ThreePidCredentialsCapn) Sid ¶
func (s ThreePidCredentialsCapn) Sid() (string, error)
func (ThreePidCredentialsCapn) SidBytes ¶
func (s ThreePidCredentialsCapn) SidBytes() ([]byte, error)
func (ThreePidCredentialsCapn) String ¶
func (s ThreePidCredentialsCapn) String() string
type ThreePidCredentialsCapn_List ¶
ThreePidCredentialsCapn_List is a list of ThreePidCredentialsCapn.
func NewThreePidCredentialsCapn_List ¶
func NewThreePidCredentialsCapn_List(s *capnp.Segment, sz int32) (ThreePidCredentialsCapn_List, error)
NewThreePidCredentialsCapn creates a new list of ThreePidCredentialsCapn.
func (ThreePidCredentialsCapn_List) At ¶
func (s ThreePidCredentialsCapn_List) At(i int) ThreePidCredentialsCapn
func (ThreePidCredentialsCapn_List) Set ¶
func (s ThreePidCredentialsCapn_List) Set(i int, v ThreePidCredentialsCapn) error
func (ThreePidCredentialsCapn_List) String ¶
func (s ThreePidCredentialsCapn_List) String() string
type ThreePidCredentialsCapn_Promise ¶
ThreePidCredentialsCapn_Promise is a wrapper for a ThreePidCredentialsCapn promised by a client call.
func (ThreePidCredentialsCapn_Promise) Struct ¶
func (p ThreePidCredentialsCapn_Promise) Struct() (ThreePidCredentialsCapn, error)
type TimelineCapn ¶
func NewRootTimelineCapn ¶
func NewRootTimelineCapn(s *capnp.Segment) (TimelineCapn, error)
func NewTimelineCapn ¶
func NewTimelineCapn(s *capnp.Segment) (TimelineCapn, error)
func ReadRootTimelineCapn ¶
func ReadRootTimelineCapn(msg *capnp.Message) (TimelineCapn, error)
func (TimelineCapn) Events ¶
func (s TimelineCapn) Events() (RoomEventCapn_List, error)
func (TimelineCapn) HasEvents ¶
func (s TimelineCapn) HasEvents() bool
func (TimelineCapn) HasPrevBatch ¶
func (s TimelineCapn) HasPrevBatch() bool
func (TimelineCapn) Limited ¶
func (s TimelineCapn) Limited() bool
func (TimelineCapn) NewEvents ¶
func (s TimelineCapn) NewEvents(n int32) (RoomEventCapn_List, error)
NewEvents sets the events field to a newly allocated RoomEventCapn_List, preferring placement in s's segment.
func (TimelineCapn) PrevBatch ¶
func (s TimelineCapn) PrevBatch() (string, error)
func (TimelineCapn) PrevBatchBytes ¶
func (s TimelineCapn) PrevBatchBytes() ([]byte, error)
func (TimelineCapn) SetEvents ¶
func (s TimelineCapn) SetEvents(v RoomEventCapn_List) error
func (TimelineCapn) SetLimited ¶
func (s TimelineCapn) SetLimited(v bool)
func (TimelineCapn) SetPrevBatch ¶
func (s TimelineCapn) SetPrevBatch(v string) error
func (TimelineCapn) String ¶
func (s TimelineCapn) String() string
type TimelineCapn_List ¶
TimelineCapn_List is a list of TimelineCapn.
func NewTimelineCapn_List ¶
func NewTimelineCapn_List(s *capnp.Segment, sz int32) (TimelineCapn_List, error)
NewTimelineCapn creates a new list of TimelineCapn.
func (TimelineCapn_List) At ¶
func (s TimelineCapn_List) At(i int) TimelineCapn
func (TimelineCapn_List) Set ¶
func (s TimelineCapn_List) Set(i int, v TimelineCapn) error
func (TimelineCapn_List) String ¶
func (s TimelineCapn_List) String() string
type TimelineCapn_Promise ¶
TimelineCapn_Promise is a wrapper for a TimelineCapn promised by a client call.
func (TimelineCapn_Promise) Struct ¶
func (p TimelineCapn_Promise) Struct() (TimelineCapn, error)
type ToDeviceCapn ¶
func NewRootToDeviceCapn ¶
func NewRootToDeviceCapn(s *capnp.Segment) (ToDeviceCapn, error)
func NewToDeviceCapn ¶
func NewToDeviceCapn(s *capnp.Segment) (ToDeviceCapn, error)
func ReadRootToDeviceCapn ¶
func ReadRootToDeviceCapn(msg *capnp.Message) (ToDeviceCapn, error)
func (ToDeviceCapn) Events ¶
func (s ToDeviceCapn) Events() (EventCapn_List, error)
func (ToDeviceCapn) HasEvents ¶
func (s ToDeviceCapn) HasEvents() bool
func (ToDeviceCapn) NewEvents ¶
func (s ToDeviceCapn) NewEvents(n int32) (EventCapn_List, error)
NewEvents sets the events field to a newly allocated EventCapn_List, preferring placement in s's segment.
func (ToDeviceCapn) SetEvents ¶
func (s ToDeviceCapn) SetEvents(v EventCapn_List) error
func (ToDeviceCapn) String ¶
func (s ToDeviceCapn) String() string
type ToDeviceCapn_List ¶
ToDeviceCapn_List is a list of ToDeviceCapn.
func NewToDeviceCapn_List ¶
func NewToDeviceCapn_List(s *capnp.Segment, sz int32) (ToDeviceCapn_List, error)
NewToDeviceCapn creates a new list of ToDeviceCapn.
func (ToDeviceCapn_List) At ¶
func (s ToDeviceCapn_List) At(i int) ToDeviceCapn
func (ToDeviceCapn_List) Set ¶
func (s ToDeviceCapn_List) Set(i int, v ToDeviceCapn) error
func (ToDeviceCapn_List) String ¶
func (s ToDeviceCapn_List) String() string
type ToDeviceCapn_Promise ¶
ToDeviceCapn_Promise is a wrapper for a ToDeviceCapn promised by a client call.
func (ToDeviceCapn_Promise) Struct ¶
func (p ToDeviceCapn_Promise) Struct() (ToDeviceCapn, error)
type UnreadNotifications ¶
type UnreadNotificationsCapn ¶
func NewRootUnreadNotificationsCapn ¶
func NewRootUnreadNotificationsCapn(s *capnp.Segment) (UnreadNotificationsCapn, error)
func NewUnreadNotificationsCapn ¶
func NewUnreadNotificationsCapn(s *capnp.Segment) (UnreadNotificationsCapn, error)
func ReadRootUnreadNotificationsCapn ¶
func ReadRootUnreadNotificationsCapn(msg *capnp.Message) (UnreadNotificationsCapn, error)
func (UnreadNotificationsCapn) HighLightCount ¶
func (s UnreadNotificationsCapn) HighLightCount() int64
func (UnreadNotificationsCapn) NotificationCount ¶
func (s UnreadNotificationsCapn) NotificationCount() int64
func (UnreadNotificationsCapn) SetHighLightCount ¶
func (s UnreadNotificationsCapn) SetHighLightCount(v int64)
func (UnreadNotificationsCapn) SetNotificationCount ¶
func (s UnreadNotificationsCapn) SetNotificationCount(v int64)
func (UnreadNotificationsCapn) String ¶
func (s UnreadNotificationsCapn) String() string
type UnreadNotificationsCapn_List ¶
UnreadNotificationsCapn_List is a list of UnreadNotificationsCapn.
func NewUnreadNotificationsCapn_List ¶
func NewUnreadNotificationsCapn_List(s *capnp.Segment, sz int32) (UnreadNotificationsCapn_List, error)
NewUnreadNotificationsCapn creates a new list of UnreadNotificationsCapn.
func (UnreadNotificationsCapn_List) At ¶
func (s UnreadNotificationsCapn_List) At(i int) UnreadNotificationsCapn
func (UnreadNotificationsCapn_List) Set ¶
func (s UnreadNotificationsCapn_List) Set(i int, v UnreadNotificationsCapn) error
func (UnreadNotificationsCapn_List) String ¶
func (s UnreadNotificationsCapn_List) String() string
type UnreadNotificationsCapn_Promise ¶
UnreadNotificationsCapn_Promise is a wrapper for a UnreadNotificationsCapn promised by a client call.
func (UnreadNotificationsCapn_Promise) Struct ¶
func (p UnreadNotificationsCapn_Promise) Struct() (UnreadNotificationsCapn, error)
type UnsignedData ¶
type UnsignedDataCapn ¶
func NewRootUnsignedDataCapn ¶
func NewRootUnsignedDataCapn(s *capnp.Segment) (UnsignedDataCapn, error)
func NewUnsignedDataCapn ¶
func NewUnsignedDataCapn(s *capnp.Segment) (UnsignedDataCapn, error)
func ReadRootUnsignedDataCapn ¶
func ReadRootUnsignedDataCapn(msg *capnp.Message) (UnsignedDataCapn, error)
func (UnsignedDataCapn) Age ¶
func (s UnsignedDataCapn) Age() int64
func (UnsignedDataCapn) HasRedactedBecause ¶
func (s UnsignedDataCapn) HasRedactedBecause() bool
func (UnsignedDataCapn) HasTransactionID ¶
func (s UnsignedDataCapn) HasTransactionID() bool
func (UnsignedDataCapn) NewRedactedBecause ¶
func (s UnsignedDataCapn) NewRedactedBecause() (EventCapn, error)
NewRedactedBecause sets the redactedBecause field to a newly allocated EventCapn struct, preferring placement in s's segment.
func (UnsignedDataCapn) RedactedBecause ¶
func (s UnsignedDataCapn) RedactedBecause() (EventCapn, error)
func (UnsignedDataCapn) SetAge ¶
func (s UnsignedDataCapn) SetAge(v int64)
func (UnsignedDataCapn) SetRedactedBecause ¶
func (s UnsignedDataCapn) SetRedactedBecause(v EventCapn) error
func (UnsignedDataCapn) SetTransactionID ¶
func (s UnsignedDataCapn) SetTransactionID(v string) error
func (UnsignedDataCapn) String ¶
func (s UnsignedDataCapn) String() string
func (UnsignedDataCapn) TransactionID ¶
func (s UnsignedDataCapn) TransactionID() (string, error)
func (UnsignedDataCapn) TransactionIDBytes ¶
func (s UnsignedDataCapn) TransactionIDBytes() ([]byte, error)
type UnsignedDataCapn_List ¶
UnsignedDataCapn_List is a list of UnsignedDataCapn.
func NewUnsignedDataCapn_List ¶
func NewUnsignedDataCapn_List(s *capnp.Segment, sz int32) (UnsignedDataCapn_List, error)
NewUnsignedDataCapn creates a new list of UnsignedDataCapn.
func (UnsignedDataCapn_List) At ¶
func (s UnsignedDataCapn_List) At(i int) UnsignedDataCapn
func (UnsignedDataCapn_List) Set ¶
func (s UnsignedDataCapn_List) Set(i int, v UnsignedDataCapn) error
func (UnsignedDataCapn_List) String ¶
func (s UnsignedDataCapn_List) String() string
type UnsignedDataCapn_Promise ¶
UnsignedDataCapn_Promise is a wrapper for a UnsignedDataCapn promised by a client call.
func (UnsignedDataCapn_Promise) RedactedBecause ¶
func (p UnsignedDataCapn_Promise) RedactedBecause() EventCapn_Promise
func (UnsignedDataCapn_Promise) Struct ¶
func (p UnsignedDataCapn_Promise) Struct() (UnsignedDataCapn, error)
type UnsignedDeviceInfo ¶
type UnsignedDeviceInfo struct {
DeviceDisplayName string `json:"device_display_name"`
}
type UnsignedDeviceInfoCapn ¶
func NewRootUnsignedDeviceInfoCapn ¶
func NewRootUnsignedDeviceInfoCapn(s *capnp.Segment) (UnsignedDeviceInfoCapn, error)
func NewUnsignedDeviceInfoCapn ¶
func NewUnsignedDeviceInfoCapn(s *capnp.Segment) (UnsignedDeviceInfoCapn, error)
func ReadRootUnsignedDeviceInfoCapn ¶
func ReadRootUnsignedDeviceInfoCapn(msg *capnp.Message) (UnsignedDeviceInfoCapn, error)
func (UnsignedDeviceInfoCapn) DeviceDisplayName ¶
func (s UnsignedDeviceInfoCapn) DeviceDisplayName() (string, error)
func (UnsignedDeviceInfoCapn) DeviceDisplayNameBytes ¶
func (s UnsignedDeviceInfoCapn) DeviceDisplayNameBytes() ([]byte, error)
func (UnsignedDeviceInfoCapn) HasDeviceDisplayName ¶
func (s UnsignedDeviceInfoCapn) HasDeviceDisplayName() bool
func (UnsignedDeviceInfoCapn) SetDeviceDisplayName ¶
func (s UnsignedDeviceInfoCapn) SetDeviceDisplayName(v string) error
func (UnsignedDeviceInfoCapn) String ¶
func (s UnsignedDeviceInfoCapn) String() string
type UnsignedDeviceInfoCapn_List ¶
UnsignedDeviceInfoCapn_List is a list of UnsignedDeviceInfoCapn.
func NewUnsignedDeviceInfoCapn_List ¶
func NewUnsignedDeviceInfoCapn_List(s *capnp.Segment, sz int32) (UnsignedDeviceInfoCapn_List, error)
NewUnsignedDeviceInfoCapn creates a new list of UnsignedDeviceInfoCapn.
func (UnsignedDeviceInfoCapn_List) At ¶
func (s UnsignedDeviceInfoCapn_List) At(i int) UnsignedDeviceInfoCapn
func (UnsignedDeviceInfoCapn_List) Set ¶
func (s UnsignedDeviceInfoCapn_List) Set(i int, v UnsignedDeviceInfoCapn) error
func (UnsignedDeviceInfoCapn_List) String ¶
func (s UnsignedDeviceInfoCapn_List) String() string
type UnsignedDeviceInfoCapn_Promise ¶
UnsignedDeviceInfoCapn_Promise is a wrapper for a UnsignedDeviceInfoCapn promised by a client call.
func (UnsignedDeviceInfoCapn_Promise) Struct ¶
func (p UnsignedDeviceInfoCapn_Promise) Struct() (UnsignedDeviceInfoCapn, error)
type UserCapn ¶
func (UserCapn) AvatarURLBytes ¶
func (UserCapn) DisplayName ¶
func (UserCapn) DisplayNameBytes ¶
func (UserCapn) HasAvatarURL ¶
func (UserCapn) HasDisplayName ¶
func (UserCapn) SetAvatarURL ¶
func (UserCapn) SetDisplayName ¶
func (UserCapn) UserIDBytes ¶
type UserCapn_List ¶
UserCapn_List is a list of UserCapn.
func NewUserCapn_List ¶
func NewUserCapn_List(s *capnp.Segment, sz int32) (UserCapn_List, error)
NewUserCapn creates a new list of UserCapn.
func (UserCapn_List) At ¶
func (s UserCapn_List) At(i int) UserCapn
func (UserCapn_List) String ¶
func (s UserCapn_List) String() string
type UserCapn_Promise ¶
UserCapn_Promise is a wrapper for a UserCapn promised by a client call.
func (UserCapn_Promise) Struct ¶
func (p UserCapn_Promise) Struct() (UserCapn, error)
type UserIdentifier ¶
type UserIdentifier struct {
// contains filtered or unexported fields
}
type UserIdentifierCapn ¶
func NewRootUserIdentifierCapn ¶
func NewRootUserIdentifierCapn(s *capnp.Segment) (UserIdentifierCapn, error)
func NewUserIdentifierCapn ¶
func NewUserIdentifierCapn(s *capnp.Segment) (UserIdentifierCapn, error)
func ReadRootUserIdentifierCapn ¶
func ReadRootUserIdentifierCapn(msg *capnp.Message) (UserIdentifierCapn, error)
func (UserIdentifierCapn) HasUserType ¶
func (s UserIdentifierCapn) HasUserType() bool
func (UserIdentifierCapn) SetUserType ¶
func (s UserIdentifierCapn) SetUserType(v string) error
func (UserIdentifierCapn) String ¶
func (s UserIdentifierCapn) String() string
func (UserIdentifierCapn) UserType ¶
func (s UserIdentifierCapn) UserType() (string, error)
func (UserIdentifierCapn) UserTypeBytes ¶
func (s UserIdentifierCapn) UserTypeBytes() ([]byte, error)
type UserIdentifierCapn_List ¶
UserIdentifierCapn_List is a list of UserIdentifierCapn.
func NewUserIdentifierCapn_List ¶
func NewUserIdentifierCapn_List(s *capnp.Segment, sz int32) (UserIdentifierCapn_List, error)
NewUserIdentifierCapn creates a new list of UserIdentifierCapn.
func (UserIdentifierCapn_List) At ¶
func (s UserIdentifierCapn_List) At(i int) UserIdentifierCapn
func (UserIdentifierCapn_List) Set ¶
func (s UserIdentifierCapn_List) Set(i int, v UserIdentifierCapn) error
func (UserIdentifierCapn_List) String ¶
func (s UserIdentifierCapn_List) String() string
type UserIdentifierCapn_Promise ¶
UserIdentifierCapn_Promise is a wrapper for a UserIdentifierCapn promised by a client call.
func (UserIdentifierCapn_Promise) Struct ¶
func (p UserIdentifierCapn_Promise) Struct() (UserIdentifierCapn, error)
type UserInfoItem ¶
type UserInteractiveResponse ¶
type UserInteractiveResponse struct { Flows []AuthFlow `json:"flows"` Completed []string `json:"completed"` Params map[string]interface{} `json:"params"` Session string `json:"session"` }
func (*UserInteractiveResponse) Decode ¶
func (res *UserInteractiveResponse) Decode(input []byte) error
func (*UserInteractiveResponse) Encode ¶
func (res *UserInteractiveResponse) Encode() ([]byte, error)
Source Files ¶
- accounAdmin.go
- accountAdmin.capn.go
- device.capn.go
- device.go
- events.capn.go
- events.go
- federation.go
- filter.capn.go
- filter.go
- login.capn.go
- login.go
- modules.capn.go
- modules.go
- presence.capn.go
- presence.go
- profile.capn.go
- profile.go
- rcs.go
- register.capn.go
- register.go
- requestDecode.go
- requestEncode.go
- responseDecode.go
- responseEncode.go
- room.capn.go
- room.go
- serverCfg.go
- setting.go
- userData.capn.go
- userData.go
- userinfo.go
- util.go
- visibilityrange.go
- voip.go