Documentation
¶
Overview ¶
Package engineapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.2 DO NOT EDIT.
Index ¶
- func GetSpec() (swagger *openapi3.T, err error)
- func GetSpecJSON() ([]byte, error)
- func GetSwagger() (*openapi3.T, error)deprecated
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- func NewCancelMessageRequest(server string, messageId MessageID, params *CancelMessageParams, ...) (*http.Request, error)
- func NewCancelMessageRequestWithBody(server string, messageId MessageID, params *CancelMessageParams, ...) (*http.Request, error)
- func NewChangeProtocolContactRequest(server string, accountId AccountID, body ChangeProtocolContactJSONRequestBody) (*http.Request, error)
- func NewChangeProtocolContactRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
- func NewClearDeviceDownloadsRequest(server string, deviceId ID) (*http.Request, error)
- func NewConfigureAccountConnectionRequest(server string, accountId AccountID, ...) (*http.Request, error)
- func NewConfigureAccountConnectionRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
- func NewDisconnectAccountRequest(server string, accountId AccountID) (*http.Request, error)
- func NewDiscoverRoomsRequest(server string, accountId AccountID, params *DiscoverRoomsParams) (*http.Request, error)
- func NewDownloadOmemoAttachmentRequest(server string, messageId MessageID, index int) (*http.Request, error)
- func NewDownloadPreviewImageRequest(server string, previewId ID, params *DownloadPreviewImageParams) (*http.Request, error)
- func NewEditMessageRequest(server string, messageId MessageID, params *EditMessageParams, ...) (*http.Request, error)
- func NewEditMessageRequestWithBody(server string, messageId MessageID, params *EditMessageParams, ...) (*http.Request, error)
- func NewForwardMessageRequest(server string, messageId MessageID, params *ForwardMessageParams, ...) (*http.Request, error)
- func NewForwardMessageRequestWithBody(server string, messageId MessageID, params *ForwardMessageParams, ...) (*http.Request, error)
- func NewGetAccountCapabilitiesRequest(server string, accountId AccountID) (*http.Request, error)
- func NewGetAccountCommunicationPreferencesRequest(server string, accountId AccountID) (*http.Request, error)
- func NewGetAccountConnectionRequest(server string, accountId AccountID) (*http.Request, error)
- func NewGetAccountHistoryRequest(server string, accountId AccountID) (*http.Request, error)
- func NewGetAccountRequest(server string, accountId AccountID) (*http.Request, error)
- func NewGetAccountUnreadTotalsRequest(server string) (*http.Request, error)
- func NewGetAvatarImageRequest(server string, hash string, params *GetAvatarImageParams) (*http.Request, error)
- func NewGetConversationDetailsRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetConversationEditTargetRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetConversationReadReceiptsRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetConversationReadStateRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetConversationRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetConversationRetentionRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetConversationTypingRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetDownloadRetentionRequest(server string, deviceId ID) (*http.Request, error)
- func NewGetEngineRequest(server string) (*http.Request, error)
- func NewGetGlobalReadReceiptsRequest(server string) (*http.Request, error)
- func NewGetGlobalRetentionRequest(server string) (*http.Request, error)
- func NewGetHealthRequest(server string) (*http.Request, error)
- func NewGetMediaImageRequest(server string, hash string, params *GetMediaImageParams) (*http.Request, error)
- func NewGetMentionCandidatesRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetMessageContextRequest(server string, conversationId ConversationID, messageId MessageID, ...) (*http.Request, error)
- func NewGetMessageEditHistoryRequest(server string, messageId MessageID, params *GetMessageEditHistoryParams) (*http.Request, error)
- func NewGetMessageEditRequest(server string, editId ID) (*http.Request, error)
- func NewGetMessageEditTargetRequest(server string, messageId MessageID) (*http.Request, error)
- func NewGetMessagePreviewRequest(server string, previewId ID) (*http.Request, error)
- func NewGetMessageReactionCommandRequest(server string, commandId ID) (*http.Request, error)
- func NewGetMessageReactionsRequest(server string, messageId MessageID) (*http.Request, error)
- func NewGetMessageRequest(server string, messageId MessageID) (*http.Request, error)
- func NewGetMessageSenderProfileRequest(server string, messageId MessageID) (*http.Request, error)
- func NewGetMessageSourceContextRequest(server string, conversationId ConversationID, messageId MessageID) (*http.Request, error)
- func NewGetMessageStarRequest(server string, messageId MessageID) (*http.Request, error)
- func NewGetOmemoDevicesRequest(server string, accountId AccountID, params *GetOmemoDevicesParams) (*http.Request, error)
- func NewGetOperationRequest(server string, operationId ID, params *GetOperationParams) (*http.Request, error)
- func NewGetRetractedOriginalRequest(server string, messageId MessageID) (*http.Request, error)
- func NewGetRoomArchiveRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetRoomManagementRequest(server string, conversationId ConversationID, params *GetRoomManagementParams) (*http.Request, error)
- func NewGetRoomOmemoRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetRoomParticipantsRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetRoomSessionRequest(server string, conversationId ConversationID) (*http.Request, error)
- func NewGetSharedContentMediaRequest(server string, itemId ID, params *GetSharedContentMediaParams) (*http.Request, error)
- func NewGetStagedMessageAttachmentRequest(server string, conversationId ConversationID, attachmentId StagedAttachmentID, ...) (*http.Request, error)
- func NewGetVideoThumbnailRequest(server string, itemId ID) (*http.Request, error)
- func NewJoinRoomRequest(server string, conversationId ConversationID, params *JoinRoomParams, ...) (*http.Request, error)
- func NewJoinRoomRequestWithBody(server string, conversationId ConversationID, params *JoinRoomParams, ...) (*http.Request, error)
- func NewLeaveRoomRequest(server string, conversationId ConversationID, params *LeaveRoomParams, ...) (*http.Request, error)
- func NewLeaveRoomRequestWithBody(server string, conversationId ConversationID, params *LeaveRoomParams, ...) (*http.Request, error)
- func NewListAccountAvatarsRequest(server string, accountId AccountID, params *ListAccountAvatarsParams) (*http.Request, error)
- func NewListAccountsRequest(server string, params *ListAccountsParams) (*http.Request, error)
- func NewListContactRequestsRequest(server string, accountId AccountID) (*http.Request, error)
- func NewListContactsRequest(server string, params *ListContactsParams) (*http.Request, error)
- func NewListConversationMessageStarsRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewListConversationPreviewsRequest(server string, conversationId ID, params *ListConversationPreviewsParams) (*http.Request, error)
- func NewListConversationReactionsRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewListConversationsRequest(server string, params *ListConversationsParams) (*http.Request, error)
- func NewListMessagesRequest(server string, conversationId ConversationID, params *ListMessagesParams) (*http.Request, error)
- func NewListScheduledMessagesRequest(server string, params *ListScheduledMessagesParams) (*http.Request, error)
- func NewListSharedContentRequest(server string, params *ListSharedContentParams) (*http.Request, error)
- func NewListStarredMessagesRequest(server string, params *ListStarredMessagesParams) (*http.Request, error)
- func NewManageRoomRequest(server string, conversationId ConversationID, params *ManageRoomParams, ...) (*http.Request, error)
- func NewManageRoomRequestWithBody(server string, conversationId ConversationID, params *ManageRoomParams, ...) (*http.Request, error)
- func NewMarkConversationMessagesReadRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewMarkConversationMessagesReadRequestWithBody(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewOpenConversationRequest(server string, params *OpenConversationParams, ...) (*http.Request, error)
- func NewOpenConversationRequestWithBody(server string, params *OpenConversationParams, contentType string, ...) (*http.Request, error)
- func NewOpenRoomRequest(server string, accountId AccountID, params *OpenRoomParams, ...) (*http.Request, error)
- func NewOpenRoomRequestWithBody(server string, accountId AccountID, params *OpenRoomParams, contentType string, ...) (*http.Request, error)
- func NewPreviewRoomRequest(server string, accountId AccountID, params *PreviewRoomParams) (*http.Request, error)
- func NewRefreshMessagePreviewRequest(server string, previewId ID) (*http.Request, error)
- func NewRegisterAccountRequest(server string, params *RegisterAccountParams, ...) (*http.Request, error)
- func NewRegisterAccountRequestWithBody(server string, params *RegisterAccountParams, contentType string, ...) (*http.Request, error)
- func NewRemoveAccountRequest(server string, accountId AccountID) (*http.Request, error)
- func NewRemoveDirectFromChatsRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewRemoveDirectFromChatsRequestWithBody(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewRemoveRoomFromChatsRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewRemoveRoomFromChatsRequestWithBody(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewRequestRoomArchiveRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewRequestRoomArchiveRequestWithBody(server string, conversationId ConversationID, contentType string, ...) (*http.Request, error)
- func NewRequestVideoThumbnailRequest(server string, itemId ID) (*http.Request, error)
- func NewResetEngineDataRequest(server string, body ResetEngineDataJSONRequestBody) (*http.Request, error)
- func NewResetEngineDataRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewResolveDraftLinkPreviewRequest(server string, body ResolveDraftLinkPreviewJSONRequestBody) (*http.Request, error)
- func NewResolveDraftLinkPreviewRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRetractMessageRequest(server string, messageId MessageID, body RetractMessageJSONRequestBody) (*http.Request, error)
- func NewRetractMessageRequestWithBody(server string, messageId MessageID, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchMessagesRequest(server string, params *SearchMessagesParams) (*http.Request, error)
- func NewSendMessageRequest(server string, conversationId ConversationID, params *SendMessageParams, ...) (*http.Request, error)
- func NewSendMessageRequestWithBody(server string, conversationId ConversationID, params *SendMessageParams, ...) (*http.Request, error)
- func NewSendScheduledMessageNowRequest(server string, messageId MessageID, params *SendScheduledMessageNowParams, ...) (*http.Request, error)
- func NewSendScheduledMessageNowRequestWithBody(server string, messageId MessageID, params *SendScheduledMessageNowParams, ...) (*http.Request, error)
- func NewSetAccountAvatarRequest(server string, accountId AccountID, body SetAccountAvatarJSONRequestBody) (*http.Request, error)
- func NewSetAccountAvatarRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetAccountCommunicationPreferencesRequest(server string, accountId AccountID, ...) (*http.Request, error)
- func NewSetAccountCommunicationPreferencesRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetAccountLabelRequest(server string, accountId AccountID, body SetAccountLabelJSONRequestBody) (*http.Request, error)
- func NewSetAccountLabelRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetConversationReadReceiptsRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewSetConversationReadReceiptsRequestWithBody(server string, conversationId ConversationID, contentType string, ...) (*http.Request, error)
- func NewSetConversationRetentionRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewSetConversationRetentionRequestWithBody(server string, conversationId ConversationID, contentType string, ...) (*http.Request, error)
- func NewSetConversationTypingRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewSetConversationTypingRequestWithBody(server string, conversationId ConversationID, contentType string, ...) (*http.Request, error)
- func NewSetDownloadRetentionRequest(server string, deviceId ID, body SetDownloadRetentionJSONRequestBody) (*http.Request, error)
- func NewSetDownloadRetentionRequestWithBody(server string, deviceId ID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetGlobalReadReceiptsRequest(server string, body SetGlobalReadReceiptsJSONRequestBody) (*http.Request, error)
- func NewSetGlobalReadReceiptsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetGlobalRetentionRequest(server string, body SetGlobalRetentionJSONRequestBody) (*http.Request, error)
- func NewSetGlobalRetentionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetMessageReactionsRequest(server string, messageId MessageID, params *SetMessageReactionsParams, ...) (*http.Request, error)
- func NewSetMessageReactionsRequestWithBody(server string, messageId MessageID, params *SetMessageReactionsParams, ...) (*http.Request, error)
- func NewSetMessageStarRequest(server string, messageId MessageID, params *SetMessageStarParams, ...) (*http.Request, error)
- func NewSetMessageStarRequestWithBody(server string, messageId MessageID, params *SetMessageStarParams, ...) (*http.Request, error)
- func NewSetOmemoDecisionRequest(server string, accountId AccountID, params *SetOmemoDecisionParams, ...) (*http.Request, error)
- func NewSetOmemoDecisionRequestWithBody(server string, accountId AccountID, params *SetOmemoDecisionParams, ...) (*http.Request, error)
- func NewSetRoomArchiveModeRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewSetRoomArchiveModeRequestWithBody(server string, conversationId ConversationID, contentType string, ...) (*http.Request, error)
- func NewSetRoomOmemoRequest(server string, conversationId ConversationID, body SetRoomOmemoJSONRequestBody) (*http.Request, error)
- func NewSetRoomOmemoRequestWithBody(server string, conversationId ConversationID, contentType string, ...) (*http.Request, error)
- func NewStageMessageAttachmentRequestWithBody(server string, conversationId ConversationID, attachmentId StagedAttachmentID, ...) (*http.Request, error)
- func NewStreamEventsRequest(server string, params *StreamEventsParams) (*http.Request, error)
- func NewUpdateConversationPreferencesRequest(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewUpdateConversationPreferencesRequestWithBody(server string, conversationId ConversationID, ...) (*http.Request, error)
- func NewUpdatePendingMessageRequest(server string, messageId MessageID, params *UpdatePendingMessageParams, ...) (*http.Request, error)
- func NewUpdatePendingMessageRequestWithBody(server string, messageId MessageID, params *UpdatePendingMessageParams, ...) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type Account
- type AccountCommunicationPreferences
- type AccountCommunicationPreferencesPresence
- type AccountConnectionState
- type AccountID
- type AccountPage
- type AccountProtocol
- type AccountUnreadTotals
- type AuthenticationProblem
- type AuthenticationProblemCode
- type AuthenticationProblemStatus
- type AuthenticationProblemTitle
- type AuthenticationProblemType
- type AuthenticationRequired
- type AuthenticationRequiredApplicationProblemPlusJSONResponse
- type AuthenticationRequiredResponseHeaders
- type Avatar
- type AvatarPage
- type CancelMessage
- type CancelMessage200JSONResponse
- type CancelMessage400ApplicationProblemPlusJSONResponse
- type CancelMessage401ApplicationProblemPlusJSONResponse
- type CancelMessage404ApplicationProblemPlusJSONResponse
- type CancelMessage409ApplicationProblemPlusJSONResponse
- type CancelMessage413ApplicationProblemPlusJSONResponse
- type CancelMessage415ApplicationProblemPlusJSONResponse
- type CancelMessage503ApplicationProblemPlusJSONResponse
- type CancelMessageJSONRequestBody
- type CancelMessageParams
- type CancelMessageRequestObject
- type CancelMessageResponse
- func (r CancelMessageResponse) ContentType() string
- func (r CancelMessageResponse) GetApplicationproblemJSON400() *Invalid
- func (r CancelMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r CancelMessageResponse) GetApplicationproblemJSON404() *NotFound
- func (r CancelMessageResponse) GetApplicationproblemJSON409() *Conflict
- func (r CancelMessageResponse) GetApplicationproblemJSON413() *Problem
- func (r CancelMessageResponse) GetApplicationproblemJSON415() *Problem
- func (r CancelMessageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r CancelMessageResponse) GetBody() []byte
- func (r CancelMessageResponse) GetJSON200() *Message
- func (r CancelMessageResponse) Status() string
- func (r CancelMessageResponse) StatusCode() int
- type CancelMessageResponse401Headers
- type CancelMessageResponseObject
- type Capabilities
- type CapabilitiesReason
- type CapabilitiesState
- type CapabilityDiscovery
- type CapabilityDiscoveryState
- type CapabilityFeature
- type CapabilityFeatureId
- type CapabilityFeatureScope
- type ChangeProtocolContact204Response
- type ChangeProtocolContact400ApplicationProblemPlusJSONResponse
- type ChangeProtocolContact404ApplicationProblemPlusJSONResponse
- type ChangeProtocolContact409ApplicationProblemPlusJSONResponse
- type ChangeProtocolContact413Response
- type ChangeProtocolContact415Response
- type ChangeProtocolContact503ApplicationProblemPlusJSONResponse
- type ChangeProtocolContactJSONRequestBody
- type ChangeProtocolContactRequestObject
- type ChangeProtocolContactResponse
- func (r ChangeProtocolContactResponse) ContentType() string
- func (r ChangeProtocolContactResponse) GetApplicationproblemJSON400() *Invalid
- func (r ChangeProtocolContactResponse) GetApplicationproblemJSON404() *NotFound
- func (r ChangeProtocolContactResponse) GetApplicationproblemJSON409() *Conflict
- func (r ChangeProtocolContactResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ChangeProtocolContactResponse) GetBody() []byte
- func (r ChangeProtocolContactResponse) Status() string
- func (r ChangeProtocolContactResponse) StatusCode() int
- type ChangeProtocolContactResponseObject
- type ClearDeviceDownloads200JSONResponse
- type ClearDeviceDownloads400ApplicationProblemPlusJSONResponse
- type ClearDeviceDownloads401ApplicationProblemPlusJSONResponse
- type ClearDeviceDownloads503ApplicationProblemPlusJSONResponse
- type ClearDeviceDownloadsRequestObject
- type ClearDeviceDownloadsResponse
- func (r ClearDeviceDownloadsResponse) ContentType() string
- func (r ClearDeviceDownloadsResponse) GetApplicationproblemJSON400() *Invalid
- func (r ClearDeviceDownloadsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ClearDeviceDownloadsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ClearDeviceDownloadsResponse) GetBody() []byte
- func (r ClearDeviceDownloadsResponse) GetJSON200() *DownloadRetention
- func (r ClearDeviceDownloadsResponse) Status() string
- func (r ClearDeviceDownloadsResponse) StatusCode() int
- type ClearDeviceDownloadsResponse401Headers
- type ClearDeviceDownloadsResponseObject
- type Client
- func (c *Client) CancelMessage(ctx context.Context, messageId MessageID, params *CancelMessageParams, ...) (*http.Response, error)
- func (c *Client) CancelMessageWithBody(ctx context.Context, messageId MessageID, params *CancelMessageParams, ...) (*http.Response, error)
- func (c *Client) ChangeProtocolContact(ctx context.Context, accountId AccountID, ...) (*http.Response, error)
- func (c *Client) ChangeProtocolContactWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ClearDeviceDownloads(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ConfigureAccountConnection(ctx context.Context, accountId AccountID, ...) (*http.Response, error)
- func (c *Client) ConfigureAccountConnectionWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DisconnectAccount(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DiscoverRooms(ctx context.Context, accountId AccountID, params *DiscoverRoomsParams, ...) (*http.Response, error)
- func (c *Client) DownloadOmemoAttachment(ctx context.Context, messageId MessageID, index int, ...) (*http.Response, error)
- func (c *Client) DownloadPreviewImage(ctx context.Context, previewId ID, params *DownloadPreviewImageParams, ...) (*http.Response, error)
- func (c *Client) EditMessage(ctx context.Context, messageId MessageID, params *EditMessageParams, ...) (*http.Response, error)
- func (c *Client) EditMessageWithBody(ctx context.Context, messageId MessageID, params *EditMessageParams, ...) (*http.Response, error)
- func (c *Client) ForwardMessage(ctx context.Context, messageId MessageID, params *ForwardMessageParams, ...) (*http.Response, error)
- func (c *Client) ForwardMessageWithBody(ctx context.Context, messageId MessageID, params *ForwardMessageParams, ...) (*http.Response, error)
- func (c *Client) GetAccount(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccountCapabilities(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccountCommunicationPreferences(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccountConnection(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccountHistory(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccountUnreadTotals(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAvatarImage(ctx context.Context, hash string, params *GetAvatarImageParams, ...) (*http.Response, error)
- func (c *Client) GetConversation(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetConversationDetails(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetConversationEditTarget(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetConversationReadReceipts(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetConversationReadState(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetConversationRetention(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetConversationTyping(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetDownloadRetention(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEngine(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGlobalReadReceipts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGlobalRetention(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMediaImage(ctx context.Context, hash string, params *GetMediaImageParams, ...) (*http.Response, error)
- func (c *Client) GetMentionCandidates(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetMessage(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMessageContext(ctx context.Context, conversationId ConversationID, messageId MessageID, ...) (*http.Response, error)
- func (c *Client) GetMessageEdit(ctx context.Context, editId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMessageEditHistory(ctx context.Context, messageId MessageID, params *GetMessageEditHistoryParams, ...) (*http.Response, error)
- func (c *Client) GetMessageEditTarget(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMessagePreview(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMessageReactionCommand(ctx context.Context, commandId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMessageReactions(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMessageSenderProfile(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMessageSourceContext(ctx context.Context, conversationId ConversationID, messageId MessageID, ...) (*http.Response, error)
- func (c *Client) GetMessageStar(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOmemoDevices(ctx context.Context, accountId AccountID, params *GetOmemoDevicesParams, ...) (*http.Response, error)
- func (c *Client) GetOperation(ctx context.Context, operationId ID, params *GetOperationParams, ...) (*http.Response, error)
- func (c *Client) GetRetractedOriginal(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRoomArchive(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetRoomManagement(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetRoomOmemo(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetRoomParticipants(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetRoomSession(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetSharedContentMedia(ctx context.Context, itemId ID, params *GetSharedContentMediaParams, ...) (*http.Response, error)
- func (c *Client) GetStagedMessageAttachment(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) GetVideoThumbnail(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) JoinRoom(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, ...) (*http.Response, error)
- func (c *Client) JoinRoomWithBody(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, ...) (*http.Response, error)
- func (c *Client) LeaveRoom(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, ...) (*http.Response, error)
- func (c *Client) LeaveRoomWithBody(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, ...) (*http.Response, error)
- func (c *Client) ListAccountAvatars(ctx context.Context, accountId AccountID, params *ListAccountAvatarsParams, ...) (*http.Response, error)
- func (c *Client) ListAccounts(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListContactRequests(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListContacts(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListConversationMessageStars(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) ListConversationPreviews(ctx context.Context, conversationId ID, params *ListConversationPreviewsParams, ...) (*http.Response, error)
- func (c *Client) ListConversationReactions(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) ListConversations(ctx context.Context, params *ListConversationsParams, ...) (*http.Response, error)
- func (c *Client) ListMessages(ctx context.Context, conversationId ConversationID, params *ListMessagesParams, ...) (*http.Response, error)
- func (c *Client) ListScheduledMessages(ctx context.Context, params *ListScheduledMessagesParams, ...) (*http.Response, error)
- func (c *Client) ListSharedContent(ctx context.Context, params *ListSharedContentParams, ...) (*http.Response, error)
- func (c *Client) ListStarredMessages(ctx context.Context, params *ListStarredMessagesParams, ...) (*http.Response, error)
- func (c *Client) ManageRoom(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, ...) (*http.Response, error)
- func (c *Client) ManageRoomWithBody(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, ...) (*http.Response, error)
- func (c *Client) MarkConversationMessagesRead(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) MarkConversationMessagesReadWithBody(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) OpenConversation(ctx context.Context, params *OpenConversationParams, ...) (*http.Response, error)
- func (c *Client) OpenConversationWithBody(ctx context.Context, params *OpenConversationParams, contentType string, ...) (*http.Response, error)
- func (c *Client) OpenRoom(ctx context.Context, accountId AccountID, params *OpenRoomParams, ...) (*http.Response, error)
- func (c *Client) OpenRoomWithBody(ctx context.Context, accountId AccountID, params *OpenRoomParams, ...) (*http.Response, error)
- func (c *Client) PreviewRoom(ctx context.Context, accountId AccountID, params *PreviewRoomParams, ...) (*http.Response, error)
- func (c *Client) RefreshMessagePreview(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RegisterAccount(ctx context.Context, params *RegisterAccountParams, ...) (*http.Response, error)
- func (c *Client) RegisterAccountWithBody(ctx context.Context, params *RegisterAccountParams, contentType string, ...) (*http.Response, error)
- func (c *Client) RemoveAccount(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveDirectFromChats(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) RemoveDirectFromChatsWithBody(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) RemoveRoomFromChats(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) RemoveRoomFromChatsWithBody(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) RequestRoomArchive(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) RequestRoomArchiveWithBody(ctx context.Context, conversationId ConversationID, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestVideoThumbnail(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResetEngineData(ctx context.Context, body ResetEngineDataJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ResetEngineDataWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResolveDraftLinkPreview(ctx context.Context, body ResolveDraftLinkPreviewJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ResolveDraftLinkPreviewWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RetractMessage(ctx context.Context, messageId MessageID, body RetractMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RetractMessageWithBody(ctx context.Context, messageId MessageID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchMessages(ctx context.Context, params *SearchMessagesParams, ...) (*http.Response, error)
- func (c *Client) SendMessage(ctx context.Context, conversationId ConversationID, params *SendMessageParams, ...) (*http.Response, error)
- func (c *Client) SendMessageWithBody(ctx context.Context, conversationId ConversationID, params *SendMessageParams, ...) (*http.Response, error)
- func (c *Client) SendScheduledMessageNow(ctx context.Context, messageId MessageID, ...) (*http.Response, error)
- func (c *Client) SendScheduledMessageNowWithBody(ctx context.Context, messageId MessageID, ...) (*http.Response, error)
- func (c *Client) SetAccountAvatar(ctx context.Context, accountId AccountID, body SetAccountAvatarJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetAccountAvatarWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetAccountCommunicationPreferences(ctx context.Context, accountId AccountID, ...) (*http.Response, error)
- func (c *Client) SetAccountCommunicationPreferencesWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetAccountLabel(ctx context.Context, accountId AccountID, body SetAccountLabelJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetAccountLabelWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetConversationReadReceipts(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) SetConversationReadReceiptsWithBody(ctx context.Context, conversationId ConversationID, contentType string, ...) (*http.Response, error)
- func (c *Client) SetConversationRetention(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) SetConversationRetentionWithBody(ctx context.Context, conversationId ConversationID, contentType string, ...) (*http.Response, error)
- func (c *Client) SetConversationTyping(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) SetConversationTypingWithBody(ctx context.Context, conversationId ConversationID, contentType string, ...) (*http.Response, error)
- func (c *Client) SetDownloadRetention(ctx context.Context, deviceId ID, body SetDownloadRetentionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetDownloadRetentionWithBody(ctx context.Context, deviceId ID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetGlobalReadReceipts(ctx context.Context, body SetGlobalReadReceiptsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetGlobalReadReceiptsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetGlobalRetention(ctx context.Context, body SetGlobalRetentionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetGlobalRetentionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetMessageReactions(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, ...) (*http.Response, error)
- func (c *Client) SetMessageReactionsWithBody(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, ...) (*http.Response, error)
- func (c *Client) SetMessageStar(ctx context.Context, messageId MessageID, params *SetMessageStarParams, ...) (*http.Response, error)
- func (c *Client) SetMessageStarWithBody(ctx context.Context, messageId MessageID, params *SetMessageStarParams, ...) (*http.Response, error)
- func (c *Client) SetOmemoDecision(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, ...) (*http.Response, error)
- func (c *Client) SetOmemoDecisionWithBody(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, ...) (*http.Response, error)
- func (c *Client) SetRoomArchiveMode(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) SetRoomArchiveModeWithBody(ctx context.Context, conversationId ConversationID, contentType string, ...) (*http.Response, error)
- func (c *Client) SetRoomOmemo(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) SetRoomOmemoWithBody(ctx context.Context, conversationId ConversationID, contentType string, ...) (*http.Response, error)
- func (c *Client) StageMessageAttachmentWithBody(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) StreamEvents(ctx context.Context, params *StreamEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateConversationPreferences(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) UpdateConversationPreferencesWithBody(ctx context.Context, conversationId ConversationID, ...) (*http.Response, error)
- func (c *Client) UpdatePendingMessage(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, ...) (*http.Response, error)
- func (c *Client) UpdatePendingMessageWithBody(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CancelMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *CancelMessageParams, ...) (*CancelMessageResponse, error)
- func (c *ClientWithResponses) CancelMessageWithResponse(ctx context.Context, messageId MessageID, params *CancelMessageParams, ...) (*CancelMessageResponse, error)
- func (c *ClientWithResponses) ChangeProtocolContactWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*ChangeProtocolContactResponse, error)
- func (c *ClientWithResponses) ChangeProtocolContactWithResponse(ctx context.Context, accountId AccountID, ...) (*ChangeProtocolContactResponse, error)
- func (c *ClientWithResponses) ClearDeviceDownloadsWithResponse(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*ClearDeviceDownloadsResponse, error)
- func (c *ClientWithResponses) ConfigureAccountConnectionWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*ConfigureAccountConnectionResponse, error)
- func (c *ClientWithResponses) ConfigureAccountConnectionWithResponse(ctx context.Context, accountId AccountID, ...) (*ConfigureAccountConnectionResponse, error)
- func (c *ClientWithResponses) DisconnectAccountWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*DisconnectAccountResponse, error)
- func (c *ClientWithResponses) DiscoverRoomsWithResponse(ctx context.Context, accountId AccountID, params *DiscoverRoomsParams, ...) (*DiscoverRoomsResponse, error)
- func (c *ClientWithResponses) DownloadOmemoAttachmentWithResponse(ctx context.Context, messageId MessageID, index int, ...) (*DownloadOmemoAttachmentResponse, error)
- func (c *ClientWithResponses) DownloadPreviewImageWithResponse(ctx context.Context, previewId ID, params *DownloadPreviewImageParams, ...) (*DownloadPreviewImageResponse, error)
- func (c *ClientWithResponses) EditMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *EditMessageParams, ...) (*EditMessageResponse, error)
- func (c *ClientWithResponses) EditMessageWithResponse(ctx context.Context, messageId MessageID, params *EditMessageParams, ...) (*EditMessageResponse, error)
- func (c *ClientWithResponses) ForwardMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *ForwardMessageParams, ...) (*ForwardMessageResponse, error)
- func (c *ClientWithResponses) ForwardMessageWithResponse(ctx context.Context, messageId MessageID, params *ForwardMessageParams, ...) (*ForwardMessageResponse, error)
- func (c *ClientWithResponses) GetAccountCapabilitiesWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountCapabilitiesResponse, error)
- func (c *ClientWithResponses) GetAccountCommunicationPreferencesWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountCommunicationPreferencesResponse, error)
- func (c *ClientWithResponses) GetAccountConnectionWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountConnectionResponse, error)
- func (c *ClientWithResponses) GetAccountHistoryWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountHistoryResponse, error)
- func (c *ClientWithResponses) GetAccountUnreadTotalsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountUnreadTotalsResponse, error)
- func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
- func (c *ClientWithResponses) GetAvatarImageWithResponse(ctx context.Context, hash string, params *GetAvatarImageParams, ...) (*GetAvatarImageResponse, error)
- func (c *ClientWithResponses) GetConversationDetailsWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetConversationDetailsResponse, error)
- func (c *ClientWithResponses) GetConversationEditTargetWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetConversationEditTargetResponse, error)
- func (c *ClientWithResponses) GetConversationReadReceiptsWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetConversationReadReceiptsResponse, error)
- func (c *ClientWithResponses) GetConversationReadStateWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetConversationReadStateResponse, error)
- func (c *ClientWithResponses) GetConversationRetentionWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetConversationRetentionResponse, error)
- func (c *ClientWithResponses) GetConversationTypingWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetConversationTypingResponse, error)
- func (c *ClientWithResponses) GetConversationWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetConversationResponse, error)
- func (c *ClientWithResponses) GetDownloadRetentionWithResponse(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*GetDownloadRetentionResponse, error)
- func (c *ClientWithResponses) GetEngineWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEngineResponse, error)
- func (c *ClientWithResponses) GetGlobalReadReceiptsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalReadReceiptsResponse, error)
- func (c *ClientWithResponses) GetGlobalRetentionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalRetentionResponse, error)
- func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
- func (c *ClientWithResponses) GetMediaImageWithResponse(ctx context.Context, hash string, params *GetMediaImageParams, ...) (*GetMediaImageResponse, error)
- func (c *ClientWithResponses) GetMentionCandidatesWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetMentionCandidatesResponse, error)
- func (c *ClientWithResponses) GetMessageContextWithResponse(ctx context.Context, conversationId ConversationID, messageId MessageID, ...) (*GetMessageContextResponse, error)
- func (c *ClientWithResponses) GetMessageEditHistoryWithResponse(ctx context.Context, messageId MessageID, params *GetMessageEditHistoryParams, ...) (*GetMessageEditHistoryResponse, error)
- func (c *ClientWithResponses) GetMessageEditTargetWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageEditTargetResponse, error)
- func (c *ClientWithResponses) GetMessageEditWithResponse(ctx context.Context, editId ID, reqEditors ...RequestEditorFn) (*GetMessageEditResponse, error)
- func (c *ClientWithResponses) GetMessagePreviewWithResponse(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*GetMessagePreviewResponse, error)
- func (c *ClientWithResponses) GetMessageReactionCommandWithResponse(ctx context.Context, commandId ID, reqEditors ...RequestEditorFn) (*GetMessageReactionCommandResponse, error)
- func (c *ClientWithResponses) GetMessageReactionsWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageReactionsResponse, error)
- func (c *ClientWithResponses) GetMessageSenderProfileWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageSenderProfileResponse, error)
- func (c *ClientWithResponses) GetMessageSourceContextWithResponse(ctx context.Context, conversationId ConversationID, messageId MessageID, ...) (*GetMessageSourceContextResponse, error)
- func (c *ClientWithResponses) GetMessageStarWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageStarResponse, error)
- func (c *ClientWithResponses) GetMessageWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)
- func (c *ClientWithResponses) GetOmemoDevicesWithResponse(ctx context.Context, accountId AccountID, params *GetOmemoDevicesParams, ...) (*GetOmemoDevicesResponse, error)
- func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, operationId ID, params *GetOperationParams, ...) (*GetOperationResponse, error)
- func (c *ClientWithResponses) GetRetractedOriginalWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetRetractedOriginalResponse, error)
- func (c *ClientWithResponses) GetRoomArchiveWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetRoomArchiveResponse, error)
- func (c *ClientWithResponses) GetRoomManagementWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetRoomManagementResponse, error)
- func (c *ClientWithResponses) GetRoomOmemoWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetRoomOmemoResponse, error)
- func (c *ClientWithResponses) GetRoomParticipantsWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetRoomParticipantsResponse, error)
- func (c *ClientWithResponses) GetRoomSessionWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetRoomSessionResponse, error)
- func (c *ClientWithResponses) GetSharedContentMediaWithResponse(ctx context.Context, itemId ID, params *GetSharedContentMediaParams, ...) (*GetSharedContentMediaResponse, error)
- func (c *ClientWithResponses) GetStagedMessageAttachmentWithResponse(ctx context.Context, conversationId ConversationID, ...) (*GetStagedMessageAttachmentResponse, error)
- func (c *ClientWithResponses) GetVideoThumbnailWithResponse(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*GetVideoThumbnailResponse, error)
- func (c *ClientWithResponses) JoinRoomWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, ...) (*JoinRoomResponse, error)
- func (c *ClientWithResponses) JoinRoomWithResponse(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, ...) (*JoinRoomResponse, error)
- func (c *ClientWithResponses) LeaveRoomWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, ...) (*LeaveRoomResponse, error)
- func (c *ClientWithResponses) LeaveRoomWithResponse(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, ...) (*LeaveRoomResponse, error)
- func (c *ClientWithResponses) ListAccountAvatarsWithResponse(ctx context.Context, accountId AccountID, params *ListAccountAvatarsParams, ...) (*ListAccountAvatarsResponse, error)
- func (c *ClientWithResponses) ListAccountsWithResponse(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)
- func (c *ClientWithResponses) ListContactRequestsWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*ListContactRequestsResponse, error)
- func (c *ClientWithResponses) ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)
- func (c *ClientWithResponses) ListConversationMessageStarsWithResponse(ctx context.Context, conversationId ConversationID, ...) (*ListConversationMessageStarsResponse, error)
- func (c *ClientWithResponses) ListConversationPreviewsWithResponse(ctx context.Context, conversationId ID, params *ListConversationPreviewsParams, ...) (*ListConversationPreviewsResponse, error)
- func (c *ClientWithResponses) ListConversationReactionsWithResponse(ctx context.Context, conversationId ConversationID, ...) (*ListConversationReactionsResponse, error)
- func (c *ClientWithResponses) ListConversationsWithResponse(ctx context.Context, params *ListConversationsParams, ...) (*ListConversationsResponse, error)
- func (c *ClientWithResponses) ListMessagesWithResponse(ctx context.Context, conversationId ConversationID, params *ListMessagesParams, ...) (*ListMessagesResponse, error)
- func (c *ClientWithResponses) ListScheduledMessagesWithResponse(ctx context.Context, params *ListScheduledMessagesParams, ...) (*ListScheduledMessagesResponse, error)
- func (c *ClientWithResponses) ListSharedContentWithResponse(ctx context.Context, params *ListSharedContentParams, ...) (*ListSharedContentResponse, error)
- func (c *ClientWithResponses) ListStarredMessagesWithResponse(ctx context.Context, params *ListStarredMessagesParams, ...) (*ListStarredMessagesResponse, error)
- func (c *ClientWithResponses) ManageRoomWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, ...) (*ManageRoomResponse, error)
- func (c *ClientWithResponses) ManageRoomWithResponse(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, ...) (*ManageRoomResponse, error)
- func (c *ClientWithResponses) MarkConversationMessagesReadWithBodyWithResponse(ctx context.Context, conversationId ConversationID, ...) (*MarkConversationMessagesReadResponse, error)
- func (c *ClientWithResponses) MarkConversationMessagesReadWithResponse(ctx context.Context, conversationId ConversationID, ...) (*MarkConversationMessagesReadResponse, error)
- func (c *ClientWithResponses) OpenConversationWithBodyWithResponse(ctx context.Context, params *OpenConversationParams, contentType string, ...) (*OpenConversationResponse, error)
- func (c *ClientWithResponses) OpenConversationWithResponse(ctx context.Context, params *OpenConversationParams, ...) (*OpenConversationResponse, error)
- func (c *ClientWithResponses) OpenRoomWithBodyWithResponse(ctx context.Context, accountId AccountID, params *OpenRoomParams, ...) (*OpenRoomResponse, error)
- func (c *ClientWithResponses) OpenRoomWithResponse(ctx context.Context, accountId AccountID, params *OpenRoomParams, ...) (*OpenRoomResponse, error)
- func (c *ClientWithResponses) PreviewRoomWithResponse(ctx context.Context, accountId AccountID, params *PreviewRoomParams, ...) (*PreviewRoomResponse, error)
- func (c *ClientWithResponses) RefreshMessagePreviewWithResponse(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*RefreshMessagePreviewResponse, error)
- func (c *ClientWithResponses) RegisterAccountWithBodyWithResponse(ctx context.Context, params *RegisterAccountParams, contentType string, ...) (*RegisterAccountResponse, error)
- func (c *ClientWithResponses) RegisterAccountWithResponse(ctx context.Context, params *RegisterAccountParams, ...) (*RegisterAccountResponse, error)
- func (c *ClientWithResponses) RemoveAccountWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*RemoveAccountResponse, error)
- func (c *ClientWithResponses) RemoveDirectFromChatsWithBodyWithResponse(ctx context.Context, conversationId ConversationID, ...) (*RemoveDirectFromChatsResponse, error)
- func (c *ClientWithResponses) RemoveDirectFromChatsWithResponse(ctx context.Context, conversationId ConversationID, ...) (*RemoveDirectFromChatsResponse, error)
- func (c *ClientWithResponses) RemoveRoomFromChatsWithBodyWithResponse(ctx context.Context, conversationId ConversationID, ...) (*RemoveRoomFromChatsResponse, error)
- func (c *ClientWithResponses) RemoveRoomFromChatsWithResponse(ctx context.Context, conversationId ConversationID, ...) (*RemoveRoomFromChatsResponse, error)
- func (c *ClientWithResponses) RequestRoomArchiveWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, ...) (*RequestRoomArchiveResponse, error)
- func (c *ClientWithResponses) RequestRoomArchiveWithResponse(ctx context.Context, conversationId ConversationID, ...) (*RequestRoomArchiveResponse, error)
- func (c *ClientWithResponses) RequestVideoThumbnailWithResponse(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*RequestVideoThumbnailResponse, error)
- func (c *ClientWithResponses) ResetEngineDataWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ResetEngineDataResponse, error)
- func (c *ClientWithResponses) ResetEngineDataWithResponse(ctx context.Context, body ResetEngineDataJSONRequestBody, ...) (*ResetEngineDataResponse, error)
- func (c *ClientWithResponses) ResolveDraftLinkPreviewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ResolveDraftLinkPreviewResponse, error)
- func (c *ClientWithResponses) ResolveDraftLinkPreviewWithResponse(ctx context.Context, body ResolveDraftLinkPreviewJSONRequestBody, ...) (*ResolveDraftLinkPreviewResponse, error)
- func (c *ClientWithResponses) RetractMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, contentType string, body io.Reader, ...) (*RetractMessageResponse, error)
- func (c *ClientWithResponses) RetractMessageWithResponse(ctx context.Context, messageId MessageID, body RetractMessageJSONRequestBody, ...) (*RetractMessageResponse, error)
- func (c *ClientWithResponses) SearchMessagesWithResponse(ctx context.Context, params *SearchMessagesParams, ...) (*SearchMessagesResponse, error)
- func (c *ClientWithResponses) SendMessageWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *SendMessageParams, ...) (*SendMessageResponse, error)
- func (c *ClientWithResponses) SendMessageWithResponse(ctx context.Context, conversationId ConversationID, params *SendMessageParams, ...) (*SendMessageResponse, error)
- func (c *ClientWithResponses) SendScheduledMessageNowWithBodyWithResponse(ctx context.Context, messageId MessageID, ...) (*SendScheduledMessageNowResponse, error)
- func (c *ClientWithResponses) SendScheduledMessageNowWithResponse(ctx context.Context, messageId MessageID, ...) (*SendScheduledMessageNowResponse, error)
- func (c *ClientWithResponses) SetAccountAvatarWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*SetAccountAvatarResponse, error)
- func (c *ClientWithResponses) SetAccountAvatarWithResponse(ctx context.Context, accountId AccountID, body SetAccountAvatarJSONRequestBody, ...) (*SetAccountAvatarResponse, error)
- func (c *ClientWithResponses) SetAccountCommunicationPreferencesWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*SetAccountCommunicationPreferencesResponse, error)
- func (c *ClientWithResponses) SetAccountCommunicationPreferencesWithResponse(ctx context.Context, accountId AccountID, ...) (*SetAccountCommunicationPreferencesResponse, error)
- func (c *ClientWithResponses) SetAccountLabelWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, ...) (*SetAccountLabelResponse, error)
- func (c *ClientWithResponses) SetAccountLabelWithResponse(ctx context.Context, accountId AccountID, body SetAccountLabelJSONRequestBody, ...) (*SetAccountLabelResponse, error)
- func (c *ClientWithResponses) SetConversationReadReceiptsWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, ...) (*SetConversationReadReceiptsResponse, error)
- func (c *ClientWithResponses) SetConversationReadReceiptsWithResponse(ctx context.Context, conversationId ConversationID, ...) (*SetConversationReadReceiptsResponse, error)
- func (c *ClientWithResponses) SetConversationRetentionWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, ...) (*SetConversationRetentionResponse, error)
- func (c *ClientWithResponses) SetConversationRetentionWithResponse(ctx context.Context, conversationId ConversationID, ...) (*SetConversationRetentionResponse, error)
- func (c *ClientWithResponses) SetConversationTypingWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, ...) (*SetConversationTypingResponse, error)
- func (c *ClientWithResponses) SetConversationTypingWithResponse(ctx context.Context, conversationId ConversationID, ...) (*SetConversationTypingResponse, error)
- func (c *ClientWithResponses) SetDownloadRetentionWithBodyWithResponse(ctx context.Context, deviceId ID, contentType string, body io.Reader, ...) (*SetDownloadRetentionResponse, error)
- func (c *ClientWithResponses) SetDownloadRetentionWithResponse(ctx context.Context, deviceId ID, body SetDownloadRetentionJSONRequestBody, ...) (*SetDownloadRetentionResponse, error)
- func (c *ClientWithResponses) SetGlobalReadReceiptsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SetGlobalReadReceiptsResponse, error)
- func (c *ClientWithResponses) SetGlobalReadReceiptsWithResponse(ctx context.Context, body SetGlobalReadReceiptsJSONRequestBody, ...) (*SetGlobalReadReceiptsResponse, error)
- func (c *ClientWithResponses) SetGlobalRetentionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SetGlobalRetentionResponse, error)
- func (c *ClientWithResponses) SetGlobalRetentionWithResponse(ctx context.Context, body SetGlobalRetentionJSONRequestBody, ...) (*SetGlobalRetentionResponse, error)
- func (c *ClientWithResponses) SetMessageReactionsWithBodyWithResponse(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, ...) (*SetMessageReactionsResponse, error)
- func (c *ClientWithResponses) SetMessageReactionsWithResponse(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, ...) (*SetMessageReactionsResponse, error)
- func (c *ClientWithResponses) SetMessageStarWithBodyWithResponse(ctx context.Context, messageId MessageID, params *SetMessageStarParams, ...) (*SetMessageStarResponse, error)
- func (c *ClientWithResponses) SetMessageStarWithResponse(ctx context.Context, messageId MessageID, params *SetMessageStarParams, ...) (*SetMessageStarResponse, error)
- func (c *ClientWithResponses) SetOmemoDecisionWithBodyWithResponse(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, ...) (*SetOmemoDecisionResponse, error)
- func (c *ClientWithResponses) SetOmemoDecisionWithResponse(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, ...) (*SetOmemoDecisionResponse, error)
- func (c *ClientWithResponses) SetRoomArchiveModeWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, ...) (*SetRoomArchiveModeResponse, error)
- func (c *ClientWithResponses) SetRoomArchiveModeWithResponse(ctx context.Context, conversationId ConversationID, ...) (*SetRoomArchiveModeResponse, error)
- func (c *ClientWithResponses) SetRoomOmemoWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, ...) (*SetRoomOmemoResponse, error)
- func (c *ClientWithResponses) SetRoomOmemoWithResponse(ctx context.Context, conversationId ConversationID, ...) (*SetRoomOmemoResponse, error)
- func (c *ClientWithResponses) StageMessageAttachmentWithBodyWithResponse(ctx context.Context, conversationId ConversationID, ...) (*StageMessageAttachmentResponse, error)
- func (c *ClientWithResponses) StreamEventsWithResponse(ctx context.Context, params *StreamEventsParams, reqEditors ...RequestEditorFn) (*StreamEventsResponse, error)
- func (c *ClientWithResponses) UpdateConversationPreferencesWithBodyWithResponse(ctx context.Context, conversationId ConversationID, ...) (*UpdateConversationPreferencesResponse, error)
- func (c *ClientWithResponses) UpdateConversationPreferencesWithResponse(ctx context.Context, conversationId ConversationID, ...) (*UpdateConversationPreferencesResponse, error)
- func (c *ClientWithResponses) UpdatePendingMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, ...) (*UpdatePendingMessageResponse, error)
- func (c *ClientWithResponses) UpdatePendingMessageWithResponse(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, ...) (*UpdatePendingMessageResponse, error)
- type ClientWithResponsesInterface
- type ConfigureAccountConnection202JSONResponse
- type ConfigureAccountConnection202ResponseHeaders
- type ConfigureAccountConnection400ApplicationProblemPlusJSONResponse
- type ConfigureAccountConnection401ApplicationProblemPlusJSONResponse
- type ConfigureAccountConnection404ApplicationProblemPlusJSONResponse
- type ConfigureAccountConnection413ApplicationProblemPlusJSONResponse
- type ConfigureAccountConnection415ApplicationProblemPlusJSONResponse
- type ConfigureAccountConnection503ApplicationProblemPlusJSONResponse
- type ConfigureAccountConnectionJSONRequestBody
- type ConfigureAccountConnectionRequestObject
- type ConfigureAccountConnectionResponse
- func (r ConfigureAccountConnectionResponse) ContentType() string
- func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON400() *Invalid
- func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON404() *NotFound
- func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON413() *Problem
- func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON415() *Problem
- func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ConfigureAccountConnectionResponse) GetBody() []byte
- func (r ConfigureAccountConnectionResponse) GetJSON202() *Connection
- func (r ConfigureAccountConnectionResponse) Status() string
- func (r ConfigureAccountConnectionResponse) StatusCode() int
- type ConfigureAccountConnectionResponse202Headers
- type ConfigureAccountConnectionResponse401Headers
- type ConfigureAccountConnectionResponseObject
- type ConfigureConnection
- type Conflict
- type ConflictApplicationProblemPlusJSONResponse
- type Connection
- type ConnectionLastErrorCode
- type ConnectionState
- type Contact
- type ContactAction
- type ContactActionAction
- type ContactPage
- type ContactRequests
- type ContactSource
- type ContactSourceState
- type ContactSubscription
- type Conversation
- type ConversationDetails
- type ConversationDetailsFeatures
- type ConversationDetailsKind
- type ConversationDetailsRoomSession
- type ConversationID
- type ConversationKind
- type ConversationPage
- type ConversationParticipant
- type ConversationParticipantSource
- type ConversationParticipants
- type ConversationParticipantsScope
- type ConversationReadReceipts
- type ConversationReadState
- type ConversationRequest
- type ConversationRetention
- type DetailState
- type DisconnectAccount200JSONResponse
- type DisconnectAccount400ApplicationProblemPlusJSONResponse
- type DisconnectAccount401ApplicationProblemPlusJSONResponse
- type DisconnectAccount404ApplicationProblemPlusJSONResponse
- type DisconnectAccount503ApplicationProblemPlusJSONResponse
- type DisconnectAccountRequestObject
- type DisconnectAccountResponse
- func (r DisconnectAccountResponse) ContentType() string
- func (r DisconnectAccountResponse) GetApplicationproblemJSON400() *Invalid
- func (r DisconnectAccountResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r DisconnectAccountResponse) GetApplicationproblemJSON404() *NotFound
- func (r DisconnectAccountResponse) GetApplicationproblemJSON503() *Unavailable
- func (r DisconnectAccountResponse) GetBody() []byte
- func (r DisconnectAccountResponse) GetJSON200() *Connection
- func (r DisconnectAccountResponse) Status() string
- func (r DisconnectAccountResponse) StatusCode() int
- type DisconnectAccountResponse401Headers
- type DisconnectAccountResponseObject
- type DiscoverRooms200JSONResponse
- type DiscoverRooms400ApplicationProblemPlusJSONResponse
- type DiscoverRooms401ApplicationProblemPlusJSONResponse
- type DiscoverRooms404ApplicationProblemPlusJSONResponse
- type DiscoverRooms503ApplicationProblemPlusJSONResponse
- type DiscoverRoomsParams
- type DiscoverRoomsRequestObject
- type DiscoverRoomsResponse
- func (r DiscoverRoomsResponse) ContentType() string
- func (r DiscoverRoomsResponse) GetApplicationproblemJSON400() *Invalid
- func (r DiscoverRoomsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r DiscoverRoomsResponse) GetApplicationproblemJSON404() *NotFound
- func (r DiscoverRoomsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r DiscoverRoomsResponse) GetBody() []byte
- func (r DiscoverRoomsResponse) GetJSON200() *RoomDirectory
- func (r DiscoverRoomsResponse) Status() string
- func (r DiscoverRoomsResponse) StatusCode() int
- type DiscoverRoomsResponse401Headers
- type DiscoverRoomsResponseObject
- type DiscoveredService
- type DiscoveredServiceErrorCode
- type DiscoveredServiceScope
- type DiscoveredServiceState
- type DownloadOmemoAttachment200ApplicationoctetStreamResponse
- type DownloadOmemoAttachment200ResponseHeaders
- type DownloadOmemoAttachment401ApplicationProblemPlusJSONResponse
- type DownloadOmemoAttachment404ApplicationProblemPlusJSONResponse
- type DownloadOmemoAttachment422ApplicationProblemPlusJSONResponse
- type DownloadOmemoAttachment502ApplicationProblemPlusJSONResponse
- type DownloadOmemoAttachment503ApplicationProblemPlusJSONResponse
- type DownloadOmemoAttachmentRequestObject
- type DownloadOmemoAttachmentResponse
- func (r DownloadOmemoAttachmentResponse) ContentType() string
- func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON404() *NotFound
- func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON422() *Problem
- func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON502() *Problem
- func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON503() *Unavailable
- func (r DownloadOmemoAttachmentResponse) GetBody() []byte
- func (r DownloadOmemoAttachmentResponse) Status() string
- func (r DownloadOmemoAttachmentResponse) StatusCode() int
- type DownloadOmemoAttachmentResponse200Headers
- type DownloadOmemoAttachmentResponse401Headers
- type DownloadOmemoAttachmentResponseObject
- type DownloadPreviewImage200JSONResponse
- type DownloadPreviewImage202JSONResponse
- type DownloadPreviewImage400ApplicationProblemPlusJSONResponse
- type DownloadPreviewImage401ApplicationProblemPlusJSONResponse
- type DownloadPreviewImage404ApplicationProblemPlusJSONResponse
- type DownloadPreviewImage503ApplicationProblemPlusJSONResponse
- type DownloadPreviewImageParams
- type DownloadPreviewImageRequestObject
- type DownloadPreviewImageResponse
- func (r DownloadPreviewImageResponse) ContentType() string
- func (r DownloadPreviewImageResponse) GetApplicationproblemJSON400() *Invalid
- func (r DownloadPreviewImageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r DownloadPreviewImageResponse) GetApplicationproblemJSON404() *NotFound
- func (r DownloadPreviewImageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r DownloadPreviewImageResponse) GetBody() []byte
- func (r DownloadPreviewImageResponse) GetJSON200() *MessagePreview
- func (r DownloadPreviewImageResponse) GetJSON202() *MessagePreview
- func (r DownloadPreviewImageResponse) Status() string
- func (r DownloadPreviewImageResponse) StatusCode() int
- type DownloadPreviewImageResponse401Headers
- type DownloadPreviewImageResponseObject
- type DownloadRetention
- type DraftLinkPreview
- type DraftLinkPreviewImage
- type DraftLinkPreviewImageMediaType
- type DraftLinkPreviewRequest
- type EditMessage
- type EditMessage200JSONResponse
- type EditMessage202JSONResponse
- type EditMessage202ResponseHeaders
- type EditMessage400ApplicationProblemPlusJSONResponse
- type EditMessage401ApplicationProblemPlusJSONResponse
- type EditMessage404ApplicationProblemPlusJSONResponse
- type EditMessage409ApplicationProblemPlusJSONResponse
- type EditMessage413ApplicationProblemPlusJSONResponse
- type EditMessage415ApplicationProblemPlusJSONResponse
- type EditMessage503ApplicationProblemPlusJSONResponse
- type EditMessageJSONRequestBody
- type EditMessageParams
- type EditMessageRequestObject
- type EditMessageResponse
- func (r EditMessageResponse) ContentType() string
- func (r EditMessageResponse) GetApplicationproblemJSON400() *Invalid
- func (r EditMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r EditMessageResponse) GetApplicationproblemJSON404() *NotFound
- func (r EditMessageResponse) GetApplicationproblemJSON409() *Conflict
- func (r EditMessageResponse) GetApplicationproblemJSON413() *Problem
- func (r EditMessageResponse) GetApplicationproblemJSON415() *Problem
- func (r EditMessageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r EditMessageResponse) GetBody() []byte
- func (r EditMessageResponse) GetJSON200() *MessageEditCommand
- func (r EditMessageResponse) GetJSON202() *MessageEditCommand
- func (r EditMessageResponse) Status() string
- func (r EditMessageResponse) StatusCode() int
- type EditMessageResponse202Headers
- type EditMessageResponse401Headers
- type EditMessageResponseObject
- type Engine
- type EngineApiVersion
- type EngineRole
- type Event
- type EventType
- type ForwardMessage
- type ForwardMessage200JSONResponse
- type ForwardMessage202JSONResponse
- type ForwardMessage400ApplicationProblemPlusJSONResponse
- type ForwardMessage401ApplicationProblemPlusJSONResponse
- type ForwardMessage404ApplicationProblemPlusJSONResponse
- type ForwardMessage409ApplicationProblemPlusJSONResponse
- type ForwardMessage413ApplicationProblemPlusJSONResponse
- type ForwardMessage503ApplicationProblemPlusJSONResponse
- type ForwardMessageJSONRequestBody
- type ForwardMessageParams
- type ForwardMessageRequestObject
- type ForwardMessageResponse
- func (r ForwardMessageResponse) ContentType() string
- func (r ForwardMessageResponse) GetApplicationproblemJSON400() *Invalid
- func (r ForwardMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ForwardMessageResponse) GetApplicationproblemJSON404() *NotFound
- func (r ForwardMessageResponse) GetApplicationproblemJSON409() *Conflict
- func (r ForwardMessageResponse) GetApplicationproblemJSON413() *Problem
- func (r ForwardMessageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ForwardMessageResponse) GetBody() []byte
- func (r ForwardMessageResponse) GetJSON200() *Message
- func (r ForwardMessageResponse) GetJSON202() *Message
- func (r ForwardMessageResponse) Status() string
- func (r ForwardMessageResponse) StatusCode() int
- type ForwardMessageResponse401Headers
- type ForwardMessageResponseObject
- type GetAccount200JSONResponse
- type GetAccount400ApplicationProblemPlusJSONResponse
- type GetAccount401ApplicationProblemPlusJSONResponse
- type GetAccount404ApplicationProblemPlusJSONResponse
- type GetAccount503ApplicationProblemPlusJSONResponse
- type GetAccountCapabilities200JSONResponse
- type GetAccountCapabilities400ApplicationProblemPlusJSONResponse
- type GetAccountCapabilities401ApplicationProblemPlusJSONResponse
- type GetAccountCapabilities404ApplicationProblemPlusJSONResponse
- type GetAccountCapabilities503ApplicationProblemPlusJSONResponse
- type GetAccountCapabilitiesRequestObject
- type GetAccountCapabilitiesResponse
- func (r GetAccountCapabilitiesResponse) ContentType() string
- func (r GetAccountCapabilitiesResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetAccountCapabilitiesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetAccountCapabilitiesResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetAccountCapabilitiesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetAccountCapabilitiesResponse) GetBody() []byte
- func (r GetAccountCapabilitiesResponse) GetJSON200() *Capabilities
- func (r GetAccountCapabilitiesResponse) Status() string
- func (r GetAccountCapabilitiesResponse) StatusCode() int
- type GetAccountCapabilitiesResponse401Headers
- type GetAccountCapabilitiesResponseObject
- type GetAccountCommunicationPreferences200JSONResponse
- type GetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse
- type GetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse
- type GetAccountCommunicationPreferencesRequestObject
- type GetAccountCommunicationPreferencesResponse
- func (r GetAccountCommunicationPreferencesResponse) ContentType() string
- func (r GetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetAccountCommunicationPreferencesResponse) GetBody() []byte
- func (r GetAccountCommunicationPreferencesResponse) GetJSON200() *AccountCommunicationPreferences
- func (r GetAccountCommunicationPreferencesResponse) Status() string
- func (r GetAccountCommunicationPreferencesResponse) StatusCode() int
- type GetAccountCommunicationPreferencesResponseObject
- type GetAccountConnection200JSONResponse
- type GetAccountConnection400ApplicationProblemPlusJSONResponse
- type GetAccountConnection401ApplicationProblemPlusJSONResponse
- type GetAccountConnection404ApplicationProblemPlusJSONResponse
- type GetAccountConnection503ApplicationProblemPlusJSONResponse
- type GetAccountConnectionRequestObject
- type GetAccountConnectionResponse
- func (r GetAccountConnectionResponse) ContentType() string
- func (r GetAccountConnectionResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetAccountConnectionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetAccountConnectionResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetAccountConnectionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetAccountConnectionResponse) GetBody() []byte
- func (r GetAccountConnectionResponse) GetJSON200() *Connection
- func (r GetAccountConnectionResponse) Status() string
- func (r GetAccountConnectionResponse) StatusCode() int
- type GetAccountConnectionResponse401Headers
- type GetAccountConnectionResponseObject
- type GetAccountHistory200JSONResponse
- type GetAccountHistory400ApplicationProblemPlusJSONResponse
- type GetAccountHistory401ApplicationProblemPlusJSONResponse
- type GetAccountHistory404ApplicationProblemPlusJSONResponse
- type GetAccountHistory503ApplicationProblemPlusJSONResponse
- type GetAccountHistoryRequestObject
- type GetAccountHistoryResponse
- func (r GetAccountHistoryResponse) ContentType() string
- func (r GetAccountHistoryResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetAccountHistoryResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetAccountHistoryResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetAccountHistoryResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetAccountHistoryResponse) GetBody() []byte
- func (r GetAccountHistoryResponse) GetJSON200() *HistoryStatus
- func (r GetAccountHistoryResponse) Status() string
- func (r GetAccountHistoryResponse) StatusCode() int
- type GetAccountHistoryResponse401Headers
- type GetAccountHistoryResponseObject
- type GetAccountRequestObject
- type GetAccountResponse
- func (r GetAccountResponse) ContentType() string
- func (r GetAccountResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetAccountResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetAccountResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetAccountResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetAccountResponse) GetBody() []byte
- func (r GetAccountResponse) GetJSON200() *Account
- func (r GetAccountResponse) Status() string
- func (r GetAccountResponse) StatusCode() int
- type GetAccountResponse401Headers
- type GetAccountResponseObject
- type GetAccountUnreadTotals200JSONResponse
- type GetAccountUnreadTotals401ApplicationProblemPlusJSONResponse
- type GetAccountUnreadTotals503ApplicationProblemPlusJSONResponse
- type GetAccountUnreadTotalsRequestObject
- type GetAccountUnreadTotalsResponse
- func (r GetAccountUnreadTotalsResponse) ContentType() string
- func (r GetAccountUnreadTotalsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetAccountUnreadTotalsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetAccountUnreadTotalsResponse) GetBody() []byte
- func (r GetAccountUnreadTotalsResponse) GetJSON200() *AccountUnreadTotals
- func (r GetAccountUnreadTotalsResponse) Status() string
- func (r GetAccountUnreadTotalsResponse) StatusCode() int
- type GetAccountUnreadTotalsResponse401Headers
- type GetAccountUnreadTotalsResponseObject
- type GetAvatarImage200ImagepngResponse
- type GetAvatarImage200ResponseHeaders
- type GetAvatarImage304Response
- type GetAvatarImage400ApplicationProblemPlusJSONResponse
- type GetAvatarImage401ApplicationProblemPlusJSONResponse
- type GetAvatarImage404ApplicationProblemPlusJSONResponse
- type GetAvatarImage503ApplicationProblemPlusJSONResponse
- type GetAvatarImageParams
- type GetAvatarImageRequestObject
- type GetAvatarImageResponse
- func (r GetAvatarImageResponse) ContentType() string
- func (r GetAvatarImageResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetAvatarImageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetAvatarImageResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetAvatarImageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetAvatarImageResponse) GetBody() []byte
- func (r GetAvatarImageResponse) Status() string
- func (r GetAvatarImageResponse) StatusCode() int
- type GetAvatarImageResponse200Headers
- type GetAvatarImageResponse401Headers
- type GetAvatarImageResponseObject
- type GetConversation200JSONResponse
- type GetConversation400ApplicationProblemPlusJSONResponse
- type GetConversation401ApplicationProblemPlusJSONResponse
- type GetConversation404ApplicationProblemPlusJSONResponse
- type GetConversation503ApplicationProblemPlusJSONResponse
- type GetConversationDetails200JSONResponse
- type GetConversationDetails400ApplicationProblemPlusJSONResponse
- type GetConversationDetails401ApplicationProblemPlusJSONResponse
- type GetConversationDetails404ApplicationProblemPlusJSONResponse
- type GetConversationDetails503ApplicationProblemPlusJSONResponse
- type GetConversationDetailsRequestObject
- type GetConversationDetailsResponse
- func (r GetConversationDetailsResponse) ContentType() string
- func (r GetConversationDetailsResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetConversationDetailsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetConversationDetailsResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetConversationDetailsResponse) GetApplicationproblemJSON503() *Problem
- func (r GetConversationDetailsResponse) GetBody() []byte
- func (r GetConversationDetailsResponse) GetJSON200() *ConversationDetails
- func (r GetConversationDetailsResponse) Status() string
- func (r GetConversationDetailsResponse) StatusCode() int
- type GetConversationDetailsResponse401Headers
- type GetConversationDetailsResponseObject
- type GetConversationEditTarget200JSONResponse
- type GetConversationEditTarget400ApplicationProblemPlusJSONResponse
- type GetConversationEditTarget401ApplicationProblemPlusJSONResponse
- type GetConversationEditTarget404ApplicationProblemPlusJSONResponse
- type GetConversationEditTarget503ApplicationProblemPlusJSONResponse
- type GetConversationEditTargetRequestObject
- type GetConversationEditTargetResponse
- func (r GetConversationEditTargetResponse) ContentType() string
- func (r GetConversationEditTargetResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetConversationEditTargetResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetConversationEditTargetResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetConversationEditTargetResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetConversationEditTargetResponse) GetBody() []byte
- func (r GetConversationEditTargetResponse) GetJSON200() *MessageEditTarget
- func (r GetConversationEditTargetResponse) Status() string
- func (r GetConversationEditTargetResponse) StatusCode() int
- type GetConversationEditTargetResponse401Headers
- type GetConversationEditTargetResponseObject
- type GetConversationReadReceipts200JSONResponse
- type GetConversationReadReceipts400ApplicationProblemPlusJSONResponse
- type GetConversationReadReceipts401ApplicationProblemPlusJSONResponse
- type GetConversationReadReceipts404ApplicationProblemPlusJSONResponse
- type GetConversationReadReceipts503ApplicationProblemPlusJSONResponse
- type GetConversationReadReceiptsRequestObject
- type GetConversationReadReceiptsResponse
- func (r GetConversationReadReceiptsResponse) ContentType() string
- func (r GetConversationReadReceiptsResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetConversationReadReceiptsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetConversationReadReceiptsResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetConversationReadReceiptsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetConversationReadReceiptsResponse) GetBody() []byte
- func (r GetConversationReadReceiptsResponse) GetJSON200() *ConversationReadReceipts
- func (r GetConversationReadReceiptsResponse) Status() string
- func (r GetConversationReadReceiptsResponse) StatusCode() int
- type GetConversationReadReceiptsResponse401Headers
- type GetConversationReadReceiptsResponseObject
- type GetConversationReadState200JSONResponse
- type GetConversationReadState400ApplicationProblemPlusJSONResponse
- type GetConversationReadState401ApplicationProblemPlusJSONResponse
- type GetConversationReadState404ApplicationProblemPlusJSONResponse
- type GetConversationReadState503ApplicationProblemPlusJSONResponse
- type GetConversationReadStateRequestObject
- type GetConversationReadStateResponse
- func (r GetConversationReadStateResponse) ContentType() string
- func (r GetConversationReadStateResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetConversationReadStateResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetConversationReadStateResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetConversationReadStateResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetConversationReadStateResponse) GetBody() []byte
- func (r GetConversationReadStateResponse) GetJSON200() *ConversationReadState
- func (r GetConversationReadStateResponse) Status() string
- func (r GetConversationReadStateResponse) StatusCode() int
- type GetConversationReadStateResponse401Headers
- type GetConversationReadStateResponseObject
- type GetConversationRequestObject
- type GetConversationResponse
- func (r GetConversationResponse) ContentType() string
- func (r GetConversationResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetConversationResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetConversationResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetConversationResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetConversationResponse) GetBody() []byte
- func (r GetConversationResponse) GetJSON200() *Conversation
- func (r GetConversationResponse) Status() string
- func (r GetConversationResponse) StatusCode() int
- type GetConversationResponse401Headers
- type GetConversationResponseObject
- type GetConversationRetention200JSONResponse
- type GetConversationRetention400ApplicationProblemPlusJSONResponse
- type GetConversationRetention401ApplicationProblemPlusJSONResponse
- type GetConversationRetention404ApplicationProblemPlusJSONResponse
- type GetConversationRetention503ApplicationProblemPlusJSONResponse
- type GetConversationRetentionRequestObject
- type GetConversationRetentionResponse
- func (r GetConversationRetentionResponse) ContentType() string
- func (r GetConversationRetentionResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetConversationRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetConversationRetentionResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetConversationRetentionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetConversationRetentionResponse) GetBody() []byte
- func (r GetConversationRetentionResponse) GetJSON200() *ConversationRetention
- func (r GetConversationRetentionResponse) Status() string
- func (r GetConversationRetentionResponse) StatusCode() int
- type GetConversationRetentionResponse401Headers
- type GetConversationRetentionResponseObject
- type GetConversationTyping200JSONResponse
- type GetConversationTyping404ApplicationProblemPlusJSONResponse
- type GetConversationTyping409ApplicationProblemPlusJSONResponse
- type GetConversationTyping503ApplicationProblemPlusJSONResponse
- type GetConversationTypingRequestObject
- type GetConversationTypingResponse
- func (r GetConversationTypingResponse) ContentType() string
- func (r GetConversationTypingResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetConversationTypingResponse) GetApplicationproblemJSON409() *Conflict
- func (r GetConversationTypingResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetConversationTypingResponse) GetBody() []byte
- func (r GetConversationTypingResponse) GetJSON200() *TypingState
- func (r GetConversationTypingResponse) Status() string
- func (r GetConversationTypingResponse) StatusCode() int
- type GetConversationTypingResponseObject
- type GetDownloadRetention200JSONResponse
- type GetDownloadRetention400ApplicationProblemPlusJSONResponse
- type GetDownloadRetention401ApplicationProblemPlusJSONResponse
- type GetDownloadRetention503ApplicationProblemPlusJSONResponse
- type GetDownloadRetentionRequestObject
- type GetDownloadRetentionResponse
- func (r GetDownloadRetentionResponse) ContentType() string
- func (r GetDownloadRetentionResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetDownloadRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetDownloadRetentionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetDownloadRetentionResponse) GetBody() []byte
- func (r GetDownloadRetentionResponse) GetJSON200() *DownloadRetention
- func (r GetDownloadRetentionResponse) Status() string
- func (r GetDownloadRetentionResponse) StatusCode() int
- type GetDownloadRetentionResponse401Headers
- type GetDownloadRetentionResponseObject
- type GetEngine200JSONResponse
- type GetEngine401ApplicationProblemPlusJSONResponse
- type GetEngine503ApplicationProblemPlusJSONResponse
- type GetEngineRequestObject
- type GetEngineResponse
- func (r GetEngineResponse) ContentType() string
- func (r GetEngineResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetEngineResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetEngineResponse) GetBody() []byte
- func (r GetEngineResponse) GetJSON200() *Engine
- func (r GetEngineResponse) Status() string
- func (r GetEngineResponse) StatusCode() int
- type GetEngineResponse401Headers
- type GetEngineResponseObject
- type GetGlobalReadReceipts200JSONResponse
- type GetGlobalReadReceipts400ApplicationProblemPlusJSONResponse
- type GetGlobalReadReceipts401ApplicationProblemPlusJSONResponse
- type GetGlobalReadReceipts404ApplicationProblemPlusJSONResponse
- type GetGlobalReadReceipts503ApplicationProblemPlusJSONResponse
- type GetGlobalReadReceiptsRequestObject
- type GetGlobalReadReceiptsResponse
- func (r GetGlobalReadReceiptsResponse) ContentType() string
- func (r GetGlobalReadReceiptsResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetGlobalReadReceiptsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetGlobalReadReceiptsResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetGlobalReadReceiptsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetGlobalReadReceiptsResponse) GetBody() []byte
- func (r GetGlobalReadReceiptsResponse) GetJSON200() *GlobalReadReceipts
- func (r GetGlobalReadReceiptsResponse) Status() string
- func (r GetGlobalReadReceiptsResponse) StatusCode() int
- type GetGlobalReadReceiptsResponse401Headers
- type GetGlobalReadReceiptsResponseObject
- type GetGlobalRetention200JSONResponse
- type GetGlobalRetention400ApplicationProblemPlusJSONResponse
- type GetGlobalRetention401ApplicationProblemPlusJSONResponse
- type GetGlobalRetention404ApplicationProblemPlusJSONResponse
- type GetGlobalRetention503ApplicationProblemPlusJSONResponse
- type GetGlobalRetentionRequestObject
- type GetGlobalRetentionResponse
- func (r GetGlobalRetentionResponse) ContentType() string
- func (r GetGlobalRetentionResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetGlobalRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetGlobalRetentionResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetGlobalRetentionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetGlobalRetentionResponse) GetBody() []byte
- func (r GetGlobalRetentionResponse) GetJSON200() *GlobalRetention
- func (r GetGlobalRetentionResponse) Status() string
- func (r GetGlobalRetentionResponse) StatusCode() int
- type GetGlobalRetentionResponse401Headers
- type GetGlobalRetentionResponseObject
- type GetHealth200JSONResponse
- type GetHealth401ApplicationProblemPlusJSONResponse
- type GetHealth503ApplicationProblemPlusJSONResponse
- type GetHealthRequestObject
- type GetHealthResponse
- func (r GetHealthResponse) ContentType() string
- func (r GetHealthResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetHealthResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetHealthResponse) GetBody() []byte
- func (r GetHealthResponse) GetJSON200() *Health
- func (r GetHealthResponse) Status() string
- func (r GetHealthResponse) StatusCode() int
- type GetHealthResponse401Headers
- type GetHealthResponseObject
- type GetMediaImage200ImagegifResponse
- type GetMediaImage200ImagejpegResponse
- type GetMediaImage200ImagepngResponse
- type GetMediaImage200ResponseHeaders
- type GetMediaImage304Response
- type GetMediaImage400ApplicationProblemPlusJSONResponse
- type GetMediaImage401ApplicationProblemPlusJSONResponse
- type GetMediaImage404ApplicationProblemPlusJSONResponse
- type GetMediaImage503ApplicationProblemPlusJSONResponse
- type GetMediaImageParams
- type GetMediaImageRequestObject
- type GetMediaImageResponse
- func (r GetMediaImageResponse) ContentType() string
- func (r GetMediaImageResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMediaImageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMediaImageResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMediaImageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMediaImageResponse) GetBody() []byte
- func (r GetMediaImageResponse) Status() string
- func (r GetMediaImageResponse) StatusCode() int
- type GetMediaImageResponse200Headers
- type GetMediaImageResponse401Headers
- type GetMediaImageResponseObject
- type GetMentionCandidates200JSONResponse
- type GetMentionCandidates400ApplicationProblemPlusJSONResponse
- type GetMentionCandidates401ApplicationProblemPlusJSONResponse
- type GetMentionCandidates404ApplicationProblemPlusJSONResponse
- type GetMentionCandidates503ApplicationProblemPlusJSONResponse
- type GetMentionCandidatesRequestObject
- type GetMentionCandidatesResponse
- func (r GetMentionCandidatesResponse) ContentType() string
- func (r GetMentionCandidatesResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMentionCandidatesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMentionCandidatesResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMentionCandidatesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMentionCandidatesResponse) GetBody() []byte
- func (r GetMentionCandidatesResponse) GetJSON200() *MentionCandidates
- func (r GetMentionCandidatesResponse) Status() string
- func (r GetMentionCandidatesResponse) StatusCode() int
- type GetMentionCandidatesResponse401Headers
- type GetMentionCandidatesResponseObject
- type GetMessage200JSONResponse
- type GetMessage400ApplicationProblemPlusJSONResponse
- type GetMessage401ApplicationProblemPlusJSONResponse
- type GetMessage404ApplicationProblemPlusJSONResponse
- type GetMessage503ApplicationProblemPlusJSONResponse
- type GetMessageContext200JSONResponse
- type GetMessageContext400ApplicationProblemPlusJSONResponse
- type GetMessageContext401ApplicationProblemPlusJSONResponse
- type GetMessageContext404ApplicationProblemPlusJSONResponse
- type GetMessageContext503ApplicationProblemPlusJSONResponse
- type GetMessageContextParams
- type GetMessageContextRequestObject
- type GetMessageContextResponse
- func (r GetMessageContextResponse) ContentType() string
- func (r GetMessageContextResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessageContextResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageContextResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageContextResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessageContextResponse) GetBody() []byte
- func (r GetMessageContextResponse) GetJSON200() *MessageContext
- func (r GetMessageContextResponse) Status() string
- func (r GetMessageContextResponse) StatusCode() int
- type GetMessageContextResponse401Headers
- type GetMessageContextResponseObject
- type GetMessageEdit200JSONResponse
- type GetMessageEdit400ApplicationProblemPlusJSONResponse
- type GetMessageEdit401ApplicationProblemPlusJSONResponse
- type GetMessageEdit404ApplicationProblemPlusJSONResponse
- type GetMessageEdit503ApplicationProblemPlusJSONResponse
- type GetMessageEditHistory200JSONResponse
- type GetMessageEditHistory400ApplicationProblemPlusJSONResponse
- type GetMessageEditHistory401ApplicationProblemPlusJSONResponse
- type GetMessageEditHistory404ApplicationProblemPlusJSONResponse
- type GetMessageEditHistory409ApplicationProblemPlusJSONResponse
- type GetMessageEditHistory503ApplicationProblemPlusJSONResponse
- type GetMessageEditHistoryParams
- type GetMessageEditHistoryRequestObject
- type GetMessageEditHistoryResponse
- func (r GetMessageEditHistoryResponse) ContentType() string
- func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON409() *Problem
- func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessageEditHistoryResponse) GetBody() []byte
- func (r GetMessageEditHistoryResponse) GetJSON200() *MessageEditHistoryPage
- func (r GetMessageEditHistoryResponse) Status() string
- func (r GetMessageEditHistoryResponse) StatusCode() int
- type GetMessageEditHistoryResponse401Headers
- type GetMessageEditHistoryResponseObject
- type GetMessageEditRequestObject
- type GetMessageEditResponse
- func (r GetMessageEditResponse) ContentType() string
- func (r GetMessageEditResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessageEditResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageEditResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageEditResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessageEditResponse) GetBody() []byte
- func (r GetMessageEditResponse) GetJSON200() *MessageEditCommand
- func (r GetMessageEditResponse) Status() string
- func (r GetMessageEditResponse) StatusCode() int
- type GetMessageEditResponse401Headers
- type GetMessageEditResponseObject
- type GetMessageEditTarget200JSONResponse
- type GetMessageEditTarget400ApplicationProblemPlusJSONResponse
- type GetMessageEditTarget401ApplicationProblemPlusJSONResponse
- type GetMessageEditTarget404ApplicationProblemPlusJSONResponse
- type GetMessageEditTarget503ApplicationProblemPlusJSONResponse
- type GetMessageEditTargetRequestObject
- type GetMessageEditTargetResponse
- func (r GetMessageEditTargetResponse) ContentType() string
- func (r GetMessageEditTargetResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessageEditTargetResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageEditTargetResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageEditTargetResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessageEditTargetResponse) GetBody() []byte
- func (r GetMessageEditTargetResponse) GetJSON200() *MessageEditTarget
- func (r GetMessageEditTargetResponse) Status() string
- func (r GetMessageEditTargetResponse) StatusCode() int
- type GetMessageEditTargetResponse401Headers
- type GetMessageEditTargetResponseObject
- type GetMessagePreview200JSONResponse
- type GetMessagePreview400ApplicationProblemPlusJSONResponse
- type GetMessagePreview401ApplicationProblemPlusJSONResponse
- type GetMessagePreview404ApplicationProblemPlusJSONResponse
- type GetMessagePreview503ApplicationProblemPlusJSONResponse
- type GetMessagePreviewRequestObject
- type GetMessagePreviewResponse
- func (r GetMessagePreviewResponse) ContentType() string
- func (r GetMessagePreviewResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessagePreviewResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessagePreviewResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessagePreviewResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessagePreviewResponse) GetBody() []byte
- func (r GetMessagePreviewResponse) GetJSON200() *MessagePreview
- func (r GetMessagePreviewResponse) Status() string
- func (r GetMessagePreviewResponse) StatusCode() int
- type GetMessagePreviewResponse401Headers
- type GetMessagePreviewResponseObject
- type GetMessageReactionCommand200JSONResponse
- type GetMessageReactionCommand400ApplicationProblemPlusJSONResponse
- type GetMessageReactionCommand401ApplicationProblemPlusJSONResponse
- type GetMessageReactionCommand404ApplicationProblemPlusJSONResponse
- type GetMessageReactionCommand503ApplicationProblemPlusJSONResponse
- type GetMessageReactionCommandRequestObject
- type GetMessageReactionCommandResponse
- func (r GetMessageReactionCommandResponse) ContentType() string
- func (r GetMessageReactionCommandResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessageReactionCommandResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageReactionCommandResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageReactionCommandResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessageReactionCommandResponse) GetBody() []byte
- func (r GetMessageReactionCommandResponse) GetJSON200() *MessageReactionCommand
- func (r GetMessageReactionCommandResponse) Status() string
- func (r GetMessageReactionCommandResponse) StatusCode() int
- type GetMessageReactionCommandResponse401Headers
- type GetMessageReactionCommandResponseObject
- type GetMessageReactions200JSONResponse
- type GetMessageReactions400ApplicationProblemPlusJSONResponse
- type GetMessageReactions401ApplicationProblemPlusJSONResponse
- type GetMessageReactions404ApplicationProblemPlusJSONResponse
- type GetMessageReactions503ApplicationProblemPlusJSONResponse
- type GetMessageReactionsRequestObject
- type GetMessageReactionsResponse
- func (r GetMessageReactionsResponse) ContentType() string
- func (r GetMessageReactionsResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessageReactionsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageReactionsResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageReactionsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessageReactionsResponse) GetBody() []byte
- func (r GetMessageReactionsResponse) GetJSON200() *MessageReactions
- func (r GetMessageReactionsResponse) Status() string
- func (r GetMessageReactionsResponse) StatusCode() int
- type GetMessageReactionsResponse401Headers
- type GetMessageReactionsResponseObject
- type GetMessageRequestObject
- type GetMessageResponse
- func (r GetMessageResponse) ContentType() string
- func (r GetMessageResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessageResponse) GetBody() []byte
- func (r GetMessageResponse) GetJSON200() *Message
- func (r GetMessageResponse) Status() string
- func (r GetMessageResponse) StatusCode() int
- type GetMessageResponse401Headers
- type GetMessageResponseObject
- type GetMessageSenderProfile200JSONResponse
- type GetMessageSenderProfile400ApplicationProblemPlusJSONResponse
- type GetMessageSenderProfile401ApplicationProblemPlusJSONResponse
- type GetMessageSenderProfile404ApplicationProblemPlusJSONResponse
- type GetMessageSenderProfile503ApplicationProblemPlusJSONResponse
- type GetMessageSenderProfileRequestObject
- type GetMessageSenderProfileResponse
- func (r GetMessageSenderProfileResponse) ContentType() string
- func (r GetMessageSenderProfileResponse) GetApplicationproblemJSON400() *Problem
- func (r GetMessageSenderProfileResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageSenderProfileResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageSenderProfileResponse) GetApplicationproblemJSON503() *Problem
- func (r GetMessageSenderProfileResponse) GetBody() []byte
- func (r GetMessageSenderProfileResponse) GetJSON200() *MessageSenderProfile
- func (r GetMessageSenderProfileResponse) Status() string
- func (r GetMessageSenderProfileResponse) StatusCode() int
- type GetMessageSenderProfileResponse401Headers
- type GetMessageSenderProfileResponseObject
- type GetMessageSourceContext200JSONResponse
- type GetMessageSourceContext400ApplicationProblemPlusJSONResponse
- type GetMessageSourceContext401ApplicationProblemPlusJSONResponse
- type GetMessageSourceContext404ApplicationProblemPlusJSONResponse
- type GetMessageSourceContext503ApplicationProblemPlusJSONResponse
- type GetMessageSourceContextRequestObject
- type GetMessageSourceContextResponse
- func (r GetMessageSourceContextResponse) ContentType() string
- func (r GetMessageSourceContextResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessageSourceContextResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageSourceContextResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageSourceContextResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessageSourceContextResponse) GetBody() []byte
- func (r GetMessageSourceContextResponse) GetJSON200() *MessageSourceContext
- func (r GetMessageSourceContextResponse) Status() string
- func (r GetMessageSourceContextResponse) StatusCode() int
- type GetMessageSourceContextResponse401Headers
- type GetMessageSourceContextResponseObject
- type GetMessageStar200JSONResponse
- type GetMessageStar400ApplicationProblemPlusJSONResponse
- type GetMessageStar401ApplicationProblemPlusJSONResponse
- type GetMessageStar404ApplicationProblemPlusJSONResponse
- type GetMessageStar503ApplicationProblemPlusJSONResponse
- type GetMessageStarRequestObject
- type GetMessageStarResponse
- func (r GetMessageStarResponse) ContentType() string
- func (r GetMessageStarResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetMessageStarResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetMessageStarResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetMessageStarResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetMessageStarResponse) GetBody() []byte
- func (r GetMessageStarResponse) GetJSON200() *MessageStar
- func (r GetMessageStarResponse) Status() string
- func (r GetMessageStarResponse) StatusCode() int
- type GetMessageStarResponse401Headers
- type GetMessageStarResponseObject
- type GetOmemoDevices200JSONResponse
- type GetOmemoDevices400ApplicationProblemPlusJSONResponse
- type GetOmemoDevices401ApplicationProblemPlusJSONResponse
- type GetOmemoDevices404ApplicationProblemPlusJSONResponse
- type GetOmemoDevices503ApplicationProblemPlusJSONResponse
- type GetOmemoDevicesParams
- type GetOmemoDevicesRequestObject
- type GetOmemoDevicesResponse
- func (r GetOmemoDevicesResponse) ContentType() string
- func (r GetOmemoDevicesResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetOmemoDevicesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetOmemoDevicesResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetOmemoDevicesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetOmemoDevicesResponse) GetBody() []byte
- func (r GetOmemoDevicesResponse) GetJSON200() *OmemoDevices
- func (r GetOmemoDevicesResponse) Status() string
- func (r GetOmemoDevicesResponse) StatusCode() int
- type GetOmemoDevicesResponse401Headers
- type GetOmemoDevicesResponseObject
- type GetOperation200JSONResponse
- type GetOperation400ApplicationProblemPlusJSONResponse
- type GetOperation401ApplicationProblemPlusJSONResponse
- type GetOperation404ApplicationProblemPlusJSONResponse
- type GetOperation503ApplicationProblemPlusJSONResponse
- type GetOperationParams
- type GetOperationRequestObject
- type GetOperationResponse
- func (r GetOperationResponse) ContentType() string
- func (r GetOperationResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetOperationResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetOperationResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetOperationResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetOperationResponse) GetBody() []byte
- func (r GetOperationResponse) GetJSON200() *Operation
- func (r GetOperationResponse) Status() string
- func (r GetOperationResponse) StatusCode() int
- type GetOperationResponse401Headers
- type GetOperationResponseObject
- type GetRetractedOriginal200JSONResponse
- type GetRetractedOriginal404ApplicationProblemPlusJSONResponse
- type GetRetractedOriginal503ApplicationProblemPlusJSONResponse
- type GetRetractedOriginalRequestObject
- type GetRetractedOriginalResponse
- func (r GetRetractedOriginalResponse) ContentType() string
- func (r GetRetractedOriginalResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetRetractedOriginalResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetRetractedOriginalResponse) GetBody() []byte
- func (r GetRetractedOriginalResponse) GetJSON200() *Message
- func (r GetRetractedOriginalResponse) Status() string
- func (r GetRetractedOriginalResponse) StatusCode() int
- type GetRetractedOriginalResponseObject
- type GetRoomArchive200JSONResponse
- type GetRoomArchive400ApplicationProblemPlusJSONResponse
- type GetRoomArchive401ApplicationProblemPlusJSONResponse
- type GetRoomArchive404ApplicationProblemPlusJSONResponse
- type GetRoomArchive503ApplicationProblemPlusJSONResponse
- type GetRoomArchiveRequestObject
- type GetRoomArchiveResponse
- func (r GetRoomArchiveResponse) ContentType() string
- func (r GetRoomArchiveResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetRoomArchiveResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetRoomArchiveResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetRoomArchiveResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetRoomArchiveResponse) GetBody() []byte
- func (r GetRoomArchiveResponse) GetJSON200() *RoomArchive
- func (r GetRoomArchiveResponse) Status() string
- func (r GetRoomArchiveResponse) StatusCode() int
- type GetRoomArchiveResponse401Headers
- type GetRoomArchiveResponseObject
- type GetRoomManagement200JSONResponse
- type GetRoomManagement400ApplicationProblemPlusJSONResponse
- type GetRoomManagement401ApplicationProblemPlusJSONResponse
- type GetRoomManagement404ApplicationProblemPlusJSONResponse
- type GetRoomManagement409ApplicationProblemPlusJSONResponse
- type GetRoomManagement503ApplicationProblemPlusJSONResponse
- type GetRoomManagementParams
- type GetRoomManagementRequestObject
- type GetRoomManagementResponse
- func (r GetRoomManagementResponse) ContentType() string
- func (r GetRoomManagementResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetRoomManagementResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetRoomManagementResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetRoomManagementResponse) GetApplicationproblemJSON409() *Conflict
- func (r GetRoomManagementResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetRoomManagementResponse) GetBody() []byte
- func (r GetRoomManagementResponse) GetJSON200() *RoomManagement
- func (r GetRoomManagementResponse) Status() string
- func (r GetRoomManagementResponse) StatusCode() int
- type GetRoomManagementResponse401Headers
- type GetRoomManagementResponseObject
- type GetRoomOmemo200JSONResponse
- type GetRoomOmemo401ApplicationProblemPlusJSONResponse
- type GetRoomOmemo404ApplicationProblemPlusJSONResponse
- type GetRoomOmemo503ApplicationProblemPlusJSONResponse
- type GetRoomOmemoRequestObject
- type GetRoomOmemoResponse
- func (r GetRoomOmemoResponse) ContentType() string
- func (r GetRoomOmemoResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetRoomOmemoResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetRoomOmemoResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetRoomOmemoResponse) GetBody() []byte
- func (r GetRoomOmemoResponse) GetJSON200() *RoomOmemo
- func (r GetRoomOmemoResponse) Status() string
- func (r GetRoomOmemoResponse) StatusCode() int
- type GetRoomOmemoResponse401Headers
- type GetRoomOmemoResponseObject
- type GetRoomParticipants200JSONResponse
- type GetRoomParticipants400ApplicationProblemPlusJSONResponse
- type GetRoomParticipants401ApplicationProblemPlusJSONResponse
- type GetRoomParticipants404ApplicationProblemPlusJSONResponse
- type GetRoomParticipants409ApplicationProblemPlusJSONResponse
- type GetRoomParticipants503ApplicationProblemPlusJSONResponse
- type GetRoomParticipantsRequestObject
- type GetRoomParticipantsResponse
- func (r GetRoomParticipantsResponse) ContentType() string
- func (r GetRoomParticipantsResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetRoomParticipantsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetRoomParticipantsResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetRoomParticipantsResponse) GetApplicationproblemJSON409() *Conflict
- func (r GetRoomParticipantsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetRoomParticipantsResponse) GetBody() []byte
- func (r GetRoomParticipantsResponse) GetJSON200() *RoomParticipants
- func (r GetRoomParticipantsResponse) Status() string
- func (r GetRoomParticipantsResponse) StatusCode() int
- type GetRoomParticipantsResponse401Headers
- type GetRoomParticipantsResponseObject
- type GetRoomSession200JSONResponse
- type GetRoomSession400ApplicationProblemPlusJSONResponse
- type GetRoomSession401ApplicationProblemPlusJSONResponse
- type GetRoomSession404ApplicationProblemPlusJSONResponse
- type GetRoomSession503ApplicationProblemPlusJSONResponse
- type GetRoomSessionRequestObject
- type GetRoomSessionResponse
- func (r GetRoomSessionResponse) ContentType() string
- func (r GetRoomSessionResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetRoomSessionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetRoomSessionResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetRoomSessionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetRoomSessionResponse) GetBody() []byte
- func (r GetRoomSessionResponse) GetJSON200() *RoomSession
- func (r GetRoomSessionResponse) Status() string
- func (r GetRoomSessionResponse) StatusCode() int
- type GetRoomSessionResponse401Headers
- type GetRoomSessionResponseObject
- type GetSharedContentMedia200ApplicationVndOieVideoIndexPlusJSONResponse
- type GetSharedContentMedia200ApplicationpdfResponse
- type GetSharedContentMedia200AudioaacResponse
- type GetSharedContentMedia200AudioflacResponse
- type GetSharedContentMedia200Audiomp4Response
- type GetSharedContentMedia200AudiompegResponse
- type GetSharedContentMedia200AudiooggResponse
- type GetSharedContentMedia200AudiowavResponse
- type GetSharedContentMedia200AudiowebmResponse
- type GetSharedContentMedia200ResponseHeaders
- type GetSharedContentMedia200TextResponse
- type GetSharedContentMedia200VideomatroskaResponse
- type GetSharedContentMedia200Videomp4Response
- type GetSharedContentMedia200VideooggResponse
- type GetSharedContentMedia200VideoquicktimeResponse
- type GetSharedContentMedia200VideowebmResponse
- type GetSharedContentMedia200VideoxMatroskaResponse
- type GetSharedContentMedia200VideoxMsvideoResponse
- type GetSharedContentMedia206ApplicationpdfResponse
- type GetSharedContentMedia206AudioaacResponse
- type GetSharedContentMedia206AudioflacResponse
- type GetSharedContentMedia206Audiomp4Response
- type GetSharedContentMedia206AudiompegResponse
- type GetSharedContentMedia206AudiooggResponse
- type GetSharedContentMedia206AudiowavResponse
- type GetSharedContentMedia206AudiowebmResponse
- type GetSharedContentMedia206ResponseHeaders
- type GetSharedContentMedia206TextResponse
- type GetSharedContentMedia206VideomatroskaResponse
- type GetSharedContentMedia206Videomp4Response
- type GetSharedContentMedia206VideooggResponse
- type GetSharedContentMedia206VideoquicktimeResponse
- type GetSharedContentMedia206VideowebmResponse
- type GetSharedContentMedia206VideoxMatroskaResponse
- type GetSharedContentMedia206VideoxMsvideoResponse
- type GetSharedContentMedia400ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia401ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia404ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia405ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia405ResponseHeaders
- type GetSharedContentMedia413ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia415ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia416ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia416ResponseHeaders
- type GetSharedContentMedia422ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia502ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia502ResponseHeaders
- type GetSharedContentMedia503ApplicationProblemPlusJSONResponse
- type GetSharedContentMedia504ApplicationProblemPlusJSONResponse
- type GetSharedContentMediaParams
- type GetSharedContentMediaRequestObject
- type GetSharedContentMediaResponse
- func (r GetSharedContentMediaResponse) ContentType() string
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON400() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON404() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON405() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON413() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON415() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON416() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON422() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON502() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON503() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationproblemJSON504() *Problem
- func (r GetSharedContentMediaResponse) GetApplicationvndOieVideoIndexJSON200() *VideoSeekIndex
- func (r GetSharedContentMediaResponse) GetBody() []byte
- func (r GetSharedContentMediaResponse) Status() string
- func (r GetSharedContentMediaResponse) StatusCode() int
- type GetSharedContentMediaResponse200Headers
- type GetSharedContentMediaResponse206Headers
- type GetSharedContentMediaResponse401Headers
- type GetSharedContentMediaResponse405Headers
- type GetSharedContentMediaResponse416Headers
- type GetSharedContentMediaResponse502Headers
- type GetSharedContentMediaResponseObject
- type GetStagedMessageAttachment200ApplicationoctetStreamResponse
- type GetStagedMessageAttachment200ResponseHeaders
- type GetStagedMessageAttachment206ApplicationoctetStreamResponse
- type GetStagedMessageAttachment206MultipartResponse
- type GetStagedMessageAttachment206ResponseHeaders
- type GetStagedMessageAttachment400ApplicationProblemPlusJSONResponse
- type GetStagedMessageAttachment401ApplicationProblemPlusJSONResponse
- type GetStagedMessageAttachment404ApplicationProblemPlusJSONResponse
- type GetStagedMessageAttachment416ResponseHeaders
- type GetStagedMessageAttachment416TextResponse
- type GetStagedMessageAttachment503ApplicationProblemPlusJSONResponse
- type GetStagedMessageAttachmentParams
- type GetStagedMessageAttachmentRequestObject
- type GetStagedMessageAttachmentResponse
- func (r GetStagedMessageAttachmentResponse) ContentType() string
- func (r GetStagedMessageAttachmentResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetStagedMessageAttachmentResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetStagedMessageAttachmentResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetStagedMessageAttachmentResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetStagedMessageAttachmentResponse) GetBody() []byte
- func (r GetStagedMessageAttachmentResponse) Status() string
- func (r GetStagedMessageAttachmentResponse) StatusCode() int
- type GetStagedMessageAttachmentResponse200Headers
- type GetStagedMessageAttachmentResponse206Headers
- type GetStagedMessageAttachmentResponse401Headers
- type GetStagedMessageAttachmentResponse416Headers
- type GetStagedMessageAttachmentResponseObject
- type GetVideoThumbnail200JSONResponse
- type GetVideoThumbnail400ApplicationProblemPlusJSONResponse
- type GetVideoThumbnail401ApplicationProblemPlusJSONResponse
- type GetVideoThumbnail404ApplicationProblemPlusJSONResponse
- type GetVideoThumbnail503ApplicationProblemPlusJSONResponse
- type GetVideoThumbnailRequestObject
- type GetVideoThumbnailResponse
- func (r GetVideoThumbnailResponse) ContentType() string
- func (r GetVideoThumbnailResponse) GetApplicationproblemJSON400() *Invalid
- func (r GetVideoThumbnailResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r GetVideoThumbnailResponse) GetApplicationproblemJSON404() *NotFound
- func (r GetVideoThumbnailResponse) GetApplicationproblemJSON503() *Unavailable
- func (r GetVideoThumbnailResponse) GetBody() []byte
- func (r GetVideoThumbnailResponse) GetJSON200() *VideoThumbnail
- func (r GetVideoThumbnailResponse) Status() string
- func (r GetVideoThumbnailResponse) StatusCode() int
- type GetVideoThumbnailResponse401Headers
- type GetVideoThumbnailResponseObject
- type GlobalReadReceipts
- type GlobalRetention
- type Health
- type HealthStatus
- type HistoryPruned
- type HistoryStatus
- type HistoryStatusLastErrorCode
- type HistoryStatusState
- type HttpRequestDoer
- type ID
- type Invalid
- type InvalidApplicationProblemPlusJSONResponse
- type InvalidParamFormatError
- type JoinRoom
- type JoinRoom200JSONResponse
- type JoinRoom400ApplicationProblemPlusJSONResponse
- type JoinRoom401ApplicationProblemPlusJSONResponse
- type JoinRoom404ApplicationProblemPlusJSONResponse
- type JoinRoom409ApplicationProblemPlusJSONResponse
- type JoinRoom413ApplicationProblemPlusJSONResponse
- type JoinRoom415ApplicationProblemPlusJSONResponse
- type JoinRoom503ApplicationProblemPlusJSONResponse
- type JoinRoomJSONRequestBody
- type JoinRoomParams
- type JoinRoomRequestObject
- type JoinRoomResponse
- func (r JoinRoomResponse) ContentType() string
- func (r JoinRoomResponse) GetApplicationproblemJSON400() *Invalid
- func (r JoinRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r JoinRoomResponse) GetApplicationproblemJSON404() *NotFound
- func (r JoinRoomResponse) GetApplicationproblemJSON409() *Conflict
- func (r JoinRoomResponse) GetApplicationproblemJSON413() *Problem
- func (r JoinRoomResponse) GetApplicationproblemJSON415() *Problem
- func (r JoinRoomResponse) GetApplicationproblemJSON503() *Unavailable
- func (r JoinRoomResponse) GetBody() []byte
- func (r JoinRoomResponse) GetJSON200() *RoomSession
- func (r JoinRoomResponse) Status() string
- func (r JoinRoomResponse) StatusCode() int
- type JoinRoomResponse401Headers
- type JoinRoomResponseObject
- type LeaveRoom
- type LeaveRoom200JSONResponse
- type LeaveRoom400ApplicationProblemPlusJSONResponse
- type LeaveRoom401ApplicationProblemPlusJSONResponse
- type LeaveRoom404ApplicationProblemPlusJSONResponse
- type LeaveRoom409ApplicationProblemPlusJSONResponse
- type LeaveRoom413ApplicationProblemPlusJSONResponse
- type LeaveRoom415ApplicationProblemPlusJSONResponse
- type LeaveRoom503ApplicationProblemPlusJSONResponse
- type LeaveRoomJSONRequestBody
- type LeaveRoomParams
- type LeaveRoomRequestObject
- type LeaveRoomResponse
- func (r LeaveRoomResponse) ContentType() string
- func (r LeaveRoomResponse) GetApplicationproblemJSON400() *Invalid
- func (r LeaveRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r LeaveRoomResponse) GetApplicationproblemJSON404() *NotFound
- func (r LeaveRoomResponse) GetApplicationproblemJSON409() *Conflict
- func (r LeaveRoomResponse) GetApplicationproblemJSON413() *Problem
- func (r LeaveRoomResponse) GetApplicationproblemJSON415() *Problem
- func (r LeaveRoomResponse) GetApplicationproblemJSON503() *Unavailable
- func (r LeaveRoomResponse) GetBody() []byte
- func (r LeaveRoomResponse) GetJSON200() *RoomSession
- func (r LeaveRoomResponse) Status() string
- func (r LeaveRoomResponse) StatusCode() int
- type LeaveRoomResponse401Headers
- type LeaveRoomResponseObject
- type ListAccountAvatars200JSONResponse
- type ListAccountAvatars400ApplicationProblemPlusJSONResponse
- type ListAccountAvatars401ApplicationProblemPlusJSONResponse
- type ListAccountAvatars404ApplicationProblemPlusJSONResponse
- type ListAccountAvatars503ApplicationProblemPlusJSONResponse
- type ListAccountAvatarsParams
- type ListAccountAvatarsRequestObject
- type ListAccountAvatarsResponse
- func (r ListAccountAvatarsResponse) ContentType() string
- func (r ListAccountAvatarsResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListAccountAvatarsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListAccountAvatarsResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListAccountAvatarsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListAccountAvatarsResponse) GetBody() []byte
- func (r ListAccountAvatarsResponse) GetJSON200() *AvatarPage
- func (r ListAccountAvatarsResponse) Status() string
- func (r ListAccountAvatarsResponse) StatusCode() int
- type ListAccountAvatarsResponse401Headers
- type ListAccountAvatarsResponseObject
- type ListAccounts200JSONResponse
- type ListAccounts400ApplicationProblemPlusJSONResponse
- type ListAccounts401ApplicationProblemPlusJSONResponse
- type ListAccounts503ApplicationProblemPlusJSONResponse
- type ListAccountsParams
- type ListAccountsRequestObject
- type ListAccountsResponse
- func (r ListAccountsResponse) ContentType() string
- func (r ListAccountsResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListAccountsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListAccountsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListAccountsResponse) GetBody() []byte
- func (r ListAccountsResponse) GetJSON200() *AccountPage
- func (r ListAccountsResponse) Status() string
- func (r ListAccountsResponse) StatusCode() int
- type ListAccountsResponse401Headers
- type ListAccountsResponseObject
- type ListContactRequests200JSONResponse
- type ListContactRequests404ApplicationProblemPlusJSONResponse
- type ListContactRequests503ApplicationProblemPlusJSONResponse
- type ListContactRequestsRequestObject
- type ListContactRequestsResponse
- func (r ListContactRequestsResponse) ContentType() string
- func (r ListContactRequestsResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListContactRequestsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListContactRequestsResponse) GetBody() []byte
- func (r ListContactRequestsResponse) GetJSON200() *ContactRequests
- func (r ListContactRequestsResponse) Status() string
- func (r ListContactRequestsResponse) StatusCode() int
- type ListContactRequestsResponseObject
- type ListContacts200JSONResponse
- type ListContacts400ApplicationProblemPlusJSONResponse
- type ListContacts401ApplicationProblemPlusJSONResponse
- type ListContacts404ApplicationProblemPlusJSONResponse
- type ListContacts503ApplicationProblemPlusJSONResponse
- type ListContactsParams
- type ListContactsRequestObject
- type ListContactsResponse
- func (r ListContactsResponse) ContentType() string
- func (r ListContactsResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListContactsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListContactsResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListContactsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListContactsResponse) GetBody() []byte
- func (r ListContactsResponse) GetJSON200() *ContactPage
- func (r ListContactsResponse) Status() string
- func (r ListContactsResponse) StatusCode() int
- type ListContactsResponse401Headers
- type ListContactsResponseObject
- type ListConversationMessageStars200JSONResponse
- type ListConversationMessageStars400ApplicationProblemPlusJSONResponse
- type ListConversationMessageStars401ApplicationProblemPlusJSONResponse
- type ListConversationMessageStars404ApplicationProblemPlusJSONResponse
- type ListConversationMessageStars503ApplicationProblemPlusJSONResponse
- type ListConversationMessageStarsParams
- type ListConversationMessageStarsRequestObject
- type ListConversationMessageStarsResponse
- func (r ListConversationMessageStarsResponse) ContentType() string
- func (r ListConversationMessageStarsResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListConversationMessageStarsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListConversationMessageStarsResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListConversationMessageStarsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListConversationMessageStarsResponse) GetBody() []byte
- func (r ListConversationMessageStarsResponse) GetJSON200() *MessageStarPage
- func (r ListConversationMessageStarsResponse) Status() string
- func (r ListConversationMessageStarsResponse) StatusCode() int
- type ListConversationMessageStarsResponse401Headers
- type ListConversationMessageStarsResponseObject
- type ListConversationPreviews200JSONResponse
- type ListConversationPreviews400ApplicationProblemPlusJSONResponse
- type ListConversationPreviews401ApplicationProblemPlusJSONResponse
- type ListConversationPreviews404ApplicationProblemPlusJSONResponse
- type ListConversationPreviews503ApplicationProblemPlusJSONResponse
- type ListConversationPreviewsParams
- type ListConversationPreviewsRequestObject
- type ListConversationPreviewsResponse
- func (r ListConversationPreviewsResponse) ContentType() string
- func (r ListConversationPreviewsResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListConversationPreviewsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListConversationPreviewsResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListConversationPreviewsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListConversationPreviewsResponse) GetBody() []byte
- func (r ListConversationPreviewsResponse) GetJSON200() *PreviewPage
- func (r ListConversationPreviewsResponse) Status() string
- func (r ListConversationPreviewsResponse) StatusCode() int
- type ListConversationPreviewsResponse401Headers
- type ListConversationPreviewsResponseObject
- type ListConversationReactions200JSONResponse
- type ListConversationReactions400ApplicationProblemPlusJSONResponse
- type ListConversationReactions401ApplicationProblemPlusJSONResponse
- type ListConversationReactions404ApplicationProblemPlusJSONResponse
- type ListConversationReactions503ApplicationProblemPlusJSONResponse
- type ListConversationReactionsParams
- type ListConversationReactionsRequestObject
- type ListConversationReactionsResponse
- func (r ListConversationReactionsResponse) ContentType() string
- func (r ListConversationReactionsResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListConversationReactionsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListConversationReactionsResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListConversationReactionsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListConversationReactionsResponse) GetBody() []byte
- func (r ListConversationReactionsResponse) GetJSON200() *MessageReactionsList
- func (r ListConversationReactionsResponse) Status() string
- func (r ListConversationReactionsResponse) StatusCode() int
- type ListConversationReactionsResponse401Headers
- type ListConversationReactionsResponseObject
- type ListConversations200JSONResponse
- type ListConversations400ApplicationProblemPlusJSONResponse
- type ListConversations401ApplicationProblemPlusJSONResponse
- type ListConversations409ApplicationProblemPlusJSONResponse
- type ListConversations503ApplicationProblemPlusJSONResponse
- type ListConversationsParams
- type ListConversationsParamsKind
- type ListConversationsRequestObject
- type ListConversationsResponse
- func (r ListConversationsResponse) ContentType() string
- func (r ListConversationsResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListConversationsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListConversationsResponse) GetApplicationproblemJSON409() *Conflict
- func (r ListConversationsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListConversationsResponse) GetBody() []byte
- func (r ListConversationsResponse) GetJSON200() *ConversationPage
- func (r ListConversationsResponse) Status() string
- func (r ListConversationsResponse) StatusCode() int
- type ListConversationsResponse401Headers
- type ListConversationsResponseObject
- type ListMessages200JSONResponse
- type ListMessages400ApplicationProblemPlusJSONResponse
- type ListMessages401ApplicationProblemPlusJSONResponse
- type ListMessages404ApplicationProblemPlusJSONResponse
- type ListMessages503ApplicationProblemPlusJSONResponse
- type ListMessagesParams
- type ListMessagesParamsDirection
- type ListMessagesRequestObject
- type ListMessagesResponse
- func (r ListMessagesResponse) ContentType() string
- func (r ListMessagesResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListMessagesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListMessagesResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListMessagesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListMessagesResponse) GetBody() []byte
- func (r ListMessagesResponse) GetJSON200() *MessagePage
- func (r ListMessagesResponse) Status() string
- func (r ListMessagesResponse) StatusCode() int
- type ListMessagesResponse401Headers
- type ListMessagesResponseObject
- type ListScheduledMessages200JSONResponse
- type ListScheduledMessages400ApplicationProblemPlusJSONResponse
- type ListScheduledMessages401ApplicationProblemPlusJSONResponse
- type ListScheduledMessages404ApplicationProblemPlusJSONResponse
- type ListScheduledMessages503ApplicationProblemPlusJSONResponse
- type ListScheduledMessagesParams
- type ListScheduledMessagesRequestObject
- type ListScheduledMessagesResponse
- func (r ListScheduledMessagesResponse) ContentType() string
- func (r ListScheduledMessagesResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListScheduledMessagesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListScheduledMessagesResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListScheduledMessagesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListScheduledMessagesResponse) GetBody() []byte
- func (r ListScheduledMessagesResponse) GetJSON200() *ScheduledMessagePage
- func (r ListScheduledMessagesResponse) Status() string
- func (r ListScheduledMessagesResponse) StatusCode() int
- type ListScheduledMessagesResponse401Headers
- type ListScheduledMessagesResponseObject
- type ListSharedContent200JSONResponse
- type ListSharedContent400ApplicationProblemPlusJSONResponse
- type ListSharedContent401ApplicationProblemPlusJSONResponse
- type ListSharedContent404ApplicationProblemPlusJSONResponse
- type ListSharedContent503ApplicationProblemPlusJSONResponse
- type ListSharedContentParams
- type ListSharedContentParamsType
- type ListSharedContentRequestObject
- type ListSharedContentResponse
- func (r ListSharedContentResponse) ContentType() string
- func (r ListSharedContentResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListSharedContentResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListSharedContentResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListSharedContentResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListSharedContentResponse) GetBody() []byte
- func (r ListSharedContentResponse) GetJSON200() *SharedContentPage
- func (r ListSharedContentResponse) Status() string
- func (r ListSharedContentResponse) StatusCode() int
- type ListSharedContentResponse401Headers
- type ListSharedContentResponseObject
- type ListStarredMessages200JSONResponse
- type ListStarredMessages400ApplicationProblemPlusJSONResponse
- type ListStarredMessages401ApplicationProblemPlusJSONResponse
- type ListStarredMessages404ApplicationProblemPlusJSONResponse
- type ListStarredMessages409ApplicationProblemPlusJSONResponse
- type ListStarredMessages503ApplicationProblemPlusJSONResponse
- type ListStarredMessagesParams
- type ListStarredMessagesRequestObject
- type ListStarredMessagesResponse
- func (r ListStarredMessagesResponse) ContentType() string
- func (r ListStarredMessagesResponse) GetApplicationproblemJSON400() *Invalid
- func (r ListStarredMessagesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ListStarredMessagesResponse) GetApplicationproblemJSON404() *NotFound
- func (r ListStarredMessagesResponse) GetApplicationproblemJSON409() *Conflict
- func (r ListStarredMessagesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ListStarredMessagesResponse) GetBody() []byte
- func (r ListStarredMessagesResponse) GetJSON200() *StarredMessagePage
- func (r ListStarredMessagesResponse) Status() string
- func (r ListStarredMessagesResponse) StatusCode() int
- type ListStarredMessagesResponse401Headers
- type ListStarredMessagesResponseObject
- type ManageRoom
- type ManageRoom200JSONResponse
- type ManageRoom400ApplicationProblemPlusJSONResponse
- type ManageRoom401ApplicationProblemPlusJSONResponse
- type ManageRoom404ApplicationProblemPlusJSONResponse
- type ManageRoom409ApplicationProblemPlusJSONResponse
- type ManageRoom503ApplicationProblemPlusJSONResponse
- type ManageRoomJSONRequestBody
- type ManageRoomParams
- type ManageRoomRequestObject
- type ManageRoomResponse
- func (r ManageRoomResponse) ContentType() string
- func (r ManageRoomResponse) GetApplicationproblemJSON400() *Invalid
- func (r ManageRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ManageRoomResponse) GetApplicationproblemJSON404() *NotFound
- func (r ManageRoomResponse) GetApplicationproblemJSON409() *Conflict
- func (r ManageRoomResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ManageRoomResponse) GetBody() []byte
- func (r ManageRoomResponse) GetJSON200() *RoomManagementResult
- func (r ManageRoomResponse) Status() string
- func (r ManageRoomResponse) StatusCode() int
- type ManageRoomResponse401Headers
- type ManageRoomResponseObject
- type MarkConversationMessagesRead200JSONResponse
- type MarkConversationMessagesRead400ApplicationProblemPlusJSONResponse
- type MarkConversationMessagesRead401ApplicationProblemPlusJSONResponse
- type MarkConversationMessagesRead404ApplicationProblemPlusJSONResponse
- type MarkConversationMessagesRead409ApplicationProblemPlusJSONResponse
- type MarkConversationMessagesRead412ApplicationProblemPlusJSONResponse
- type MarkConversationMessagesRead413ApplicationProblemPlusJSONResponse
- type MarkConversationMessagesRead415ApplicationProblemPlusJSONResponse
- type MarkConversationMessagesRead503ApplicationProblemPlusJSONResponse
- type MarkConversationMessagesReadJSONRequestBody
- type MarkConversationMessagesReadParams
- type MarkConversationMessagesReadRequestObject
- type MarkConversationMessagesReadResponse
- func (r MarkConversationMessagesReadResponse) ContentType() string
- func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON400() *Invalid
- func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON404() *NotFound
- func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON409() *Conflict
- func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON412() *Problem
- func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON413() *Problem
- func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON415() *Problem
- func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON503() *Unavailable
- func (r MarkConversationMessagesReadResponse) GetBody() []byte
- func (r MarkConversationMessagesReadResponse) GetJSON200() *ConversationReadState
- func (r MarkConversationMessagesReadResponse) Status() string
- func (r MarkConversationMessagesReadResponse) StatusCode() int
- type MarkConversationMessagesReadResponse401Headers
- type MarkConversationMessagesReadResponseObject
- type MarkMessagesRead
- type MentionCandidate
- type MentionCandidateReferenceMode
- type MentionCandidates
- type MentionCandidatesState
- type MentionSelection
- type Message
- type MessageContext
- type MessageEditCommand
- type MessageEditCommandState
- type MessageEditHistoryItem
- type MessageEditHistoryPage
- type MessageEditTarget
- type MessageEditTargetReason
- type MessageHistoryAttachmentLink
- type MessageID
- type MessageMention
- type MessageMentionReferenceMode
- type MessageModeration
- type MessagePage
- type MessagePresentation
- type MessagePreview
- type MessagePreviewDownloadState
- type MessagePreviewFileMimeType
- type MessagePreviewIntegrity
- type MessagePreviewKind
- type MessagePreviewState
- type MessagePreviewVerifiedAlgorithm
- type MessageReactionCommand
- type MessageReactionCommandState
- type MessageReactions
- type MessageReactionsList
- type MessageReactionsReason
- type MessageReply
- type MessageRetraction
- type MessageSearchHit
- type MessageSearchHitMatchKind
- type MessageSearchPage
- type MessageSearchPreview
- type MessageSearchPreviewKind
- type MessageSendState
- type MessageSenderProfile
- type MessageSenderProfileState
- type MessageSourceContext
- type MessageStar
- type MessageStarPage
- type MiddlewareFunc
- type NotFound
- type NotFoundApplicationProblemPlusJSONResponse
- type NullableReactionRevision
- type NullableRevisionID
- type OmemoDecision
- type OmemoDecisionAction
- type OmemoDevice
- type OmemoDevices
- type OpenConversation
- type OpenConversation200JSONResponse
- type OpenConversation201JSONResponse
- type OpenConversation201ResponseHeaders
- type OpenConversation400ApplicationProblemPlusJSONResponse
- type OpenConversation401ApplicationProblemPlusJSONResponse
- type OpenConversation404ApplicationProblemPlusJSONResponse
- type OpenConversation409ApplicationProblemPlusJSONResponse
- type OpenConversation413ApplicationProblemPlusJSONResponse
- type OpenConversation415ApplicationProblemPlusJSONResponse
- type OpenConversation503ApplicationProblemPlusJSONResponse
- type OpenConversationJSONRequestBody
- type OpenConversationParams
- type OpenConversationRequestObject
- type OpenConversationResponse
- func (r OpenConversationResponse) ContentType() string
- func (r OpenConversationResponse) GetApplicationproblemJSON400() *Invalid
- func (r OpenConversationResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r OpenConversationResponse) GetApplicationproblemJSON404() *NotFound
- func (r OpenConversationResponse) GetApplicationproblemJSON409() *Conflict
- func (r OpenConversationResponse) GetApplicationproblemJSON413() *Problem
- func (r OpenConversationResponse) GetApplicationproblemJSON415() *Problem
- func (r OpenConversationResponse) GetApplicationproblemJSON503() *Unavailable
- func (r OpenConversationResponse) GetBody() []byte
- func (r OpenConversationResponse) GetJSON200() *Conversation
- func (r OpenConversationResponse) GetJSON201() *Conversation
- func (r OpenConversationResponse) Status() string
- func (r OpenConversationResponse) StatusCode() int
- type OpenConversationResponse201Headers
- type OpenConversationResponse401Headers
- type OpenConversationResponseObject
- type OpenRoom
- type OpenRoom202JSONResponse
- type OpenRoom400ApplicationProblemPlusJSONResponse
- type OpenRoom401ApplicationProblemPlusJSONResponse
- type OpenRoom404ApplicationProblemPlusJSONResponse
- type OpenRoom409ApplicationProblemPlusJSONResponse
- type OpenRoom413ApplicationProblemPlusJSONResponse
- type OpenRoom415ApplicationProblemPlusJSONResponse
- type OpenRoom503ApplicationProblemPlusJSONResponse
- type OpenRoomAction
- type OpenRoomJSONRequestBody
- type OpenRoomParams
- type OpenRoomRequestObject
- type OpenRoomResponse
- func (r OpenRoomResponse) ContentType() string
- func (r OpenRoomResponse) GetApplicationproblemJSON400() *Invalid
- func (r OpenRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r OpenRoomResponse) GetApplicationproblemJSON404() *NotFound
- func (r OpenRoomResponse) GetApplicationproblemJSON409() *Conflict
- func (r OpenRoomResponse) GetApplicationproblemJSON413() *Problem
- func (r OpenRoomResponse) GetApplicationproblemJSON415() *Problem
- func (r OpenRoomResponse) GetApplicationproblemJSON503() *Unavailable
- func (r OpenRoomResponse) GetBody() []byte
- func (r OpenRoomResponse) GetJSON202() *Conversation
- func (r OpenRoomResponse) Status() string
- func (r OpenRoomResponse) StatusCode() int
- type OpenRoomResponse401Headers
- type OpenRoomResponseObject
- type Operation
- type OperationKind
- type OperationStatus
- type OutgoingComposition
- type PendingMessageUpdated
- type PendingMessageUpdatedJSONResponse
- type PresenceObservation
- type PresenceObservationState
- type PreviewPage
- type PreviewRoom200JSONResponse
- type PreviewRoom400ApplicationProblemPlusJSONResponse
- type PreviewRoom401ApplicationProblemPlusJSONResponse
- type PreviewRoom404ApplicationProblemPlusJSONResponse
- type PreviewRoom503ApplicationProblemPlusJSONResponse
- type PreviewRoomParams
- type PreviewRoomRequestObject
- type PreviewRoomResponse
- func (r PreviewRoomResponse) ContentType() string
- func (r PreviewRoomResponse) GetApplicationproblemJSON400() *Invalid
- func (r PreviewRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r PreviewRoomResponse) GetApplicationproblemJSON404() *NotFound
- func (r PreviewRoomResponse) GetApplicationproblemJSON503() *Unavailable
- func (r PreviewRoomResponse) GetBody() []byte
- func (r PreviewRoomResponse) GetJSON200() *RoomPreview
- func (r PreviewRoomResponse) Status() string
- func (r PreviewRoomResponse) StatusCode() int
- type PreviewRoomResponse401Headers
- type PreviewRoomResponseObject
- type Problem
- type ProblemCode
- type ProblemRoomCreationError
- type ReactionActor
- type ReactionActorEmojiSet
- type ReactionEmojiSet
- type ReactionItem
- type RefreshMessagePreview202JSONResponse
- type RefreshMessagePreview400ApplicationProblemPlusJSONResponse
- type RefreshMessagePreview401ApplicationProblemPlusJSONResponse
- type RefreshMessagePreview404ApplicationProblemPlusJSONResponse
- type RefreshMessagePreview409ApplicationProblemPlusJSONResponse
- type RefreshMessagePreview503ApplicationProblemPlusJSONResponse
- type RefreshMessagePreviewRequestObject
- type RefreshMessagePreviewResponse
- func (r RefreshMessagePreviewResponse) ContentType() string
- func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON400() *Invalid
- func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON404() *NotFound
- func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON409() *Conflict
- func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON503() *Unavailable
- func (r RefreshMessagePreviewResponse) GetBody() []byte
- func (r RefreshMessagePreviewResponse) GetJSON202() *MessagePreview
- func (r RefreshMessagePreviewResponse) Status() string
- func (r RefreshMessagePreviewResponse) StatusCode() int
- type RefreshMessagePreviewResponse401Headers
- type RefreshMessagePreviewResponseObject
- type RegisterAccount
- type RegisterAccount200JSONResponse
- type RegisterAccount200ResponseHeaders
- type RegisterAccount201JSONResponse
- type RegisterAccount201ResponseHeaders
- type RegisterAccount400ApplicationProblemPlusJSONResponse
- type RegisterAccount401ApplicationProblemPlusJSONResponse
- type RegisterAccount404ApplicationProblemPlusJSONResponse
- type RegisterAccount409ApplicationProblemPlusJSONResponse
- type RegisterAccount413ApplicationProblemPlusJSONResponse
- type RegisterAccount415ApplicationProblemPlusJSONResponse
- type RegisterAccount503ApplicationProblemPlusJSONResponse
- type RegisterAccountJSONRequestBody
- type RegisterAccountParams
- type RegisterAccountProtocol
- type RegisterAccountRequestObject
- type RegisterAccountResponse
- func (r RegisterAccountResponse) ContentType() string
- func (r RegisterAccountResponse) GetApplicationproblemJSON400() *Invalid
- func (r RegisterAccountResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r RegisterAccountResponse) GetApplicationproblemJSON404() *NotFound
- func (r RegisterAccountResponse) GetApplicationproblemJSON409() *Conflict
- func (r RegisterAccountResponse) GetApplicationproblemJSON413() *Problem
- func (r RegisterAccountResponse) GetApplicationproblemJSON415() *Problem
- func (r RegisterAccountResponse) GetApplicationproblemJSON503() *Unavailable
- func (r RegisterAccountResponse) GetBody() []byte
- func (r RegisterAccountResponse) GetJSON200() *Account
- func (r RegisterAccountResponse) GetJSON201() *Account
- func (r RegisterAccountResponse) Status() string
- func (r RegisterAccountResponse) StatusCode() int
- type RegisterAccountResponse200Headers
- type RegisterAccountResponse201Headers
- type RegisterAccountResponse401Headers
- type RegisterAccountResponseObject
- type RemoveAccount204Response
- type RemoveAccount400ApplicationProblemPlusJSONResponse
- type RemoveAccount401ApplicationProblemPlusJSONResponse
- type RemoveAccount503ApplicationProblemPlusJSONResponse
- type RemoveAccountRequestObject
- type RemoveAccountResponse
- func (r RemoveAccountResponse) ContentType() string
- func (r RemoveAccountResponse) GetApplicationproblemJSON400() *Invalid
- func (r RemoveAccountResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r RemoveAccountResponse) GetApplicationproblemJSON503() *Unavailable
- func (r RemoveAccountResponse) GetBody() []byte
- func (r RemoveAccountResponse) Status() string
- func (r RemoveAccountResponse) StatusCode() int
- type RemoveAccountResponse401Headers
- type RemoveAccountResponseObject
- type RemoveDirectFromChats
- type RemoveDirectFromChats204Response
- type RemoveDirectFromChats400ApplicationProblemPlusJSONResponse
- type RemoveDirectFromChats401ApplicationProblemPlusJSONResponse
- type RemoveDirectFromChats404ApplicationProblemPlusJSONResponse
- type RemoveDirectFromChats409ApplicationProblemPlusJSONResponse
- type RemoveDirectFromChats503ApplicationProblemPlusJSONResponse
- type RemoveDirectFromChatsJSONRequestBody
- type RemoveDirectFromChatsParams
- type RemoveDirectFromChatsRequestObject
- type RemoveDirectFromChatsResponse
- func (r RemoveDirectFromChatsResponse) ContentType() string
- func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON400() *Invalid
- func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON404() *NotFound
- func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON409() *Conflict
- func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r RemoveDirectFromChatsResponse) GetBody() []byte
- func (r RemoveDirectFromChatsResponse) Status() string
- func (r RemoveDirectFromChatsResponse) StatusCode() int
- type RemoveDirectFromChatsResponse401Headers
- type RemoveDirectFromChatsResponseObject
- type RemoveRoomFromChats
- type RemoveRoomFromChats204Response
- type RemoveRoomFromChats400ApplicationProblemPlusJSONResponse
- type RemoveRoomFromChats401ApplicationProblemPlusJSONResponse
- type RemoveRoomFromChats404ApplicationProblemPlusJSONResponse
- type RemoveRoomFromChats409ApplicationProblemPlusJSONResponse
- type RemoveRoomFromChats503ApplicationProblemPlusJSONResponse
- type RemoveRoomFromChatsJSONRequestBody
- type RemoveRoomFromChatsParams
- type RemoveRoomFromChatsRequestObject
- type RemoveRoomFromChatsResponse
- func (r RemoveRoomFromChatsResponse) ContentType() string
- func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON400() *Invalid
- func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON404() *NotFound
- func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON409() *Conflict
- func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r RemoveRoomFromChatsResponse) GetBody() []byte
- func (r RemoveRoomFromChatsResponse) Status() string
- func (r RemoveRoomFromChatsResponse) StatusCode() int
- type RemoveRoomFromChatsResponse401Headers
- type RemoveRoomFromChatsResponseObject
- type ReplyExcerptSHA256
- type RequestEditorFn
- type RequestRoomArchive200JSONResponse
- type RequestRoomArchive400ApplicationProblemPlusJSONResponse
- type RequestRoomArchive401ApplicationProblemPlusJSONResponse
- type RequestRoomArchive404ApplicationProblemPlusJSONResponse
- type RequestRoomArchive503ApplicationProblemPlusJSONResponse
- type RequestRoomArchiveJSONRequestBody
- type RequestRoomArchiveRequestObject
- type RequestRoomArchiveResponse
- func (r RequestRoomArchiveResponse) ContentType() string
- func (r RequestRoomArchiveResponse) GetApplicationproblemJSON400() *Invalid
- func (r RequestRoomArchiveResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r RequestRoomArchiveResponse) GetApplicationproblemJSON404() *NotFound
- func (r RequestRoomArchiveResponse) GetApplicationproblemJSON503() *Unavailable
- func (r RequestRoomArchiveResponse) GetBody() []byte
- func (r RequestRoomArchiveResponse) GetJSON200() *RoomArchiveResult
- func (r RequestRoomArchiveResponse) Status() string
- func (r RequestRoomArchiveResponse) StatusCode() int
- type RequestRoomArchiveResponse401Headers
- type RequestRoomArchiveResponseObject
- type RequestVideoThumbnail200JSONResponse
- type RequestVideoThumbnail202JSONResponse
- type RequestVideoThumbnail400ApplicationProblemPlusJSONResponse
- type RequestVideoThumbnail401ApplicationProblemPlusJSONResponse
- type RequestVideoThumbnail404ApplicationProblemPlusJSONResponse
- type RequestVideoThumbnail409ApplicationProblemPlusJSONResponse
- type RequestVideoThumbnail503ApplicationProblemPlusJSONResponse
- type RequestVideoThumbnailRequestObject
- type RequestVideoThumbnailResponse
- func (r RequestVideoThumbnailResponse) ContentType() string
- func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON400() *Invalid
- func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON404() *NotFound
- func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON409() *Conflict
- func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON503() *Unavailable
- func (r RequestVideoThumbnailResponse) GetBody() []byte
- func (r RequestVideoThumbnailResponse) GetJSON200() *VideoThumbnail
- func (r RequestVideoThumbnailResponse) GetJSON202() *VideoThumbnail
- func (r RequestVideoThumbnailResponse) Status() string
- func (r RequestVideoThumbnailResponse) StatusCode() int
- type RequestVideoThumbnailResponse401Headers
- type RequestVideoThumbnailResponseObject
- type RequiredHeaderError
- type RequiredParamError
- type ResetEngineData204Response
- type ResetEngineData400ApplicationProblemPlusJSONResponse
- type ResetEngineData401ApplicationProblemPlusJSONResponse
- type ResetEngineData409ApplicationProblemPlusJSONResponse
- type ResetEngineData503ApplicationProblemPlusJSONResponse
- type ResetEngineDataJSONBody
- type ResetEngineDataJSONBodyConfirmation
- type ResetEngineDataJSONRequestBody
- type ResetEngineDataRequestObject
- type ResetEngineDataResponse
- func (r ResetEngineDataResponse) ContentType() string
- func (r ResetEngineDataResponse) GetApplicationproblemJSON400() *Invalid
- func (r ResetEngineDataResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ResetEngineDataResponse) GetApplicationproblemJSON409() *Conflict
- func (r ResetEngineDataResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ResetEngineDataResponse) GetBody() []byte
- func (r ResetEngineDataResponse) Status() string
- func (r ResetEngineDataResponse) StatusCode() int
- type ResetEngineDataResponse401Headers
- type ResetEngineDataResponseObject
- type ResolveDraftLinkPreview200JSONResponse
- type ResolveDraftLinkPreview204Response
- type ResolveDraftLinkPreview400ApplicationProblemPlusJSONResponse
- type ResolveDraftLinkPreview401ApplicationProblemPlusJSONResponse
- type ResolveDraftLinkPreview503ApplicationProblemPlusJSONResponse
- type ResolveDraftLinkPreviewJSONRequestBody
- type ResolveDraftLinkPreviewRequestObject
- type ResolveDraftLinkPreviewResponse
- func (r ResolveDraftLinkPreviewResponse) ContentType() string
- func (r ResolveDraftLinkPreviewResponse) GetApplicationproblemJSON400() *Invalid
- func (r ResolveDraftLinkPreviewResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r ResolveDraftLinkPreviewResponse) GetApplicationproblemJSON503() *Unavailable
- func (r ResolveDraftLinkPreviewResponse) GetBody() []byte
- func (r ResolveDraftLinkPreviewResponse) GetJSON200() *DraftLinkPreview
- func (r ResolveDraftLinkPreviewResponse) Status() string
- func (r ResolveDraftLinkPreviewResponse) StatusCode() int
- type ResolveDraftLinkPreviewResponse401Headers
- type ResolveDraftLinkPreviewResponseObject
- type RetentionDays
- type RetentionRevision
- type RetractMessage
- type RetractMessage200JSONResponse
- type RetractMessage400ApplicationProblemPlusJSONResponse
- type RetractMessage404ApplicationProblemPlusJSONResponse
- type RetractMessage409ApplicationProblemPlusJSONResponse
- type RetractMessage503ApplicationProblemPlusJSONResponse
- type RetractMessageJSONRequestBody
- type RetractMessageRequestObject
- type RetractMessageResponse
- func (r RetractMessageResponse) ContentType() string
- func (r RetractMessageResponse) GetApplicationproblemJSON400() *Invalid
- func (r RetractMessageResponse) GetApplicationproblemJSON404() *NotFound
- func (r RetractMessageResponse) GetApplicationproblemJSON409() *Conflict
- func (r RetractMessageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r RetractMessageResponse) GetBody() []byte
- func (r RetractMessageResponse) GetJSON200() *Message
- func (r RetractMessageResponse) Status() string
- func (r RetractMessageResponse) StatusCode() int
- type RetractMessageResponseObject
- type RoomAffiliation
- type RoomArchive
- type RoomArchiveAvailability
- type RoomArchiveMode
- type RoomArchiveRequest
- type RoomArchiveRequestAction
- type RoomArchiveResult
- type RoomArchiveResultOutcome
- type RoomArchiveTextSearch
- type RoomDirectory
- type RoomDirectoryItem
- type RoomDirectoryState
- type RoomManagedOccupant
- type RoomManagement
- type RoomManagementAction
- type RoomManagementResult
- type RoomManagementResultState
- type RoomManagementState
- type RoomOmemo
- type RoomParticipants
- type RoomParticipantsState
- type RoomPreview
- type RoomPreviewState
- type RoomRole
- type RoomSession
- type RoomSessionCreationError
- type RoomSessionLastErrorCode
- type RoomSessionParticipant
- type RoomSessionState
- type RoomStatus
- type ScheduledDestination
- type ScheduledMessageItem
- type ScheduledMessagePage
- type ScheduledMutationKey
- type ScheduledSendInstant
- type SchedulingBodyTooLarge
- type SchedulingBodyTooLargeApplicationProblemPlusJSONResponse
- type SchedulingUnsupportedMedia
- type SchedulingUnsupportedMediaApplicationProblemPlusJSONResponse
- type SearchAccountIDs
- type SearchMessages200JSONResponse
- type SearchMessages400ApplicationProblemPlusJSONResponse
- type SearchMessages401ApplicationProblemPlusJSONResponse
- type SearchMessages404ApplicationProblemPlusJSONResponse
- type SearchMessages503ApplicationProblemPlusJSONResponse
- type SearchMessagesParams
- type SearchMessagesRequestObject
- type SearchMessagesResponse
- func (r SearchMessagesResponse) ContentType() string
- func (r SearchMessagesResponse) GetApplicationproblemJSON400() *Invalid
- func (r SearchMessagesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SearchMessagesResponse) GetApplicationproblemJSON404() *NotFound
- func (r SearchMessagesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SearchMessagesResponse) GetBody() []byte
- func (r SearchMessagesResponse) GetJSON200() *MessageSearchPage
- func (r SearchMessagesResponse) Status() string
- func (r SearchMessagesResponse) StatusCode() int
- type SearchMessagesResponse401Headers
- type SearchMessagesResponseObject
- type SendMessage
- type SendMessage200JSONResponse
- type SendMessage202JSONResponse
- type SendMessage202ResponseHeaders
- type SendMessage204Response
- type SendMessage400ApplicationProblemPlusJSONResponse
- type SendMessage401ApplicationProblemPlusJSONResponse
- type SendMessage404ApplicationProblemPlusJSONResponse
- type SendMessage409ApplicationProblemPlusJSONResponse
- type SendMessage413ApplicationProblemPlusJSONResponse
- type SendMessage415ApplicationProblemPlusJSONResponse
- type SendMessage503ApplicationProblemPlusJSONResponse
- type SendMessageJSONRequestBody
- type SendMessageParams
- type SendMessageParamsXOieExpectedConversationKind
- type SendMessageRequestObject
- type SendMessageResponse
- func (r SendMessageResponse) ContentType() string
- func (r SendMessageResponse) GetApplicationproblemJSON400() *Invalid
- func (r SendMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SendMessageResponse) GetApplicationproblemJSON404() *NotFound
- func (r SendMessageResponse) GetApplicationproblemJSON409() *Conflict
- func (r SendMessageResponse) GetApplicationproblemJSON413() *Problem
- func (r SendMessageResponse) GetApplicationproblemJSON415() *Problem
- func (r SendMessageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SendMessageResponse) GetBody() []byte
- func (r SendMessageResponse) GetJSON200() *Message
- func (r SendMessageResponse) GetJSON202() *Message
- func (r SendMessageResponse) Status() string
- func (r SendMessageResponse) StatusCode() int
- type SendMessageResponse202Headers
- type SendMessageResponse401Headers
- type SendMessageResponseObject
- type SendScheduledMessageNow
- type SendScheduledMessageNow200JSONResponse
- type SendScheduledMessageNow400ApplicationProblemPlusJSONResponse
- type SendScheduledMessageNow401ApplicationProblemPlusJSONResponse
- type SendScheduledMessageNow404ApplicationProblemPlusJSONResponse
- type SendScheduledMessageNow409ApplicationProblemPlusJSONResponse
- type SendScheduledMessageNow413ApplicationProblemPlusJSONResponse
- type SendScheduledMessageNow415ApplicationProblemPlusJSONResponse
- type SendScheduledMessageNow503ApplicationProblemPlusJSONResponse
- type SendScheduledMessageNowJSONRequestBody
- type SendScheduledMessageNowParams
- type SendScheduledMessageNowRequestObject
- type SendScheduledMessageNowResponse
- func (r SendScheduledMessageNowResponse) ContentType() string
- func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON400() *Invalid
- func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON404() *NotFound
- func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON409() *Conflict
- func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON413() *SchedulingBodyTooLarge
- func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON415() *SchedulingUnsupportedMedia
- func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SendScheduledMessageNowResponse) GetBody() []byte
- func (r SendScheduledMessageNowResponse) GetJSON200() *PendingMessageUpdated
- func (r SendScheduledMessageNowResponse) Status() string
- func (r SendScheduledMessageNowResponse) StatusCode() int
- type SendScheduledMessageNowResponse401Headers
- type SendScheduledMessageNowResponseObject
- type Sender
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) CancelMessage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChangeProtocolContact(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ClearDeviceDownloads(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfigureAccountConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DisconnectAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DiscoverRooms(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DownloadOmemoAttachment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DownloadPreviewImage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) EditMessage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ForwardMessage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAccountCapabilities(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAccountCommunicationPreferences(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAccountConnection(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAccountHistory(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAccountUnreadTotals(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAvatarImage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConversation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConversationDetails(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConversationEditTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConversationReadReceipts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConversationReadState(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConversationRetention(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetConversationTyping(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDownloadRetention(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetEngine(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGlobalReadReceipts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGlobalRetention(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMediaImage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMentionCandidates(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageContext(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageEdit(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageEditHistory(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageEditTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessagePreview(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageReactionCommand(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageReactions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageSenderProfile(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageSourceContext(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageStar(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOmemoDevices(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOperation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRetractedOriginal(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRoomArchive(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRoomManagement(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRoomOmemo(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRoomParticipants(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRoomSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSharedContentMedia(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetStagedMessageAttachment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetVideoThumbnail(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) JoinRoom(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LeaveRoom(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAccountAvatars(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAccounts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListContactRequests(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListContacts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConversationMessageStars(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConversationPreviews(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConversationReactions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConversations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMessages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListScheduledMessages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSharedContent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListStarredMessages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ManageRoom(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MarkConversationMessagesRead(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OpenConversation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OpenRoom(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewRoom(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RefreshMessagePreview(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RegisterAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveDirectFromChats(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveRoomFromChats(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RequestRoomArchive(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RequestVideoThumbnail(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResetEngineData(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResolveDraftLinkPreview(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RetractMessage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SearchMessages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SendMessage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SendScheduledMessageNow(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetAccountAvatar(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetAccountCommunicationPreferences(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetAccountLabel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetConversationReadReceipts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetConversationRetention(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetConversationTyping(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetDownloadRetention(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetGlobalReadReceipts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetGlobalRetention(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetMessageReactions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetMessageStar(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetOmemoDecision(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetRoomArchiveMode(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetRoomOmemo(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StageMessageAttachment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StreamEvents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateConversationPreferences(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdatePendingMessage(w http.ResponseWriter, r *http.Request)
- type SetAccountAvatar
- type SetAccountAvatar204Response
- type SetAccountAvatar400ApplicationProblemPlusJSONResponse
- type SetAccountAvatar401ApplicationProblemPlusJSONResponse
- type SetAccountAvatar404ApplicationProblemPlusJSONResponse
- type SetAccountAvatar409ApplicationProblemPlusJSONResponse
- type SetAccountAvatar503ApplicationProblemPlusJSONResponse
- type SetAccountAvatarJSONRequestBody
- type SetAccountAvatarRequestObject
- type SetAccountAvatarResponse
- func (r SetAccountAvatarResponse) ContentType() string
- func (r SetAccountAvatarResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetAccountAvatarResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetAccountAvatarResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetAccountAvatarResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetAccountAvatarResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetAccountAvatarResponse) GetBody() []byte
- func (r SetAccountAvatarResponse) Status() string
- func (r SetAccountAvatarResponse) StatusCode() int
- type SetAccountAvatarResponse401Headers
- type SetAccountAvatarResponseObject
- type SetAccountCommunicationPreferences200JSONResponse
- type SetAccountCommunicationPreferences400ApplicationProblemPlusJSONResponse
- type SetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse
- type SetAccountCommunicationPreferences409ApplicationProblemPlusJSONResponse
- type SetAccountCommunicationPreferences413Response
- type SetAccountCommunicationPreferences415Response
- type SetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse
- type SetAccountCommunicationPreferencesJSONRequestBody
- type SetAccountCommunicationPreferencesRequestObject
- type SetAccountCommunicationPreferencesResponse
- func (r SetAccountCommunicationPreferencesResponse) ContentType() string
- func (r SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetAccountCommunicationPreferencesResponse) GetBody() []byte
- func (r SetAccountCommunicationPreferencesResponse) GetJSON200() *AccountCommunicationPreferences
- func (r SetAccountCommunicationPreferencesResponse) Status() string
- func (r SetAccountCommunicationPreferencesResponse) StatusCode() int
- type SetAccountCommunicationPreferencesResponseObject
- type SetAccountLabel
- type SetAccountLabel200JSONResponse
- type SetAccountLabel400ApplicationProblemPlusJSONResponse
- type SetAccountLabel401ApplicationProblemPlusJSONResponse
- type SetAccountLabel404ApplicationProblemPlusJSONResponse
- type SetAccountLabel409ApplicationProblemPlusJSONResponse
- type SetAccountLabel503ApplicationProblemPlusJSONResponse
- type SetAccountLabelJSONRequestBody
- type SetAccountLabelRequestObject
- type SetAccountLabelResponse
- func (r SetAccountLabelResponse) ContentType() string
- func (r SetAccountLabelResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetAccountLabelResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetAccountLabelResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetAccountLabelResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetAccountLabelResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetAccountLabelResponse) GetBody() []byte
- func (r SetAccountLabelResponse) GetJSON200() *Account
- func (r SetAccountLabelResponse) Status() string
- func (r SetAccountLabelResponse) StatusCode() int
- type SetAccountLabelResponse401Headers
- type SetAccountLabelResponseObject
- type SetConversationReadReceipts
- type SetConversationReadReceipts200JSONResponse
- type SetConversationReadReceipts400ApplicationProblemPlusJSONResponse
- type SetConversationReadReceipts401ApplicationProblemPlusJSONResponse
- type SetConversationReadReceipts404ApplicationProblemPlusJSONResponse
- type SetConversationReadReceipts409ApplicationProblemPlusJSONResponse
- type SetConversationReadReceipts503ApplicationProblemPlusJSONResponse
- type SetConversationReadReceiptsJSONRequestBody
- type SetConversationReadReceiptsRequestObject
- type SetConversationReadReceiptsResponse
- func (r SetConversationReadReceiptsResponse) ContentType() string
- func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetConversationReadReceiptsResponse) GetBody() []byte
- func (r SetConversationReadReceiptsResponse) GetJSON200() *ConversationReadReceipts
- func (r SetConversationReadReceiptsResponse) Status() string
- func (r SetConversationReadReceiptsResponse) StatusCode() int
- type SetConversationReadReceiptsResponse401Headers
- type SetConversationReadReceiptsResponseObject
- type SetConversationRetention
- type SetConversationRetention200JSONResponse
- type SetConversationRetention400ApplicationProblemPlusJSONResponse
- type SetConversationRetention401ApplicationProblemPlusJSONResponse
- type SetConversationRetention404ApplicationProblemPlusJSONResponse
- type SetConversationRetention409ApplicationProblemPlusJSONResponse
- type SetConversationRetention413Response
- type SetConversationRetention415Response
- type SetConversationRetention503ApplicationProblemPlusJSONResponse
- type SetConversationRetentionJSONRequestBody
- type SetConversationRetentionRequestObject
- type SetConversationRetentionResponse
- func (r SetConversationRetentionResponse) ContentType() string
- func (r SetConversationRetentionResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetConversationRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetConversationRetentionResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetConversationRetentionResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetConversationRetentionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetConversationRetentionResponse) GetBody() []byte
- func (r SetConversationRetentionResponse) GetJSON200() *ConversationRetention
- func (r SetConversationRetentionResponse) Status() string
- func (r SetConversationRetentionResponse) StatusCode() int
- type SetConversationRetentionResponse401Headers
- type SetConversationRetentionResponseObject
- type SetConversationTyping204Response
- type SetConversationTyping400ApplicationProblemPlusJSONResponse
- type SetConversationTyping404ApplicationProblemPlusJSONResponse
- type SetConversationTyping409ApplicationProblemPlusJSONResponse
- type SetConversationTyping413Response
- type SetConversationTyping415Response
- type SetConversationTyping503ApplicationProblemPlusJSONResponse
- type SetConversationTypingJSONRequestBody
- type SetConversationTypingRequestObject
- type SetConversationTypingResponse
- func (r SetConversationTypingResponse) ContentType() string
- func (r SetConversationTypingResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetConversationTypingResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetConversationTypingResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetConversationTypingResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetConversationTypingResponse) GetBody() []byte
- func (r SetConversationTypingResponse) Status() string
- func (r SetConversationTypingResponse) StatusCode() int
- type SetConversationTypingResponseObject
- type SetDownloadRetention
- type SetDownloadRetention200JSONResponse
- type SetDownloadRetention400ApplicationProblemPlusJSONResponse
- type SetDownloadRetention401ApplicationProblemPlusJSONResponse
- type SetDownloadRetention413ApplicationProblemPlusJSONResponse
- type SetDownloadRetention415ApplicationProblemPlusJSONResponse
- type SetDownloadRetention503ApplicationProblemPlusJSONResponse
- type SetDownloadRetentionJSONRequestBody
- type SetDownloadRetentionRequestObject
- type SetDownloadRetentionResponse
- func (r SetDownloadRetentionResponse) ContentType() string
- func (r SetDownloadRetentionResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetDownloadRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetDownloadRetentionResponse) GetApplicationproblemJSON413() *Problem
- func (r SetDownloadRetentionResponse) GetApplicationproblemJSON415() *Problem
- func (r SetDownloadRetentionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetDownloadRetentionResponse) GetBody() []byte
- func (r SetDownloadRetentionResponse) GetJSON200() *DownloadRetention
- func (r SetDownloadRetentionResponse) Status() string
- func (r SetDownloadRetentionResponse) StatusCode() int
- type SetDownloadRetentionResponse401Headers
- type SetDownloadRetentionResponseObject
- type SetGlobalReadReceipts
- type SetGlobalReadReceipts200JSONResponse
- type SetGlobalReadReceipts400ApplicationProblemPlusJSONResponse
- type SetGlobalReadReceipts401ApplicationProblemPlusJSONResponse
- type SetGlobalReadReceipts404ApplicationProblemPlusJSONResponse
- type SetGlobalReadReceipts409ApplicationProblemPlusJSONResponse
- type SetGlobalReadReceipts503ApplicationProblemPlusJSONResponse
- type SetGlobalReadReceiptsJSONRequestBody
- type SetGlobalReadReceiptsRequestObject
- type SetGlobalReadReceiptsResponse
- func (r SetGlobalReadReceiptsResponse) ContentType() string
- func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetGlobalReadReceiptsResponse) GetBody() []byte
- func (r SetGlobalReadReceiptsResponse) GetJSON200() *GlobalReadReceipts
- func (r SetGlobalReadReceiptsResponse) Status() string
- func (r SetGlobalReadReceiptsResponse) StatusCode() int
- type SetGlobalReadReceiptsResponse401Headers
- type SetGlobalReadReceiptsResponseObject
- type SetGlobalRetention
- type SetGlobalRetention200JSONResponse
- type SetGlobalRetention400ApplicationProblemPlusJSONResponse
- type SetGlobalRetention401ApplicationProblemPlusJSONResponse
- type SetGlobalRetention404ApplicationProblemPlusJSONResponse
- type SetGlobalRetention409ApplicationProblemPlusJSONResponse
- type SetGlobalRetention413Response
- type SetGlobalRetention415Response
- type SetGlobalRetention503ApplicationProblemPlusJSONResponse
- type SetGlobalRetentionJSONRequestBody
- type SetGlobalRetentionRequestObject
- type SetGlobalRetentionResponse
- func (r SetGlobalRetentionResponse) ContentType() string
- func (r SetGlobalRetentionResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetGlobalRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetGlobalRetentionResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetGlobalRetentionResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetGlobalRetentionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetGlobalRetentionResponse) GetBody() []byte
- func (r SetGlobalRetentionResponse) GetJSON200() *GlobalRetention
- func (r SetGlobalRetentionResponse) Status() string
- func (r SetGlobalRetentionResponse) StatusCode() int
- type SetGlobalRetentionResponse401Headers
- type SetGlobalRetentionResponseObject
- type SetMessageReactions
- type SetMessageReactions200JSONResponse
- type SetMessageReactions202JSONResponse
- type SetMessageReactions202ResponseHeaders
- type SetMessageReactions400ApplicationProblemPlusJSONResponse
- type SetMessageReactions401ApplicationProblemPlusJSONResponse
- type SetMessageReactions404ApplicationProblemPlusJSONResponse
- type SetMessageReactions409ApplicationProblemPlusJSONResponse
- type SetMessageReactions413ApplicationProblemPlusJSONResponse
- type SetMessageReactions415ApplicationProblemPlusJSONResponse
- type SetMessageReactions503ApplicationProblemPlusJSONResponse
- type SetMessageReactionsJSONRequestBody
- type SetMessageReactionsParams
- type SetMessageReactionsRequestObject
- type SetMessageReactionsResponse
- func (r SetMessageReactionsResponse) ContentType() string
- func (r SetMessageReactionsResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetMessageReactionsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetMessageReactionsResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetMessageReactionsResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetMessageReactionsResponse) GetApplicationproblemJSON413() *Problem
- func (r SetMessageReactionsResponse) GetApplicationproblemJSON415() *Problem
- func (r SetMessageReactionsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetMessageReactionsResponse) GetBody() []byte
- func (r SetMessageReactionsResponse) GetJSON200() *MessageReactionCommand
- func (r SetMessageReactionsResponse) GetJSON202() *MessageReactionCommand
- func (r SetMessageReactionsResponse) Status() string
- func (r SetMessageReactionsResponse) StatusCode() int
- type SetMessageReactionsResponse202Headers
- type SetMessageReactionsResponse401Headers
- type SetMessageReactionsResponseObject
- type SetMessageStar
- type SetMessageStar200JSONResponse
- type SetMessageStar400ApplicationProblemPlusJSONResponse
- type SetMessageStar401ApplicationProblemPlusJSONResponse
- type SetMessageStar404ApplicationProblemPlusJSONResponse
- type SetMessageStar409ApplicationProblemPlusJSONResponse
- type SetMessageStar413ApplicationProblemPlusJSONResponse
- type SetMessageStar415ApplicationProblemPlusJSONResponse
- type SetMessageStar503ApplicationProblemPlusJSONResponse
- type SetMessageStarJSONRequestBody
- type SetMessageStarParams
- type SetMessageStarRequestObject
- type SetMessageStarResponse
- func (r SetMessageStarResponse) ContentType() string
- func (r SetMessageStarResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetMessageStarResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetMessageStarResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetMessageStarResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetMessageStarResponse) GetApplicationproblemJSON413() *Problem
- func (r SetMessageStarResponse) GetApplicationproblemJSON415() *Problem
- func (r SetMessageStarResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetMessageStarResponse) GetBody() []byte
- func (r SetMessageStarResponse) GetJSON200() *MessageStar
- func (r SetMessageStarResponse) Status() string
- func (r SetMessageStarResponse) StatusCode() int
- type SetMessageStarResponse401Headers
- type SetMessageStarResponseObject
- type SetOmemoDecision204Response
- type SetOmemoDecision400ApplicationProblemPlusJSONResponse
- type SetOmemoDecision401ApplicationProblemPlusJSONResponse
- type SetOmemoDecision404ApplicationProblemPlusJSONResponse
- type SetOmemoDecision409ApplicationProblemPlusJSONResponse
- type SetOmemoDecision503ApplicationProblemPlusJSONResponse
- type SetOmemoDecisionJSONRequestBody
- type SetOmemoDecisionParams
- type SetOmemoDecisionRequestObject
- type SetOmemoDecisionResponse
- func (r SetOmemoDecisionResponse) ContentType() string
- func (r SetOmemoDecisionResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetOmemoDecisionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetOmemoDecisionResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetOmemoDecisionResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetOmemoDecisionResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetOmemoDecisionResponse) GetBody() []byte
- func (r SetOmemoDecisionResponse) Status() string
- func (r SetOmemoDecisionResponse) StatusCode() int
- type SetOmemoDecisionResponse401Headers
- type SetOmemoDecisionResponseObject
- type SetRoomArchiveMode
- type SetRoomArchiveMode200JSONResponse
- type SetRoomArchiveMode400ApplicationProblemPlusJSONResponse
- type SetRoomArchiveMode401ApplicationProblemPlusJSONResponse
- type SetRoomArchiveMode404ApplicationProblemPlusJSONResponse
- type SetRoomArchiveMode503ApplicationProblemPlusJSONResponse
- type SetRoomArchiveModeJSONRequestBody
- type SetRoomArchiveModeRequestObject
- type SetRoomArchiveModeResponse
- func (r SetRoomArchiveModeResponse) ContentType() string
- func (r SetRoomArchiveModeResponse) GetApplicationproblemJSON400() *Invalid
- func (r SetRoomArchiveModeResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetRoomArchiveModeResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetRoomArchiveModeResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetRoomArchiveModeResponse) GetBody() []byte
- func (r SetRoomArchiveModeResponse) GetJSON200() *RoomArchive
- func (r SetRoomArchiveModeResponse) Status() string
- func (r SetRoomArchiveModeResponse) StatusCode() int
- type SetRoomArchiveModeResponse401Headers
- type SetRoomArchiveModeResponseObject
- type SetRoomOmemo204Response
- type SetRoomOmemo401ApplicationProblemPlusJSONResponse
- type SetRoomOmemo404ApplicationProblemPlusJSONResponse
- type SetRoomOmemo409ApplicationProblemPlusJSONResponse
- type SetRoomOmemo503ApplicationProblemPlusJSONResponse
- type SetRoomOmemoJSONBody
- type SetRoomOmemoJSONRequestBody
- type SetRoomOmemoRequestObject
- type SetRoomOmemoResponse
- func (r SetRoomOmemoResponse) ContentType() string
- func (r SetRoomOmemoResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r SetRoomOmemoResponse) GetApplicationproblemJSON404() *NotFound
- func (r SetRoomOmemoResponse) GetApplicationproblemJSON409() *Conflict
- func (r SetRoomOmemoResponse) GetApplicationproblemJSON503() *Unavailable
- func (r SetRoomOmemoResponse) GetBody() []byte
- func (r SetRoomOmemoResponse) Status() string
- func (r SetRoomOmemoResponse) StatusCode() int
- type SetRoomOmemoResponse401Headers
- type SetRoomOmemoResponseObject
- type SharedContentFirstPageCounts
- type SharedContentIndexing
- type SharedContentIndexingState
- type SharedContentItem
- type SharedContentItemKind
- type SharedContentPage
- type StageMessageAttachment200JSONResponse
- type StageMessageAttachment201JSONResponse
- type StageMessageAttachment201ResponseHeaders
- type StageMessageAttachment400ApplicationProblemPlusJSONResponse
- type StageMessageAttachment401ApplicationProblemPlusJSONResponse
- type StageMessageAttachment404ApplicationProblemPlusJSONResponse
- type StageMessageAttachment409ApplicationProblemPlusJSONResponse
- type StageMessageAttachment413ApplicationProblemPlusJSONResponse
- type StageMessageAttachment415ApplicationProblemPlusJSONResponse
- type StageMessageAttachment503ApplicationProblemPlusJSONResponse
- type StageMessageAttachmentMultipartBody
- type StageMessageAttachmentMultipartRequestBody
- type StageMessageAttachmentRequestObject
- type StageMessageAttachmentResponse
- func (r StageMessageAttachmentResponse) ContentType() string
- func (r StageMessageAttachmentResponse) GetApplicationproblemJSON400() *Invalid
- func (r StageMessageAttachmentResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r StageMessageAttachmentResponse) GetApplicationproblemJSON404() *NotFound
- func (r StageMessageAttachmentResponse) GetApplicationproblemJSON409() *Conflict
- func (r StageMessageAttachmentResponse) GetApplicationproblemJSON413() *Problem
- func (r StageMessageAttachmentResponse) GetApplicationproblemJSON415() *Problem
- func (r StageMessageAttachmentResponse) GetApplicationproblemJSON503() *Unavailable
- func (r StageMessageAttachmentResponse) GetBody() []byte
- func (r StageMessageAttachmentResponse) GetJSON200() *StagedAttachment
- func (r StageMessageAttachmentResponse) GetJSON201() *StagedAttachment
- func (r StageMessageAttachmentResponse) Status() string
- func (r StageMessageAttachmentResponse) StatusCode() int
- type StageMessageAttachmentResponse201Headers
- type StageMessageAttachmentResponse401Headers
- type StageMessageAttachmentResponseObject
- type StagedAttachment
- type StagedAttachmentID
- type StagedAttachmentIDs
- type StarredMessage
- type StarredMessagePage
- type StdHTTPServerOptions
- type StreamEvents200TexteventStreamResponse
- type StreamEvents400ApplicationProblemPlusJSONResponse
- type StreamEvents401ApplicationProblemPlusJSONResponse
- type StreamEvents409ApplicationProblemPlusJSONResponse
- type StreamEvents503ApplicationProblemPlusJSONResponse
- type StreamEventsParams
- type StreamEventsRequestObject
- type StreamEventsResponse
- func (r StreamEventsResponse) ContentType() string
- func (r StreamEventsResponse) GetApplicationproblemJSON400() *Invalid
- func (r StreamEventsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r StreamEventsResponse) GetApplicationproblemJSON409() *Conflict
- func (r StreamEventsResponse) GetApplicationproblemJSON503() *Unavailable
- func (r StreamEventsResponse) GetBody() []byte
- func (r StreamEventsResponse) Status() string
- func (r StreamEventsResponse) StatusCode() int
- type StreamEventsResponse401Headers
- type StreamEventsResponseObject
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type SupportState
- type TooManyValuesForParamError
- type TypingState
- type Unavailable
- type UnavailableApplicationProblemPlusJSONResponse
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type UpdateConversationPreferences
- type UpdateConversationPreferences200JSONResponse
- type UpdateConversationPreferences200ResponseHeaders
- type UpdateConversationPreferences400ApplicationProblemPlusJSONResponse
- type UpdateConversationPreferences401ApplicationProblemPlusJSONResponse
- type UpdateConversationPreferences404ApplicationProblemPlusJSONResponse
- type UpdateConversationPreferences409ApplicationProblemPlusJSONResponse
- type UpdateConversationPreferences413ApplicationProblemPlusJSONResponse
- type UpdateConversationPreferences415ApplicationProblemPlusJSONResponse
- type UpdateConversationPreferences503ApplicationProblemPlusJSONResponse
- type UpdateConversationPreferencesJSONRequestBody
- type UpdateConversationPreferencesParams
- type UpdateConversationPreferencesRequestObject
- type UpdateConversationPreferencesResponse
- func (r UpdateConversationPreferencesResponse) ContentType() string
- func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON400() *Invalid
- func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON404() *NotFound
- func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON409() *Conflict
- func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON413() *Problem
- func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON415() *Problem
- func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON503() *Unavailable
- func (r UpdateConversationPreferencesResponse) GetBody() []byte
- func (r UpdateConversationPreferencesResponse) GetJSON200() *Conversation
- func (r UpdateConversationPreferencesResponse) Status() string
- func (r UpdateConversationPreferencesResponse) StatusCode() int
- type UpdateConversationPreferencesResponse200Headers
- type UpdateConversationPreferencesResponse401Headers
- type UpdateConversationPreferencesResponseObject
- type UpdatePendingMessage
- type UpdatePendingMessage200JSONResponse
- type UpdatePendingMessage400ApplicationProblemPlusJSONResponse
- type UpdatePendingMessage401ApplicationProblemPlusJSONResponse
- type UpdatePendingMessage404ApplicationProblemPlusJSONResponse
- type UpdatePendingMessage409ApplicationProblemPlusJSONResponse
- type UpdatePendingMessage413ApplicationProblemPlusJSONResponse
- type UpdatePendingMessage415ApplicationProblemPlusJSONResponse
- type UpdatePendingMessage503ApplicationProblemPlusJSONResponse
- type UpdatePendingMessageJSONRequestBody
- type UpdatePendingMessageParams
- type UpdatePendingMessageRequestObject
- type UpdatePendingMessageResponse
- func (r UpdatePendingMessageResponse) ContentType() string
- func (r UpdatePendingMessageResponse) GetApplicationproblemJSON400() *Invalid
- func (r UpdatePendingMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
- func (r UpdatePendingMessageResponse) GetApplicationproblemJSON404() *NotFound
- func (r UpdatePendingMessageResponse) GetApplicationproblemJSON409() *Conflict
- func (r UpdatePendingMessageResponse) GetApplicationproblemJSON413() *SchedulingBodyTooLarge
- func (r UpdatePendingMessageResponse) GetApplicationproblemJSON415() *SchedulingUnsupportedMedia
- func (r UpdatePendingMessageResponse) GetApplicationproblemJSON503() *Unavailable
- func (r UpdatePendingMessageResponse) GetBody() []byte
- func (r UpdatePendingMessageResponse) GetJSON200() *PendingMessageUpdated
- func (r UpdatePendingMessageResponse) Status() string
- func (r UpdatePendingMessageResponse) StatusCode() int
- type UpdatePendingMessageResponse401Headers
- type UpdatePendingMessageResponseObject
- type VideoSeekIndex
- type VideoThumbnail
- type VideoThumbnailKind
- type VideoThumbnailState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSpec ¶
GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.
func GetSpecJSON ¶
GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.
func GetSwagger
deprecated
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
func NewCancelMessageRequest ¶
func NewCancelMessageRequest(server string, messageId MessageID, params *CancelMessageParams, body CancelMessageJSONRequestBody) (*http.Request, error)
NewCancelMessageRequest calls the generic CancelMessage builder with application/json body
func NewCancelMessageRequestWithBody ¶
func NewCancelMessageRequestWithBody(server string, messageId MessageID, params *CancelMessageParams, contentType string, body io.Reader) (*http.Request, error)
NewCancelMessageRequestWithBody constructs an http.Request for the CancelMessage method, with any body, and a specified content type
func NewChangeProtocolContactRequest ¶
func NewChangeProtocolContactRequest(server string, accountId AccountID, body ChangeProtocolContactJSONRequestBody) (*http.Request, error)
NewChangeProtocolContactRequest calls the generic ChangeProtocolContact builder with application/json body
func NewChangeProtocolContactRequestWithBody ¶
func NewChangeProtocolContactRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
NewChangeProtocolContactRequestWithBody constructs an http.Request for the ChangeProtocolContact method, with any body, and a specified content type
func NewClearDeviceDownloadsRequest ¶
NewClearDeviceDownloadsRequest constructs an http.Request for the ClearDeviceDownloads method
func NewConfigureAccountConnectionRequest ¶
func NewConfigureAccountConnectionRequest(server string, accountId AccountID, body ConfigureAccountConnectionJSONRequestBody) (*http.Request, error)
NewConfigureAccountConnectionRequest calls the generic ConfigureAccountConnection builder with application/json body
func NewConfigureAccountConnectionRequestWithBody ¶
func NewConfigureAccountConnectionRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
NewConfigureAccountConnectionRequestWithBody constructs an http.Request for the ConfigureAccountConnection method, with any body, and a specified content type
func NewDisconnectAccountRequest ¶
NewDisconnectAccountRequest constructs an http.Request for the DisconnectAccount method
func NewDiscoverRoomsRequest ¶
func NewDiscoverRoomsRequest(server string, accountId AccountID, params *DiscoverRoomsParams) (*http.Request, error)
NewDiscoverRoomsRequest constructs an http.Request for the DiscoverRooms method
func NewDownloadOmemoAttachmentRequest ¶
func NewDownloadOmemoAttachmentRequest(server string, messageId MessageID, index int) (*http.Request, error)
NewDownloadOmemoAttachmentRequest constructs an http.Request for the DownloadOmemoAttachment method
func NewDownloadPreviewImageRequest ¶
func NewDownloadPreviewImageRequest(server string, previewId ID, params *DownloadPreviewImageParams) (*http.Request, error)
NewDownloadPreviewImageRequest constructs an http.Request for the DownloadPreviewImage method
func NewEditMessageRequest ¶
func NewEditMessageRequest(server string, messageId MessageID, params *EditMessageParams, body EditMessageJSONRequestBody) (*http.Request, error)
NewEditMessageRequest calls the generic EditMessage builder with application/json body
func NewEditMessageRequestWithBody ¶
func NewEditMessageRequestWithBody(server string, messageId MessageID, params *EditMessageParams, contentType string, body io.Reader) (*http.Request, error)
NewEditMessageRequestWithBody constructs an http.Request for the EditMessage method, with any body, and a specified content type
func NewForwardMessageRequest ¶
func NewForwardMessageRequest(server string, messageId MessageID, params *ForwardMessageParams, body ForwardMessageJSONRequestBody) (*http.Request, error)
NewForwardMessageRequest calls the generic ForwardMessage builder with application/json body
func NewForwardMessageRequestWithBody ¶
func NewForwardMessageRequestWithBody(server string, messageId MessageID, params *ForwardMessageParams, contentType string, body io.Reader) (*http.Request, error)
NewForwardMessageRequestWithBody constructs an http.Request for the ForwardMessage method, with any body, and a specified content type
func NewGetAccountCapabilitiesRequest ¶
NewGetAccountCapabilitiesRequest constructs an http.Request for the GetAccountCapabilities method
func NewGetAccountCommunicationPreferencesRequest ¶
func NewGetAccountCommunicationPreferencesRequest(server string, accountId AccountID) (*http.Request, error)
NewGetAccountCommunicationPreferencesRequest constructs an http.Request for the GetAccountCommunicationPreferences method
func NewGetAccountConnectionRequest ¶
NewGetAccountConnectionRequest constructs an http.Request for the GetAccountConnection method
func NewGetAccountHistoryRequest ¶
NewGetAccountHistoryRequest constructs an http.Request for the GetAccountHistory method
func NewGetAccountRequest ¶
NewGetAccountRequest constructs an http.Request for the GetAccount method
func NewGetAccountUnreadTotalsRequest ¶
NewGetAccountUnreadTotalsRequest constructs an http.Request for the GetAccountUnreadTotals method
func NewGetAvatarImageRequest ¶
func NewGetAvatarImageRequest(server string, hash string, params *GetAvatarImageParams) (*http.Request, error)
NewGetAvatarImageRequest constructs an http.Request for the GetAvatarImage method
func NewGetConversationDetailsRequest ¶
func NewGetConversationDetailsRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetConversationDetailsRequest constructs an http.Request for the GetConversationDetails method
func NewGetConversationEditTargetRequest ¶
func NewGetConversationEditTargetRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetConversationEditTargetRequest constructs an http.Request for the GetConversationEditTarget method
func NewGetConversationReadReceiptsRequest ¶
func NewGetConversationReadReceiptsRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetConversationReadReceiptsRequest constructs an http.Request for the GetConversationReadReceipts method
func NewGetConversationReadStateRequest ¶
func NewGetConversationReadStateRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetConversationReadStateRequest constructs an http.Request for the GetConversationReadState method
func NewGetConversationRequest ¶
func NewGetConversationRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetConversationRequest constructs an http.Request for the GetConversation method
func NewGetConversationRetentionRequest ¶
func NewGetConversationRetentionRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetConversationRetentionRequest constructs an http.Request for the GetConversationRetention method
func NewGetConversationTypingRequest ¶
func NewGetConversationTypingRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetConversationTypingRequest constructs an http.Request for the GetConversationTyping method
func NewGetDownloadRetentionRequest ¶
NewGetDownloadRetentionRequest constructs an http.Request for the GetDownloadRetention method
func NewGetEngineRequest ¶
NewGetEngineRequest constructs an http.Request for the GetEngine method
func NewGetGlobalReadReceiptsRequest ¶
NewGetGlobalReadReceiptsRequest constructs an http.Request for the GetGlobalReadReceipts method
func NewGetGlobalRetentionRequest ¶
NewGetGlobalRetentionRequest constructs an http.Request for the GetGlobalRetention method
func NewGetHealthRequest ¶
NewGetHealthRequest constructs an http.Request for the GetHealth method
func NewGetMediaImageRequest ¶
func NewGetMediaImageRequest(server string, hash string, params *GetMediaImageParams) (*http.Request, error)
NewGetMediaImageRequest constructs an http.Request for the GetMediaImage method
func NewGetMentionCandidatesRequest ¶
func NewGetMentionCandidatesRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetMentionCandidatesRequest constructs an http.Request for the GetMentionCandidates method
func NewGetMessageContextRequest ¶
func NewGetMessageContextRequest(server string, conversationId ConversationID, messageId MessageID, params *GetMessageContextParams) (*http.Request, error)
NewGetMessageContextRequest constructs an http.Request for the GetMessageContext method
func NewGetMessageEditHistoryRequest ¶
func NewGetMessageEditHistoryRequest(server string, messageId MessageID, params *GetMessageEditHistoryParams) (*http.Request, error)
NewGetMessageEditHistoryRequest constructs an http.Request for the GetMessageEditHistory method
func NewGetMessageEditRequest ¶
NewGetMessageEditRequest constructs an http.Request for the GetMessageEdit method
func NewGetMessageEditTargetRequest ¶
NewGetMessageEditTargetRequest constructs an http.Request for the GetMessageEditTarget method
func NewGetMessagePreviewRequest ¶
NewGetMessagePreviewRequest constructs an http.Request for the GetMessagePreview method
func NewGetMessageReactionCommandRequest ¶
NewGetMessageReactionCommandRequest constructs an http.Request for the GetMessageReactionCommand method
func NewGetMessageReactionsRequest ¶
NewGetMessageReactionsRequest constructs an http.Request for the GetMessageReactions method
func NewGetMessageRequest ¶
NewGetMessageRequest constructs an http.Request for the GetMessage method
func NewGetMessageSenderProfileRequest ¶
NewGetMessageSenderProfileRequest constructs an http.Request for the GetMessageSenderProfile method
func NewGetMessageSourceContextRequest ¶
func NewGetMessageSourceContextRequest(server string, conversationId ConversationID, messageId MessageID) (*http.Request, error)
NewGetMessageSourceContextRequest constructs an http.Request for the GetMessageSourceContext method
func NewGetMessageStarRequest ¶
NewGetMessageStarRequest constructs an http.Request for the GetMessageStar method
func NewGetOmemoDevicesRequest ¶
func NewGetOmemoDevicesRequest(server string, accountId AccountID, params *GetOmemoDevicesParams) (*http.Request, error)
NewGetOmemoDevicesRequest constructs an http.Request for the GetOmemoDevices method
func NewGetOperationRequest ¶
func NewGetOperationRequest(server string, operationId ID, params *GetOperationParams) (*http.Request, error)
NewGetOperationRequest constructs an http.Request for the GetOperation method
func NewGetRetractedOriginalRequest ¶
NewGetRetractedOriginalRequest constructs an http.Request for the GetRetractedOriginal method
func NewGetRoomArchiveRequest ¶
func NewGetRoomArchiveRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetRoomArchiveRequest constructs an http.Request for the GetRoomArchive method
func NewGetRoomManagementRequest ¶
func NewGetRoomManagementRequest(server string, conversationId ConversationID, params *GetRoomManagementParams) (*http.Request, error)
NewGetRoomManagementRequest constructs an http.Request for the GetRoomManagement method
func NewGetRoomOmemoRequest ¶
func NewGetRoomOmemoRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetRoomOmemoRequest constructs an http.Request for the GetRoomOmemo method
func NewGetRoomParticipantsRequest ¶
func NewGetRoomParticipantsRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetRoomParticipantsRequest constructs an http.Request for the GetRoomParticipants method
func NewGetRoomSessionRequest ¶
func NewGetRoomSessionRequest(server string, conversationId ConversationID) (*http.Request, error)
NewGetRoomSessionRequest constructs an http.Request for the GetRoomSession method
func NewGetSharedContentMediaRequest ¶
func NewGetSharedContentMediaRequest(server string, itemId ID, params *GetSharedContentMediaParams) (*http.Request, error)
NewGetSharedContentMediaRequest constructs an http.Request for the GetSharedContentMedia method
func NewGetStagedMessageAttachmentRequest ¶
func NewGetStagedMessageAttachmentRequest(server string, conversationId ConversationID, attachmentId StagedAttachmentID, params *GetStagedMessageAttachmentParams) (*http.Request, error)
NewGetStagedMessageAttachmentRequest constructs an http.Request for the GetStagedMessageAttachment method
func NewGetVideoThumbnailRequest ¶
NewGetVideoThumbnailRequest constructs an http.Request for the GetVideoThumbnail method
func NewJoinRoomRequest ¶
func NewJoinRoomRequest(server string, conversationId ConversationID, params *JoinRoomParams, body JoinRoomJSONRequestBody) (*http.Request, error)
NewJoinRoomRequest calls the generic JoinRoom builder with application/json body
func NewJoinRoomRequestWithBody ¶
func NewJoinRoomRequestWithBody(server string, conversationId ConversationID, params *JoinRoomParams, contentType string, body io.Reader) (*http.Request, error)
NewJoinRoomRequestWithBody constructs an http.Request for the JoinRoom method, with any body, and a specified content type
func NewLeaveRoomRequest ¶
func NewLeaveRoomRequest(server string, conversationId ConversationID, params *LeaveRoomParams, body LeaveRoomJSONRequestBody) (*http.Request, error)
NewLeaveRoomRequest calls the generic LeaveRoom builder with application/json body
func NewLeaveRoomRequestWithBody ¶
func NewLeaveRoomRequestWithBody(server string, conversationId ConversationID, params *LeaveRoomParams, contentType string, body io.Reader) (*http.Request, error)
NewLeaveRoomRequestWithBody constructs an http.Request for the LeaveRoom method, with any body, and a specified content type
func NewListAccountAvatarsRequest ¶
func NewListAccountAvatarsRequest(server string, accountId AccountID, params *ListAccountAvatarsParams) (*http.Request, error)
NewListAccountAvatarsRequest constructs an http.Request for the ListAccountAvatars method
func NewListAccountsRequest ¶
func NewListAccountsRequest(server string, params *ListAccountsParams) (*http.Request, error)
NewListAccountsRequest constructs an http.Request for the ListAccounts method
func NewListContactRequestsRequest ¶
NewListContactRequestsRequest constructs an http.Request for the ListContactRequests method
func NewListContactsRequest ¶
func NewListContactsRequest(server string, params *ListContactsParams) (*http.Request, error)
NewListContactsRequest constructs an http.Request for the ListContacts method
func NewListConversationMessageStarsRequest ¶
func NewListConversationMessageStarsRequest(server string, conversationId ConversationID, params *ListConversationMessageStarsParams) (*http.Request, error)
NewListConversationMessageStarsRequest constructs an http.Request for the ListConversationMessageStars method
func NewListConversationPreviewsRequest ¶
func NewListConversationPreviewsRequest(server string, conversationId ID, params *ListConversationPreviewsParams) (*http.Request, error)
NewListConversationPreviewsRequest constructs an http.Request for the ListConversationPreviews method
func NewListConversationReactionsRequest ¶
func NewListConversationReactionsRequest(server string, conversationId ConversationID, params *ListConversationReactionsParams) (*http.Request, error)
NewListConversationReactionsRequest constructs an http.Request for the ListConversationReactions method
func NewListConversationsRequest ¶
func NewListConversationsRequest(server string, params *ListConversationsParams) (*http.Request, error)
NewListConversationsRequest constructs an http.Request for the ListConversations method
func NewListMessagesRequest ¶
func NewListMessagesRequest(server string, conversationId ConversationID, params *ListMessagesParams) (*http.Request, error)
NewListMessagesRequest constructs an http.Request for the ListMessages method
func NewListScheduledMessagesRequest ¶
func NewListScheduledMessagesRequest(server string, params *ListScheduledMessagesParams) (*http.Request, error)
NewListScheduledMessagesRequest constructs an http.Request for the ListScheduledMessages method
func NewListSharedContentRequest ¶
func NewListSharedContentRequest(server string, params *ListSharedContentParams) (*http.Request, error)
NewListSharedContentRequest constructs an http.Request for the ListSharedContent method
func NewListStarredMessagesRequest ¶
func NewListStarredMessagesRequest(server string, params *ListStarredMessagesParams) (*http.Request, error)
NewListStarredMessagesRequest constructs an http.Request for the ListStarredMessages method
func NewManageRoomRequest ¶
func NewManageRoomRequest(server string, conversationId ConversationID, params *ManageRoomParams, body ManageRoomJSONRequestBody) (*http.Request, error)
NewManageRoomRequest calls the generic ManageRoom builder with application/json body
func NewManageRoomRequestWithBody ¶
func NewManageRoomRequestWithBody(server string, conversationId ConversationID, params *ManageRoomParams, contentType string, body io.Reader) (*http.Request, error)
NewManageRoomRequestWithBody constructs an http.Request for the ManageRoom method, with any body, and a specified content type
func NewMarkConversationMessagesReadRequest ¶
func NewMarkConversationMessagesReadRequest(server string, conversationId ConversationID, params *MarkConversationMessagesReadParams, body MarkConversationMessagesReadJSONRequestBody) (*http.Request, error)
NewMarkConversationMessagesReadRequest calls the generic MarkConversationMessagesRead builder with application/json body
func NewMarkConversationMessagesReadRequestWithBody ¶
func NewMarkConversationMessagesReadRequestWithBody(server string, conversationId ConversationID, params *MarkConversationMessagesReadParams, contentType string, body io.Reader) (*http.Request, error)
NewMarkConversationMessagesReadRequestWithBody constructs an http.Request for the MarkConversationMessagesRead method, with any body, and a specified content type
func NewOpenConversationRequest ¶
func NewOpenConversationRequest(server string, params *OpenConversationParams, body OpenConversationJSONRequestBody) (*http.Request, error)
NewOpenConversationRequest calls the generic OpenConversation builder with application/json body
func NewOpenConversationRequestWithBody ¶
func NewOpenConversationRequestWithBody(server string, params *OpenConversationParams, contentType string, body io.Reader) (*http.Request, error)
NewOpenConversationRequestWithBody constructs an http.Request for the OpenConversation method, with any body, and a specified content type
func NewOpenRoomRequest ¶
func NewOpenRoomRequest(server string, accountId AccountID, params *OpenRoomParams, body OpenRoomJSONRequestBody) (*http.Request, error)
NewOpenRoomRequest calls the generic OpenRoom builder with application/json body
func NewOpenRoomRequestWithBody ¶
func NewOpenRoomRequestWithBody(server string, accountId AccountID, params *OpenRoomParams, contentType string, body io.Reader) (*http.Request, error)
NewOpenRoomRequestWithBody constructs an http.Request for the OpenRoom method, with any body, and a specified content type
func NewPreviewRoomRequest ¶
func NewPreviewRoomRequest(server string, accountId AccountID, params *PreviewRoomParams) (*http.Request, error)
NewPreviewRoomRequest constructs an http.Request for the PreviewRoom method
func NewRefreshMessagePreviewRequest ¶
NewRefreshMessagePreviewRequest constructs an http.Request for the RefreshMessagePreview method
func NewRegisterAccountRequest ¶
func NewRegisterAccountRequest(server string, params *RegisterAccountParams, body RegisterAccountJSONRequestBody) (*http.Request, error)
NewRegisterAccountRequest calls the generic RegisterAccount builder with application/json body
func NewRegisterAccountRequestWithBody ¶
func NewRegisterAccountRequestWithBody(server string, params *RegisterAccountParams, contentType string, body io.Reader) (*http.Request, error)
NewRegisterAccountRequestWithBody constructs an http.Request for the RegisterAccount method, with any body, and a specified content type
func NewRemoveAccountRequest ¶
NewRemoveAccountRequest constructs an http.Request for the RemoveAccount method
func NewRemoveDirectFromChatsRequest ¶
func NewRemoveDirectFromChatsRequest(server string, conversationId ConversationID, params *RemoveDirectFromChatsParams, body RemoveDirectFromChatsJSONRequestBody) (*http.Request, error)
NewRemoveDirectFromChatsRequest calls the generic RemoveDirectFromChats builder with application/json body
func NewRemoveDirectFromChatsRequestWithBody ¶
func NewRemoveDirectFromChatsRequestWithBody(server string, conversationId ConversationID, params *RemoveDirectFromChatsParams, contentType string, body io.Reader) (*http.Request, error)
NewRemoveDirectFromChatsRequestWithBody constructs an http.Request for the RemoveDirectFromChats method, with any body, and a specified content type
func NewRemoveRoomFromChatsRequest ¶
func NewRemoveRoomFromChatsRequest(server string, conversationId ConversationID, params *RemoveRoomFromChatsParams, body RemoveRoomFromChatsJSONRequestBody) (*http.Request, error)
NewRemoveRoomFromChatsRequest calls the generic RemoveRoomFromChats builder with application/json body
func NewRemoveRoomFromChatsRequestWithBody ¶
func NewRemoveRoomFromChatsRequestWithBody(server string, conversationId ConversationID, params *RemoveRoomFromChatsParams, contentType string, body io.Reader) (*http.Request, error)
NewRemoveRoomFromChatsRequestWithBody constructs an http.Request for the RemoveRoomFromChats method, with any body, and a specified content type
func NewRequestRoomArchiveRequest ¶
func NewRequestRoomArchiveRequest(server string, conversationId ConversationID, body RequestRoomArchiveJSONRequestBody) (*http.Request, error)
NewRequestRoomArchiveRequest calls the generic RequestRoomArchive builder with application/json body
func NewRequestRoomArchiveRequestWithBody ¶
func NewRequestRoomArchiveRequestWithBody(server string, conversationId ConversationID, contentType string, body io.Reader) (*http.Request, error)
NewRequestRoomArchiveRequestWithBody constructs an http.Request for the RequestRoomArchive method, with any body, and a specified content type
func NewRequestVideoThumbnailRequest ¶
NewRequestVideoThumbnailRequest constructs an http.Request for the RequestVideoThumbnail method
func NewResetEngineDataRequest ¶
func NewResetEngineDataRequest(server string, body ResetEngineDataJSONRequestBody) (*http.Request, error)
NewResetEngineDataRequest calls the generic ResetEngineData builder with application/json body
func NewResetEngineDataRequestWithBody ¶
func NewResetEngineDataRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewResetEngineDataRequestWithBody constructs an http.Request for the ResetEngineData method, with any body, and a specified content type
func NewResolveDraftLinkPreviewRequest ¶
func NewResolveDraftLinkPreviewRequest(server string, body ResolveDraftLinkPreviewJSONRequestBody) (*http.Request, error)
NewResolveDraftLinkPreviewRequest calls the generic ResolveDraftLinkPreview builder with application/json body
func NewResolveDraftLinkPreviewRequestWithBody ¶
func NewResolveDraftLinkPreviewRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewResolveDraftLinkPreviewRequestWithBody constructs an http.Request for the ResolveDraftLinkPreview method, with any body, and a specified content type
func NewRetractMessageRequest ¶
func NewRetractMessageRequest(server string, messageId MessageID, body RetractMessageJSONRequestBody) (*http.Request, error)
NewRetractMessageRequest calls the generic RetractMessage builder with application/json body
func NewRetractMessageRequestWithBody ¶
func NewRetractMessageRequestWithBody(server string, messageId MessageID, contentType string, body io.Reader) (*http.Request, error)
NewRetractMessageRequestWithBody constructs an http.Request for the RetractMessage method, with any body, and a specified content type
func NewSearchMessagesRequest ¶
func NewSearchMessagesRequest(server string, params *SearchMessagesParams) (*http.Request, error)
NewSearchMessagesRequest constructs an http.Request for the SearchMessages method
func NewSendMessageRequest ¶
func NewSendMessageRequest(server string, conversationId ConversationID, params *SendMessageParams, body SendMessageJSONRequestBody) (*http.Request, error)
NewSendMessageRequest calls the generic SendMessage builder with application/json body
func NewSendMessageRequestWithBody ¶
func NewSendMessageRequestWithBody(server string, conversationId ConversationID, params *SendMessageParams, contentType string, body io.Reader) (*http.Request, error)
NewSendMessageRequestWithBody constructs an http.Request for the SendMessage method, with any body, and a specified content type
func NewSendScheduledMessageNowRequest ¶
func NewSendScheduledMessageNowRequest(server string, messageId MessageID, params *SendScheduledMessageNowParams, body SendScheduledMessageNowJSONRequestBody) (*http.Request, error)
NewSendScheduledMessageNowRequest calls the generic SendScheduledMessageNow builder with application/json body
func NewSendScheduledMessageNowRequestWithBody ¶
func NewSendScheduledMessageNowRequestWithBody(server string, messageId MessageID, params *SendScheduledMessageNowParams, contentType string, body io.Reader) (*http.Request, error)
NewSendScheduledMessageNowRequestWithBody constructs an http.Request for the SendScheduledMessageNow method, with any body, and a specified content type
func NewSetAccountAvatarRequest ¶
func NewSetAccountAvatarRequest(server string, accountId AccountID, body SetAccountAvatarJSONRequestBody) (*http.Request, error)
NewSetAccountAvatarRequest calls the generic SetAccountAvatar builder with application/json body
func NewSetAccountAvatarRequestWithBody ¶
func NewSetAccountAvatarRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
NewSetAccountAvatarRequestWithBody constructs an http.Request for the SetAccountAvatar method, with any body, and a specified content type
func NewSetAccountCommunicationPreferencesRequest ¶
func NewSetAccountCommunicationPreferencesRequest(server string, accountId AccountID, body SetAccountCommunicationPreferencesJSONRequestBody) (*http.Request, error)
NewSetAccountCommunicationPreferencesRequest calls the generic SetAccountCommunicationPreferences builder with application/json body
func NewSetAccountCommunicationPreferencesRequestWithBody ¶
func NewSetAccountCommunicationPreferencesRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
NewSetAccountCommunicationPreferencesRequestWithBody constructs an http.Request for the SetAccountCommunicationPreferences method, with any body, and a specified content type
func NewSetAccountLabelRequest ¶
func NewSetAccountLabelRequest(server string, accountId AccountID, body SetAccountLabelJSONRequestBody) (*http.Request, error)
NewSetAccountLabelRequest calls the generic SetAccountLabel builder with application/json body
func NewSetAccountLabelRequestWithBody ¶
func NewSetAccountLabelRequestWithBody(server string, accountId AccountID, contentType string, body io.Reader) (*http.Request, error)
NewSetAccountLabelRequestWithBody constructs an http.Request for the SetAccountLabel method, with any body, and a specified content type
func NewSetConversationReadReceiptsRequest ¶
func NewSetConversationReadReceiptsRequest(server string, conversationId ConversationID, body SetConversationReadReceiptsJSONRequestBody) (*http.Request, error)
NewSetConversationReadReceiptsRequest calls the generic SetConversationReadReceipts builder with application/json body
func NewSetConversationReadReceiptsRequestWithBody ¶
func NewSetConversationReadReceiptsRequestWithBody(server string, conversationId ConversationID, contentType string, body io.Reader) (*http.Request, error)
NewSetConversationReadReceiptsRequestWithBody constructs an http.Request for the SetConversationReadReceipts method, with any body, and a specified content type
func NewSetConversationRetentionRequest ¶
func NewSetConversationRetentionRequest(server string, conversationId ConversationID, body SetConversationRetentionJSONRequestBody) (*http.Request, error)
NewSetConversationRetentionRequest calls the generic SetConversationRetention builder with application/json body
func NewSetConversationRetentionRequestWithBody ¶
func NewSetConversationRetentionRequestWithBody(server string, conversationId ConversationID, contentType string, body io.Reader) (*http.Request, error)
NewSetConversationRetentionRequestWithBody constructs an http.Request for the SetConversationRetention method, with any body, and a specified content type
func NewSetConversationTypingRequest ¶
func NewSetConversationTypingRequest(server string, conversationId ConversationID, body SetConversationTypingJSONRequestBody) (*http.Request, error)
NewSetConversationTypingRequest calls the generic SetConversationTyping builder with application/json body
func NewSetConversationTypingRequestWithBody ¶
func NewSetConversationTypingRequestWithBody(server string, conversationId ConversationID, contentType string, body io.Reader) (*http.Request, error)
NewSetConversationTypingRequestWithBody constructs an http.Request for the SetConversationTyping method, with any body, and a specified content type
func NewSetDownloadRetentionRequest ¶
func NewSetDownloadRetentionRequest(server string, deviceId ID, body SetDownloadRetentionJSONRequestBody) (*http.Request, error)
NewSetDownloadRetentionRequest calls the generic SetDownloadRetention builder with application/json body
func NewSetDownloadRetentionRequestWithBody ¶
func NewSetDownloadRetentionRequestWithBody(server string, deviceId ID, contentType string, body io.Reader) (*http.Request, error)
NewSetDownloadRetentionRequestWithBody constructs an http.Request for the SetDownloadRetention method, with any body, and a specified content type
func NewSetGlobalReadReceiptsRequest ¶
func NewSetGlobalReadReceiptsRequest(server string, body SetGlobalReadReceiptsJSONRequestBody) (*http.Request, error)
NewSetGlobalReadReceiptsRequest calls the generic SetGlobalReadReceipts builder with application/json body
func NewSetGlobalReadReceiptsRequestWithBody ¶
func NewSetGlobalReadReceiptsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSetGlobalReadReceiptsRequestWithBody constructs an http.Request for the SetGlobalReadReceipts method, with any body, and a specified content type
func NewSetGlobalRetentionRequest ¶
func NewSetGlobalRetentionRequest(server string, body SetGlobalRetentionJSONRequestBody) (*http.Request, error)
NewSetGlobalRetentionRequest calls the generic SetGlobalRetention builder with application/json body
func NewSetGlobalRetentionRequestWithBody ¶
func NewSetGlobalRetentionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSetGlobalRetentionRequestWithBody constructs an http.Request for the SetGlobalRetention method, with any body, and a specified content type
func NewSetMessageReactionsRequest ¶
func NewSetMessageReactionsRequest(server string, messageId MessageID, params *SetMessageReactionsParams, body SetMessageReactionsJSONRequestBody) (*http.Request, error)
NewSetMessageReactionsRequest calls the generic SetMessageReactions builder with application/json body
func NewSetMessageReactionsRequestWithBody ¶
func NewSetMessageReactionsRequestWithBody(server string, messageId MessageID, params *SetMessageReactionsParams, contentType string, body io.Reader) (*http.Request, error)
NewSetMessageReactionsRequestWithBody constructs an http.Request for the SetMessageReactions method, with any body, and a specified content type
func NewSetMessageStarRequest ¶
func NewSetMessageStarRequest(server string, messageId MessageID, params *SetMessageStarParams, body SetMessageStarJSONRequestBody) (*http.Request, error)
NewSetMessageStarRequest calls the generic SetMessageStar builder with application/json body
func NewSetMessageStarRequestWithBody ¶
func NewSetMessageStarRequestWithBody(server string, messageId MessageID, params *SetMessageStarParams, contentType string, body io.Reader) (*http.Request, error)
NewSetMessageStarRequestWithBody constructs an http.Request for the SetMessageStar method, with any body, and a specified content type
func NewSetOmemoDecisionRequest ¶
func NewSetOmemoDecisionRequest(server string, accountId AccountID, params *SetOmemoDecisionParams, body SetOmemoDecisionJSONRequestBody) (*http.Request, error)
NewSetOmemoDecisionRequest calls the generic SetOmemoDecision builder with application/json body
func NewSetOmemoDecisionRequestWithBody ¶
func NewSetOmemoDecisionRequestWithBody(server string, accountId AccountID, params *SetOmemoDecisionParams, contentType string, body io.Reader) (*http.Request, error)
NewSetOmemoDecisionRequestWithBody constructs an http.Request for the SetOmemoDecision method, with any body, and a specified content type
func NewSetRoomArchiveModeRequest ¶
func NewSetRoomArchiveModeRequest(server string, conversationId ConversationID, body SetRoomArchiveModeJSONRequestBody) (*http.Request, error)
NewSetRoomArchiveModeRequest calls the generic SetRoomArchiveMode builder with application/json body
func NewSetRoomArchiveModeRequestWithBody ¶
func NewSetRoomArchiveModeRequestWithBody(server string, conversationId ConversationID, contentType string, body io.Reader) (*http.Request, error)
NewSetRoomArchiveModeRequestWithBody constructs an http.Request for the SetRoomArchiveMode method, with any body, and a specified content type
func NewSetRoomOmemoRequest ¶
func NewSetRoomOmemoRequest(server string, conversationId ConversationID, body SetRoomOmemoJSONRequestBody) (*http.Request, error)
NewSetRoomOmemoRequest calls the generic SetRoomOmemo builder with application/json body
func NewSetRoomOmemoRequestWithBody ¶
func NewSetRoomOmemoRequestWithBody(server string, conversationId ConversationID, contentType string, body io.Reader) (*http.Request, error)
NewSetRoomOmemoRequestWithBody constructs an http.Request for the SetRoomOmemo method, with any body, and a specified content type
func NewStageMessageAttachmentRequestWithBody ¶
func NewStageMessageAttachmentRequestWithBody(server string, conversationId ConversationID, attachmentId StagedAttachmentID, contentType string, body io.Reader) (*http.Request, error)
NewStageMessageAttachmentRequestWithBody constructs an http.Request for the StageMessageAttachment method, with any body, and a specified content type
func NewStreamEventsRequest ¶
func NewStreamEventsRequest(server string, params *StreamEventsParams) (*http.Request, error)
NewStreamEventsRequest constructs an http.Request for the StreamEvents method
func NewUpdateConversationPreferencesRequest ¶
func NewUpdateConversationPreferencesRequest(server string, conversationId ConversationID, params *UpdateConversationPreferencesParams, body UpdateConversationPreferencesJSONRequestBody) (*http.Request, error)
NewUpdateConversationPreferencesRequest calls the generic UpdateConversationPreferences builder with application/json body
func NewUpdateConversationPreferencesRequestWithBody ¶
func NewUpdateConversationPreferencesRequestWithBody(server string, conversationId ConversationID, params *UpdateConversationPreferencesParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateConversationPreferencesRequestWithBody constructs an http.Request for the UpdateConversationPreferences method, with any body, and a specified content type
func NewUpdatePendingMessageRequest ¶
func NewUpdatePendingMessageRequest(server string, messageId MessageID, params *UpdatePendingMessageParams, body UpdatePendingMessageJSONRequestBody) (*http.Request, error)
NewUpdatePendingMessageRequest calls the generic UpdatePendingMessage builder with application/json body
func NewUpdatePendingMessageRequestWithBody ¶
func NewUpdatePendingMessageRequestWithBody(server string, messageId MessageID, params *UpdatePendingMessageParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePendingMessageRequestWithBody constructs an http.Request for the UpdatePendingMessage method, with any body, and a specified content type
Types ¶
type Account ¶
type Account struct {
Address string `json:"address"`
ConnectionState AccountConnectionState `json:"connectionState"`
CreatedAt time.Time `json:"createdAt"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
Label string `json:"label"`
Protocol AccountProtocol `json:"protocol"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
}
Account Stable account identity and its current initial revision.
Example: {"address":"alice@localhost","connectionState":"not_connected","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","label":"Personal","protocol":"xmpp","revisionId":"019a5df0-0000-7000-8000-000000000002"}
type AccountCommunicationPreferences ¶
type AccountCommunicationPreferences struct {
Presence AccountCommunicationPreferencesPresence `json:"presence"`
// RevisionId Canonical UUIDv7 of app-owned state; null means no revision has been created.
//
// Example: 019a5df0-0000-7000-8000-000000000004
RevisionId *NullableRevisionID `json:"revisionId"`
// SendTyping Whether to tell compatible contacts when this account is typing. Omit on updates to preserve the saved preference.
SendTyping *bool `json:"sendTyping,omitempty"`
}
AccountCommunicationPreferences Manual availability and outbound typing preferences for one owning account.
Example: {"presence":"available","revisionId":null,"sendTyping":true}
type AccountCommunicationPreferencesPresence ¶
type AccountCommunicationPreferencesPresence string
AccountCommunicationPreferencesPresence defines model for AccountCommunicationPreferences.Presence.
const ( AccountCommunicationPreferencesPresenceAvailable AccountCommunicationPreferencesPresence = "available" AccountCommunicationPreferencesPresenceAway AccountCommunicationPreferencesPresence = "away" AccountCommunicationPreferencesPresenceDnd AccountCommunicationPreferencesPresence = "dnd" )
Defines values for AccountCommunicationPreferencesPresence.
func (AccountCommunicationPreferencesPresence) Valid ¶
func (e AccountCommunicationPreferencesPresence) Valid() bool
Valid indicates whether the value is a known member of the AccountCommunicationPreferencesPresence enum.
type AccountConnectionState ¶
type AccountConnectionState string
AccountConnectionState defines model for Account.ConnectionState.
const ( AccountConnectionStateConnected AccountConnectionState = "connected" AccountConnectionStateConnecting AccountConnectionState = "connecting" AccountConnectionStateError AccountConnectionState = "error" AccountConnectionStateNotConnected AccountConnectionState = "not_connected" )
Defines values for AccountConnectionState.
func (AccountConnectionState) Valid ¶
func (e AccountConnectionState) Valid() bool
Valid indicates whether the value is a known member of the AccountConnectionState enum.
type AccountID ¶
type AccountID = ID
AccountID Canonical lowercase UUIDv7; IDs do not establish causal order.
Example: 019a5df0-0000-7000-8000-000000000001
type AccountPage ¶
type AccountPage struct {
Items []Account `json:"items"`
// NextCursor Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
NextCursor *ID `json:"nextCursor,omitempty"`
}
AccountPage A keyset-paginated account collection.
Example: {"items":[{"address":"alice@localhost","connectionState":"not_connected","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","label":"Personal","protocol":"xmpp","revisionId":"019a5df0-0000-7000-8000-000000000002"}]}
type AccountProtocol ¶
type AccountProtocol string
AccountProtocol defines model for Account.Protocol.
const (
AccountProtocolXmpp AccountProtocol = "xmpp"
)
Defines values for AccountProtocol.
func (AccountProtocol) Valid ¶
func (e AccountProtocol) Valid() bool
Valid indicates whether the value is a known member of the AccountProtocol enum.
type AccountUnreadTotals ¶
type AccountUnreadTotals struct {
// Totals Number of unread messages keyed by account UUID.
//
// Example: {"019a5df0-0000-7000-8000-000000000001":7}
Totals map[string]int `json:"totals"`
}
AccountUnreadTotals Unread message counts for accounts with at least one unread message.
type AuthenticationProblem ¶
type AuthenticationProblem struct {
// Code Example: authentication_required
Code AuthenticationProblemCode `json:"code"`
// Documentation Example: https://github.com/araihu/oie/blob/main/docs/engine-api-problems.md#authentication_required
Documentation *string `json:"documentation,omitempty"`
// Status Example: 401
Status AuthenticationProblemStatus `json:"status"`
// Title Example: Authentication required
Title AuthenticationProblemTitle `json:"title"`
// Type Example: urn:oie:problem:authentication_required
Type AuthenticationProblemType `json:"type"`
}
AuthenticationProblem RFC 9457 Problem Details for a missing or invalid hosted API key.
type AuthenticationProblemCode ¶
type AuthenticationProblemCode string
AuthenticationProblemCode Example: authentication_required
const (
AuthenticationProblemCodeAuthenticationRequired AuthenticationProblemCode = "authentication_required"
)
Defines values for AuthenticationProblemCode.
func (AuthenticationProblemCode) Valid ¶
func (e AuthenticationProblemCode) Valid() bool
Valid indicates whether the value is a known member of the AuthenticationProblemCode enum.
type AuthenticationProblemStatus ¶
type AuthenticationProblemStatus int
AuthenticationProblemStatus Example: 401
const (
N401 AuthenticationProblemStatus = 401
)
Defines values for AuthenticationProblemStatus.
func (AuthenticationProblemStatus) Valid ¶
func (e AuthenticationProblemStatus) Valid() bool
Valid indicates whether the value is a known member of the AuthenticationProblemStatus enum.
type AuthenticationProblemTitle ¶
type AuthenticationProblemTitle string
AuthenticationProblemTitle Example: Authentication required
const (
AuthenticationProblemTitleAuthenticationRequired AuthenticationProblemTitle = "Authentication required"
)
Defines values for AuthenticationProblemTitle.
func (AuthenticationProblemTitle) Valid ¶
func (e AuthenticationProblemTitle) Valid() bool
Valid indicates whether the value is a known member of the AuthenticationProblemTitle enum.
type AuthenticationProblemType ¶
type AuthenticationProblemType string
AuthenticationProblemType Example: urn:oie:problem:authentication_required
const (
UrnOieProblemAuthenticationRequired AuthenticationProblemType = "urn:oie:problem:authentication_required"
)
Defines values for AuthenticationProblemType.
func (AuthenticationProblemType) Valid ¶
func (e AuthenticationProblemType) Valid() bool
Valid indicates whether the value is a known member of the AuthenticationProblemType enum.
type AuthenticationRequired ¶
type AuthenticationRequired = AuthenticationProblem
AuthenticationRequired RFC 9457 Problem Details for a missing or invalid hosted API key.
type AuthenticationRequiredApplicationProblemPlusJSONResponse ¶
type AuthenticationRequiredApplicationProblemPlusJSONResponse struct {
Body AuthenticationProblem
Headers AuthenticationRequiredResponseHeaders
}
type AuthenticationRequiredResponseHeaders ¶
type AuthenticationRequiredResponseHeaders struct {
WWWAuthenticate *string
}
type Avatar ¶
type Avatar struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// Address Canonical account or conversation address; callers treat it as an opaque identity key.
Address string `json:"address"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// ImageHash Empty for no image, otherwise SHA-256 of the normalized PNG; use getAvatarImage to retrieve it.
ImageHash string `json:"imageHash"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
UpdatedAt time.Time `json:"updatedAt"`
}
Avatar Retained profile image projection, scoped to an account and canonical protocol address. Empty imageHash means the provider explicitly returned no image. Provider errors keep the last known image.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000003","address":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001","imageHash":"","revisionId":"019a5df0-0000-7000-8000-000000000002","updatedAt":"2026-11-07T12:00:00Z"}
type AvatarPage ¶
type AvatarPage struct {
Items []Avatar `json:"items"`
// NextCursor Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
NextCursor *ID `json:"nextCursor,omitempty"`
}
AvatarPage Account-scoped profile metadata page.
Example: {"items":[]}
type CancelMessage ¶
type CancelMessage struct {
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
}
CancelMessage Cancel a queued, known-unsent message using its current revision. A state conflict returns currentMessage.
Example: {"expectedRevisionId":"019a5df0-0000-7000-8000-000000000001"}
type CancelMessage200JSONResponse ¶
type CancelMessage200JSONResponse Message
func (CancelMessage200JSONResponse) VisitCancelMessageResponse ¶
func (response CancelMessage200JSONResponse) VisitCancelMessageResponse(w http.ResponseWriter) error
type CancelMessage400ApplicationProblemPlusJSONResponse ¶
type CancelMessage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (CancelMessage400ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse ¶
func (response CancelMessage400ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse(w http.ResponseWriter) error
type CancelMessage401ApplicationProblemPlusJSONResponse ¶
type CancelMessage401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (CancelMessage401ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse ¶
func (response CancelMessage401ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse(w http.ResponseWriter) error
type CancelMessage404ApplicationProblemPlusJSONResponse ¶
type CancelMessage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (CancelMessage404ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse ¶
func (response CancelMessage404ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse(w http.ResponseWriter) error
type CancelMessage409ApplicationProblemPlusJSONResponse ¶
type CancelMessage409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (CancelMessage409ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse ¶
func (response CancelMessage409ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse(w http.ResponseWriter) error
type CancelMessage413ApplicationProblemPlusJSONResponse ¶
type CancelMessage413ApplicationProblemPlusJSONResponse Problem
func (CancelMessage413ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse ¶
func (response CancelMessage413ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse(w http.ResponseWriter) error
type CancelMessage415ApplicationProblemPlusJSONResponse ¶
type CancelMessage415ApplicationProblemPlusJSONResponse Problem
func (CancelMessage415ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse ¶
func (response CancelMessage415ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse(w http.ResponseWriter) error
type CancelMessage503ApplicationProblemPlusJSONResponse ¶
type CancelMessage503ApplicationProblemPlusJSONResponse struct {
}
func (CancelMessage503ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse ¶
func (response CancelMessage503ApplicationProblemPlusJSONResponse) VisitCancelMessageResponse(w http.ResponseWriter) error
type CancelMessageJSONRequestBody ¶
type CancelMessageJSONRequestBody = CancelMessage
CancelMessageJSONRequestBody defines body for CancelMessage for application/json ContentType.
type CancelMessageParams ¶
type CancelMessageParams struct {
// IdempotencyKey Stable Idempotency-Key reference.
IdempotencyKey ID `json:"Idempotency-Key"`
}
CancelMessageParams defines parameters for CancelMessage.
type CancelMessageRequestObject ¶
type CancelMessageRequestObject struct {
MessageId MessageID `json:"messageId"`
Params CancelMessageParams
Body *CancelMessageJSONRequestBody
}
type CancelMessageResponse ¶
type CancelMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Message
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *CancelMessageResponse401Headers
}
func ParseCancelMessageResponse ¶
func ParseCancelMessageResponse(rsp *http.Response) (*CancelMessageResponse, error)
ParseCancelMessageResponse parses an HTTP response from a CancelMessageWithResponse call
func (CancelMessageResponse) ContentType ¶
func (r CancelMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelMessageResponse) GetApplicationproblemJSON400 ¶
func (r CancelMessageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (CancelMessageResponse) GetApplicationproblemJSON401 ¶
func (r CancelMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (CancelMessageResponse) GetApplicationproblemJSON404 ¶
func (r CancelMessageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (CancelMessageResponse) GetApplicationproblemJSON409 ¶
func (r CancelMessageResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CancelMessageResponse) GetApplicationproblemJSON413 ¶
func (r CancelMessageResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (CancelMessageResponse) GetApplicationproblemJSON415 ¶
func (r CancelMessageResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (CancelMessageResponse) GetApplicationproblemJSON503 ¶
func (r CancelMessageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (CancelMessageResponse) GetBody ¶
func (r CancelMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelMessageResponse) GetJSON200 ¶
func (r CancelMessageResponse) GetJSON200() *Message
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CancelMessageResponse) Status ¶
func (r CancelMessageResponse) Status() string
Status returns HTTPResponse.Status
func (CancelMessageResponse) StatusCode ¶
func (r CancelMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelMessageResponse401Headers ¶
type CancelMessageResponse401Headers struct {
WWWAuthenticate *string
}
CancelMessageResponse401Headers the declared response headers of an HTTP 401 response for CancelMessage
type CancelMessageResponseObject ¶
type CancelMessageResponseObject interface {
VisitCancelMessageResponse(w http.ResponseWriter) error
}
type Capabilities ¶
type Capabilities struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// DirectText True only while the basic direct-text adapter is connected. No other optional protocol support is implied.
DirectText *bool `json:"directText,omitempty"`
// Discovery Session-local discovery status and the bounded entity observations collected so far.
Discovery CapabilityDiscovery `json:"discovery"`
// Features Stable app feature rows. These diagnostics never authorize an operation.
Features []CapabilityFeature `json:"features"`
Reason CapabilitiesReason `json:"reason"`
State CapabilitiesState `json:"state"`
}
Capabilities Implementation and discovered feature evidence scoped to one account.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","discovery":{"services":[],"state":"not_connected"},"features":[],"reason":"not_connected","state":"unknown"}
type CapabilitiesReason ¶
type CapabilitiesReason string
CapabilitiesReason defines model for Capabilities.Reason.
const ( CapabilitiesReasonAdapterConnected CapabilitiesReason = "adapter_connected" CapabilitiesReasonNotConnected CapabilitiesReason = "not_connected" )
Defines values for CapabilitiesReason.
func (CapabilitiesReason) Valid ¶
func (e CapabilitiesReason) Valid() bool
Valid indicates whether the value is a known member of the CapabilitiesReason enum.
type CapabilitiesState ¶
type CapabilitiesState string
CapabilitiesState defines model for Capabilities.State.
const ( CapabilitiesStateKnown CapabilitiesState = "known" CapabilitiesStateUnknown CapabilitiesState = "unknown" )
Defines values for CapabilitiesState.
func (CapabilitiesState) Valid ¶
func (e CapabilitiesState) Valid() bool
Valid indicates whether the value is a known member of the CapabilitiesState enum.
type CapabilityDiscovery ¶
type CapabilityDiscovery struct {
// CheckedAt UTC observation time, absent before an attempt completes.
CheckedAt *time.Time `json:"checkedAt,omitempty"`
// Services Bounded discovered entities, not a complete server inventory. Service discovery skips item nodes and foreign account domains. Room evidence comes only from authorized saved-room history discovery. No room join.
Services []DiscoveredService `json:"services"`
State CapabilityDiscoveryState `json:"state"`
// UploadMaxBytes Largest advertised per-file limit across eligible upload services when discovery is complete and every eligible service reports a limit. Otherwise absent.
UploadMaxBytes *int64 `json:"uploadMaxBytes,omitempty"`
}
CapabilityDiscovery Session-local discovery status and the bounded entity observations collected so far.
type CapabilityDiscoveryState ¶
type CapabilityDiscoveryState string
CapabilityDiscoveryState defines model for CapabilityDiscovery.State.
const ( CapabilityDiscoveryStateComplete CapabilityDiscoveryState = "complete" CapabilityDiscoveryStateFailed CapabilityDiscoveryState = "failed" CapabilityDiscoveryStateNotConnected CapabilityDiscoveryState = "not_connected" CapabilityDiscoveryStatePartial CapabilityDiscoveryState = "partial" CapabilityDiscoveryStatePending CapabilityDiscoveryState = "pending" )
Defines values for CapabilityDiscoveryState.
func (CapabilityDiscoveryState) Valid ¶
func (e CapabilityDiscoveryState) Valid() bool
Valid indicates whether the value is a known member of the CapabilityDiscoveryState enum.
type CapabilityFeature ¶
type CapabilityFeature struct {
// AppSupport App unsupported means not implemented. Protocol supported means defined by that protocol, independently of Oie implementation. Server supported means observed advertised evidence. not_advertised means the relevant successful query omitted that feature, not a definitive operational denial. scope_dependent needs peer or room evidence. Unknown is never treated as false.
AppSupport SupportState `json:"appSupport"`
Id CapabilityFeatureId `json:"id"`
// ProtocolSupport App unsupported means not implemented. Protocol supported means defined by that protocol, independently of Oie implementation. Server supported means observed advertised evidence. not_advertised means the relevant successful query omitted that feature, not a definitive operational denial. scope_dependent needs peer or room evidence. Unknown is never treated as false.
ProtocolSupport SupportState `json:"protocolSupport"`
Scope CapabilityFeatureScope `json:"scope"`
// ServerSupport App unsupported means not implemented. Protocol supported means defined by that protocol, independently of Oie implementation. Server supported means observed advertised evidence. not_advertised means the relevant successful query omitted that feature, not a definitive operational denial. scope_dependent needs peer or room evidence. Unknown is never treated as false.
ServerSupport SupportState `json:"serverSupport"`
}
CapabilityFeature One feature compared across Oie implementation, protocol definition and scoped server evidence.
type CapabilityFeatureId ¶
type CapabilityFeatureId string
CapabilityFeatureId defines model for CapabilityFeature.Id.
const ( CapabilityFeatureIdAccountHistory CapabilityFeatureId = "account_history" CapabilityFeatureIdDirectText CapabilityFeatureId = "direct_text" CapabilityFeatureIdE2ee CapabilityFeatureId = "e2ee" CapabilityFeatureIdEditMessages CapabilityFeatureId = "edit_messages" CapabilityFeatureIdFileUpload CapabilityFeatureId = "file_upload" CapabilityFeatureIdFormatting CapabilityFeatureId = "formatting" CapabilityFeatureIdImagePreviews CapabilityFeatureId = "image_previews" CapabilityFeatureIdLinkPreviews CapabilityFeatureId = "link_previews" CapabilityFeatureIdMentions CapabilityFeatureId = "mentions" CapabilityFeatureIdMessageSearch CapabilityFeatureId = "message_search" CapabilityFeatureIdMessageStars CapabilityFeatureId = "message_stars" CapabilityFeatureIdPresence CapabilityFeatureId = "presence" CapabilityFeatureIdProfileImages CapabilityFeatureId = "profile_images" CapabilityFeatureIdReactions CapabilityFeatureId = "reactions" CapabilityFeatureIdReadReceipts CapabilityFeatureId = "read_receipts" CapabilityFeatureIdReceivedReplies CapabilityFeatureId = "received_replies" CapabilityFeatureIdRetractMessages CapabilityFeatureId = "retract_messages" CapabilityFeatureIdRoomDiscovery CapabilityFeatureId = "room_discovery" CapabilityFeatureIdRoomHistory CapabilityFeatureId = "room_history" CapabilityFeatureIdRoomMessaging CapabilityFeatureId = "room_messaging" CapabilityFeatureIdSavedRooms CapabilityFeatureId = "saved_rooms" CapabilityFeatureIdSchedules CapabilityFeatureId = "schedules" CapabilityFeatureIdSendCorrections CapabilityFeatureId = "send_corrections" CapabilityFeatureIdSendReplies CapabilityFeatureId = "send_replies" CapabilityFeatureIdSync CapabilityFeatureId = "sync" CapabilityFeatureIdTyping CapabilityFeatureId = "typing" )
Defines values for CapabilityFeatureId.
func (CapabilityFeatureId) Valid ¶
func (e CapabilityFeatureId) Valid() bool
Valid indicates whether the value is a known member of the CapabilityFeatureId enum.
type CapabilityFeatureScope ¶
type CapabilityFeatureScope string
CapabilityFeatureScope defines model for CapabilityFeature.Scope.
const ( CapabilityFeatureScopeAccount CapabilityFeatureScope = "account" CapabilityFeatureScopeLocal CapabilityFeatureScope = "local" CapabilityFeatureScopePeer CapabilityFeatureScope = "peer" CapabilityFeatureScopeRoom CapabilityFeatureScope = "room" CapabilityFeatureScopeServer CapabilityFeatureScope = "server" CapabilityFeatureScopeService CapabilityFeatureScope = "service" )
Defines values for CapabilityFeatureScope.
func (CapabilityFeatureScope) Valid ¶
func (e CapabilityFeatureScope) Valid() bool
Valid indicates whether the value is a known member of the CapabilityFeatureScope enum.
type ChangeProtocolContact204Response ¶
type ChangeProtocolContact204Response struct {
}
func (ChangeProtocolContact204Response) VisitChangeProtocolContactResponse ¶
func (response ChangeProtocolContact204Response) VisitChangeProtocolContactResponse(w http.ResponseWriter) error
type ChangeProtocolContact400ApplicationProblemPlusJSONResponse ¶
type ChangeProtocolContact400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ChangeProtocolContact400ApplicationProblemPlusJSONResponse) VisitChangeProtocolContactResponse ¶
func (response ChangeProtocolContact400ApplicationProblemPlusJSONResponse) VisitChangeProtocolContactResponse(w http.ResponseWriter) error
type ChangeProtocolContact404ApplicationProblemPlusJSONResponse ¶
type ChangeProtocolContact404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ChangeProtocolContact404ApplicationProblemPlusJSONResponse) VisitChangeProtocolContactResponse ¶
func (response ChangeProtocolContact404ApplicationProblemPlusJSONResponse) VisitChangeProtocolContactResponse(w http.ResponseWriter) error
type ChangeProtocolContact409ApplicationProblemPlusJSONResponse ¶
type ChangeProtocolContact409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ChangeProtocolContact409ApplicationProblemPlusJSONResponse) VisitChangeProtocolContactResponse ¶
func (response ChangeProtocolContact409ApplicationProblemPlusJSONResponse) VisitChangeProtocolContactResponse(w http.ResponseWriter) error
type ChangeProtocolContact413Response ¶
type ChangeProtocolContact413Response struct {
}
func (ChangeProtocolContact413Response) VisitChangeProtocolContactResponse ¶
func (response ChangeProtocolContact413Response) VisitChangeProtocolContactResponse(w http.ResponseWriter) error
type ChangeProtocolContact415Response ¶
type ChangeProtocolContact415Response struct {
}
func (ChangeProtocolContact415Response) VisitChangeProtocolContactResponse ¶
func (response ChangeProtocolContact415Response) VisitChangeProtocolContactResponse(w http.ResponseWriter) error
type ChangeProtocolContact503ApplicationProblemPlusJSONResponse ¶
type ChangeProtocolContact503ApplicationProblemPlusJSONResponse struct {
}
func (ChangeProtocolContact503ApplicationProblemPlusJSONResponse) VisitChangeProtocolContactResponse ¶
func (response ChangeProtocolContact503ApplicationProblemPlusJSONResponse) VisitChangeProtocolContactResponse(w http.ResponseWriter) error
type ChangeProtocolContactJSONRequestBody ¶
type ChangeProtocolContactJSONRequestBody = ContactAction
ChangeProtocolContactJSONRequestBody defines body for ChangeProtocolContact for application/json ContentType.
type ChangeProtocolContactRequestObject ¶
type ChangeProtocolContactRequestObject struct {
AccountId AccountID `json:"accountId"`
Body *ChangeProtocolContactJSONRequestBody
}
type ChangeProtocolContactResponse ¶
type ChangeProtocolContactResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
}
func ParseChangeProtocolContactResponse ¶
func ParseChangeProtocolContactResponse(rsp *http.Response) (*ChangeProtocolContactResponse, error)
ParseChangeProtocolContactResponse parses an HTTP response from a ChangeProtocolContactWithResponse call
func (ChangeProtocolContactResponse) ContentType ¶
func (r ChangeProtocolContactResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ChangeProtocolContactResponse) GetApplicationproblemJSON400 ¶
func (r ChangeProtocolContactResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ChangeProtocolContactResponse) GetApplicationproblemJSON404 ¶
func (r ChangeProtocolContactResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ChangeProtocolContactResponse) GetApplicationproblemJSON409 ¶
func (r ChangeProtocolContactResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ChangeProtocolContactResponse) GetApplicationproblemJSON503 ¶
func (r ChangeProtocolContactResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ChangeProtocolContactResponse) GetBody ¶
func (r ChangeProtocolContactResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ChangeProtocolContactResponse) Status ¶
func (r ChangeProtocolContactResponse) Status() string
Status returns HTTPResponse.Status
func (ChangeProtocolContactResponse) StatusCode ¶
func (r ChangeProtocolContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChangeProtocolContactResponseObject ¶
type ChangeProtocolContactResponseObject interface {
VisitChangeProtocolContactResponse(w http.ResponseWriter) error
}
type ClearDeviceDownloads200JSONResponse ¶
type ClearDeviceDownloads200JSONResponse DownloadRetention
func (ClearDeviceDownloads200JSONResponse) VisitClearDeviceDownloadsResponse ¶
func (response ClearDeviceDownloads200JSONResponse) VisitClearDeviceDownloadsResponse(w http.ResponseWriter) error
type ClearDeviceDownloads400ApplicationProblemPlusJSONResponse ¶
type ClearDeviceDownloads400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ClearDeviceDownloads400ApplicationProblemPlusJSONResponse) VisitClearDeviceDownloadsResponse ¶
func (response ClearDeviceDownloads400ApplicationProblemPlusJSONResponse) VisitClearDeviceDownloadsResponse(w http.ResponseWriter) error
type ClearDeviceDownloads401ApplicationProblemPlusJSONResponse ¶
type ClearDeviceDownloads401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ClearDeviceDownloads401ApplicationProblemPlusJSONResponse) VisitClearDeviceDownloadsResponse ¶
func (response ClearDeviceDownloads401ApplicationProblemPlusJSONResponse) VisitClearDeviceDownloadsResponse(w http.ResponseWriter) error
type ClearDeviceDownloads503ApplicationProblemPlusJSONResponse ¶
type ClearDeviceDownloads503ApplicationProblemPlusJSONResponse struct {
}
func (ClearDeviceDownloads503ApplicationProblemPlusJSONResponse) VisitClearDeviceDownloadsResponse ¶
func (response ClearDeviceDownloads503ApplicationProblemPlusJSONResponse) VisitClearDeviceDownloadsResponse(w http.ResponseWriter) error
type ClearDeviceDownloadsRequestObject ¶
type ClearDeviceDownloadsRequestObject struct {
DeviceId ID `json:"deviceId"`
}
type ClearDeviceDownloadsResponse ¶
type ClearDeviceDownloadsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DownloadRetention
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ClearDeviceDownloadsResponse401Headers
}
func ParseClearDeviceDownloadsResponse ¶
func ParseClearDeviceDownloadsResponse(rsp *http.Response) (*ClearDeviceDownloadsResponse, error)
ParseClearDeviceDownloadsResponse parses an HTTP response from a ClearDeviceDownloadsWithResponse call
func (ClearDeviceDownloadsResponse) ContentType ¶
func (r ClearDeviceDownloadsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ClearDeviceDownloadsResponse) GetApplicationproblemJSON400 ¶
func (r ClearDeviceDownloadsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ClearDeviceDownloadsResponse) GetApplicationproblemJSON401 ¶
func (r ClearDeviceDownloadsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ClearDeviceDownloadsResponse) GetApplicationproblemJSON503 ¶
func (r ClearDeviceDownloadsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ClearDeviceDownloadsResponse) GetBody ¶
func (r ClearDeviceDownloadsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ClearDeviceDownloadsResponse) GetJSON200 ¶
func (r ClearDeviceDownloadsResponse) GetJSON200() *DownloadRetention
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ClearDeviceDownloadsResponse) Status ¶
func (r ClearDeviceDownloadsResponse) Status() string
Status returns HTTPResponse.Status
func (ClearDeviceDownloadsResponse) StatusCode ¶
func (r ClearDeviceDownloadsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClearDeviceDownloadsResponse401Headers ¶
type ClearDeviceDownloadsResponse401Headers struct {
WWWAuthenticate *string
}
ClearDeviceDownloadsResponse401Headers the declared response headers of an HTTP 401 response for ClearDeviceDownloads
type ClearDeviceDownloadsResponseObject ¶
type ClearDeviceDownloadsResponseObject interface {
VisitClearDeviceDownloadsResponse(w http.ResponseWriter) error
}
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CancelMessage ¶
func (c *Client) CancelMessage(ctx context.Context, messageId MessageID, params *CancelMessageParams, body CancelMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelMessage Cancel a pending send
Requires the current revision and a queued, known-unsent message at the owning engine, including a future schedule. Cancellation and dispatch share an atomic cutoff before any external provider attempt for that intent, including attachment upload. A stale revision or ineligible state yields state_conflict with currentMessage. Cancellation retires the send intent and preserves any independent retained references. A matching idempotent replay returns the original cancellation snapshot.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/messages/{messageId}/cancel (the `CancelMessage` operationId).
func (*Client) CancelMessageWithBody ¶
func (c *Client) CancelMessageWithBody(ctx context.Context, messageId MessageID, params *CancelMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelMessageWithBody Cancel a pending send
Requires the current revision and a queued, known-unsent message at the owning engine, including a future schedule. Cancellation and dispatch share an atomic cutoff before any external provider attempt for that intent, including attachment upload. A stale revision or ineligible state yields state_conflict with currentMessage. Cancellation retires the send intent and preserves any independent retained references. A matching idempotent replay returns the original cancellation snapshot.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/messages/{messageId}/cancel (the `CancelMessage` operationId).
func (*Client) ChangeProtocolContact ¶
func (c *Client) ChangeProtocolContact(ctx context.Context, accountId AccountID, body ChangeProtocolContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ChangeProtocolContact Manage an account's protocol contacts
Add or remove one roster address or answer one pending presence subscription. Adding an existing or removing an absent address succeeds without a roster write. A contact request can only be answered while it is pending in the active session. Removing a roster entry preserves conversation history.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/accounts/{accountId}/contact-actions (the `ChangeProtocolContact` operationId).
func (*Client) ChangeProtocolContactWithBody ¶
func (c *Client) ChangeProtocolContactWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ChangeProtocolContactWithBody Manage an account's protocol contacts
Add or remove one roster address or answer one pending presence subscription. Adding an existing or removing an absent address succeeds without a roster write. A contact request can only be answered while it is pending in the active session. Removing a roster entry preserves conversation history.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/accounts/{accountId}/contact-actions (the `ChangeProtocolContact` operationId).
func (*Client) ClearDeviceDownloads ¶
func (c *Client) ClearDeviceDownloads(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
ClearDeviceDownloads Remove originals retained for this device
Corresponds with DELETE /api/v1/downloads/{deviceId}/retention (the `ClearDeviceDownloads` operationId).
func (*Client) ConfigureAccountConnection ¶
func (c *Client) ConfigureAccountConnection(ctx context.Context, accountId AccountID, body ConfigureAccountConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfigureAccountConnection Configure and connect an account
Persists write-only credentials before starting an asynchronous TLS/SASL connection. Transient network or authentication service failures reconnect with bounded backoff. A stopped connection can be retried with the same settings once the underlying problem is resolved. An unchanged configuration leaves a running connection or retry loop in place. Ordinary engine restart reloads enabled configurations.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/accounts/{accountId}/connection (the `ConfigureAccountConnection` operationId).
func (*Client) ConfigureAccountConnectionWithBody ¶
func (c *Client) ConfigureAccountConnectionWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfigureAccountConnectionWithBody Configure and connect an account
Persists write-only credentials before starting an asynchronous TLS/SASL connection. Transient network or authentication service failures reconnect with bounded backoff. A stopped connection can be retried with the same settings once the underlying problem is resolved. An unchanged configuration leaves a running connection or retry loop in place. Ordinary engine restart reloads enabled configurations.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/accounts/{accountId}/connection (the `ConfigureAccountConnection` operationId).
func (*Client) DisconnectAccount ¶
func (c *Client) DisconnectAccount(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
DisconnectAccount Disconnect and disable automatic connection
Keeps protocol credentials local for a later explicit configuration; does not delete account history or pending sends. Repeating disconnect is safe.
Corresponds with DELETE /api/v1/accounts/{accountId}/connection (the `DisconnectAccount` operationId).
func (*Client) DiscoverRooms ¶
func (c *Client) DiscoverRooms(ctx context.Context, accountId AccountID, params *DiscoverRoomsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DiscoverRooms List public rooms published by the account's room services
Reads a bounded page from the selected XMPP service or from services advertised by the account server. This does not save or enter rooms.
Corresponds with GET /api/v1/accounts/{accountId}/rooms (the `DiscoverRooms` operationId).
func (*Client) DownloadOmemoAttachment ¶
func (c *Client) DownloadOmemoAttachment(ctx context.Context, messageId MessageID, index int, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadOmemoAttachment Download an authenticated OMEMO attachment
Fetches ciphertext for the retained message and returns the complete file after verification.
Corresponds with GET /api/v1/messages/{messageId}/omemo-attachments/{index} (the `DownloadOmemoAttachment` operationId).
func (*Client) DownloadPreviewImage ¶
func (c *Client) DownloadPreviewImage(ctx context.Context, previewId ID, params *DownloadPreviewImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadPreviewImage Retain the original image for a preview
Explicitly requests the original for a kind=image reference. This ensure operation is safe to retry: concurrent requests share queued work and an already retained file is reused. Failed downloads can be retried. Only validated PNG, JPEG and GIF images up to 32 MiB and bounded pixel dimensions are retained. Supported sender digests are checked before retaining an original. Link cards do not support this operation.
Corresponds with POST /api/v1/previews/{previewId}/download (the `DownloadPreviewImage` operationId).
func (*Client) EditMessage ¶
func (c *Client) EditMessage(ctx context.Context, messageId MessageID, params *EditMessageParams, body EditMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EditMessage Accept a durable correction of a sent message
Atomically persists a distinct correction command and operation receipt with an optimistic content revision precondition. The original send and content remain unchanged while queued or in flight. Submitted means written to the protocol connection, not confirmed recipient delivery. Unknown outcomes are not blindly retried. A frozen original sender wire ID is used for every correction. Read the command receipt after a lost response before considering another operation key.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/messages/{messageId}/edits (the `EditMessage` operationId).
func (*Client) EditMessageWithBody ¶
func (c *Client) EditMessageWithBody(ctx context.Context, messageId MessageID, params *EditMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditMessageWithBody Accept a durable correction of a sent message
Atomically persists a distinct correction command and operation receipt with an optimistic content revision precondition. The original send and content remain unchanged while queued or in flight. Submitted means written to the protocol connection, not confirmed recipient delivery. Unknown outcomes are not blindly retried. A frozen original sender wire ID is used for every correction. Read the command receipt after a lost response before considering another operation key.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/messages/{messageId}/edits (the `EditMessage` operationId).
func (*Client) ForwardMessage ¶
func (c *Client) ForwardMessage(ctx context.Context, messageId MessageID, params *ForwardMessageParams, body ForwardMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ForwardMessage Forward a retained message to a conversation
Creates a new outgoing message through the destination conversation's account. Copies the authored body and stages source attachments for a new upload. Replies and mentions are copied as text without references or attribution. A matching operation key replays the original acceptance, including after the source changes. Use one stable key per destination.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/messages/{messageId}/forward (the `ForwardMessage` operationId).
func (*Client) ForwardMessageWithBody ¶
func (c *Client) ForwardMessageWithBody(ctx context.Context, messageId MessageID, params *ForwardMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ForwardMessageWithBody Forward a retained message to a conversation
Creates a new outgoing message through the destination conversation's account. Copies the authored body and stages source attachments for a new upload. Replies and mentions are copied as text without references or attribution. A matching operation key replays the original acceptance, including after the source changes. Use one stable key per destination.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/messages/{messageId}/forward (the `ForwardMessage` operationId).
func (*Client) GetAccount ¶
func (c *Client) GetAccount(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccount Read an account
Returns the retained account and its current revision.
Corresponds with GET /api/v1/accounts/{accountId} (the `GetAccount` operationId).
func (*Client) GetAccountCapabilities ¶
func (c *Client) GetAccountCapabilities(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccountCapabilities Read account capability evidence
Read application implementation, protocol support and cached server discovery evidence separately. This query never contacts the protocol server. Evidence is scoped, bounded and cleared when a connection ends. An absent advertisement does not prove that a client-level feature is unsupported. Discovery runs once per connection; room evidence is also collected during history recovery.
Corresponds with GET /api/v1/accounts/{accountId}/capabilities (the `GetAccountCapabilities` operationId).
func (*Client) GetAccountCommunicationPreferences ¶
func (c *Client) GetAccountCommunicationPreferences(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccountCommunicationPreferences Read account presence and communication preferences
Corresponds with GET /api/v1/accounts/{accountId}/communication-preferences (the `GetAccountCommunicationPreferences` operationId).
func (*Client) GetAccountConnection ¶
func (c *Client) GetAccountConnection(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccountConnection Read account connection state
State is runtime evidence, distinct from saved account metadata.
Corresponds with GET /api/v1/accounts/{accountId}/connection (the `GetAccountConnection` operationId).
func (*Client) GetAccountHistory ¶
func (c *Client) GetAccountHistory(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccountHistory Read account history recovery progress
Recovery starts on protocol connection. Saved room entries and authorized text archives are read serially, with persistent checkpoints and deduplication. Historical imports do not create sends or unread counts. Complete means the last authorized text recovery pass finished; it is not a full protocol-feature claim. Saved rooms are read-only in this increment. Provider permission failures remain partial coverage.
Corresponds with GET /api/v1/accounts/{accountId}/history (the `GetAccountHistory` operationId).
func (*Client) GetAccountUnreadTotals ¶
func (c *Client) GetAccountUnreadTotals(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAccountUnreadTotals Get unread message totals by account
Counts unread messages in active and archived chats. Removed chats and manual unread reminders contribute nothing. Accounts with zero unread messages are omitted.
Corresponds with GET /api/v1/accounts/unread-totals (the `GetAccountUnreadTotals` operationId).
func (*Client) GetAvatarImage ¶
func (c *Client) GetAvatarImage(ctx context.Context, hash string, params *GetAvatarImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAvatarImage Read a cached profile thumbnail
Returns only a locally retained, decoded and normalized image; never redirects to provider URLs. Hash-addressed images can be cached privately and immutably.
Corresponds with GET /api/v1/avatars/{hash} (the `GetAvatarImage` operationId).
func (*Client) GetConversation ¶
func (c *Client) GetConversation(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetConversation Read a conversation
Returns the current conversation projection.
Corresponds with GET /api/v1/conversations/{conversationId} (the `GetConversation` operationId).
func (*Client) GetConversationDetails ¶
func (c *Client) GetConversationDetails(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetConversationDetails Read scoped conversation details
Read the current account connection and session-local conversation metadata. Returns immediately; a connected adapter may schedule a deduplicated, serialized discovery refresh no more often than once per sixty seconds. This never joins a room, requests a subscription, probes a peer or sends a message. Occupant discovery is a bounded snapshot, never a complete member roster. Missing presence remains unknown. Disconnect clears observations.
Corresponds with GET /api/v1/conversations/{conversationId}/details (the `GetConversationDetails` operationId).
func (*Client) GetConversationEditTarget ¶
func (c *Client) GetConversationEditTarget(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetConversationEditTarget Inspect the latest own retained message for keyboard editing
Uses a durable transmission ordinal for original sends by this engine, independently of device clocks and the visible timeline page. Returns the latest own original transmission candidate even when it is ineligible; never silently skips it to edit an older one. Queued or cancelled originals which never reached dispatch, imported own messages and correction commands do not establish this order. Returns 404 when there is no retained engine transmission. Read-only and does not mark messages read or fetch provider history.
Corresponds with GET /api/v1/conversations/{conversationId}/edit-target (the `GetConversationEditTarget` operationId).
func (*Client) GetConversationReadReceipts ¶
func (c *Client) GetConversationReadReceipts(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetConversationReadReceipts Read conversation read receipt settings
Corresponds with GET /api/v1/conversations/{conversationId}/read-receipts (the `GetConversationReadReceipts` operationId).
func (*Client) GetConversationReadState ¶
func (c *Client) GetConversationReadState(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetConversationReadState Read retained conversation read state
Reads app-owned read state without changing messages or sending provider receipts.
Corresponds with GET /api/v1/conversations/{conversationId}/read-state (the `GetConversationReadState` operationId).
func (*Client) GetConversationRetention ¶
func (c *Client) GetConversationRetention(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetConversationRetention Read conversation message retention
Corresponds with GET /api/v1/conversations/{conversationId}/retention (the `GetConversationRetention` operationId).
func (*Client) GetConversationTyping ¶
func (c *Client) GetConversationTyping(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetConversationTyping Read the current typing indicator in an accepted direct conversation
Corresponds with GET /api/v1/conversations/{conversationId}/typing (the `GetConversationTyping` operationId).
func (*Client) GetDownloadRetention ¶
func (c *Client) GetDownloadRetention(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDownloadRetention Read downloaded-file retention for a device
Corresponds with GET /api/v1/downloads/{deviceId}/retention (the `GetDownloadRetention` operationId).
func (*Client) GetEngine ¶
func (c *Client) GetEngine(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEngine Read the persistent engine identity
Read eventCursor before fetching snapshots. After fetching them, pass that cursor as Last-Event-ID to GET /api/v1/events to replay changes that occurred while the snapshots were being read.
Corresponds with GET /api/v1/engine (the `GetEngine` operationId).
func (*Client) GetGlobalReadReceipts ¶
func (c *Client) GetGlobalReadReceipts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGlobalReadReceipts Read engine-wide read receipt settings
Corresponds with GET /api/v1/engine/read-receipts (the `GetGlobalReadReceipts` operationId).
func (*Client) GetGlobalRetention ¶
func (c *Client) GetGlobalRetention(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGlobalRetention Read engine-wide message retention
Corresponds with GET /api/v1/engine/retention (the `GetGlobalRetention` operationId).
func (*Client) GetHealth ¶
func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetHealth Check engine readiness
Returns ready only when the database can be queried.
Corresponds with GET /api/v1/health (the `GetHealth` operationId).
func (*Client) GetMediaImage ¶
func (c *Client) GetMediaImage(ctx context.Context, hash string, params *GetMediaImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMediaImage Read a retained preview or original image
Serves only local hash-verified PNG, JPEG or GIF bytes, without fetching the provider. Thumbnails are normalized static PNGs or JPEGs, up to 1024 pixels per axis; originals retain their validated media type. No remote redirects.
Corresponds with GET /api/v1/media/{hash} (the `GetMediaImage` operationId).
func (*Client) GetMentionCandidates ¶
func (c *Client) GetMentionCandidates(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMentionCandidates Read observed room mention candidates
Read a bounded, account-scoped snapshot of visible room occupants. This never joins a room or discovers hidden personal identities. Candidates supply exact readable insertion text. Structured references are available only when the protocol adapter has a valid disclosed target; otherwise sending preserves the same readable text without protocol metadata.
Corresponds with GET /api/v1/conversations/{conversationId}/mention-candidates (the `GetMentionCandidates` operationId).
func (*Client) GetMessage ¶
func (c *Client) GetMessage(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessage Read a retained message
Returns the latest revision and send evidence. A retained correction-source alias resolves to its canonical logical message, whose id can differ from the requested messageId. Use the scoped context operation when explicit requestedTargetId alias proof is needed.
Corresponds with GET /api/v1/messages/{messageId} (the `GetMessage` operationId).
func (*Client) GetMessageContext ¶
func (c *Client) GetMessageContext(ctx context.Context, conversationId ConversationID, messageId MessageID, params *GetMessageContextParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessageContext Read a bounded timeline around a retained message
Reads the target and nearest visible retained neighbors from the same conversation, newest first by timelineAt or createdAt at UTC millisecond precision and UUID tie-break. Includes the target even with limit 1. Only local retained data is read; no provider archive queries or read receipts are triggered. Foreign or unavailable source messages return not_found, including unreleased schedules and scheduled sends cancelled before dispatch. Clients should offer return to latest when hasNewer is true. A retained correction-source alias resolves to the original logical targetId with requestedTargetId identifying the requested alias. All returned items remain scoped to this conversation.
Corresponds with GET /api/v1/conversations/{conversationId}/messages/{messageId}/context (the `GetMessageContext` operationId).
func (*Client) GetMessageEdit ¶
func (c *Client) GetMessageEdit(ctx context.Context, editId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessageEdit Reconcile a correction command by its stable UUID
Read-only durable receipt. A 404 does not authorize changing the key after an uncertain submission; repeat the same frozen request if needed. No provider calls or dispatch occur in this query.
Corresponds with GET /api/v1/message-edits/{editId} (the `GetMessageEdit` operationId).
func (*Client) GetMessageEditHistory ¶
func (c *Client) GetMessageEditHistory(ctx context.Context, messageId MessageID, params *GetMessageEditHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessageEditHistory Read observed content revisions of one retained message
Read-only bounded history of canonical content sources. Resolves retained aliases and excludes delivery-state revisions and unverified correction relationships. Versions never observed cannot be recovered by this query. Newest authored timestamp first with revision UUID tie-breaking; isCurrent is authoritative regardless of timestamp order. Cursor binds engine, account, conversation, canonical message and the exact observed-history snapshot. No provider history/profile/media requests, read receipts, sends or mutations occur.
Corresponds with GET /api/v1/messages/{messageId}/edit-history (the `GetMessageEditHistory` operationId).
func (*Client) GetMessageEditTarget ¶
func (c *Client) GetMessageEditTarget(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessageEditTarget Inspect eligibility and current content before editing
Read-only eligibility for the canonical message. Initially only the latest own plain text message sent by this engine in the current verified protocol session can be corrected. Reply and mention payloads remain ineligible. Eligibility is advisory and rechecked atomically at acceptance and dispatch. No arbitrary time window is imposed.
Corresponds with GET /api/v1/messages/{messageId}/edit-target (the `GetMessageEditTarget` operationId).
func (*Client) GetMessagePreview ¶
func (c *Client) GetMessagePreview(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessagePreview Read a message preview
Reads cached metadata and original image download state. Does not initiate a download.
Corresponds with GET /api/v1/previews/{previewId} (the `GetMessagePreview` operationId).
func (*Client) GetMessageReactionCommand ¶
func (c *Client) GetMessageReactionCommand(ctx context.Context, commandId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessageReactionCommand Read a durable reaction command receipt
Read-only reconciliation after lost responses. A missing receipt does not authorize a new key for the same uncertain intent. No provider call or dispatch is performed.
Corresponds with GET /api/v1/message-reaction-commands/{commandId} (the `GetMessageReactionCommand` operationId).
func (*Client) GetMessageReactions ¶
func (c *Client) GetMessageReactions(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessageReactions Read retained reactions and current own mutation eligibility
Read-only canonical source snapshot. Missing revisions are null until an observed or submitted reaction set exists. Does not fetch provider data, mark read or allocate revisions.
Corresponds with GET /api/v1/messages/{messageId}/reactions (the `GetMessageReactions` operationId).
func (*Client) GetMessageSenderProfile ¶
func (c *Client) GetMessageSenderProfile(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessageSenderProfile Read the author's available published profile
Resolves the author from the retained message and message-time protocol identity evidence. May issue a bounded read-only profile query to a known personal address. Room nicknames and current same-name occupants never establish a historical author's personal JID. Missing or undisclosed identity remains unavailable; user-provided vCard JABBERID does not establish it. Does not join rooms, add contacts, subscribe to presence or mark messages read.
Corresponds with GET /api/v1/messages/{messageId}/sender-profile (the `GetMessageSenderProfile` operationId).
func (*Client) GetMessageSourceContext ¶
func (c *Client) GetMessageSourceContext(ctx context.Context, conversationId ConversationID, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessageSourceContext Read the conversation and presentation data for a retained message jump
Returns the engine identity, owning conversation and a window of up to 16 visible messages around the source. Optional fields are scoped to that conversation and window. Missing optional fields represent unavailable data. Preview reads can register local preview metadata as on the corresponding preview endpoints. This operation does not fetch provider history or mark messages read.
Corresponds with GET /api/v1/conversations/{conversationId}/messages/{messageId}/source-context (the `GetMessageSourceContext` operationId).
func (*Client) GetMessageStar ¶
func (c *Client) GetMessageStar(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMessageStar Read the source message star
App-owned state independent of message content revisions and protocol support. Before the first change, starred is false and revisionId and updatedAt are null. Reading does not create state or provider traffic.
Corresponds with GET /api/v1/messages/{messageId}/star (the `GetMessageStar` operationId).
func (*Client) GetOmemoDevices ¶
func (c *Client) GetOmemoDevices(ctx context.Context, accountId AccountID, params *GetOmemoDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOmemoDevices Inspect public OMEMO fingerprints
Returns the current policy, this endpoint and known devices belonging to the selected owner.
Corresponds with GET /api/v1/accounts/{accountId}/omemo (the `GetOmemoDevices` operationId).
func (*Client) GetOperation ¶
func (c *Client) GetOperation(ctx context.Context, operationId ID, params *GetOperationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOperation Reconcile a mutation after an ambiguous response
A receipt proves the local mutation committed. Send receipts prove durable engine acceptance. Request includeAcceptedMessage to read the immutable send acceptance snapshot, including the original composition and scheduled instant. A redacted send receipt reports acceptedMessageExpired. This route exposes the receipt kinds defined by Operation. An ID without an exposed receipt returns 404. Recover the result of updatePendingMessage or sendScheduledMessageNow by replaying the original request with the same key and input.
Corresponds with GET /api/v1/operations/{operationId} (the `GetOperation` operationId).
func (*Client) GetRetractedOriginal ¶
func (c *Client) GetRetractedOriginal(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRetractedOriginal Reveal retained content of a retracted message
Corresponds with GET /api/v1/messages/{messageId}/retracted-original (the `GetRetractedOriginal` operationId).
func (*Client) GetRoomArchive ¶
func (c *Client) GetRoomArchive(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRoomArchive Read room archive recovery settings and progress
Reads retained state for the room without sending a protocol request.
Corresponds with GET /api/v1/conversations/{conversationId}/archive (the `GetRoomArchive` operationId).
func (*Client) GetRoomManagement ¶
func (c *Client) GetRoomManagement(ctx context.Context, conversationId ConversationID, params *GetRoomManagementParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRoomManagement Read available room management actions
Returns the current room session's permissions and visible occupants. Reading does not join the room. An optional affiliation filter reads the authorized provider list for that affiliation.
Corresponds with GET /api/v1/conversations/{conversationId}/room-management (the `GetRoomManagement` operationId).
func (*Client) GetRoomOmemo ¶
func (c *Client) GetRoomOmemo(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRoomOmemo Review encryption for a private room
Lists the current eligible room members when their affiliations are available to the connected account.
Corresponds with GET /api/v1/conversations/{conversationId}/omemo (the `GetRoomOmemo` operationId).
func (*Client) GetRoomParticipants ¶
func (c *Client) GetRoomParticipants(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRoomParticipants Read current room participants
Returns participants observed by the joined account in its current room session. The read does not join the room or query its public directory.
Corresponds with GET /api/v1/conversations/{conversationId}/room-participants (the `GetRoomParticipants` operationId).
func (*Client) GetRoomSession ¶
func (c *Client) GetRoomSession(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRoomSession Read this engine's room session and durable join intent
Reads local state without joining. Active denotes a durable intent to rejoin, not observed membership. A joined state requires confirmed self-presence. Missing room intent has no intent identifiers.
Corresponds with GET /api/v1/conversations/{conversationId}/room-session (the `GetRoomSession` operationId).
func (*Client) GetSharedContentMedia ¶
func (c *Client) GetSharedContentMedia(ctx context.Context, itemId ID, params *GetSharedContentMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSharedContentMedia Read a retained audio, video or document reference
Reads the current retained canonical source before opening its URL through the engine's public-network policy. Never redirects the browser to the provider. Supports one byte range and If-Range; an upstream that ignores Range returns 200 rather than an invented 206. Video accepts MP4, WebM, Ogg video and QuickTime MIME types up to 2 GiB; codec playback remains a browser capability. Document references are restricted by URL extension and provider MIME: .txt/.log/.md/.csv/.json/.xml are served as text/plain up to 2 MiB and .pdf as application/pdf up to 100 MiB. Text MIME must be text/plain or the matching format's text/markdown, text/csv, application/json, text/json, application/xml or text/xml. HTML, SVG, office documents and mismatched MIME types are unsupported. A known complete size is required. Full downloads report a SHA-256 fingerprint and whether a supported sender digest was verified. Partial playback and preview requests have no integrity result. Audio and video playback require explicit activation. A preview client may request only a bounded byte range and must stop reading at its preview budget. Client disconnect cancels the upstream read. HEAD returns 405 without contacting the provider. Multiple or malformed ranges are invalid. JSON, XML and Markdown are returned as plain text, never active markup.
Corresponds with GET /api/v1/shared-content/{itemId}/content (the `GetSharedContentMedia` operationId).
func (*Client) GetStagedMessageAttachment ¶
func (c *Client) GetStagedMessageAttachment(ctx context.Context, conversationId ConversationID, attachmentId StagedAttachmentID, params *GetStagedMessageAttachmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStagedMessageAttachment Read retained bytes of an outgoing attachment
Reads local bytes in this conversation and account scope, for example when reopening an existing scheduled composition. Returns 404 when bytes are unavailable or the attachment is outside this scope.
Corresponds with GET /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId} (the `GetStagedMessageAttachment` operationId).
func (*Client) GetVideoThumbnail ¶
func (c *Client) GetVideoThumbnail(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVideoThumbnail Read a retained video thumbnail state
Reads local cache state for a current video reference without retrieving provider bytes. A missing cache record is represented as not_requested. Removed references return 404.
Corresponds with GET /api/v1/shared-content/{itemId}/thumbnail (the `GetVideoThumbnail` operationId).
func (*Client) JoinRoom ¶
func (c *Client) JoinRoom(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, body JoinRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
JoinRoom Explicitly request entry and reconnect recovery for a saved room
Durably records the owning engine's join intent before protocol work. A room password may be supplied for initial entry or rejoin. Repeated operation keys do not repeat an established command; changed payloads or stale intent revisions conflict. Reads and reply preparation never join. Protocol confirmation is observed through getRoomSession.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/conversations/{conversationId}/room-session (the `JoinRoom` operationId).
func (*Client) JoinRoomWithBody ¶
func (c *Client) JoinRoomWithBody(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
JoinRoomWithBody Explicitly request entry and reconnect recovery for a saved room
Durably records the owning engine's join intent before protocol work. A room password may be supplied for initial entry or rejoin. Repeated operation keys do not repeat an established command; changed payloads or stale intent revisions conflict. Reads and reply preparation never join. Protocol confirmation is observed through getRoomSession.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/conversations/{conversationId}/room-session (the `JoinRoom` operationId).
func (*Client) LeaveRoom ¶
func (c *Client) LeaveRoom(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, body LeaveRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LeaveRoom Leave a room and stop this engine's automatic rejoin
Durably records an explicit leave before sending unavailable presence. Saved history and queued messages are retained. Queued room work cannot dispatch while the intent is inactive. An old operation replay never reactivates a later leave or revoked intent.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/conversations/{conversationId}/room-session/leave (the `LeaveRoom` operationId).
func (*Client) LeaveRoomWithBody ¶
func (c *Client) LeaveRoomWithBody(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LeaveRoomWithBody Leave a room and stop this engine's automatic rejoin
Durably records an explicit leave before sending unavailable presence. Saved history and queued messages are retained. Queued room work cannot dispatch while the intent is inactive. An old operation replay never reactivates a later leave or revoked intent.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/conversations/{conversationId}/room-session/leave (the `LeaveRoom` operationId).
func (*Client) ListAccountAvatars ¶
func (c *Client) ListAccountAvatars(ctx context.Context, accountId AccountID, params *ListAccountAvatarsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAccountAvatars Read retained profile image metadata
Account-scoped user and conversation profile images retrieved through the protocol. Initials remain the fallback for absent or inaccessible images. Image bytes live outside SQLite and contain only normalized PNG thumbnails.
Corresponds with GET /api/v1/accounts/{accountId}/avatars (the `ListAccountAvatars` operationId).
func (*Client) ListAccounts ¶
func (c *Client) ListAccounts(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAccounts List registered account metadata
Stable UUID-ordered keyset pagination; registration does not establish an XMPP session.
Corresponds with GET /api/v1/accounts (the `ListAccounts` operationId).
func (*Client) ListContactRequests ¶
func (c *Client) ListContactRequests(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListContactRequests List pending contact requests for an account
Returns requests observed by the active session. Returns unavailable while the account is disconnected.
Corresponds with GET /api/v1/accounts/{accountId}/contact-requests (the `ListContactRequests` operationId).
func (*Client) ListContacts ¶
func (c *Client) ListContacts(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListContacts Search saved protocol contacts
Read the retained per-account contact directory without fetching a roster, changing subscriptions, adding contacts or opening conversations. Unknown and unavailable sources are distinct from an observed empty roster. Cached contacts remain searchable while disconnected. Results are ordered by stable contact UUID and filtered before pagination.
Corresponds with GET /api/v1/contacts (the `ListContacts` operationId).
func (*Client) ListConversationMessageStars ¶
func (c *Client) ListConversationMessageStars(ctx context.Context, conversationId ConversationID, params *ListConversationMessageStarsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListConversationMessageStars Read star states for displayed messages
Reads up to 100 distinct source message states without creating rows. Every message must belong to the requested conversation; foreign or missing message IDs reject the whole request. Item order is unspecified.
Corresponds with GET /api/v1/conversations/{conversationId}/message-stars (the `ListConversationMessageStars` operationId).
func (*Client) ListConversationPreviews ¶
func (c *Client) ListConversationPreviews(ctx context.Context, conversationId ID, params *ListConversationPreviewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListConversationPreviews Read cached message link and image previews
Returns at most three URL previews per retained message. Without messageId, uses the latest fifty messages. Cache misses queue bounded background page metadata enrichment. Original images are fetched only by the explicit download operation. Message text and revisions are unchanged.
Corresponds with GET /api/v1/conversations/{conversationId}/previews (the `ListConversationPreviews` operationId).
func (*Client) ListConversationReactions ¶
func (c *Client) ListConversationReactions(ctx context.Context, conversationId ConversationID, params *ListConversationReactionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListConversationReactions Read bounded reactions for the mounted conversation messages
All requested retained messages must belong to this conversation. Canonicalizes aliases and returns each canonical source once. Does not retrieve history or change read state.
Corresponds with GET /api/v1/conversations/{conversationId}/reactions (the `ListConversationReactions` operationId).
func (*Client) ListConversations ¶
func (c *Client) ListConversations(ctx context.Context, params *ListConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListConversations List retained conversations
Keyset pages ordered by descending engine activity. Search matches conversation address/title and latest text preview; this is not full message search.
Corresponds with GET /api/v1/conversations (the `ListConversations` operationId).
func (*Client) ListMessages ¶
func (c *Client) ListMessages(ctx context.Context, conversationId ConversationID, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMessages Read retained messages
Returns a bounded page of retained messages newest-first by timelineAt when present and createdAt otherwise, at UTC millisecond precision with a UUID tie-break. Includes serially recovered archive messages. Pending scheduled messages are omitted until release. The default direction is older; without a cursor it reads the latest page. Newer requires a cursor and reads the nearest messages after that retained conversation-scoped anchor, without skipping to the latest page. Both directions return newest-first. nextCursor continues in the requested direction. Reads never fetch provider history or mark messages as read.
Corresponds with GET /api/v1/conversations/{conversationId}/messages (the `ListMessages` operationId).
func (*Client) ListScheduledMessages ¶
func (c *Client) ListScheduledMessages(ctx context.Context, params *ListScheduledMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListScheduledMessages List scheduled messages across conversations
Lists the selected engine's own queued, known-unsent messages with a configured schedule, including overdue sends waiting for connectivity. Results include their destination. Successful Send now removes the item from this list even if connectivity delays dispatch. Results sort by scheduledAt ascending, then message UUID ascending. Pagination is over current data. Concurrent changes can move items across the cursor boundary.
Corresponds with GET /api/v1/scheduled-messages (the `ListScheduledMessages` operationId).
func (*Client) ListSharedContent ¶
func (c *Client) ListSharedContent(ctx context.Context, params *ListSharedContentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSharedContent Browse shared content across retained conversations
Browse the local derived catalog, newest message position (`timelineAt`, falling back to `createdAt`) first with item UUID ties at millisecond precision. Unreleased schedules and scheduled sends cancelled before dispatch are excluded. Account/conversation filters apply before pagination. Metadata search covers URL, filename, visible caption, cached preview title/description, sender, conversation and account label. A background worker indexes visible retained and incoming messages. Listing registers preview enrichment only for the returned image/link references; originals still follow device preferences and explicit download operations. Document/audio entries remain URL references. Video bytes are available only through the explicit content operation; listing does not fetch video metadata or bytes. Backfill or new arrivals may insert items before the current cursor; reload to include them. A conversation filter outside the selected accounts is invalid.
Corresponds with GET /api/v1/shared-content (the `ListSharedContent` operationId).
func (*Client) ListStarredMessages ¶
func (c *Client) ListStarredMessages(ctx context.Context, params *ListStarredMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListStarredMessages Browse retained starred messages with their source context
Lists current starred messages across accounts or within an account/conversation. Order is source message UTC timestamp at millisecond precision descending, then message UUID descending. Unstarring a cursor message does not break paging. This is a live collection, not a frozen snapshot; newer stars can appear before the current page. No provider requests, enrichment or downloads are started. Conversation favorites are independent of message stars.
Corresponds with GET /api/v1/starred-messages (the `ListStarredMessages` operationId).
func (*Client) ManageRoom ¶
func (c *Client) ManageRoom(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, body ManageRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ManageRoom Apply a room management action
Rechecks the active room session, permissions and target before sending. Confirmed destruction removes the room from the requesting account’s chat lists and retains stored history. Repeat an uncertain request with the same key to read its outcome without sending it again.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/conversations/{conversationId}/room-management (the `ManageRoom` operationId).
func (*Client) ManageRoomWithBody ¶
func (c *Client) ManageRoomWithBody(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ManageRoomWithBody Apply a room management action
Rechecks the active room session, permissions and target before sending. Confirmed destruction removes the room from the requesting account’s chat lists and retains stored history. Repeat an uncertain request with the same key to read its outcome without sending it again.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/conversations/{conversationId}/room-management (the `ManageRoom` operationId).
func (*Client) MarkConversationMessagesRead ¶
func (c *Client) MarkConversationMessagesRead(ctx context.Context, conversationId ConversationID, params *MarkConversationMessagesReadParams, body MarkConversationMessagesReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkConversationMessagesRead Mark incoming messages read
Atomically merges the listed retained message identities into app-owned read state. Other messages, including later arrivals, remain unread. Lists are bounded and must belong to this conversation. Own and historical messages are ignored. Repeated batches are safe; retries with the same key return the original committed snapshot. Read revisions and operation receipts are durable. Reading does not bump conversation activity, edit content or send protocol receipts. This alpha operation records local engine read evidence; receipt emission and independent-engine synchronization remain deferred. With If-Match, the single message ID must be the latest retained timeline message in the specified conversation revision. The operation then marks all unread messages in that snapshot read.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/conversations/{conversationId}/read-state (the `MarkConversationMessagesRead` operationId).
func (*Client) MarkConversationMessagesReadWithBody ¶
func (c *Client) MarkConversationMessagesReadWithBody(ctx context.Context, conversationId ConversationID, params *MarkConversationMessagesReadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkConversationMessagesReadWithBody Mark incoming messages read
Atomically merges the listed retained message identities into app-owned read state. Other messages, including later arrivals, remain unread. Lists are bounded and must belong to this conversation. Own and historical messages are ignored. Repeated batches are safe; retries with the same key return the original committed snapshot. Read revisions and operation receipts are durable. Reading does not bump conversation activity, edit content or send protocol receipts. This alpha operation records local engine read evidence; receipt emission and independent-engine synchronization remain deferred. With If-Match, the single message ID must be the latest retained timeline message in the specified conversation revision. The operation then marks all unread messages in that snapshot read.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/conversations/{conversationId}/read-state (the `MarkConversationMessagesRead` operationId).
func (*Client) OpenConversation ¶
func (c *Client) OpenConversation(ctx context.Context, params *OpenConversationParams, body OpenConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OpenConversation Open a direct conversation
Finds an existing conversation for the canonical account/peer or creates one. Durable operation keys retain original results. Opening a removed direct conversation adds it back to chat lists. Does not add a contact or send presence subscriptions.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/conversations (the `OpenConversation` operationId).
func (*Client) OpenConversationWithBody ¶
func (c *Client) OpenConversationWithBody(ctx context.Context, params *OpenConversationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OpenConversationWithBody Open a direct conversation
Finds an existing conversation for the canonical account/peer or creates one. Durable operation keys retain original results. Opening a removed direct conversation adds it back to chat lists. Does not add a contact or send presence subscriptions.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/conversations (the `OpenConversation` operationId).
func (*Client) OpenRoom ¶
func (c *Client) OpenRoom(ctx context.Context, accountId AccountID, params *OpenRoomParams, body OpenRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OpenRoom Open and request entry to an XMPP room
Atomically saves the room and its entry intent. Creation requires a verified XMPP room service and an unused room address before saving. Creation is confirmed separately through the room session. Repeating the same key cannot reactivate a later leave. Creation uses the service defaults with persistence enabled and an optional room name.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/accounts/{accountId}/rooms (the `OpenRoom` operationId).
func (*Client) OpenRoomWithBody ¶
func (c *Client) OpenRoomWithBody(ctx context.Context, accountId AccountID, params *OpenRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OpenRoomWithBody Open and request entry to an XMPP room
Atomically saves the room and its entry intent. Creation requires a verified XMPP room service and an unused room address before saving. Creation is confirmed separately through the room session. Repeating the same key cannot reactivate a later leave. Creation uses the service defaults with persistence enabled and an optional room name.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/accounts/{accountId}/rooms (the `OpenRoom` operationId).
func (*Client) PreviewRoom ¶
func (c *Client) PreviewRoom(ctx context.Context, accountId AccountID, params *PreviewRoomParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PreviewRoom Read a room preview using the selected account
Reads published room information and an available vCard from the bare room address. Does not save the conversation or enter the room.
Corresponds with GET /api/v1/accounts/{accountId}/room-preview (the `PreviewRoom` operationId).
func (*Client) RefreshMessagePreview ¶
func (c *Client) RefreshMessagePreview(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
RefreshMessagePreview Refresh cached link metadata
Explicitly queues fresh metadata for a current retained link reference, bypassing the metadata cache. Existing metadata remains usable during refresh or failure. Concurrent pending refreshes share queued work. Does not edit a message or request an original image download.
Corresponds with POST /api/v1/previews/{previewId}/refresh (the `RefreshMessagePreview` operationId).
func (*Client) RegisterAccount ¶
func (c *Client) RegisterAccount(ctx context.Context, params *RegisterAccountParams, body RegisterAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterAccount Register protocol account metadata
Atomically stores an account, initial immutable revision, operation receipt, and account.registered event. Repeating a key with the same normalized input returns the original result unless the account was removed. Reusing it with different input conflicts. No credentials are accepted, and no protocol session is opened. New XMPP registrations use the compiled-in adapter to normalize bare JIDs before matching. Existing foundation metadata is retained without rewriting identities.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/accounts (the `RegisterAccount` operationId).
func (*Client) RegisterAccountWithBody ¶
func (c *Client) RegisterAccountWithBody(ctx context.Context, params *RegisterAccountParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterAccountWithBody Register protocol account metadata
Atomically stores an account, initial immutable revision, operation receipt, and account.registered event. Repeating a key with the same normalized input returns the original result unless the account was removed. Reusing it with different input conflicts. No credentials are accepted, and no protocol session is opened. New XMPP registrations use the compiled-in adapter to normalize bare JIDs before matching. Existing foundation metadata is retained without rewriting identities.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/accounts (the `RegisterAccount` operationId).
func (*Client) RemoveAccount ¶
func (c *Client) RemoveAccount(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveAccount Remove an account from Oiê
Disconnects this account, forgets its saved credentials, and removes its conversations, retained history and pending sends from this engine. The provider account and its server history are unaffected. Repeating the request for the same UUID is safe.
Corresponds with DELETE /api/v1/accounts/{accountId} (the `RemoveAccount` operationId).
func (*Client) RemoveDirectFromChats ¶
func (c *Client) RemoveDirectFromChats(ctx context.Context, conversationId ConversationID, params *RemoveDirectFromChatsParams, body RemoveDirectFromChatsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveDirectFromChats Remove a direct conversation from Oiê's chat lists
Removes the direct conversation from the active and archived lists and retains stored history. Opening it by address or receiving a new live message adds it back.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/conversations/{conversationId}/remove-direct (the `RemoveDirectFromChats` operationId).
func (*Client) RemoveDirectFromChatsWithBody ¶
func (c *Client) RemoveDirectFromChatsWithBody(ctx context.Context, conversationId ConversationID, params *RemoveDirectFromChatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveDirectFromChatsWithBody Remove a direct conversation from Oiê's chat lists
Removes the direct conversation from the active and archived lists and retains stored history. Opening it by address or receiving a new live message adds it back.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/conversations/{conversationId}/remove-direct (the `RemoveDirectFromChats` operationId).
func (*Client) RemoveRoomFromChats ¶
func (c *Client) RemoveRoomFromChats(ctx context.Context, conversationId ConversationID, params *RemoveRoomFromChatsParams, body RemoveRoomFromChatsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveRoomFromChats Remove a saved room from Oiê's chat lists
Removes the room from the active and archived lists and stops automatic rejoin. Retains stored history and never destroys the room on the XMPP server. Opening the room by address adds it back.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/conversations/{conversationId}/remove-room (the `RemoveRoomFromChats` operationId).
func (*Client) RemoveRoomFromChatsWithBody ¶
func (c *Client) RemoveRoomFromChatsWithBody(ctx context.Context, conversationId ConversationID, params *RemoveRoomFromChatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveRoomFromChatsWithBody Remove a saved room from Oiê's chat lists
Removes the room from the active and archived lists and stops automatic rejoin. Retains stored history and never destroys the room on the XMPP server. Opening the room by address adds it back.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/conversations/{conversationId}/remove-room (the `RemoveRoomFromChats` operationId).
func (*Client) RequestRoomArchive ¶
func (c *Client) RequestRoomArchive(ctx context.Context, conversationId ConversationID, body RequestRoomArchiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestRoomArchive Request a bounded room archive read
Request the next initial page (focus), an older page (older), context around a retained message (context), or a text search page (search). Search requires a query and accepts an optional cursor from the same room and query. Context requires messageId. Older accepts a retained messageId as a boundary. The owning account and room determine the archive. Successful imports are retained with historical semantics. Search and context do not advance background recovery checkpoints. Results are bounded. A capability failure does not affect local reads.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/conversations/{conversationId}/archive/requests (the `RequestRoomArchive` operationId).
func (*Client) RequestRoomArchiveWithBody ¶
func (c *Client) RequestRoomArchiveWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestRoomArchiveWithBody Request a bounded room archive read
Request the next initial page (focus), an older page (older), context around a retained message (context), or a text search page (search). Search requires a query and accepts an optional cursor from the same room and query. Context requires messageId. Older accepts a retained messageId as a boundary. The owning account and room determine the archive. Successful imports are retained with historical semantics. Search and context do not advance background recovery checkpoints. Results are bounded. A capability failure does not affect local reads.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/conversations/{conversationId}/archive/requests (the `RequestRoomArchive` operationId).
func (*Client) RequestVideoThumbnail ¶
func (c *Client) RequestVideoThumbnail(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestVideoThumbnail Ensure a cached video thumbnail
Queues retrieval of a retained HTTP(S) thumbnail supplied in XMPP file metadata (at most 1 MiB). Concurrent requests share work and a ready thumbnail is reused. A failed retrieval can be explicitly retried. The source is revalidated before publication. Without a retained or supplied thumbnail this operation returns 503 without retrieving video bytes. Clients may use a bounded media range to generate a preview locally.
Corresponds with POST /api/v1/shared-content/{itemId}/thumbnail (the `RequestVideoThumbnail` operationId).
func (*Client) ResetEngineData ¶
func (c *Client) ResetEngineData(ctx context.Context, body ResetEngineDataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetEngineData Delete all data held by this engine
Permanently deletes accounts, credentials, history and files held by the engine and starts an empty engine with a new identity. Provider copies are outside this operation.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/engine/reset (the `ResetEngineData` operationId).
func (*Client) ResetEngineDataWithBody ¶
func (c *Client) ResetEngineDataWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetEngineDataWithBody Delete all data held by this engine
Permanently deletes accounts, credentials, history and files held by the engine and starts an empty engine with a new identity. Provider copies are outside this operation.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/engine/reset (the `ResetEngineData` operationId).
func (*Client) ResolveDraftLinkPreview ¶
func (c *Client) ResolveDraftLinkPreview(ctx context.Context, body ResolveDraftLinkPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveDraftLinkPreview Resolve a link preview for a draft
Fetches metadata and an optional bounded raster image for one public HTTP(S) URL. Uses the transient link cache and creates no message, durable preview record or original download.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/link-previews (the `ResolveDraftLinkPreview` operationId).
func (*Client) ResolveDraftLinkPreviewWithBody ¶
func (c *Client) ResolveDraftLinkPreviewWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveDraftLinkPreviewWithBody Resolve a link preview for a draft
Fetches metadata and an optional bounded raster image for one public HTTP(S) URL. Uses the transient link cache and creates no message, durable preview record or original download.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/link-previews (the `ResolveDraftLinkPreview` operationId).
func (*Client) RetractMessage ¶
func (c *Client) RetractMessage(ctx context.Context, messageId MessageID, body RetractMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RetractMessage Request retraction of an own sent message
Sends a provider retraction for the reviewed revision and keeps the retained original hidden. A successful request does not establish removal from the recipient's copies.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/messages/{messageId}/retraction (the `RetractMessage` operationId).
func (*Client) RetractMessageWithBody ¶
func (c *Client) RetractMessageWithBody(ctx context.Context, messageId MessageID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RetractMessageWithBody Request retraction of an own sent message
Sends a provider retraction for the reviewed revision and keeps the retained original hidden. A successful request does not establish removal from the recipient's copies.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/messages/{messageId}/retraction (the `RetractMessage` operationId).
func (*Client) SearchMessages ¶
func (c *Client) SearchMessages(ctx context.Context, params *SearchMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
SearchMessages Search retained message text and available metadata
Search the complete retained engine history before pagination, without network retrieval, enrichment or read-state changes. Matching follows shared-content accent/case folding, word prefixes and bounded typing-error tolerance. Current canonical message content is searched by default. Include edit history adds separately labelled verified earlier content revisions, never transport-state revisions or independent correction aliases. Current associated URLs, filenames and cached page titles/descriptions are searched only while their catalog source is current. Metadata coverage can lag immediate message-text coverage. Unreleased schedules and scheduled sends cancelled before dispatch are excluded. Order is newest message position (`timelineAt`, falling back to `createdAt`) at UTC millisecond precision and UUID first, current hit before earlier content revisions, then newest revision timestamp and UUID. New arrivals or corrections can change subsequent results; pages are not a frozen snapshot.
Corresponds with GET /api/v1/messages/search (the `SearchMessages` operationId).
func (*Client) SendMessage ¶
func (c *Client) SendMessage(ctx context.Context, conversationId ConversationID, params *SendMessageParams, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SendMessage Accept an immediate or scheduled message
Atomically commits one logical message, operation receipt and outbox intent for the complete composition, including the ordered references to staged attachments. The engine checks the destination, reply, mentions, attachment scope and effective send capabilities before acceptance. Invalid or unavailable attachments reject the whole composition. Attachment bytes are staged locally and any provider upload belongs to dispatch. Room dispatch waits for confirmed membership under an active explicit join intent. A new submission conflicts with a conversation removed from chat lists. Matching accepted submissions still replay. Omitting scheduledAt makes the intent immediately eligible. A future schedule never blocks another eligible send. A missed schedule dispatches when the owning engine and destination become available again. Optional expectedReplyRevisionId and expectedReplyExcerptSha256 bind a new scheduled reply to the reviewed source and excerpt. A changed source rejects acceptance with state_conflict and replySourceChanged set to true. Idempotency includes the complete composition, normalized instant and any reply preconditions. A matching replay returns the original acceptance snapshot even after the scheduled time passes, attachment availability changes or the source is corrected. Different input with the same key yields idempotency_conflict. Read the message for current state. Ambiguous transmission remains unknown.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/conversations/{conversationId}/messages (the `SendMessage` operationId).
func (*Client) SendMessageWithBody ¶
func (c *Client) SendMessageWithBody(ctx context.Context, conversationId ConversationID, params *SendMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendMessageWithBody Accept an immediate or scheduled message
Atomically commits one logical message, operation receipt and outbox intent for the complete composition, including the ordered references to staged attachments. The engine checks the destination, reply, mentions, attachment scope and effective send capabilities before acceptance. Invalid or unavailable attachments reject the whole composition. Attachment bytes are staged locally and any provider upload belongs to dispatch. Room dispatch waits for confirmed membership under an active explicit join intent. A new submission conflicts with a conversation removed from chat lists. Matching accepted submissions still replay. Omitting scheduledAt makes the intent immediately eligible. A future schedule never blocks another eligible send. A missed schedule dispatches when the owning engine and destination become available again. Optional expectedReplyRevisionId and expectedReplyExcerptSha256 bind a new scheduled reply to the reviewed source and excerpt. A changed source rejects acceptance with state_conflict and replySourceChanged set to true. Idempotency includes the complete composition, normalized instant and any reply preconditions. A matching replay returns the original acceptance snapshot even after the scheduled time passes, attachment availability changes or the source is corrected. Different input with the same key yields idempotency_conflict. Read the message for current state. Ambiguous transmission remains unknown.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/conversations/{conversationId}/messages (the `SendMessage` operationId).
func (*Client) SendScheduledMessageNow ¶
func (c *Client) SendScheduledMessageNow(ctx context.Context, messageId MessageID, params *SendScheduledMessageNowParams, body SendScheduledMessageNowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SendScheduledMessageNow Make a scheduled message eligible immediately
With the current expected revision, atomically clears scheduledAt on the same queued, known-unsent scheduled intent and makes it eligible immediately. The message ID, destination, composition and attachments remain attached to the same intent. Acceptance records eligibility. Dispatch still requires the owning engine, connectivity and any existing destination prerequisites. This operation and dispatch share the same atomic cutoff as pending edit and cancel, including before provider attachment upload. A stale revision, ineligible state or winning dispatch claim yields state_conflict with currentMessage. Repeating the same key and input returns the original successful result even if dispatch has since started.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/messages/{messageId}/send-now (the `SendScheduledMessageNow` operationId).
func (*Client) SendScheduledMessageNowWithBody ¶
func (c *Client) SendScheduledMessageNowWithBody(ctx context.Context, messageId MessageID, params *SendScheduledMessageNowParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendScheduledMessageNowWithBody Make a scheduled message eligible immediately
With the current expected revision, atomically clears scheduledAt on the same queued, known-unsent scheduled intent and makes it eligible immediately. The message ID, destination, composition and attachments remain attached to the same intent. Acceptance records eligibility. Dispatch still requires the owning engine, connectivity and any existing destination prerequisites. This operation and dispatch share the same atomic cutoff as pending edit and cancel, including before provider attachment upload. A stale revision, ineligible state or winning dispatch claim yields state_conflict with currentMessage. Repeating the same key and input returns the original successful result even if dispatch has since started.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/messages/{messageId}/send-now (the `SendScheduledMessageNow` operationId).
func (*Client) SetAccountAvatar ¶
func (c *Client) SetAccountAvatar(ctx context.Context, accountId AccountID, body SetAccountAvatarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAccountAvatar Change the connected account's profile photo
Publishes a normalized PNG to the selected account's XMPP service. Only a confirmed publication updates the retained photo. The account must be connected to a server that supports avatar publishing.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/accounts/{accountId}/avatar (the `SetAccountAvatar` operationId).
func (*Client) SetAccountAvatarWithBody ¶
func (c *Client) SetAccountAvatarWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAccountAvatarWithBody Change the connected account's profile photo
Publishes a normalized PNG to the selected account's XMPP service. Only a confirmed publication updates the retained photo. The account must be connected to a server that supports avatar publishing.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/accounts/{accountId}/avatar (the `SetAccountAvatar` operationId).
func (*Client) SetAccountCommunicationPreferences ¶
func (c *Client) SetAccountCommunicationPreferences(ctx context.Context, accountId AccountID, body SetAccountCommunicationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAccountCommunicationPreferences Save account presence and communication preferences
The revision is required, including null for preferences that have never been saved.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/accounts/{accountId}/communication-preferences (the `SetAccountCommunicationPreferences` operationId).
func (*Client) SetAccountCommunicationPreferencesWithBody ¶
func (c *Client) SetAccountCommunicationPreferencesWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAccountCommunicationPreferencesWithBody Save account presence and communication preferences
The revision is required, including null for preferences that have never been saved.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/accounts/{accountId}/communication-preferences (the `SetAccountCommunicationPreferences` operationId).
func (*Client) SetAccountLabel ¶
func (c *Client) SetAccountLabel(ctx context.Context, accountId AccountID, body SetAccountLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAccountLabel Change the account name shown in Oiê
Updates the retained name independently of account connectivity. A retry with the current label succeeds without creating a revision. A different label requires the current account revision.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/accounts/{accountId}/label (the `SetAccountLabel` operationId).
func (*Client) SetAccountLabelWithBody ¶
func (c *Client) SetAccountLabelWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAccountLabelWithBody Change the account name shown in Oiê
Updates the retained name independently of account connectivity. A retry with the current label succeeds without creating a revision. A different label requires the current account revision.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/accounts/{accountId}/label (the `SetAccountLabel` operationId).
func (*Client) SetConversationReadReceipts ¶
func (c *Client) SetConversationReadReceipts(ctx context.Context, conversationId ConversationID, body SetConversationReadReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetConversationReadReceipts Change conversation read receipt settings
Use the revision from the current snapshot. A stale revision yields a conflict.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/read-receipts (the `SetConversationReadReceipts` operationId).
func (*Client) SetConversationReadReceiptsWithBody ¶
func (c *Client) SetConversationReadReceiptsWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetConversationReadReceiptsWithBody Change conversation read receipt settings
Use the revision from the current snapshot. A stale revision yields a conflict.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/read-receipts (the `SetConversationReadReceipts` operationId).
func (*Client) SetConversationRetention ¶
func (c *Client) SetConversationRetention(ctx context.Context, conversationId ConversationID, body SetConversationRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetConversationRetention Change conversation message retention
Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/retention (the `SetConversationRetention` operationId).
func (*Client) SetConversationRetentionWithBody ¶
func (c *Client) SetConversationRetentionWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetConversationRetentionWithBody Change conversation message retention
Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/retention (the `SetConversationRetention` operationId).
func (*Client) SetConversationTyping ¶
func (c *Client) SetConversationTyping(ctx context.Context, conversationId ConversationID, body SetConversationTypingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetConversationTyping Send an expiring typing notification where supported
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/typing (the `SetConversationTyping` operationId).
func (*Client) SetConversationTypingWithBody ¶
func (c *Client) SetConversationTypingWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetConversationTypingWithBody Send an expiring typing notification where supported
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/typing (the `SetConversationTyping` operationId).
func (*Client) SetDownloadRetention ¶
func (c *Client) SetDownloadRetention(ctx context.Context, deviceId ID, body SetDownloadRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetDownloadRetention Update downloaded-file retention for a device
Applies the selected age to existing and future retained originals for the specified device.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/downloads/{deviceId}/retention (the `SetDownloadRetention` operationId).
func (*Client) SetDownloadRetentionWithBody ¶
func (c *Client) SetDownloadRetentionWithBody(ctx context.Context, deviceId ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetDownloadRetentionWithBody Update downloaded-file retention for a device
Applies the selected age to existing and future retained originals for the specified device.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/downloads/{deviceId}/retention (the `SetDownloadRetention` operationId).
func (*Client) SetGlobalReadReceipts ¶
func (c *Client) SetGlobalReadReceipts(ctx context.Context, body SetGlobalReadReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetGlobalReadReceipts Change engine-wide read receipt settings
Use the revision from the current snapshot. A stale revision yields a conflict.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/engine/read-receipts (the `SetGlobalReadReceipts` operationId).
func (*Client) SetGlobalReadReceiptsWithBody ¶
func (c *Client) SetGlobalReadReceiptsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetGlobalReadReceiptsWithBody Change engine-wide read receipt settings
Use the revision from the current snapshot. A stale revision yields a conflict.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/engine/read-receipts (the `SetGlobalReadReceipts` operationId).
func (*Client) SetGlobalRetention ¶
func (c *Client) SetGlobalRetention(ctx context.Context, body SetGlobalRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetGlobalRetention Change engine-wide message retention
Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/engine/retention (the `SetGlobalRetention` operationId).
func (*Client) SetGlobalRetentionWithBody ¶
func (c *Client) SetGlobalRetentionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetGlobalRetentionWithBody Change engine-wide message retention
Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/engine/retention (the `SetGlobalRetention` operationId).
func (*Client) SetMessageReactions ¶
func (c *Client) SetMessageReactions(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, body SetMessageReactionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMessageReactions Accept a durable replacement of the own reaction set
Persists a separate reaction command with an own-actor revision precondition. Empty emojis removes the own set. Other actors do not invalidate this precondition. At most one unresolved command per source is allowed. Submitted means written to the connection; unknown transmission is never blindly retried. Source content, activity, history, unread and original outbox stay unchanged.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/messages/{messageId}/reactions (the `SetMessageReactions` operationId).
func (*Client) SetMessageReactionsWithBody ¶
func (c *Client) SetMessageReactionsWithBody(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMessageReactionsWithBody Accept a durable replacement of the own reaction set
Persists a separate reaction command with an own-actor revision precondition. Empty emojis removes the own set. Other actors do not invalidate this precondition. At most one unresolved command per source is allowed. Submitted means written to the connection; unknown transmission is never blindly retried. Source content, activity, history, unread and original outbox stay unchanged.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/messages/{messageId}/reactions (the `SetMessageReactions` operationId).
func (*Client) SetMessageStar ¶
func (c *Client) SetMessageStar(ctx context.Context, messageId MessageID, params *SetMessageStarParams, body SetMessageStarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMessageStar Star or unstar a retained source message
Atomically compares the star revision, stores an independent immutable star revision, a durable operation receipt and an event. Does not edit message content, bump chat activity, change read state or send anything to the provider. The precondition is null for unchanged initial state. A stale precondition returns state_conflict with currentStar. Replays return the original receipt snapshot, even if later changes occurred; read current state after an uncertain response. An already matching value records a receipt without a new event.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/messages/{messageId}/star (the `SetMessageStar` operationId).
func (*Client) SetMessageStarWithBody ¶
func (c *Client) SetMessageStarWithBody(ctx context.Context, messageId MessageID, params *SetMessageStarParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMessageStarWithBody Star or unstar a retained source message
Atomically compares the star revision, stores an independent immutable star revision, a durable operation receipt and an event. Does not edit message content, bump chat activity, change read state or send anything to the provider. The precondition is null for unchanged initial state. A stale precondition returns state_conflict with currentStar. Replays return the original receipt snapshot, even if later changes occurred; read current state after an uncertain response. An already matching value records a receipt without a new event.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/messages/{messageId}/star (the `SetMessageStar` operationId).
func (*Client) SetOmemoDecision ¶
func (c *Client) SetOmemoDecision(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, body SetOmemoDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetOmemoDecision Confirm an OMEMO device or change protection for future messages
Device decisions require an exact public fingerprint. Policy changes apply to future submissions for the selected peer.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/accounts/{accountId}/omemo (the `SetOmemoDecision` operationId).
func (*Client) SetOmemoDecisionWithBody ¶
func (c *Client) SetOmemoDecisionWithBody(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetOmemoDecisionWithBody Confirm an OMEMO device or change protection for future messages
Device decisions require an exact public fingerprint. Policy changes apply to future submissions for the selected peer.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/accounts/{accountId}/omemo (the `SetOmemoDecision` operationId).
func (*Client) SetRoomArchiveMode ¶
func (c *Client) SetRoomArchiveMode(ctx context.Context, conversationId ConversationID, body SetRoomArchiveModeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetRoomArchiveMode Set the room archive recovery mode
Replaces the mode idempotently. Existing messages and progress are retained. Gradual mode resumes eligible automatic recovery.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/archive (the `SetRoomArchiveMode` operationId).
func (*Client) SetRoomArchiveModeWithBody ¶
func (c *Client) SetRoomArchiveModeWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetRoomArchiveModeWithBody Set the room archive recovery mode
Replaces the mode idempotently. Existing messages and progress are retained. Gradual mode resumes eligible automatic recovery.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/archive (the `SetRoomArchiveMode` operationId).
func (*Client) SetRoomOmemo ¶
func (c *Client) SetRoomOmemo(ctx context.Context, conversationId ConversationID, body SetRoomOmemoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetRoomOmemo Change OMEMO for the room
Enable protected sends and encrypted receive and recovery in a confirmed members-only non-anonymous room. Accepted sends keep their selected protection after the setting changes.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/omemo (the `SetRoomOmemo` operationId).
func (*Client) SetRoomOmemoWithBody ¶
func (c *Client) SetRoomOmemoWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetRoomOmemoWithBody Change OMEMO for the room
Enable protected sends and encrypted receive and recovery in a confirmed members-only non-anonymous room. Accepted sends keep their selected protection after the setting changes.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/omemo (the `SetRoomOmemo` operationId).
func (*Client) StageMessageAttachmentWithBody ¶
func (c *Client) StageMessageAttachmentWithBody(ctx context.Context, conversationId ConversationID, attachmentId StagedAttachmentID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StageMessageAttachmentWithBody Stage a file for an outgoing message
Store one complete file durably on the owning engine, scoped to this conversation and its account. The client assigns the ID once. A matching repeat with the same file bytes and filename returns the original receipt. Different input for that ID yields idempotency_conflict. An incomplete request leaves no usable attachment. Confirmed local staging performs no provider upload. Send and pending edit accept only available attachments in the same scope. The engine retains accepted references while their send is unresolved, including through restart, rescheduling and Send now.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId} (the `StageMessageAttachment` operationId).
func (*Client) StreamEvents ¶
func (c *Client) StreamEvents(ctx context.Context, params *StreamEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
StreamEvents Replay durable changes and follow new events
SSE id is engineUUID:sequence; event is the event type; data is Event JSON. Last-Event-ID resumes strictly after its sequence. Without a cursor replay from zero. Cursors from another engine or ahead of current state return 409 before streaming. Heartbeat comments are not durable events. Expired message content is removed from replay. Clients deduplicate by event ID and apply conversation.history_pruned invalidations to retained history and projections.
Corresponds with GET /api/v1/events (the `StreamEvents` operationId).
func (*Client) UpdateConversationPreferences ¶
func (c *Client) UpdateConversationPreferences(ctx context.Context, conversationId ConversationID, params *UpdateConversationPreferencesParams, body UpdateConversationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateConversationPreferences Change conversation preferences, set read status or accept a message request
Atomically updates only the supplied app-owned flags, records an immutable conversation revision and operation receipt, and emits conversation.updated only for an actual change. No protocol operation is performed. The owning account must match accountId. expectedRevisionId must match the latest conversation revision, including intervening incoming-message or read updates. A matching Idempotency-Key replays its original accepted snapshot before checking current state. Reusing a key with different fields or preconditions conflicts. Setting an already-current value succeeds without another revision or event. Activity order, message timestamps, unread counts and outbox are unchanged by archive or favorite changes. Accepting a direct message request reveals the conversation and restores it from the archive. Setting read to true records read evidence for existing unread messages and clears a manual reminder. Setting it to false adds a reminder without changing message read evidence. Read status can be set only after a conversation request is resolved. Read the conversation after a replay for current state.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/conversations/{conversationId} (the `UpdateConversationPreferences` operationId).
func (*Client) UpdateConversationPreferencesWithBody ¶
func (c *Client) UpdateConversationPreferencesWithBody(ctx context.Context, conversationId ConversationID, params *UpdateConversationPreferencesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateConversationPreferencesWithBody Change conversation preferences, set read status or accept a message request
Atomically updates only the supplied app-owned flags, records an immutable conversation revision and operation receipt, and emits conversation.updated only for an actual change. No protocol operation is performed. The owning account must match accountId. expectedRevisionId must match the latest conversation revision, including intervening incoming-message or read updates. A matching Idempotency-Key replays its original accepted snapshot before checking current state. Reusing a key with different fields or preconditions conflicts. Setting an already-current value succeeds without another revision or event. Activity order, message timestamps, unread counts and outbox are unchanged by archive or favorite changes. Accepting a direct message request reveals the conversation and restores it from the archive. Setting read to true records read evidence for existing unread messages and clears a manual reminder. Setting it to false adds a reminder without changing message read evidence. Read status can be set only after a conversation request is resolved. Read the conversation after a replay for current state.
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/conversations/{conversationId} (the `UpdateConversationPreferences` operationId).
func (*Client) UpdatePendingMessage ¶
func (c *Client) UpdatePendingMessage(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, body UpdatePendingMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingMessage Edit or reschedule a pending message
Replace the full composition, change the schedule, or do both in one transaction at the owning engine. It must be an own queued, known-unsent message with the expected revision. The message ID, destination and creation time are retained. The engine validates new or changed reply, mentions and attachment references, then commits the updated composition and attachment references together. A schedule-only update preserves the accepted composition. The mutation and the dispatch claim share an atomic cutoff before any external provider attempt for this intent, including attachment upload. Stale revision, ineligible state or a winning dispatch claim yields state_conflict with currentMessage. When the mutation wins, a later claim uses the new revision and eligibility time. Matching idempotent replay returns the original result before evaluating current state, attachment availability or time preconditions.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/messages/{messageId}/pending (the `UpdatePendingMessage` operationId).
func (*Client) UpdatePendingMessageWithBody ¶
func (c *Client) UpdatePendingMessageWithBody(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePendingMessageWithBody Edit or reschedule a pending message
Replace the full composition, change the schedule, or do both in one transaction at the owning engine. It must be an own queued, known-unsent message with the expected revision. The message ID, destination and creation time are retained. The engine validates new or changed reply, mentions and attachment references, then commits the updated composition and attachment references together. A schedule-only update preserves the accepted composition. The mutation and the dispatch claim share an atomic cutoff before any external provider attempt for this intent, including attachment upload. Stale revision, ineligible state or a winning dispatch claim yields state_conflict with currentMessage. When the mutation wins, a later claim uses the new revision and eligibility time. Matching idempotent replay returns the original result before evaluating current state, attachment availability or time preconditions.
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/messages/{messageId}/pending (the `UpdatePendingMessage` operationId).
type ClientInterface ¶
type ClientInterface interface {
// ListAccounts List registered account metadata
//
// Stable UUID-ordered keyset pagination; registration does not establish an XMPP session.
//
// Corresponds with GET /api/v1/accounts (the `ListAccounts` operationId).
ListAccounts(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterAccountWithBody Register protocol account metadata
//
// Atomically stores an account, initial immutable revision, operation receipt,
// and account.registered event. Repeating a key with the same normalized input
// returns the original result unless the account was removed. Reusing it with different input conflicts.
// No credentials are accepted, and no protocol session is opened.
// New XMPP registrations use the compiled-in adapter to normalize bare JIDs before matching. Existing foundation metadata is retained without rewriting identities.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/accounts (the `RegisterAccount` operationId).
RegisterAccountWithBody(ctx context.Context, params *RegisterAccountParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterAccount Register protocol account metadata
//
// Atomically stores an account, initial immutable revision, operation receipt,
// and account.registered event. Repeating a key with the same normalized input
// returns the original result unless the account was removed. Reusing it with different input conflicts.
// No credentials are accepted, and no protocol session is opened.
// New XMPP registrations use the compiled-in adapter to normalize bare JIDs before matching. Existing foundation metadata is retained without rewriting identities.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/accounts (the `RegisterAccount` operationId).
RegisterAccount(ctx context.Context, params *RegisterAccountParams, body RegisterAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccountUnreadTotals Get unread message totals by account
//
// Counts unread messages in active and archived chats. Removed chats and manual unread reminders contribute nothing. Accounts with zero unread messages are omitted.
//
// Corresponds with GET /api/v1/accounts/unread-totals (the `GetAccountUnreadTotals` operationId).
GetAccountUnreadTotals(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveAccount Remove an account from Oiê
//
// Disconnects this account, forgets its saved credentials, and removes its conversations, retained history and pending sends from this engine. The provider account and its server history are unaffected. Repeating the request for the same UUID is safe.
//
// Corresponds with DELETE /api/v1/accounts/{accountId} (the `RemoveAccount` operationId).
RemoveAccount(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccount Read an account
//
// Returns the retained account and its current revision.
//
// Corresponds with GET /api/v1/accounts/{accountId} (the `GetAccount` operationId).
GetAccount(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAccountAvatarWithBody Change the connected account's profile photo
//
// Publishes a normalized PNG to the selected account's XMPP service. Only a confirmed publication updates the retained photo. The account must be connected to a server that supports avatar publishing.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/avatar (the `SetAccountAvatar` operationId).
SetAccountAvatarWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAccountAvatar Change the connected account's profile photo
//
// Publishes a normalized PNG to the selected account's XMPP service. Only a confirmed publication updates the retained photo. The account must be connected to a server that supports avatar publishing.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/avatar (the `SetAccountAvatar` operationId).
SetAccountAvatar(ctx context.Context, accountId AccountID, body SetAccountAvatarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAccountAvatars Read retained profile image metadata
//
// Account-scoped user and conversation profile images retrieved through the protocol. Initials remain the fallback for absent or inaccessible images. Image bytes live outside SQLite and contain only normalized PNG thumbnails.
//
// Corresponds with GET /api/v1/accounts/{accountId}/avatars (the `ListAccountAvatars` operationId).
ListAccountAvatars(ctx context.Context, accountId AccountID, params *ListAccountAvatarsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccountCapabilities Read account capability evidence
//
// Read application implementation, protocol support and cached server discovery evidence separately. This query never contacts the protocol server. Evidence is scoped, bounded and cleared when a connection ends. An absent advertisement does not prove that a client-level feature is unsupported. Discovery runs once per connection; room evidence is also collected during history recovery.
//
// Corresponds with GET /api/v1/accounts/{accountId}/capabilities (the `GetAccountCapabilities` operationId).
GetAccountCapabilities(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccountCommunicationPreferences Read account presence and communication preferences
//
// Corresponds with GET /api/v1/accounts/{accountId}/communication-preferences (the `GetAccountCommunicationPreferences` operationId).
GetAccountCommunicationPreferences(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAccountCommunicationPreferencesWithBody Save account presence and communication preferences
//
// The revision is required, including null for preferences that have never been saved.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/communication-preferences (the `SetAccountCommunicationPreferences` operationId).
SetAccountCommunicationPreferencesWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAccountCommunicationPreferences Save account presence and communication preferences
//
// The revision is required, including null for preferences that have never been saved.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/communication-preferences (the `SetAccountCommunicationPreferences` operationId).
SetAccountCommunicationPreferences(ctx context.Context, accountId AccountID, body SetAccountCommunicationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisconnectAccount Disconnect and disable automatic connection
//
// Keeps protocol credentials local for a later explicit configuration; does not delete account history or pending sends. Repeating disconnect is safe.
//
// Corresponds with DELETE /api/v1/accounts/{accountId}/connection (the `DisconnectAccount` operationId).
DisconnectAccount(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccountConnection Read account connection state
//
// State is runtime evidence, distinct from saved account metadata.
//
// Corresponds with GET /api/v1/accounts/{accountId}/connection (the `GetAccountConnection` operationId).
GetAccountConnection(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfigureAccountConnectionWithBody Configure and connect an account
//
// Persists write-only credentials before starting an asynchronous TLS/SASL connection. Transient network or authentication service failures reconnect with bounded backoff. A stopped connection can be retried with the same settings once the underlying problem is resolved. An unchanged configuration leaves a running connection or retry loop in place. Ordinary engine restart reloads enabled configurations.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/connection (the `ConfigureAccountConnection` operationId).
ConfigureAccountConnectionWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfigureAccountConnection Configure and connect an account
//
// Persists write-only credentials before starting an asynchronous TLS/SASL connection. Transient network or authentication service failures reconnect with bounded backoff. A stopped connection can be retried with the same settings once the underlying problem is resolved. An unchanged configuration leaves a running connection or retry loop in place. Ordinary engine restart reloads enabled configurations.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/connection (the `ConfigureAccountConnection` operationId).
ConfigureAccountConnection(ctx context.Context, accountId AccountID, body ConfigureAccountConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangeProtocolContactWithBody Manage an account's protocol contacts
//
// Add or remove one roster address or answer one pending presence subscription. Adding an existing or removing an absent address succeeds without a roster write. A contact request can only be answered while it is pending in the active session. Removing a roster entry preserves conversation history.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/accounts/{accountId}/contact-actions (the `ChangeProtocolContact` operationId).
ChangeProtocolContactWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangeProtocolContact Manage an account's protocol contacts
//
// Add or remove one roster address or answer one pending presence subscription. Adding an existing or removing an absent address succeeds without a roster write. A contact request can only be answered while it is pending in the active session. Removing a roster entry preserves conversation history.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/accounts/{accountId}/contact-actions (the `ChangeProtocolContact` operationId).
ChangeProtocolContact(ctx context.Context, accountId AccountID, body ChangeProtocolContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListContactRequests List pending contact requests for an account
//
// Returns requests observed by the active session. Returns unavailable while the account is disconnected.
//
// Corresponds with GET /api/v1/accounts/{accountId}/contact-requests (the `ListContactRequests` operationId).
ListContactRequests(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccountHistory Read account history recovery progress
//
// Recovery starts on protocol connection. Saved room entries and authorized text archives are read serially, with persistent checkpoints and deduplication. Historical imports do not create sends or unread counts. Complete means the last authorized text recovery pass finished; it is not a full protocol-feature claim. Saved rooms are read-only in this increment. Provider permission failures remain partial coverage.
//
// Corresponds with GET /api/v1/accounts/{accountId}/history (the `GetAccountHistory` operationId).
GetAccountHistory(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAccountLabelWithBody Change the account name shown in Oiê
//
// Updates the retained name independently of account connectivity. A retry with the current label succeeds without creating a revision. A different label requires the current account revision.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/label (the `SetAccountLabel` operationId).
SetAccountLabelWithBody(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAccountLabel Change the account name shown in Oiê
//
// Updates the retained name independently of account connectivity. A retry with the current label succeeds without creating a revision. A different label requires the current account revision.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/label (the `SetAccountLabel` operationId).
SetAccountLabel(ctx context.Context, accountId AccountID, body SetAccountLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOmemoDevices Inspect public OMEMO fingerprints
//
// Returns the current policy, this endpoint and known devices belonging to the selected owner.
//
// Corresponds with GET /api/v1/accounts/{accountId}/omemo (the `GetOmemoDevices` operationId).
GetOmemoDevices(ctx context.Context, accountId AccountID, params *GetOmemoDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetOmemoDecisionWithBody Confirm an OMEMO device or change protection for future messages
//
// Device decisions require an exact public fingerprint. Policy changes apply to future submissions for the selected peer.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/omemo (the `SetOmemoDecision` operationId).
SetOmemoDecisionWithBody(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetOmemoDecision Confirm an OMEMO device or change protection for future messages
//
// Device decisions require an exact public fingerprint. Policy changes apply to future submissions for the selected peer.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/accounts/{accountId}/omemo (the `SetOmemoDecision` operationId).
SetOmemoDecision(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, body SetOmemoDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewRoom Read a room preview using the selected account
//
// Reads published room information and an available vCard from the bare room address. Does not save the conversation or enter the room.
//
// Corresponds with GET /api/v1/accounts/{accountId}/room-preview (the `PreviewRoom` operationId).
PreviewRoom(ctx context.Context, accountId AccountID, params *PreviewRoomParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DiscoverRooms List public rooms published by the account's room services
//
// Reads a bounded page from the selected XMPP service or from services advertised by the account server. This does not save or enter rooms.
//
// Corresponds with GET /api/v1/accounts/{accountId}/rooms (the `DiscoverRooms` operationId).
DiscoverRooms(ctx context.Context, accountId AccountID, params *DiscoverRoomsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// OpenRoomWithBody Open and request entry to an XMPP room
//
// Atomically saves the room and its entry intent. Creation requires a verified XMPP room service and an unused room address before saving. Creation is confirmed separately through the room session. Repeating the same key cannot reactivate a later leave. Creation uses the service defaults with persistence enabled and an optional room name.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/accounts/{accountId}/rooms (the `OpenRoom` operationId).
OpenRoomWithBody(ctx context.Context, accountId AccountID, params *OpenRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OpenRoom Open and request entry to an XMPP room
//
// Atomically saves the room and its entry intent. Creation requires a verified XMPP room service and an unused room address before saving. Creation is confirmed separately through the room session. Repeating the same key cannot reactivate a later leave. Creation uses the service defaults with persistence enabled and an optional room name.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/accounts/{accountId}/rooms (the `OpenRoom` operationId).
OpenRoom(ctx context.Context, accountId AccountID, params *OpenRoomParams, body OpenRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAvatarImage Read a cached profile thumbnail
//
// Returns only a locally retained, decoded and normalized image; never redirects to provider URLs. Hash-addressed images can be cached privately and immutably.
//
// Corresponds with GET /api/v1/avatars/{hash} (the `GetAvatarImage` operationId).
GetAvatarImage(ctx context.Context, hash string, params *GetAvatarImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListContacts Search saved protocol contacts
//
// Read the retained per-account contact directory without fetching a roster, changing subscriptions, adding contacts or opening conversations. Unknown and unavailable sources are distinct from an observed empty roster. Cached contacts remain searchable while disconnected. Results are ordered by stable contact UUID and filtered before pagination.
//
// Corresponds with GET /api/v1/contacts (the `ListContacts` operationId).
ListContacts(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListConversations List retained conversations
//
// Keyset pages ordered by descending engine activity. Search matches conversation address/title and latest text preview; this is not full message search.
//
// Corresponds with GET /api/v1/conversations (the `ListConversations` operationId).
ListConversations(ctx context.Context, params *ListConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// OpenConversationWithBody Open a direct conversation
//
// Finds an existing conversation for the canonical account/peer or creates one. Durable operation keys retain original results. Opening a removed direct conversation adds it back to chat lists. Does not add a contact or send presence subscriptions.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/conversations (the `OpenConversation` operationId).
OpenConversationWithBody(ctx context.Context, params *OpenConversationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OpenConversation Open a direct conversation
//
// Finds an existing conversation for the canonical account/peer or creates one. Durable operation keys retain original results. Opening a removed direct conversation adds it back to chat lists. Does not add a contact or send presence subscriptions.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/conversations (the `OpenConversation` operationId).
OpenConversation(ctx context.Context, params *OpenConversationParams, body OpenConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConversation Read a conversation
//
// Returns the current conversation projection.
//
// Corresponds with GET /api/v1/conversations/{conversationId} (the `GetConversation` operationId).
GetConversation(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateConversationPreferencesWithBody Change conversation preferences, set read status or accept a message request
//
// Atomically updates only the supplied app-owned flags, records an immutable conversation revision and operation receipt, and emits conversation.updated only for an actual change. No protocol operation is performed. The owning account must match accountId. expectedRevisionId must match the latest conversation revision, including intervening incoming-message or read updates. A matching Idempotency-Key replays its original accepted snapshot before checking current state. Reusing a key with different fields or preconditions conflicts. Setting an already-current value succeeds without another revision or event. Activity order, message timestamps, unread counts and outbox are unchanged by archive or favorite changes. Accepting a direct message request reveals the conversation and restores it from the archive. Setting read to true records read evidence for existing unread messages and clears a manual reminder. Setting it to false adds a reminder without changing message read evidence. Read status can be set only after a conversation request is resolved. Read the conversation after a replay for current state.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/conversations/{conversationId} (the `UpdateConversationPreferences` operationId).
UpdateConversationPreferencesWithBody(ctx context.Context, conversationId ConversationID, params *UpdateConversationPreferencesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateConversationPreferences Change conversation preferences, set read status or accept a message request
//
// Atomically updates only the supplied app-owned flags, records an immutable conversation revision and operation receipt, and emits conversation.updated only for an actual change. No protocol operation is performed. The owning account must match accountId. expectedRevisionId must match the latest conversation revision, including intervening incoming-message or read updates. A matching Idempotency-Key replays its original accepted snapshot before checking current state. Reusing a key with different fields or preconditions conflicts. Setting an already-current value succeeds without another revision or event. Activity order, message timestamps, unread counts and outbox are unchanged by archive or favorite changes. Accepting a direct message request reveals the conversation and restores it from the archive. Setting read to true records read evidence for existing unread messages and clears a manual reminder. Setting it to false adds a reminder without changing message read evidence. Read status can be set only after a conversation request is resolved. Read the conversation after a replay for current state.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/conversations/{conversationId} (the `UpdateConversationPreferences` operationId).
UpdateConversationPreferences(ctx context.Context, conversationId ConversationID, params *UpdateConversationPreferencesParams, body UpdateConversationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRoomArchive Read room archive recovery settings and progress
//
// Reads retained state for the room without sending a protocol request.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/archive (the `GetRoomArchive` operationId).
GetRoomArchive(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetRoomArchiveModeWithBody Set the room archive recovery mode
//
// Replaces the mode idempotently. Existing messages and progress are retained. Gradual mode resumes eligible automatic recovery.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/archive (the `SetRoomArchiveMode` operationId).
SetRoomArchiveModeWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetRoomArchiveMode Set the room archive recovery mode
//
// Replaces the mode idempotently. Existing messages and progress are retained. Gradual mode resumes eligible automatic recovery.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/archive (the `SetRoomArchiveMode` operationId).
SetRoomArchiveMode(ctx context.Context, conversationId ConversationID, body SetRoomArchiveModeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestRoomArchiveWithBody Request a bounded room archive read
//
// Request the next initial page (focus), an older page (older), context around a retained message (context), or a text search page (search). Search requires a query and accepts an optional cursor from the same room and query. Context requires messageId. Older accepts a retained messageId as a boundary. The owning account and room determine the archive. Successful imports are retained with historical semantics. Search and context do not advance background recovery checkpoints. Results are bounded. A capability failure does not affect local reads.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/archive/requests (the `RequestRoomArchive` operationId).
RequestRoomArchiveWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestRoomArchive Request a bounded room archive read
//
// Request the next initial page (focus), an older page (older), context around a retained message (context), or a text search page (search). Search requires a query and accepts an optional cursor from the same room and query. Context requires messageId. Older accepts a retained messageId as a boundary. The owning account and room determine the archive. Successful imports are retained with historical semantics. Search and context do not advance background recovery checkpoints. Results are bounded. A capability failure does not affect local reads.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/archive/requests (the `RequestRoomArchive` operationId).
RequestRoomArchive(ctx context.Context, conversationId ConversationID, body RequestRoomArchiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConversationDetails Read scoped conversation details
//
// Read the current account connection and session-local conversation metadata. Returns immediately; a connected adapter may schedule a deduplicated, serialized discovery refresh no more often than once per sixty seconds. This never joins a room, requests a subscription, probes a peer or sends a message. Occupant discovery is a bounded snapshot, never a complete member roster. Missing presence remains unknown. Disconnect clears observations.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/details (the `GetConversationDetails` operationId).
GetConversationDetails(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConversationEditTarget Inspect the latest own retained message for keyboard editing
//
// Uses a durable transmission ordinal for original sends by this engine, independently of device clocks and the visible timeline page. Returns the latest own original transmission candidate even when it is ineligible; never silently skips it to edit an older one. Queued or cancelled originals which never reached dispatch, imported own messages and correction commands do not establish this order. Returns 404 when there is no retained engine transmission. Read-only and does not mark messages read or fetch provider history.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/edit-target (the `GetConversationEditTarget` operationId).
GetConversationEditTarget(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMentionCandidates Read observed room mention candidates
//
// Read a bounded, account-scoped snapshot of visible room occupants. This never joins a room or discovers hidden personal identities. Candidates supply exact readable insertion text. Structured references are available only when the protocol adapter has a valid disclosed target; otherwise sending preserves the same readable text without protocol metadata.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/mention-candidates (the `GetMentionCandidates` operationId).
GetMentionCandidates(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListConversationMessageStars Read star states for displayed messages
//
// Reads up to 100 distinct source message states without creating rows. Every message must belong to the requested conversation; foreign or missing message IDs reject the whole request. Item order is unspecified.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/message-stars (the `ListConversationMessageStars` operationId).
ListConversationMessageStars(ctx context.Context, conversationId ConversationID, params *ListConversationMessageStarsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMessages Read retained messages
//
// Returns a bounded page of retained messages newest-first by timelineAt when present and createdAt otherwise, at UTC millisecond precision with a UUID tie-break. Includes serially recovered archive messages. Pending scheduled messages are omitted until release. The default direction is older; without a cursor it reads the latest page. Newer requires a cursor and reads the nearest messages after that retained conversation-scoped anchor, without skipping to the latest page. Both directions return newest-first. nextCursor continues in the requested direction. Reads never fetch provider history or mark messages as read.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/messages (the `ListMessages` operationId).
ListMessages(ctx context.Context, conversationId ConversationID, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendMessageWithBody Accept an immediate or scheduled message
//
// Atomically commits one logical message, operation receipt and outbox intent for the complete composition, including the ordered references to staged attachments. The engine checks the destination, reply, mentions, attachment scope and effective send capabilities before acceptance. Invalid or unavailable attachments reject the whole composition. Attachment bytes are staged locally and any provider upload belongs to dispatch. Room dispatch waits for confirmed membership under an active explicit join intent.
// A new submission conflicts with a conversation removed from chat lists. Matching accepted submissions still replay.
// Omitting scheduledAt makes the intent immediately eligible. A future schedule never blocks another eligible send. A missed schedule dispatches when the owning engine and destination become available again. Optional expectedReplyRevisionId and expectedReplyExcerptSha256 bind a new scheduled reply to the reviewed source and excerpt. A changed source rejects acceptance with state_conflict and replySourceChanged set to true. Idempotency includes the complete composition, normalized instant and any reply preconditions. A matching replay returns the original acceptance snapshot even after the scheduled time passes, attachment availability changes or the source is corrected. Different input with the same key yields idempotency_conflict. Read the message for current state. Ambiguous transmission remains unknown.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/messages (the `SendMessage` operationId).
SendMessageWithBody(ctx context.Context, conversationId ConversationID, params *SendMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendMessage Accept an immediate or scheduled message
//
// Atomically commits one logical message, operation receipt and outbox intent for the complete composition, including the ordered references to staged attachments. The engine checks the destination, reply, mentions, attachment scope and effective send capabilities before acceptance. Invalid or unavailable attachments reject the whole composition. Attachment bytes are staged locally and any provider upload belongs to dispatch. Room dispatch waits for confirmed membership under an active explicit join intent.
// A new submission conflicts with a conversation removed from chat lists. Matching accepted submissions still replay.
// Omitting scheduledAt makes the intent immediately eligible. A future schedule never blocks another eligible send. A missed schedule dispatches when the owning engine and destination become available again. Optional expectedReplyRevisionId and expectedReplyExcerptSha256 bind a new scheduled reply to the reviewed source and excerpt. A changed source rejects acceptance with state_conflict and replySourceChanged set to true. Idempotency includes the complete composition, normalized instant and any reply preconditions. A matching replay returns the original acceptance snapshot even after the scheduled time passes, attachment availability changes or the source is corrected. Different input with the same key yields idempotency_conflict. Read the message for current state. Ambiguous transmission remains unknown.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/messages (the `SendMessage` operationId).
SendMessage(ctx context.Context, conversationId ConversationID, params *SendMessageParams, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageContext Read a bounded timeline around a retained message
//
// Reads the target and nearest visible retained neighbors from the same conversation, newest first by timelineAt or createdAt at UTC millisecond precision and UUID tie-break. Includes the target even with limit 1. Only local retained data is read; no provider archive queries or read receipts are triggered. Foreign or unavailable source messages return not_found, including unreleased schedules and scheduled sends cancelled before dispatch. Clients should offer return to latest when hasNewer is true. A retained correction-source alias resolves to the original logical targetId with requestedTargetId identifying the requested alias. All returned items remain scoped to this conversation.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/messages/{messageId}/context (the `GetMessageContext` operationId).
GetMessageContext(ctx context.Context, conversationId ConversationID, messageId MessageID, params *GetMessageContextParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageSourceContext Read the conversation and presentation data for a retained message jump
//
// Returns the engine identity, owning conversation and a window of up to 16 visible messages around the source. Optional fields are scoped to that conversation and window. Missing optional fields represent unavailable data. Preview reads can register local preview metadata as on the corresponding preview endpoints. This operation does not fetch provider history or mark messages read.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/messages/{messageId}/source-context (the `GetMessageSourceContext` operationId).
GetMessageSourceContext(ctx context.Context, conversationId ConversationID, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRoomOmemo Review encryption for a private room
//
// Lists the current eligible room members when their affiliations are available to the connected account.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/omemo (the `GetRoomOmemo` operationId).
GetRoomOmemo(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetRoomOmemoWithBody Change OMEMO for the room
//
// Enable protected sends and encrypted receive and recovery in a confirmed members-only non-anonymous room. Accepted sends keep their selected protection after the setting changes.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/omemo (the `SetRoomOmemo` operationId).
SetRoomOmemoWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetRoomOmemo Change OMEMO for the room
//
// Enable protected sends and encrypted receive and recovery in a confirmed members-only non-anonymous room. Accepted sends keep their selected protection after the setting changes.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/omemo (the `SetRoomOmemo` operationId).
SetRoomOmemo(ctx context.Context, conversationId ConversationID, body SetRoomOmemoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListConversationPreviews Read cached message link and image previews
//
// Returns at most three URL previews per retained message. Without messageId, uses the latest fifty messages. Cache misses queue bounded background page metadata enrichment. Original images are fetched only by the explicit download operation. Message text and revisions are unchanged.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/previews (the `ListConversationPreviews` operationId).
ListConversationPreviews(ctx context.Context, conversationId ID, params *ListConversationPreviewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListConversationReactions Read bounded reactions for the mounted conversation messages
//
// All requested retained messages must belong to this conversation. Canonicalizes aliases and returns each canonical source once. Does not retrieve history or change read state.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/reactions (the `ListConversationReactions` operationId).
ListConversationReactions(ctx context.Context, conversationId ConversationID, params *ListConversationReactionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConversationReadReceipts Read conversation read receipt settings
//
// Corresponds with GET /api/v1/conversations/{conversationId}/read-receipts (the `GetConversationReadReceipts` operationId).
GetConversationReadReceipts(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetConversationReadReceiptsWithBody Change conversation read receipt settings
//
// Use the revision from the current snapshot. A stale revision yields a conflict.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/read-receipts (the `SetConversationReadReceipts` operationId).
SetConversationReadReceiptsWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetConversationReadReceipts Change conversation read receipt settings
//
// Use the revision from the current snapshot. A stale revision yields a conflict.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/read-receipts (the `SetConversationReadReceipts` operationId).
SetConversationReadReceipts(ctx context.Context, conversationId ConversationID, body SetConversationReadReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConversationReadState Read retained conversation read state
//
// Reads app-owned read state without changing messages or sending provider receipts.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/read-state (the `GetConversationReadState` operationId).
GetConversationReadState(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkConversationMessagesReadWithBody Mark incoming messages read
//
// Atomically merges the listed retained message identities into app-owned read state. Other messages, including later arrivals, remain unread. Lists are bounded and must belong to this conversation. Own and historical messages are ignored. Repeated batches are safe; retries with the same key return the original committed snapshot. Read revisions and operation receipts are durable. Reading does not bump conversation activity, edit content or send protocol receipts. This alpha operation records local engine read evidence; receipt emission and independent-engine synchronization remain deferred. With If-Match, the single message ID must be the latest retained timeline message in the specified conversation revision. The operation then marks all unread messages in that snapshot read.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/read-state (the `MarkConversationMessagesRead` operationId).
MarkConversationMessagesReadWithBody(ctx context.Context, conversationId ConversationID, params *MarkConversationMessagesReadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkConversationMessagesRead Mark incoming messages read
//
// Atomically merges the listed retained message identities into app-owned read state. Other messages, including later arrivals, remain unread. Lists are bounded and must belong to this conversation. Own and historical messages are ignored. Repeated batches are safe; retries with the same key return the original committed snapshot. Read revisions and operation receipts are durable. Reading does not bump conversation activity, edit content or send protocol receipts. This alpha operation records local engine read evidence; receipt emission and independent-engine synchronization remain deferred. With If-Match, the single message ID must be the latest retained timeline message in the specified conversation revision. The operation then marks all unread messages in that snapshot read.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/read-state (the `MarkConversationMessagesRead` operationId).
MarkConversationMessagesRead(ctx context.Context, conversationId ConversationID, params *MarkConversationMessagesReadParams, body MarkConversationMessagesReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveDirectFromChatsWithBody Remove a direct conversation from Oiê's chat lists
//
// Removes the direct conversation from the active and archived lists and retains stored history. Opening it by address or receiving a new live message adds it back.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/remove-direct (the `RemoveDirectFromChats` operationId).
RemoveDirectFromChatsWithBody(ctx context.Context, conversationId ConversationID, params *RemoveDirectFromChatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveDirectFromChats Remove a direct conversation from Oiê's chat lists
//
// Removes the direct conversation from the active and archived lists and retains stored history. Opening it by address or receiving a new live message adds it back.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/remove-direct (the `RemoveDirectFromChats` operationId).
RemoveDirectFromChats(ctx context.Context, conversationId ConversationID, params *RemoveDirectFromChatsParams, body RemoveDirectFromChatsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveRoomFromChatsWithBody Remove a saved room from Oiê's chat lists
//
// Removes the room from the active and archived lists and stops automatic rejoin. Retains stored history and never destroys the room on the XMPP server. Opening the room by address adds it back.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/remove-room (the `RemoveRoomFromChats` operationId).
RemoveRoomFromChatsWithBody(ctx context.Context, conversationId ConversationID, params *RemoveRoomFromChatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveRoomFromChats Remove a saved room from Oiê's chat lists
//
// Removes the room from the active and archived lists and stops automatic rejoin. Retains stored history and never destroys the room on the XMPP server. Opening the room by address adds it back.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/remove-room (the `RemoveRoomFromChats` operationId).
RemoveRoomFromChats(ctx context.Context, conversationId ConversationID, params *RemoveRoomFromChatsParams, body RemoveRoomFromChatsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConversationRetention Read conversation message retention
//
// Corresponds with GET /api/v1/conversations/{conversationId}/retention (the `GetConversationRetention` operationId).
GetConversationRetention(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetConversationRetentionWithBody Change conversation message retention
//
// Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/retention (the `SetConversationRetention` operationId).
SetConversationRetentionWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetConversationRetention Change conversation message retention
//
// Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/retention (the `SetConversationRetention` operationId).
SetConversationRetention(ctx context.Context, conversationId ConversationID, body SetConversationRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRoomManagement Read available room management actions
//
// Returns the current room session's permissions and visible occupants. Reading does not join the room. An optional affiliation filter reads the authorized provider list for that affiliation.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/room-management (the `GetRoomManagement` operationId).
GetRoomManagement(ctx context.Context, conversationId ConversationID, params *GetRoomManagementParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManageRoomWithBody Apply a room management action
//
// Rechecks the active room session, permissions and target before sending. Confirmed destruction removes the room from the requesting account’s chat lists and retains stored history. Repeat an uncertain request with the same key to read its outcome without sending it again.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-management (the `ManageRoom` operationId).
ManageRoomWithBody(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManageRoom Apply a room management action
//
// Rechecks the active room session, permissions and target before sending. Confirmed destruction removes the room from the requesting account’s chat lists and retains stored history. Repeat an uncertain request with the same key to read its outcome without sending it again.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-management (the `ManageRoom` operationId).
ManageRoom(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, body ManageRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRoomParticipants Read current room participants
//
// Returns participants observed by the joined account in its current room session. The read does not join the room or query its public directory.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/room-participants (the `GetRoomParticipants` operationId).
GetRoomParticipants(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRoomSession Read this engine's room session and durable join intent
//
// Reads local state without joining. Active denotes a durable intent to rejoin, not observed membership. A joined state requires confirmed self-presence. Missing room intent has no intent identifiers.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/room-session (the `GetRoomSession` operationId).
GetRoomSession(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// JoinRoomWithBody Explicitly request entry and reconnect recovery for a saved room
//
// Durably records the owning engine's join intent before protocol work. A room password may be supplied for initial entry or rejoin. Repeated operation keys do not repeat an established command; changed payloads or stale intent revisions conflict. Reads and reply preparation never join. Protocol confirmation is observed through getRoomSession.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-session (the `JoinRoom` operationId).
JoinRoomWithBody(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// JoinRoom Explicitly request entry and reconnect recovery for a saved room
//
// Durably records the owning engine's join intent before protocol work. A room password may be supplied for initial entry or rejoin. Repeated operation keys do not repeat an established command; changed payloads or stale intent revisions conflict. Reads and reply preparation never join. Protocol confirmation is observed through getRoomSession.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-session (the `JoinRoom` operationId).
JoinRoom(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, body JoinRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LeaveRoomWithBody Leave a room and stop this engine's automatic rejoin
//
// Durably records an explicit leave before sending unavailable presence. Saved history and queued messages are retained. Queued room work cannot dispatch while the intent is inactive. An old operation replay never reactivates a later leave or revoked intent.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-session/leave (the `LeaveRoom` operationId).
LeaveRoomWithBody(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LeaveRoom Leave a room and stop this engine's automatic rejoin
//
// Durably records an explicit leave before sending unavailable presence. Saved history and queued messages are retained. Queued room work cannot dispatch while the intent is inactive. An old operation replay never reactivates a later leave or revoked intent.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-session/leave (the `LeaveRoom` operationId).
LeaveRoom(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, body LeaveRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStagedMessageAttachment Read retained bytes of an outgoing attachment
//
// Reads local bytes in this conversation and account scope, for example when reopening an existing scheduled composition. Returns 404 when bytes are unavailable or the attachment is outside this scope.
//
// Corresponds with GET /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId} (the `GetStagedMessageAttachment` operationId).
GetStagedMessageAttachment(ctx context.Context, conversationId ConversationID, attachmentId StagedAttachmentID, params *GetStagedMessageAttachmentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// StageMessageAttachmentWithBody Stage a file for an outgoing message
//
// Store one complete file durably on the owning engine, scoped to this conversation and its account. The client assigns the ID once. A matching repeat with the same file bytes and filename returns the original receipt. Different input for that ID yields idempotency_conflict. An incomplete request leaves no usable attachment. Confirmed local staging performs no provider upload. Send and pending edit accept only available attachments in the same scope. The engine retains accepted references while their send is unresolved, including through restart, rescheduling and Send now.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId} (the `StageMessageAttachment` operationId).
StageMessageAttachmentWithBody(ctx context.Context, conversationId ConversationID, attachmentId StagedAttachmentID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConversationTyping Read the current typing indicator in an accepted direct conversation
//
// Corresponds with GET /api/v1/conversations/{conversationId}/typing (the `GetConversationTyping` operationId).
GetConversationTyping(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetConversationTypingWithBody Send an expiring typing notification where supported
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/typing (the `SetConversationTyping` operationId).
SetConversationTypingWithBody(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetConversationTyping Send an expiring typing notification where supported
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/typing (the `SetConversationTyping` operationId).
SetConversationTyping(ctx context.Context, conversationId ConversationID, body SetConversationTypingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClearDeviceDownloads Remove originals retained for this device
//
// Corresponds with DELETE /api/v1/downloads/{deviceId}/retention (the `ClearDeviceDownloads` operationId).
ClearDeviceDownloads(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDownloadRetention Read downloaded-file retention for a device
//
// Corresponds with GET /api/v1/downloads/{deviceId}/retention (the `GetDownloadRetention` operationId).
GetDownloadRetention(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetDownloadRetentionWithBody Update downloaded-file retention for a device
//
// Applies the selected age to existing and future retained originals for the specified device.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/downloads/{deviceId}/retention (the `SetDownloadRetention` operationId).
SetDownloadRetentionWithBody(ctx context.Context, deviceId ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetDownloadRetention Update downloaded-file retention for a device
//
// Applies the selected age to existing and future retained originals for the specified device.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/downloads/{deviceId}/retention (the `SetDownloadRetention` operationId).
SetDownloadRetention(ctx context.Context, deviceId ID, body SetDownloadRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEngine Read the persistent engine identity
//
// Read eventCursor before fetching snapshots. After fetching them, pass that cursor as Last-Event-ID to GET /api/v1/events to replay changes that occurred while the snapshots were being read.
//
// Corresponds with GET /api/v1/engine (the `GetEngine` operationId).
GetEngine(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGlobalReadReceipts Read engine-wide read receipt settings
//
// Corresponds with GET /api/v1/engine/read-receipts (the `GetGlobalReadReceipts` operationId).
GetGlobalReadReceipts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetGlobalReadReceiptsWithBody Change engine-wide read receipt settings
//
// Use the revision from the current snapshot. A stale revision yields a conflict.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/engine/read-receipts (the `SetGlobalReadReceipts` operationId).
SetGlobalReadReceiptsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetGlobalReadReceipts Change engine-wide read receipt settings
//
// Use the revision from the current snapshot. A stale revision yields a conflict.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/engine/read-receipts (the `SetGlobalReadReceipts` operationId).
SetGlobalReadReceipts(ctx context.Context, body SetGlobalReadReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetEngineDataWithBody Delete all data held by this engine
//
// Permanently deletes accounts, credentials, history and files held by the engine and starts an empty engine with a new identity. Provider copies are outside this operation.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/engine/reset (the `ResetEngineData` operationId).
ResetEngineDataWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetEngineData Delete all data held by this engine
//
// Permanently deletes accounts, credentials, history and files held by the engine and starts an empty engine with a new identity. Provider copies are outside this operation.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/engine/reset (the `ResetEngineData` operationId).
ResetEngineData(ctx context.Context, body ResetEngineDataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGlobalRetention Read engine-wide message retention
//
// Corresponds with GET /api/v1/engine/retention (the `GetGlobalRetention` operationId).
GetGlobalRetention(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetGlobalRetentionWithBody Change engine-wide message retention
//
// Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/engine/retention (the `SetGlobalRetention` operationId).
SetGlobalRetentionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetGlobalRetention Change engine-wide message retention
//
// Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/engine/retention (the `SetGlobalRetention` operationId).
SetGlobalRetention(ctx context.Context, body SetGlobalRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StreamEvents Replay durable changes and follow new events
//
// SSE id is engineUUID:sequence; event is the event type; data is Event JSON.
// Last-Event-ID resumes strictly after its sequence. Without a cursor replay
// from zero. Cursors from another engine or ahead of current state return 409
// before streaming. Heartbeat comments are not durable events.
// Expired message content is removed from replay. Clients deduplicate by event ID
// and apply conversation.history_pruned invalidations to retained history and projections.
//
// Corresponds with GET /api/v1/events (the `StreamEvents` operationId).
StreamEvents(ctx context.Context, params *StreamEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHealth Check engine readiness
//
// Returns ready only when the database can be queried.
//
// Corresponds with GET /api/v1/health (the `GetHealth` operationId).
GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveDraftLinkPreviewWithBody Resolve a link preview for a draft
//
// Fetches metadata and an optional bounded raster image for one public HTTP(S) URL. Uses the transient link cache and creates no message, durable preview record or original download.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/link-previews (the `ResolveDraftLinkPreview` operationId).
ResolveDraftLinkPreviewWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveDraftLinkPreview Resolve a link preview for a draft
//
// Fetches metadata and an optional bounded raster image for one public HTTP(S) URL. Uses the transient link cache and creates no message, durable preview record or original download.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/link-previews (the `ResolveDraftLinkPreview` operationId).
ResolveDraftLinkPreview(ctx context.Context, body ResolveDraftLinkPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMediaImage Read a retained preview or original image
//
// Serves only local hash-verified PNG, JPEG or GIF bytes, without fetching the provider. Thumbnails are normalized static PNGs or JPEGs, up to 1024 pixels per axis; originals retain their validated media type. No remote redirects.
//
// Corresponds with GET /api/v1/media/{hash} (the `GetMediaImage` operationId).
GetMediaImage(ctx context.Context, hash string, params *GetMediaImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageEdit Reconcile a correction command by its stable UUID
//
// Read-only durable receipt. A 404 does not authorize changing the key after an uncertain submission; repeat the same frozen request if needed. No provider calls or dispatch occur in this query.
//
// Corresponds with GET /api/v1/message-edits/{editId} (the `GetMessageEdit` operationId).
GetMessageEdit(ctx context.Context, editId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageReactionCommand Read a durable reaction command receipt
//
// Read-only reconciliation after lost responses. A missing receipt does not authorize a new key for the same uncertain intent. No provider call or dispatch is performed.
//
// Corresponds with GET /api/v1/message-reaction-commands/{commandId} (the `GetMessageReactionCommand` operationId).
GetMessageReactionCommand(ctx context.Context, commandId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchMessages Search retained message text and available metadata
//
// Search the complete retained engine history before pagination, without network retrieval, enrichment or read-state changes. Matching follows shared-content accent/case folding, word prefixes and bounded typing-error tolerance. Current canonical message content is searched by default. Include edit history adds separately labelled verified earlier content revisions, never transport-state revisions or independent correction aliases. Current associated URLs, filenames and cached page titles/descriptions are searched only while their catalog source is current. Metadata coverage can lag immediate message-text coverage. Unreleased schedules and scheduled sends cancelled before dispatch are excluded. Order is newest message position (`timelineAt`, falling back to `createdAt`) at UTC millisecond precision and UUID first, current hit before earlier content revisions, then newest revision timestamp and UUID. New arrivals or corrections can change subsequent results; pages are not a frozen snapshot.
//
// Corresponds with GET /api/v1/messages/search (the `SearchMessages` operationId).
SearchMessages(ctx context.Context, params *SearchMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessage Read a retained message
//
// Returns the latest revision and send evidence. A retained correction-source alias resolves to its canonical logical message, whose id can differ from the requested messageId. Use the scoped context operation when explicit requestedTargetId alias proof is needed.
//
// Corresponds with GET /api/v1/messages/{messageId} (the `GetMessage` operationId).
GetMessage(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelMessageWithBody Cancel a pending send
//
// Requires the current revision and a queued, known-unsent message at the owning engine, including a future schedule. Cancellation and dispatch share an atomic cutoff before any external provider attempt for that intent, including attachment upload. A stale revision or ineligible state yields state_conflict with currentMessage. Cancellation retires the send intent and preserves any independent retained references. A matching idempotent replay returns the original cancellation snapshot.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/cancel (the `CancelMessage` operationId).
CancelMessageWithBody(ctx context.Context, messageId MessageID, params *CancelMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelMessage Cancel a pending send
//
// Requires the current revision and a queued, known-unsent message at the owning engine, including a future schedule. Cancellation and dispatch share an atomic cutoff before any external provider attempt for that intent, including attachment upload. A stale revision or ineligible state yields state_conflict with currentMessage. Cancellation retires the send intent and preserves any independent retained references. A matching idempotent replay returns the original cancellation snapshot.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/cancel (the `CancelMessage` operationId).
CancelMessage(ctx context.Context, messageId MessageID, params *CancelMessageParams, body CancelMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageEditHistory Read observed content revisions of one retained message
//
// Read-only bounded history of canonical content sources. Resolves retained aliases and excludes delivery-state revisions and unverified correction relationships. Versions never observed cannot be recovered by this query. Newest authored timestamp first with revision UUID tie-breaking; isCurrent is authoritative regardless of timestamp order. Cursor binds engine, account, conversation, canonical message and the exact observed-history snapshot. No provider history/profile/media requests, read receipts, sends or mutations occur.
//
// Corresponds with GET /api/v1/messages/{messageId}/edit-history (the `GetMessageEditHistory` operationId).
GetMessageEditHistory(ctx context.Context, messageId MessageID, params *GetMessageEditHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageEditTarget Inspect eligibility and current content before editing
//
// Read-only eligibility for the canonical message. Initially only the latest own plain text message sent by this engine in the current verified protocol session can be corrected. Reply and mention payloads remain ineligible. Eligibility is advisory and rechecked atomically at acceptance and dispatch. No arbitrary time window is imposed.
//
// Corresponds with GET /api/v1/messages/{messageId}/edit-target (the `GetMessageEditTarget` operationId).
GetMessageEditTarget(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditMessageWithBody Accept a durable correction of a sent message
//
// Atomically persists a distinct correction command and operation receipt with an optimistic content revision precondition. The original send and content remain unchanged while queued or in flight. Submitted means written to the protocol connection, not confirmed recipient delivery. Unknown outcomes are not blindly retried. A frozen original sender wire ID is used for every correction. Read the command receipt after a lost response before considering another operation key.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/edits (the `EditMessage` operationId).
EditMessageWithBody(ctx context.Context, messageId MessageID, params *EditMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditMessage Accept a durable correction of a sent message
//
// Atomically persists a distinct correction command and operation receipt with an optimistic content revision precondition. The original send and content remain unchanged while queued or in flight. Submitted means written to the protocol connection, not confirmed recipient delivery. Unknown outcomes are not blindly retried. A frozen original sender wire ID is used for every correction. Read the command receipt after a lost response before considering another operation key.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/edits (the `EditMessage` operationId).
EditMessage(ctx context.Context, messageId MessageID, params *EditMessageParams, body EditMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForwardMessageWithBody Forward a retained message to a conversation
//
// Creates a new outgoing message through the destination conversation's account. Copies the authored body and stages source attachments for a new upload. Replies and mentions are copied as text without references or attribution. A matching operation key replays the original acceptance, including after the source changes. Use one stable key per destination.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/forward (the `ForwardMessage` operationId).
ForwardMessageWithBody(ctx context.Context, messageId MessageID, params *ForwardMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ForwardMessage Forward a retained message to a conversation
//
// Creates a new outgoing message through the destination conversation's account. Copies the authored body and stages source attachments for a new upload. Replies and mentions are copied as text without references or attribution. A matching operation key replays the original acceptance, including after the source changes. Use one stable key per destination.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/forward (the `ForwardMessage` operationId).
ForwardMessage(ctx context.Context, messageId MessageID, params *ForwardMessageParams, body ForwardMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadOmemoAttachment Download an authenticated OMEMO attachment
//
// Fetches ciphertext for the retained message and returns the complete file after verification.
//
// Corresponds with GET /api/v1/messages/{messageId}/omemo-attachments/{index} (the `DownloadOmemoAttachment` operationId).
DownloadOmemoAttachment(ctx context.Context, messageId MessageID, index int, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePendingMessageWithBody Edit or reschedule a pending message
//
// Replace the full composition, change the schedule, or do both in one transaction at the owning engine. It must be an own queued, known-unsent message with the expected revision. The message ID, destination and creation time are retained. The engine validates new or changed reply, mentions and attachment references, then commits the updated composition and attachment references together. A schedule-only update preserves the accepted composition.
// The mutation and the dispatch claim share an atomic cutoff before any external provider attempt for this intent, including attachment upload. Stale revision, ineligible state or a winning dispatch claim yields state_conflict with currentMessage. When the mutation wins, a later claim uses the new revision and eligibility time. Matching idempotent replay returns the original result before evaluating current state, attachment availability or time preconditions.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/messages/{messageId}/pending (the `UpdatePendingMessage` operationId).
UpdatePendingMessageWithBody(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePendingMessage Edit or reschedule a pending message
//
// Replace the full composition, change the schedule, or do both in one transaction at the owning engine. It must be an own queued, known-unsent message with the expected revision. The message ID, destination and creation time are retained. The engine validates new or changed reply, mentions and attachment references, then commits the updated composition and attachment references together. A schedule-only update preserves the accepted composition.
// The mutation and the dispatch claim share an atomic cutoff before any external provider attempt for this intent, including attachment upload. Stale revision, ineligible state or a winning dispatch claim yields state_conflict with currentMessage. When the mutation wins, a later claim uses the new revision and eligibility time. Matching idempotent replay returns the original result before evaluating current state, attachment availability or time preconditions.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/messages/{messageId}/pending (the `UpdatePendingMessage` operationId).
UpdatePendingMessage(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, body UpdatePendingMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageReactions Read retained reactions and current own mutation eligibility
//
// Read-only canonical source snapshot. Missing revisions are null until an observed or submitted reaction set exists. Does not fetch provider data, mark read or allocate revisions.
//
// Corresponds with GET /api/v1/messages/{messageId}/reactions (the `GetMessageReactions` operationId).
GetMessageReactions(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMessageReactionsWithBody Accept a durable replacement of the own reaction set
//
// Persists a separate reaction command with an own-actor revision precondition. Empty emojis removes the own set. Other actors do not invalidate this precondition. At most one unresolved command per source is allowed. Submitted means written to the connection; unknown transmission is never blindly retried. Source content, activity, history, unread and original outbox stay unchanged.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/reactions (the `SetMessageReactions` operationId).
SetMessageReactionsWithBody(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMessageReactions Accept a durable replacement of the own reaction set
//
// Persists a separate reaction command with an own-actor revision precondition. Empty emojis removes the own set. Other actors do not invalidate this precondition. At most one unresolved command per source is allowed. Submitted means written to the connection; unknown transmission is never blindly retried. Source content, activity, history, unread and original outbox stay unchanged.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/reactions (the `SetMessageReactions` operationId).
SetMessageReactions(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, body SetMessageReactionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRetractedOriginal Reveal retained content of a retracted message
//
// Corresponds with GET /api/v1/messages/{messageId}/retracted-original (the `GetRetractedOriginal` operationId).
GetRetractedOriginal(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetractMessageWithBody Request retraction of an own sent message
//
// Sends a provider retraction for the reviewed revision and keeps the retained original hidden. A successful request does not establish removal from the recipient's copies.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/retraction (the `RetractMessage` operationId).
RetractMessageWithBody(ctx context.Context, messageId MessageID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetractMessage Request retraction of an own sent message
//
// Sends a provider retraction for the reviewed revision and keeps the retained original hidden. A successful request does not establish removal from the recipient's copies.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/retraction (the `RetractMessage` operationId).
RetractMessage(ctx context.Context, messageId MessageID, body RetractMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendScheduledMessageNowWithBody Make a scheduled message eligible immediately
//
// With the current expected revision, atomically clears scheduledAt on the same queued, known-unsent scheduled intent and makes it eligible immediately. The message ID, destination, composition and attachments remain attached to the same intent. Acceptance records eligibility. Dispatch still requires the owning engine, connectivity and any existing destination prerequisites. This operation and dispatch share the same atomic cutoff as pending edit and cancel, including before provider attachment upload. A stale revision, ineligible state or winning dispatch claim yields state_conflict with currentMessage. Repeating the same key and input returns the original successful result even if dispatch has since started.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/send-now (the `SendScheduledMessageNow` operationId).
SendScheduledMessageNowWithBody(ctx context.Context, messageId MessageID, params *SendScheduledMessageNowParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendScheduledMessageNow Make a scheduled message eligible immediately
//
// With the current expected revision, atomically clears scheduledAt on the same queued, known-unsent scheduled intent and makes it eligible immediately. The message ID, destination, composition and attachments remain attached to the same intent. Acceptance records eligibility. Dispatch still requires the owning engine, connectivity and any existing destination prerequisites. This operation and dispatch share the same atomic cutoff as pending edit and cancel, including before provider attachment upload. A stale revision, ineligible state or winning dispatch claim yields state_conflict with currentMessage. Repeating the same key and input returns the original successful result even if dispatch has since started.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/messages/{messageId}/send-now (the `SendScheduledMessageNow` operationId).
SendScheduledMessageNow(ctx context.Context, messageId MessageID, params *SendScheduledMessageNowParams, body SendScheduledMessageNowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageSenderProfile Read the author's available published profile
//
// Resolves the author from the retained message and message-time protocol identity evidence. May issue a bounded read-only profile query to a known personal address. Room nicknames and current same-name occupants never establish a historical author's personal JID. Missing or undisclosed identity remains unavailable; user-provided vCard JABBERID does not establish it. Does not join rooms, add contacts, subscribe to presence or mark messages read.
//
// Corresponds with GET /api/v1/messages/{messageId}/sender-profile (the `GetMessageSenderProfile` operationId).
GetMessageSenderProfile(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessageStar Read the source message star
//
// App-owned state independent of message content revisions and protocol support. Before the first change, starred is false and revisionId and updatedAt are null. Reading does not create state or provider traffic.
//
// Corresponds with GET /api/v1/messages/{messageId}/star (the `GetMessageStar` operationId).
GetMessageStar(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMessageStarWithBody Star or unstar a retained source message
//
// Atomically compares the star revision, stores an independent immutable star revision, a durable operation receipt and an event. Does not edit message content, bump chat activity, change read state or send anything to the provider. The precondition is null for unchanged initial state. A stale precondition returns state_conflict with currentStar. Replays return the original receipt snapshot, even if later changes occurred; read current state after an uncertain response. An already matching value records a receipt without a new event.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/messages/{messageId}/star (the `SetMessageStar` operationId).
SetMessageStarWithBody(ctx context.Context, messageId MessageID, params *SetMessageStarParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMessageStar Star or unstar a retained source message
//
// Atomically compares the star revision, stores an independent immutable star revision, a durable operation receipt and an event. Does not edit message content, bump chat activity, change read state or send anything to the provider. The precondition is null for unchanged initial state. A stale precondition returns state_conflict with currentStar. Replays return the original receipt snapshot, even if later changes occurred; read current state after an uncertain response. An already matching value records a receipt without a new event.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/messages/{messageId}/star (the `SetMessageStar` operationId).
SetMessageStar(ctx context.Context, messageId MessageID, params *SetMessageStarParams, body SetMessageStarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOperation Reconcile a mutation after an ambiguous response
//
// A receipt proves the local mutation committed. Send receipts prove durable engine acceptance. Request includeAcceptedMessage to read the immutable send acceptance snapshot, including the original composition and scheduled instant. A redacted send receipt reports acceptedMessageExpired. This route exposes the receipt kinds defined by Operation. An ID without an exposed receipt returns 404. Recover the result of updatePendingMessage or sendScheduledMessageNow by replaying the original request with the same key and input.
//
// Corresponds with GET /api/v1/operations/{operationId} (the `GetOperation` operationId).
GetOperation(ctx context.Context, operationId ID, params *GetOperationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessagePreview Read a message preview
//
// Reads cached metadata and original image download state. Does not initiate a download.
//
// Corresponds with GET /api/v1/previews/{previewId} (the `GetMessagePreview` operationId).
GetMessagePreview(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadPreviewImage Retain the original image for a preview
//
// Explicitly requests the original for a kind=image reference. This ensure operation is safe to retry: concurrent requests share queued work and an already retained file is reused. Failed downloads can be retried. Only validated PNG, JPEG and GIF images up to 32 MiB and bounded pixel dimensions are retained. Supported sender digests are checked before retaining an original. Link cards do not support this operation.
//
// Corresponds with POST /api/v1/previews/{previewId}/download (the `DownloadPreviewImage` operationId).
DownloadPreviewImage(ctx context.Context, previewId ID, params *DownloadPreviewImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefreshMessagePreview Refresh cached link metadata
//
// Explicitly queues fresh metadata for a current retained link reference, bypassing the metadata cache. Existing metadata remains usable during refresh or failure. Concurrent pending refreshes share queued work. Does not edit a message or request an original image download.
//
// Corresponds with POST /api/v1/previews/{previewId}/refresh (the `RefreshMessagePreview` operationId).
RefreshMessagePreview(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListScheduledMessages List scheduled messages across conversations
//
// Lists the selected engine's own queued, known-unsent messages with a configured schedule, including overdue sends waiting for connectivity. Results include their destination. Successful Send now removes the item from this list even if connectivity delays dispatch. Results sort by scheduledAt ascending, then message UUID ascending. Pagination is over current data. Concurrent changes can move items across the cursor boundary.
//
// Corresponds with GET /api/v1/scheduled-messages (the `ListScheduledMessages` operationId).
ListScheduledMessages(ctx context.Context, params *ListScheduledMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Browse the local derived catalog, newest message position (`timelineAt`, falling back to `createdAt`) first with item UUID ties at millisecond precision. Unreleased schedules and scheduled sends cancelled before dispatch are excluded. Account/conversation filters apply before pagination. Metadata search covers URL, filename, visible caption, cached preview title/description, sender, conversation and account label. A background worker indexes visible retained and incoming messages. Listing registers preview enrichment only for the returned image/link references; originals still follow device preferences and explicit download operations. Document/audio entries remain URL references. Video bytes are available only through the explicit content operation; listing does not fetch video metadata or bytes. Backfill or new arrivals may insert items before the current cursor; reload to include them. A conversation filter outside the selected accounts is invalid.
//
// Corresponds with GET /api/v1/shared-content (the `ListSharedContent` operationId).
ListSharedContent(ctx context.Context, params *ListSharedContentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Reads the current retained canonical source before opening its URL through the engine's public-network policy. Never redirects the browser to the provider. Supports one byte range and If-Range; an upstream that ignores Range returns 200 rather than an invented 206. Video accepts MP4, WebM, Ogg video and QuickTime MIME types up to 2 GiB; codec playback remains a browser capability. Document references are restricted by URL extension and provider MIME: .txt/.log/.md/.csv/.json/.xml are served as text/plain up to 2 MiB and .pdf as application/pdf up to 100 MiB. Text MIME must be text/plain or the matching format's text/markdown, text/csv, application/json, text/json, application/xml or text/xml. HTML, SVG, office documents and mismatched MIME types are unsupported. A known complete size is required. Full downloads report a SHA-256 fingerprint and whether a supported sender digest was verified. Partial playback and preview requests have no integrity result. Audio and video playback require explicit activation. A preview client may request only a bounded byte range and must stop reading at its preview budget. Client disconnect cancels the upstream read. HEAD returns 405 without contacting the provider. Multiple or malformed ranges are invalid. JSON, XML and Markdown are returned as plain text, never active markup.
//
// Corresponds with GET /api/v1/shared-content/{itemId}/content (the `GetSharedContentMedia` operationId).
GetSharedContentMedia(ctx context.Context, itemId ID, params *GetSharedContentMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVideoThumbnail Read a retained video thumbnail state
//
// Reads local cache state for a current video reference without retrieving provider bytes. A missing cache record is represented as not_requested. Removed references return 404.
//
// Corresponds with GET /api/v1/shared-content/{itemId}/thumbnail (the `GetVideoThumbnail` operationId).
GetVideoThumbnail(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestVideoThumbnail Ensure a cached video thumbnail
//
// Queues retrieval of a retained HTTP(S) thumbnail supplied in XMPP file metadata (at most 1 MiB). Concurrent requests share work and a ready thumbnail is reused. A failed retrieval can be explicitly retried. The source is revalidated before publication. Without a retained or supplied thumbnail this operation returns 503 without retrieving video bytes. Clients may use a bounded media range to generate a preview locally.
//
// Corresponds with POST /api/v1/shared-content/{itemId}/thumbnail (the `RequestVideoThumbnail` operationId).
RequestVideoThumbnail(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStarredMessages Browse retained starred messages with their source context
//
// Lists current starred messages across accounts or within an account/conversation. Order is source message UTC timestamp at millisecond precision descending, then message UUID descending. Unstarring a cursor message does not break paging. This is a live collection, not a frozen snapshot; newer stars can appear before the current page. No provider requests, enrichment or downloads are started. Conversation favorites are independent of message stars.
//
// Corresponds with GET /api/v1/starred-messages (the `ListStarredMessages` operationId).
ListStarredMessages(ctx context.Context, params *ListStarredMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CancelMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) CancelMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *CancelMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelMessageResponse, error)
CancelMessageWithBodyWithResponse Cancel a pending send
Requires the current revision and a queued, known-unsent message at the owning engine, including a future schedule. Cancellation and dispatch share an atomic cutoff before any external provider attempt for that intent, including attachment upload. A stale revision or ineligible state yields state_conflict with currentMessage. Cancellation retires the send intent and preserves any independent retained references. A matching idempotent replay returns the original cancellation snapshot.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/cancel (the `CancelMessage` operationId).
func (*ClientWithResponses) CancelMessageWithResponse ¶
func (c *ClientWithResponses) CancelMessageWithResponse(ctx context.Context, messageId MessageID, params *CancelMessageParams, body CancelMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelMessageResponse, error)
CancelMessageWithResponse Cancel a pending send
Requires the current revision and a queued, known-unsent message at the owning engine, including a future schedule. Cancellation and dispatch share an atomic cutoff before any external provider attempt for that intent, including attachment upload. A stale revision or ineligible state yields state_conflict with currentMessage. Cancellation retires the send intent and preserves any independent retained references. A matching idempotent replay returns the original cancellation snapshot.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/cancel (the `CancelMessage` operationId).
func (*ClientWithResponses) ChangeProtocolContactWithBodyWithResponse ¶
func (c *ClientWithResponses) ChangeProtocolContactWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeProtocolContactResponse, error)
ChangeProtocolContactWithBodyWithResponse Manage an account's protocol contacts
Add or remove one roster address or answer one pending presence subscription. Adding an existing or removing an absent address succeeds without a roster write. A contact request can only be answered while it is pending in the active session. Removing a roster entry preserves conversation history.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/accounts/{accountId}/contact-actions (the `ChangeProtocolContact` operationId).
func (*ClientWithResponses) ChangeProtocolContactWithResponse ¶
func (c *ClientWithResponses) ChangeProtocolContactWithResponse(ctx context.Context, accountId AccountID, body ChangeProtocolContactJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeProtocolContactResponse, error)
ChangeProtocolContactWithResponse Manage an account's protocol contacts
Add or remove one roster address or answer one pending presence subscription. Adding an existing or removing an absent address succeeds without a roster write. A contact request can only be answered while it is pending in the active session. Removing a roster entry preserves conversation history.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/accounts/{accountId}/contact-actions (the `ChangeProtocolContact` operationId).
func (*ClientWithResponses) ClearDeviceDownloadsWithResponse ¶
func (c *ClientWithResponses) ClearDeviceDownloadsWithResponse(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*ClearDeviceDownloadsResponse, error)
ClearDeviceDownloadsWithResponse Remove originals retained for this device
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/downloads/{deviceId}/retention (the `ClearDeviceDownloads` operationId).
func (*ClientWithResponses) ConfigureAccountConnectionWithBodyWithResponse ¶
func (c *ClientWithResponses) ConfigureAccountConnectionWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfigureAccountConnectionResponse, error)
ConfigureAccountConnectionWithBodyWithResponse Configure and connect an account
Persists write-only credentials before starting an asynchronous TLS/SASL connection. Transient network or authentication service failures reconnect with bounded backoff. A stopped connection can be retried with the same settings once the underlying problem is resolved. An unchanged configuration leaves a running connection or retry loop in place. Ordinary engine restart reloads enabled configurations.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/connection (the `ConfigureAccountConnection` operationId).
func (*ClientWithResponses) ConfigureAccountConnectionWithResponse ¶
func (c *ClientWithResponses) ConfigureAccountConnectionWithResponse(ctx context.Context, accountId AccountID, body ConfigureAccountConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfigureAccountConnectionResponse, error)
ConfigureAccountConnectionWithResponse Configure and connect an account
Persists write-only credentials before starting an asynchronous TLS/SASL connection. Transient network or authentication service failures reconnect with bounded backoff. A stopped connection can be retried with the same settings once the underlying problem is resolved. An unchanged configuration leaves a running connection or retry loop in place. Ordinary engine restart reloads enabled configurations.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/connection (the `ConfigureAccountConnection` operationId).
func (*ClientWithResponses) DisconnectAccountWithResponse ¶
func (c *ClientWithResponses) DisconnectAccountWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*DisconnectAccountResponse, error)
DisconnectAccountWithResponse Disconnect and disable automatic connection
Keeps protocol credentials local for a later explicit configuration; does not delete account history or pending sends. Repeating disconnect is safe.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/accounts/{accountId}/connection (the `DisconnectAccount` operationId).
func (*ClientWithResponses) DiscoverRoomsWithResponse ¶
func (c *ClientWithResponses) DiscoverRoomsWithResponse(ctx context.Context, accountId AccountID, params *DiscoverRoomsParams, reqEditors ...RequestEditorFn) (*DiscoverRoomsResponse, error)
DiscoverRoomsWithResponse List public rooms published by the account's room services
Reads a bounded page from the selected XMPP service or from services advertised by the account server. This does not save or enter rooms.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId}/rooms (the `DiscoverRooms` operationId).
func (*ClientWithResponses) DownloadOmemoAttachmentWithResponse ¶
func (c *ClientWithResponses) DownloadOmemoAttachmentWithResponse(ctx context.Context, messageId MessageID, index int, reqEditors ...RequestEditorFn) (*DownloadOmemoAttachmentResponse, error)
DownloadOmemoAttachmentWithResponse Download an authenticated OMEMO attachment
Fetches ciphertext for the retained message and returns the complete file after verification.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/messages/{messageId}/omemo-attachments/{index} (the `DownloadOmemoAttachment` operationId).
func (*ClientWithResponses) DownloadPreviewImageWithResponse ¶
func (c *ClientWithResponses) DownloadPreviewImageWithResponse(ctx context.Context, previewId ID, params *DownloadPreviewImageParams, reqEditors ...RequestEditorFn) (*DownloadPreviewImageResponse, error)
DownloadPreviewImageWithResponse Retain the original image for a preview
Explicitly requests the original for a kind=image reference. This ensure operation is safe to retry: concurrent requests share queued work and an already retained file is reused. Failed downloads can be retried. Only validated PNG, JPEG and GIF images up to 32 MiB and bounded pixel dimensions are retained. Supported sender digests are checked before retaining an original. Link cards do not support this operation.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/previews/{previewId}/download (the `DownloadPreviewImage` operationId).
func (*ClientWithResponses) EditMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) EditMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *EditMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageResponse, error)
EditMessageWithBodyWithResponse Accept a durable correction of a sent message
Atomically persists a distinct correction command and operation receipt with an optimistic content revision precondition. The original send and content remain unchanged while queued or in flight. Submitted means written to the protocol connection, not confirmed recipient delivery. Unknown outcomes are not blindly retried. A frozen original sender wire ID is used for every correction. Read the command receipt after a lost response before considering another operation key.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/edits (the `EditMessage` operationId).
func (*ClientWithResponses) EditMessageWithResponse ¶
func (c *ClientWithResponses) EditMessageWithResponse(ctx context.Context, messageId MessageID, params *EditMessageParams, body EditMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageResponse, error)
EditMessageWithResponse Accept a durable correction of a sent message
Atomically persists a distinct correction command and operation receipt with an optimistic content revision precondition. The original send and content remain unchanged while queued or in flight. Submitted means written to the protocol connection, not confirmed recipient delivery. Unknown outcomes are not blindly retried. A frozen original sender wire ID is used for every correction. Read the command receipt after a lost response before considering another operation key.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/edits (the `EditMessage` operationId).
func (*ClientWithResponses) ForwardMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) ForwardMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *ForwardMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForwardMessageResponse, error)
ForwardMessageWithBodyWithResponse Forward a retained message to a conversation
Creates a new outgoing message through the destination conversation's account. Copies the authored body and stages source attachments for a new upload. Replies and mentions are copied as text without references or attribution. A matching operation key replays the original acceptance, including after the source changes. Use one stable key per destination.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/forward (the `ForwardMessage` operationId).
func (*ClientWithResponses) ForwardMessageWithResponse ¶
func (c *ClientWithResponses) ForwardMessageWithResponse(ctx context.Context, messageId MessageID, params *ForwardMessageParams, body ForwardMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ForwardMessageResponse, error)
ForwardMessageWithResponse Forward a retained message to a conversation
Creates a new outgoing message through the destination conversation's account. Copies the authored body and stages source attachments for a new upload. Replies and mentions are copied as text without references or attribution. A matching operation key replays the original acceptance, including after the source changes. Use one stable key per destination.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/forward (the `ForwardMessage` operationId).
func (*ClientWithResponses) GetAccountCapabilitiesWithResponse ¶
func (c *ClientWithResponses) GetAccountCapabilitiesWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountCapabilitiesResponse, error)
GetAccountCapabilitiesWithResponse Read account capability evidence
Read application implementation, protocol support and cached server discovery evidence separately. This query never contacts the protocol server. Evidence is scoped, bounded and cleared when a connection ends. An absent advertisement does not prove that a client-level feature is unsupported. Discovery runs once per connection; room evidence is also collected during history recovery.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId}/capabilities (the `GetAccountCapabilities` operationId).
func (*ClientWithResponses) GetAccountCommunicationPreferencesWithResponse ¶
func (c *ClientWithResponses) GetAccountCommunicationPreferencesWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountCommunicationPreferencesResponse, error)
GetAccountCommunicationPreferencesWithResponse Read account presence and communication preferences
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId}/communication-preferences (the `GetAccountCommunicationPreferences` operationId).
func (*ClientWithResponses) GetAccountConnectionWithResponse ¶
func (c *ClientWithResponses) GetAccountConnectionWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountConnectionResponse, error)
GetAccountConnectionWithResponse Read account connection state
State is runtime evidence, distinct from saved account metadata.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId}/connection (the `GetAccountConnection` operationId).
func (*ClientWithResponses) GetAccountHistoryWithResponse ¶
func (c *ClientWithResponses) GetAccountHistoryWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountHistoryResponse, error)
GetAccountHistoryWithResponse Read account history recovery progress
Recovery starts on protocol connection. Saved room entries and authorized text archives are read serially, with persistent checkpoints and deduplication. Historical imports do not create sends or unread counts. Complete means the last authorized text recovery pass finished; it is not a full protocol-feature claim. Saved rooms are read-only in this increment. Provider permission failures remain partial coverage.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId}/history (the `GetAccountHistory` operationId).
func (*ClientWithResponses) GetAccountUnreadTotalsWithResponse ¶
func (c *ClientWithResponses) GetAccountUnreadTotalsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountUnreadTotalsResponse, error)
GetAccountUnreadTotalsWithResponse Get unread message totals by account
Counts unread messages in active and archived chats. Removed chats and manual unread reminders contribute nothing. Accounts with zero unread messages are omitted.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/unread-totals (the `GetAccountUnreadTotals` operationId).
func (*ClientWithResponses) GetAccountWithResponse ¶
func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
GetAccountWithResponse Read an account
Returns the retained account and its current revision.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId} (the `GetAccount` operationId).
func (*ClientWithResponses) GetAvatarImageWithResponse ¶
func (c *ClientWithResponses) GetAvatarImageWithResponse(ctx context.Context, hash string, params *GetAvatarImageParams, reqEditors ...RequestEditorFn) (*GetAvatarImageResponse, error)
GetAvatarImageWithResponse Read a cached profile thumbnail
Returns only a locally retained, decoded and normalized image; never redirects to provider URLs. Hash-addressed images can be cached privately and immutably.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/avatars/{hash} (the `GetAvatarImage` operationId).
func (*ClientWithResponses) GetConversationDetailsWithResponse ¶
func (c *ClientWithResponses) GetConversationDetailsWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationDetailsResponse, error)
GetConversationDetailsWithResponse Read scoped conversation details
Read the current account connection and session-local conversation metadata. Returns immediately; a connected adapter may schedule a deduplicated, serialized discovery refresh no more often than once per sixty seconds. This never joins a room, requests a subscription, probes a peer or sends a message. Occupant discovery is a bounded snapshot, never a complete member roster. Missing presence remains unknown. Disconnect clears observations.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/details (the `GetConversationDetails` operationId).
func (*ClientWithResponses) GetConversationEditTargetWithResponse ¶
func (c *ClientWithResponses) GetConversationEditTargetWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationEditTargetResponse, error)
GetConversationEditTargetWithResponse Inspect the latest own retained message for keyboard editing
Uses a durable transmission ordinal for original sends by this engine, independently of device clocks and the visible timeline page. Returns the latest own original transmission candidate even when it is ineligible; never silently skips it to edit an older one. Queued or cancelled originals which never reached dispatch, imported own messages and correction commands do not establish this order. Returns 404 when there is no retained engine transmission. Read-only and does not mark messages read or fetch provider history.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/edit-target (the `GetConversationEditTarget` operationId).
func (*ClientWithResponses) GetConversationReadReceiptsWithResponse ¶
func (c *ClientWithResponses) GetConversationReadReceiptsWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationReadReceiptsResponse, error)
GetConversationReadReceiptsWithResponse Read conversation read receipt settings
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/read-receipts (the `GetConversationReadReceipts` operationId).
func (*ClientWithResponses) GetConversationReadStateWithResponse ¶
func (c *ClientWithResponses) GetConversationReadStateWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationReadStateResponse, error)
GetConversationReadStateWithResponse Read retained conversation read state
Reads app-owned read state without changing messages or sending provider receipts.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/read-state (the `GetConversationReadState` operationId).
func (*ClientWithResponses) GetConversationRetentionWithResponse ¶
func (c *ClientWithResponses) GetConversationRetentionWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationRetentionResponse, error)
GetConversationRetentionWithResponse Read conversation message retention
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/retention (the `GetConversationRetention` operationId).
func (*ClientWithResponses) GetConversationTypingWithResponse ¶
func (c *ClientWithResponses) GetConversationTypingWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationTypingResponse, error)
GetConversationTypingWithResponse Read the current typing indicator in an accepted direct conversation
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/typing (the `GetConversationTyping` operationId).
func (*ClientWithResponses) GetConversationWithResponse ¶
func (c *ClientWithResponses) GetConversationWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationResponse, error)
GetConversationWithResponse Read a conversation
Returns the current conversation projection.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId} (the `GetConversation` operationId).
func (*ClientWithResponses) GetDownloadRetentionWithResponse ¶
func (c *ClientWithResponses) GetDownloadRetentionWithResponse(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*GetDownloadRetentionResponse, error)
GetDownloadRetentionWithResponse Read downloaded-file retention for a device
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/downloads/{deviceId}/retention (the `GetDownloadRetention` operationId).
func (*ClientWithResponses) GetEngineWithResponse ¶
func (c *ClientWithResponses) GetEngineWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEngineResponse, error)
GetEngineWithResponse Read the persistent engine identity
Read eventCursor before fetching snapshots. After fetching them, pass that cursor as Last-Event-ID to GET /api/v1/events to replay changes that occurred while the snapshots were being read.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/engine (the `GetEngine` operationId).
func (*ClientWithResponses) GetGlobalReadReceiptsWithResponse ¶
func (c *ClientWithResponses) GetGlobalReadReceiptsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalReadReceiptsResponse, error)
GetGlobalReadReceiptsWithResponse Read engine-wide read receipt settings
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/engine/read-receipts (the `GetGlobalReadReceipts` operationId).
func (*ClientWithResponses) GetGlobalRetentionWithResponse ¶
func (c *ClientWithResponses) GetGlobalRetentionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalRetentionResponse, error)
GetGlobalRetentionWithResponse Read engine-wide message retention
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/engine/retention (the `GetGlobalRetention` operationId).
func (*ClientWithResponses) GetHealthWithResponse ¶
func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
GetHealthWithResponse Check engine readiness
Returns ready only when the database can be queried.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/health (the `GetHealth` operationId).
func (*ClientWithResponses) GetMediaImageWithResponse ¶
func (c *ClientWithResponses) GetMediaImageWithResponse(ctx context.Context, hash string, params *GetMediaImageParams, reqEditors ...RequestEditorFn) (*GetMediaImageResponse, error)
GetMediaImageWithResponse Read a retained preview or original image
Serves only local hash-verified PNG, JPEG or GIF bytes, without fetching the provider. Thumbnails are normalized static PNGs or JPEGs, up to 1024 pixels per axis; originals retain their validated media type. No remote redirects.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/media/{hash} (the `GetMediaImage` operationId).
func (*ClientWithResponses) GetMentionCandidatesWithResponse ¶
func (c *ClientWithResponses) GetMentionCandidatesWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetMentionCandidatesResponse, error)
GetMentionCandidatesWithResponse Read observed room mention candidates
Read a bounded, account-scoped snapshot of visible room occupants. This never joins a room or discovers hidden personal identities. Candidates supply exact readable insertion text. Structured references are available only when the protocol adapter has a valid disclosed target; otherwise sending preserves the same readable text without protocol metadata.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/mention-candidates (the `GetMentionCandidates` operationId).
func (*ClientWithResponses) GetMessageContextWithResponse ¶
func (c *ClientWithResponses) GetMessageContextWithResponse(ctx context.Context, conversationId ConversationID, messageId MessageID, params *GetMessageContextParams, reqEditors ...RequestEditorFn) (*GetMessageContextResponse, error)
GetMessageContextWithResponse Read a bounded timeline around a retained message
Reads the target and nearest visible retained neighbors from the same conversation, newest first by timelineAt or createdAt at UTC millisecond precision and UUID tie-break. Includes the target even with limit 1. Only local retained data is read; no provider archive queries or read receipts are triggered. Foreign or unavailable source messages return not_found, including unreleased schedules and scheduled sends cancelled before dispatch. Clients should offer return to latest when hasNewer is true. A retained correction-source alias resolves to the original logical targetId with requestedTargetId identifying the requested alias. All returned items remain scoped to this conversation.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/messages/{messageId}/context (the `GetMessageContext` operationId).
func (*ClientWithResponses) GetMessageEditHistoryWithResponse ¶
func (c *ClientWithResponses) GetMessageEditHistoryWithResponse(ctx context.Context, messageId MessageID, params *GetMessageEditHistoryParams, reqEditors ...RequestEditorFn) (*GetMessageEditHistoryResponse, error)
GetMessageEditHistoryWithResponse Read observed content revisions of one retained message
Read-only bounded history of canonical content sources. Resolves retained aliases and excludes delivery-state revisions and unverified correction relationships. Versions never observed cannot be recovered by this query. Newest authored timestamp first with revision UUID tie-breaking; isCurrent is authoritative regardless of timestamp order. Cursor binds engine, account, conversation, canonical message and the exact observed-history snapshot. No provider history/profile/media requests, read receipts, sends or mutations occur.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/messages/{messageId}/edit-history (the `GetMessageEditHistory` operationId).
func (*ClientWithResponses) GetMessageEditTargetWithResponse ¶
func (c *ClientWithResponses) GetMessageEditTargetWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageEditTargetResponse, error)
GetMessageEditTargetWithResponse Inspect eligibility and current content before editing
Read-only eligibility for the canonical message. Initially only the latest own plain text message sent by this engine in the current verified protocol session can be corrected. Reply and mention payloads remain ineligible. Eligibility is advisory and rechecked atomically at acceptance and dispatch. No arbitrary time window is imposed.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/messages/{messageId}/edit-target (the `GetMessageEditTarget` operationId).
func (*ClientWithResponses) GetMessageEditWithResponse ¶
func (c *ClientWithResponses) GetMessageEditWithResponse(ctx context.Context, editId ID, reqEditors ...RequestEditorFn) (*GetMessageEditResponse, error)
GetMessageEditWithResponse Reconcile a correction command by its stable UUID
Read-only durable receipt. A 404 does not authorize changing the key after an uncertain submission; repeat the same frozen request if needed. No provider calls or dispatch occur in this query.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/message-edits/{editId} (the `GetMessageEdit` operationId).
func (*ClientWithResponses) GetMessagePreviewWithResponse ¶
func (c *ClientWithResponses) GetMessagePreviewWithResponse(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*GetMessagePreviewResponse, error)
GetMessagePreviewWithResponse Read a message preview
Reads cached metadata and original image download state. Does not initiate a download.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/previews/{previewId} (the `GetMessagePreview` operationId).
func (*ClientWithResponses) GetMessageReactionCommandWithResponse ¶
func (c *ClientWithResponses) GetMessageReactionCommandWithResponse(ctx context.Context, commandId ID, reqEditors ...RequestEditorFn) (*GetMessageReactionCommandResponse, error)
GetMessageReactionCommandWithResponse Read a durable reaction command receipt
Read-only reconciliation after lost responses. A missing receipt does not authorize a new key for the same uncertain intent. No provider call or dispatch is performed.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/message-reaction-commands/{commandId} (the `GetMessageReactionCommand` operationId).
func (*ClientWithResponses) GetMessageReactionsWithResponse ¶
func (c *ClientWithResponses) GetMessageReactionsWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageReactionsResponse, error)
GetMessageReactionsWithResponse Read retained reactions and current own mutation eligibility
Read-only canonical source snapshot. Missing revisions are null until an observed or submitted reaction set exists. Does not fetch provider data, mark read or allocate revisions.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/messages/{messageId}/reactions (the `GetMessageReactions` operationId).
func (*ClientWithResponses) GetMessageSenderProfileWithResponse ¶
func (c *ClientWithResponses) GetMessageSenderProfileWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageSenderProfileResponse, error)
GetMessageSenderProfileWithResponse Read the author's available published profile
Resolves the author from the retained message and message-time protocol identity evidence. May issue a bounded read-only profile query to a known personal address. Room nicknames and current same-name occupants never establish a historical author's personal JID. Missing or undisclosed identity remains unavailable; user-provided vCard JABBERID does not establish it. Does not join rooms, add contacts, subscribe to presence or mark messages read.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/messages/{messageId}/sender-profile (the `GetMessageSenderProfile` operationId).
func (*ClientWithResponses) GetMessageSourceContextWithResponse ¶
func (c *ClientWithResponses) GetMessageSourceContextWithResponse(ctx context.Context, conversationId ConversationID, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageSourceContextResponse, error)
GetMessageSourceContextWithResponse Read the conversation and presentation data for a retained message jump
Returns the engine identity, owning conversation and a window of up to 16 visible messages around the source. Optional fields are scoped to that conversation and window. Missing optional fields represent unavailable data. Preview reads can register local preview metadata as on the corresponding preview endpoints. This operation does not fetch provider history or mark messages read.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/messages/{messageId}/source-context (the `GetMessageSourceContext` operationId).
func (*ClientWithResponses) GetMessageStarWithResponse ¶
func (c *ClientWithResponses) GetMessageStarWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageStarResponse, error)
GetMessageStarWithResponse Read the source message star
App-owned state independent of message content revisions and protocol support. Before the first change, starred is false and revisionId and updatedAt are null. Reading does not create state or provider traffic.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/messages/{messageId}/star (the `GetMessageStar` operationId).
func (*ClientWithResponses) GetMessageWithResponse ¶
func (c *ClientWithResponses) GetMessageWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)
GetMessageWithResponse Read a retained message
Returns the latest revision and send evidence. A retained correction-source alias resolves to its canonical logical message, whose id can differ from the requested messageId. Use the scoped context operation when explicit requestedTargetId alias proof is needed.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/messages/{messageId} (the `GetMessage` operationId).
func (*ClientWithResponses) GetOmemoDevicesWithResponse ¶
func (c *ClientWithResponses) GetOmemoDevicesWithResponse(ctx context.Context, accountId AccountID, params *GetOmemoDevicesParams, reqEditors ...RequestEditorFn) (*GetOmemoDevicesResponse, error)
GetOmemoDevicesWithResponse Inspect public OMEMO fingerprints
Returns the current policy, this endpoint and known devices belonging to the selected owner.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId}/omemo (the `GetOmemoDevices` operationId).
func (*ClientWithResponses) GetOperationWithResponse ¶
func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, operationId ID, params *GetOperationParams, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)
GetOperationWithResponse Reconcile a mutation after an ambiguous response
A receipt proves the local mutation committed. Send receipts prove durable engine acceptance. Request includeAcceptedMessage to read the immutable send acceptance snapshot, including the original composition and scheduled instant. A redacted send receipt reports acceptedMessageExpired. This route exposes the receipt kinds defined by Operation. An ID without an exposed receipt returns 404. Recover the result of updatePendingMessage or sendScheduledMessageNow by replaying the original request with the same key and input.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/operations/{operationId} (the `GetOperation` operationId).
func (*ClientWithResponses) GetRetractedOriginalWithResponse ¶
func (c *ClientWithResponses) GetRetractedOriginalWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetRetractedOriginalResponse, error)
GetRetractedOriginalWithResponse Reveal retained content of a retracted message
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/messages/{messageId}/retracted-original (the `GetRetractedOriginal` operationId).
func (*ClientWithResponses) GetRoomArchiveWithResponse ¶
func (c *ClientWithResponses) GetRoomArchiveWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetRoomArchiveResponse, error)
GetRoomArchiveWithResponse Read room archive recovery settings and progress
Reads retained state for the room without sending a protocol request.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/archive (the `GetRoomArchive` operationId).
func (*ClientWithResponses) GetRoomManagementWithResponse ¶
func (c *ClientWithResponses) GetRoomManagementWithResponse(ctx context.Context, conversationId ConversationID, params *GetRoomManagementParams, reqEditors ...RequestEditorFn) (*GetRoomManagementResponse, error)
GetRoomManagementWithResponse Read available room management actions
Returns the current room session's permissions and visible occupants. Reading does not join the room. An optional affiliation filter reads the authorized provider list for that affiliation.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/room-management (the `GetRoomManagement` operationId).
func (*ClientWithResponses) GetRoomOmemoWithResponse ¶
func (c *ClientWithResponses) GetRoomOmemoWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetRoomOmemoResponse, error)
GetRoomOmemoWithResponse Review encryption for a private room
Lists the current eligible room members when their affiliations are available to the connected account.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/omemo (the `GetRoomOmemo` operationId).
func (*ClientWithResponses) GetRoomParticipantsWithResponse ¶
func (c *ClientWithResponses) GetRoomParticipantsWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetRoomParticipantsResponse, error)
GetRoomParticipantsWithResponse Read current room participants
Returns participants observed by the joined account in its current room session. The read does not join the room or query its public directory.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/room-participants (the `GetRoomParticipants` operationId).
func (*ClientWithResponses) GetRoomSessionWithResponse ¶
func (c *ClientWithResponses) GetRoomSessionWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetRoomSessionResponse, error)
GetRoomSessionWithResponse Read this engine's room session and durable join intent
Reads local state without joining. Active denotes a durable intent to rejoin, not observed membership. A joined state requires confirmed self-presence. Missing room intent has no intent identifiers.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/room-session (the `GetRoomSession` operationId).
func (*ClientWithResponses) GetSharedContentMediaWithResponse ¶
func (c *ClientWithResponses) GetSharedContentMediaWithResponse(ctx context.Context, itemId ID, params *GetSharedContentMediaParams, reqEditors ...RequestEditorFn) (*GetSharedContentMediaResponse, error)
GetSharedContentMediaWithResponse Read a retained audio, video or document reference
Reads the current retained canonical source before opening its URL through the engine's public-network policy. Never redirects the browser to the provider. Supports one byte range and If-Range; an upstream that ignores Range returns 200 rather than an invented 206. Video accepts MP4, WebM, Ogg video and QuickTime MIME types up to 2 GiB; codec playback remains a browser capability. Document references are restricted by URL extension and provider MIME: .txt/.log/.md/.csv/.json/.xml are served as text/plain up to 2 MiB and .pdf as application/pdf up to 100 MiB. Text MIME must be text/plain or the matching format's text/markdown, text/csv, application/json, text/json, application/xml or text/xml. HTML, SVG, office documents and mismatched MIME types are unsupported. A known complete size is required. Full downloads report a SHA-256 fingerprint and whether a supported sender digest was verified. Partial playback and preview requests have no integrity result. Audio and video playback require explicit activation. A preview client may request only a bounded byte range and must stop reading at its preview budget. Client disconnect cancels the upstream read. HEAD returns 405 without contacting the provider. Multiple or malformed ranges are invalid. JSON, XML and Markdown are returned as plain text, never active markup.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/shared-content/{itemId}/content (the `GetSharedContentMedia` operationId).
func (*ClientWithResponses) GetStagedMessageAttachmentWithResponse ¶
func (c *ClientWithResponses) GetStagedMessageAttachmentWithResponse(ctx context.Context, conversationId ConversationID, attachmentId StagedAttachmentID, params *GetStagedMessageAttachmentParams, reqEditors ...RequestEditorFn) (*GetStagedMessageAttachmentResponse, error)
GetStagedMessageAttachmentWithResponse Read retained bytes of an outgoing attachment
Reads local bytes in this conversation and account scope, for example when reopening an existing scheduled composition. Returns 404 when bytes are unavailable or the attachment is outside this scope.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId} (the `GetStagedMessageAttachment` operationId).
func (*ClientWithResponses) GetVideoThumbnailWithResponse ¶
func (c *ClientWithResponses) GetVideoThumbnailWithResponse(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*GetVideoThumbnailResponse, error)
GetVideoThumbnailWithResponse Read a retained video thumbnail state
Reads local cache state for a current video reference without retrieving provider bytes. A missing cache record is represented as not_requested. Removed references return 404.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/shared-content/{itemId}/thumbnail (the `GetVideoThumbnail` operationId).
func (*ClientWithResponses) JoinRoomWithBodyWithResponse ¶
func (c *ClientWithResponses) JoinRoomWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JoinRoomResponse, error)
JoinRoomWithBodyWithResponse Explicitly request entry and reconnect recovery for a saved room
Durably records the owning engine's join intent before protocol work. A room password may be supplied for initial entry or rejoin. Repeated operation keys do not repeat an established command; changed payloads or stale intent revisions conflict. Reads and reply preparation never join. Protocol confirmation is observed through getRoomSession.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/room-session (the `JoinRoom` operationId).
func (*ClientWithResponses) JoinRoomWithResponse ¶
func (c *ClientWithResponses) JoinRoomWithResponse(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, body JoinRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*JoinRoomResponse, error)
JoinRoomWithResponse Explicitly request entry and reconnect recovery for a saved room
Durably records the owning engine's join intent before protocol work. A room password may be supplied for initial entry or rejoin. Repeated operation keys do not repeat an established command; changed payloads or stale intent revisions conflict. Reads and reply preparation never join. Protocol confirmation is observed through getRoomSession.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/room-session (the `JoinRoom` operationId).
func (*ClientWithResponses) LeaveRoomWithBodyWithResponse ¶
func (c *ClientWithResponses) LeaveRoomWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LeaveRoomResponse, error)
LeaveRoomWithBodyWithResponse Leave a room and stop this engine's automatic rejoin
Durably records an explicit leave before sending unavailable presence. Saved history and queued messages are retained. Queued room work cannot dispatch while the intent is inactive. An old operation replay never reactivates a later leave or revoked intent.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/room-session/leave (the `LeaveRoom` operationId).
func (*ClientWithResponses) LeaveRoomWithResponse ¶
func (c *ClientWithResponses) LeaveRoomWithResponse(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, body LeaveRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*LeaveRoomResponse, error)
LeaveRoomWithResponse Leave a room and stop this engine's automatic rejoin
Durably records an explicit leave before sending unavailable presence. Saved history and queued messages are retained. Queued room work cannot dispatch while the intent is inactive. An old operation replay never reactivates a later leave or revoked intent.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/room-session/leave (the `LeaveRoom` operationId).
func (*ClientWithResponses) ListAccountAvatarsWithResponse ¶
func (c *ClientWithResponses) ListAccountAvatarsWithResponse(ctx context.Context, accountId AccountID, params *ListAccountAvatarsParams, reqEditors ...RequestEditorFn) (*ListAccountAvatarsResponse, error)
ListAccountAvatarsWithResponse Read retained profile image metadata
Account-scoped user and conversation profile images retrieved through the protocol. Initials remain the fallback for absent or inaccessible images. Image bytes live outside SQLite and contain only normalized PNG thumbnails.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId}/avatars (the `ListAccountAvatars` operationId).
func (*ClientWithResponses) ListAccountsWithResponse ¶
func (c *ClientWithResponses) ListAccountsWithResponse(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)
ListAccountsWithResponse List registered account metadata
Stable UUID-ordered keyset pagination; registration does not establish an XMPP session.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts (the `ListAccounts` operationId).
func (*ClientWithResponses) ListContactRequestsWithResponse ¶
func (c *ClientWithResponses) ListContactRequestsWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*ListContactRequestsResponse, error)
ListContactRequestsWithResponse List pending contact requests for an account
Returns requests observed by the active session. Returns unavailable while the account is disconnected.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId}/contact-requests (the `ListContactRequests` operationId).
func (*ClientWithResponses) ListContactsWithResponse ¶
func (c *ClientWithResponses) ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)
ListContactsWithResponse Search saved protocol contacts
Read the retained per-account contact directory without fetching a roster, changing subscriptions, adding contacts or opening conversations. Unknown and unavailable sources are distinct from an observed empty roster. Cached contacts remain searchable while disconnected. Results are ordered by stable contact UUID and filtered before pagination.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/contacts (the `ListContacts` operationId).
func (*ClientWithResponses) ListConversationMessageStarsWithResponse ¶
func (c *ClientWithResponses) ListConversationMessageStarsWithResponse(ctx context.Context, conversationId ConversationID, params *ListConversationMessageStarsParams, reqEditors ...RequestEditorFn) (*ListConversationMessageStarsResponse, error)
ListConversationMessageStarsWithResponse Read star states for displayed messages
Reads up to 100 distinct source message states without creating rows. Every message must belong to the requested conversation; foreign or missing message IDs reject the whole request. Item order is unspecified.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/message-stars (the `ListConversationMessageStars` operationId).
func (*ClientWithResponses) ListConversationPreviewsWithResponse ¶
func (c *ClientWithResponses) ListConversationPreviewsWithResponse(ctx context.Context, conversationId ID, params *ListConversationPreviewsParams, reqEditors ...RequestEditorFn) (*ListConversationPreviewsResponse, error)
ListConversationPreviewsWithResponse Read cached message link and image previews
Returns at most three URL previews per retained message. Without messageId, uses the latest fifty messages. Cache misses queue bounded background page metadata enrichment. Original images are fetched only by the explicit download operation. Message text and revisions are unchanged.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/previews (the `ListConversationPreviews` operationId).
func (*ClientWithResponses) ListConversationReactionsWithResponse ¶
func (c *ClientWithResponses) ListConversationReactionsWithResponse(ctx context.Context, conversationId ConversationID, params *ListConversationReactionsParams, reqEditors ...RequestEditorFn) (*ListConversationReactionsResponse, error)
ListConversationReactionsWithResponse Read bounded reactions for the mounted conversation messages
All requested retained messages must belong to this conversation. Canonicalizes aliases and returns each canonical source once. Does not retrieve history or change read state.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/reactions (the `ListConversationReactions` operationId).
func (*ClientWithResponses) ListConversationsWithResponse ¶
func (c *ClientWithResponses) ListConversationsWithResponse(ctx context.Context, params *ListConversationsParams, reqEditors ...RequestEditorFn) (*ListConversationsResponse, error)
ListConversationsWithResponse List retained conversations
Keyset pages ordered by descending engine activity. Search matches conversation address/title and latest text preview; this is not full message search.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations (the `ListConversations` operationId).
func (*ClientWithResponses) ListMessagesWithResponse ¶
func (c *ClientWithResponses) ListMessagesWithResponse(ctx context.Context, conversationId ConversationID, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*ListMessagesResponse, error)
ListMessagesWithResponse Read retained messages
Returns a bounded page of retained messages newest-first by timelineAt when present and createdAt otherwise, at UTC millisecond precision with a UUID tie-break. Includes serially recovered archive messages. Pending scheduled messages are omitted until release. The default direction is older; without a cursor it reads the latest page. Newer requires a cursor and reads the nearest messages after that retained conversation-scoped anchor, without skipping to the latest page. Both directions return newest-first. nextCursor continues in the requested direction. Reads never fetch provider history or mark messages as read.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/conversations/{conversationId}/messages (the `ListMessages` operationId).
func (*ClientWithResponses) ListScheduledMessagesWithResponse ¶
func (c *ClientWithResponses) ListScheduledMessagesWithResponse(ctx context.Context, params *ListScheduledMessagesParams, reqEditors ...RequestEditorFn) (*ListScheduledMessagesResponse, error)
ListScheduledMessagesWithResponse List scheduled messages across conversations
Lists the selected engine's own queued, known-unsent messages with a configured schedule, including overdue sends waiting for connectivity. Results include their destination. Successful Send now removes the item from this list even if connectivity delays dispatch. Results sort by scheduledAt ascending, then message UUID ascending. Pagination is over current data. Concurrent changes can move items across the cursor boundary.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/scheduled-messages (the `ListScheduledMessages` operationId).
func (*ClientWithResponses) ListSharedContentWithResponse ¶
func (c *ClientWithResponses) ListSharedContentWithResponse(ctx context.Context, params *ListSharedContentParams, reqEditors ...RequestEditorFn) (*ListSharedContentResponse, error)
ListSharedContentWithResponse Browse shared content across retained conversations
Browse the local derived catalog, newest message position (`timelineAt`, falling back to `createdAt`) first with item UUID ties at millisecond precision. Unreleased schedules and scheduled sends cancelled before dispatch are excluded. Account/conversation filters apply before pagination. Metadata search covers URL, filename, visible caption, cached preview title/description, sender, conversation and account label. A background worker indexes visible retained and incoming messages. Listing registers preview enrichment only for the returned image/link references; originals still follow device preferences and explicit download operations. Document/audio entries remain URL references. Video bytes are available only through the explicit content operation; listing does not fetch video metadata or bytes. Backfill or new arrivals may insert items before the current cursor; reload to include them. A conversation filter outside the selected accounts is invalid.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/shared-content (the `ListSharedContent` operationId).
func (*ClientWithResponses) ListStarredMessagesWithResponse ¶
func (c *ClientWithResponses) ListStarredMessagesWithResponse(ctx context.Context, params *ListStarredMessagesParams, reqEditors ...RequestEditorFn) (*ListStarredMessagesResponse, error)
ListStarredMessagesWithResponse Browse retained starred messages with their source context
Lists current starred messages across accounts or within an account/conversation. Order is source message UTC timestamp at millisecond precision descending, then message UUID descending. Unstarring a cursor message does not break paging. This is a live collection, not a frozen snapshot; newer stars can appear before the current page. No provider requests, enrichment or downloads are started. Conversation favorites are independent of message stars.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/starred-messages (the `ListStarredMessages` operationId).
func (*ClientWithResponses) ManageRoomWithBodyWithResponse ¶
func (c *ClientWithResponses) ManageRoomWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManageRoomResponse, error)
ManageRoomWithBodyWithResponse Apply a room management action
Rechecks the active room session, permissions and target before sending. Confirmed destruction removes the room from the requesting account’s chat lists and retains stored history. Repeat an uncertain request with the same key to read its outcome without sending it again.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/room-management (the `ManageRoom` operationId).
func (*ClientWithResponses) ManageRoomWithResponse ¶
func (c *ClientWithResponses) ManageRoomWithResponse(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, body ManageRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*ManageRoomResponse, error)
ManageRoomWithResponse Apply a room management action
Rechecks the active room session, permissions and target before sending. Confirmed destruction removes the room from the requesting account’s chat lists and retains stored history. Repeat an uncertain request with the same key to read its outcome without sending it again.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/room-management (the `ManageRoom` operationId).
func (*ClientWithResponses) MarkConversationMessagesReadWithBodyWithResponse ¶
func (c *ClientWithResponses) MarkConversationMessagesReadWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *MarkConversationMessagesReadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkConversationMessagesReadResponse, error)
MarkConversationMessagesReadWithBodyWithResponse Mark incoming messages read
Atomically merges the listed retained message identities into app-owned read state. Other messages, including later arrivals, remain unread. Lists are bounded and must belong to this conversation. Own and historical messages are ignored. Repeated batches are safe; retries with the same key return the original committed snapshot. Read revisions and operation receipts are durable. Reading does not bump conversation activity, edit content or send protocol receipts. This alpha operation records local engine read evidence; receipt emission and independent-engine synchronization remain deferred. With If-Match, the single message ID must be the latest retained timeline message in the specified conversation revision. The operation then marks all unread messages in that snapshot read.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/read-state (the `MarkConversationMessagesRead` operationId).
func (*ClientWithResponses) MarkConversationMessagesReadWithResponse ¶
func (c *ClientWithResponses) MarkConversationMessagesReadWithResponse(ctx context.Context, conversationId ConversationID, params *MarkConversationMessagesReadParams, body MarkConversationMessagesReadJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkConversationMessagesReadResponse, error)
MarkConversationMessagesReadWithResponse Mark incoming messages read
Atomically merges the listed retained message identities into app-owned read state. Other messages, including later arrivals, remain unread. Lists are bounded and must belong to this conversation. Own and historical messages are ignored. Repeated batches are safe; retries with the same key return the original committed snapshot. Read revisions and operation receipts are durable. Reading does not bump conversation activity, edit content or send protocol receipts. This alpha operation records local engine read evidence; receipt emission and independent-engine synchronization remain deferred. With If-Match, the single message ID must be the latest retained timeline message in the specified conversation revision. The operation then marks all unread messages in that snapshot read.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/read-state (the `MarkConversationMessagesRead` operationId).
func (*ClientWithResponses) OpenConversationWithBodyWithResponse ¶
func (c *ClientWithResponses) OpenConversationWithBodyWithResponse(ctx context.Context, params *OpenConversationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OpenConversationResponse, error)
OpenConversationWithBodyWithResponse Open a direct conversation
Finds an existing conversation for the canonical account/peer or creates one. Durable operation keys retain original results. Opening a removed direct conversation adds it back to chat lists. Does not add a contact or send presence subscriptions.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations (the `OpenConversation` operationId).
func (*ClientWithResponses) OpenConversationWithResponse ¶
func (c *ClientWithResponses) OpenConversationWithResponse(ctx context.Context, params *OpenConversationParams, body OpenConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*OpenConversationResponse, error)
OpenConversationWithResponse Open a direct conversation
Finds an existing conversation for the canonical account/peer or creates one. Durable operation keys retain original results. Opening a removed direct conversation adds it back to chat lists. Does not add a contact or send presence subscriptions.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations (the `OpenConversation` operationId).
func (*ClientWithResponses) OpenRoomWithBodyWithResponse ¶
func (c *ClientWithResponses) OpenRoomWithBodyWithResponse(ctx context.Context, accountId AccountID, params *OpenRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OpenRoomResponse, error)
OpenRoomWithBodyWithResponse Open and request entry to an XMPP room
Atomically saves the room and its entry intent. Creation requires a verified XMPP room service and an unused room address before saving. Creation is confirmed separately through the room session. Repeating the same key cannot reactivate a later leave. Creation uses the service defaults with persistence enabled and an optional room name.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/accounts/{accountId}/rooms (the `OpenRoom` operationId).
func (*ClientWithResponses) OpenRoomWithResponse ¶
func (c *ClientWithResponses) OpenRoomWithResponse(ctx context.Context, accountId AccountID, params *OpenRoomParams, body OpenRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*OpenRoomResponse, error)
OpenRoomWithResponse Open and request entry to an XMPP room
Atomically saves the room and its entry intent. Creation requires a verified XMPP room service and an unused room address before saving. Creation is confirmed separately through the room session. Repeating the same key cannot reactivate a later leave. Creation uses the service defaults with persistence enabled and an optional room name.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/accounts/{accountId}/rooms (the `OpenRoom` operationId).
func (*ClientWithResponses) PreviewRoomWithResponse ¶
func (c *ClientWithResponses) PreviewRoomWithResponse(ctx context.Context, accountId AccountID, params *PreviewRoomParams, reqEditors ...RequestEditorFn) (*PreviewRoomResponse, error)
PreviewRoomWithResponse Read a room preview using the selected account
Reads published room information and an available vCard from the bare room address. Does not save the conversation or enter the room.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/accounts/{accountId}/room-preview (the `PreviewRoom` operationId).
func (*ClientWithResponses) RefreshMessagePreviewWithResponse ¶
func (c *ClientWithResponses) RefreshMessagePreviewWithResponse(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*RefreshMessagePreviewResponse, error)
RefreshMessagePreviewWithResponse Refresh cached link metadata
Explicitly queues fresh metadata for a current retained link reference, bypassing the metadata cache. Existing metadata remains usable during refresh or failure. Concurrent pending refreshes share queued work. Does not edit a message or request an original image download.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/previews/{previewId}/refresh (the `RefreshMessagePreview` operationId).
func (*ClientWithResponses) RegisterAccountWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterAccountWithBodyWithResponse(ctx context.Context, params *RegisterAccountParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterAccountResponse, error)
RegisterAccountWithBodyWithResponse Register protocol account metadata
Atomically stores an account, initial immutable revision, operation receipt, and account.registered event. Repeating a key with the same normalized input returns the original result unless the account was removed. Reusing it with different input conflicts. No credentials are accepted, and no protocol session is opened. New XMPP registrations use the compiled-in adapter to normalize bare JIDs before matching. Existing foundation metadata is retained without rewriting identities.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/accounts (the `RegisterAccount` operationId).
func (*ClientWithResponses) RegisterAccountWithResponse ¶
func (c *ClientWithResponses) RegisterAccountWithResponse(ctx context.Context, params *RegisterAccountParams, body RegisterAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterAccountResponse, error)
RegisterAccountWithResponse Register protocol account metadata
Atomically stores an account, initial immutable revision, operation receipt, and account.registered event. Repeating a key with the same normalized input returns the original result unless the account was removed. Reusing it with different input conflicts. No credentials are accepted, and no protocol session is opened. New XMPP registrations use the compiled-in adapter to normalize bare JIDs before matching. Existing foundation metadata is retained without rewriting identities.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/accounts (the `RegisterAccount` operationId).
func (*ClientWithResponses) RemoveAccountWithResponse ¶
func (c *ClientWithResponses) RemoveAccountWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*RemoveAccountResponse, error)
RemoveAccountWithResponse Remove an account from Oiê
Disconnects this account, forgets its saved credentials, and removes its conversations, retained history and pending sends from this engine. The provider account and its server history are unaffected. Repeating the request for the same UUID is safe.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/accounts/{accountId} (the `RemoveAccount` operationId).
func (*ClientWithResponses) RemoveDirectFromChatsWithBodyWithResponse ¶
func (c *ClientWithResponses) RemoveDirectFromChatsWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *RemoveDirectFromChatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveDirectFromChatsResponse, error)
RemoveDirectFromChatsWithBodyWithResponse Remove a direct conversation from Oiê's chat lists
Removes the direct conversation from the active and archived lists and retains stored history. Opening it by address or receiving a new live message adds it back.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/remove-direct (the `RemoveDirectFromChats` operationId).
func (*ClientWithResponses) RemoveDirectFromChatsWithResponse ¶
func (c *ClientWithResponses) RemoveDirectFromChatsWithResponse(ctx context.Context, conversationId ConversationID, params *RemoveDirectFromChatsParams, body RemoveDirectFromChatsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveDirectFromChatsResponse, error)
RemoveDirectFromChatsWithResponse Remove a direct conversation from Oiê's chat lists
Removes the direct conversation from the active and archived lists and retains stored history. Opening it by address or receiving a new live message adds it back.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/remove-direct (the `RemoveDirectFromChats` operationId).
func (*ClientWithResponses) RemoveRoomFromChatsWithBodyWithResponse ¶
func (c *ClientWithResponses) RemoveRoomFromChatsWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *RemoveRoomFromChatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveRoomFromChatsResponse, error)
RemoveRoomFromChatsWithBodyWithResponse Remove a saved room from Oiê's chat lists
Removes the room from the active and archived lists and stops automatic rejoin. Retains stored history and never destroys the room on the XMPP server. Opening the room by address adds it back.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/remove-room (the `RemoveRoomFromChats` operationId).
func (*ClientWithResponses) RemoveRoomFromChatsWithResponse ¶
func (c *ClientWithResponses) RemoveRoomFromChatsWithResponse(ctx context.Context, conversationId ConversationID, params *RemoveRoomFromChatsParams, body RemoveRoomFromChatsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveRoomFromChatsResponse, error)
RemoveRoomFromChatsWithResponse Remove a saved room from Oiê's chat lists
Removes the room from the active and archived lists and stops automatic rejoin. Retains stored history and never destroys the room on the XMPP server. Opening the room by address adds it back.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/remove-room (the `RemoveRoomFromChats` operationId).
func (*ClientWithResponses) RequestRoomArchiveWithBodyWithResponse ¶
func (c *ClientWithResponses) RequestRoomArchiveWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestRoomArchiveResponse, error)
RequestRoomArchiveWithBodyWithResponse Request a bounded room archive read
Request the next initial page (focus), an older page (older), context around a retained message (context), or a text search page (search). Search requires a query and accepts an optional cursor from the same room and query. Context requires messageId. Older accepts a retained messageId as a boundary. The owning account and room determine the archive. Successful imports are retained with historical semantics. Search and context do not advance background recovery checkpoints. Results are bounded. A capability failure does not affect local reads.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/archive/requests (the `RequestRoomArchive` operationId).
func (*ClientWithResponses) RequestRoomArchiveWithResponse ¶
func (c *ClientWithResponses) RequestRoomArchiveWithResponse(ctx context.Context, conversationId ConversationID, body RequestRoomArchiveJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestRoomArchiveResponse, error)
RequestRoomArchiveWithResponse Request a bounded room archive read
Request the next initial page (focus), an older page (older), context around a retained message (context), or a text search page (search). Search requires a query and accepts an optional cursor from the same room and query. Context requires messageId. Older accepts a retained messageId as a boundary. The owning account and room determine the archive. Successful imports are retained with historical semantics. Search and context do not advance background recovery checkpoints. Results are bounded. A capability failure does not affect local reads.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/archive/requests (the `RequestRoomArchive` operationId).
func (*ClientWithResponses) RequestVideoThumbnailWithResponse ¶
func (c *ClientWithResponses) RequestVideoThumbnailWithResponse(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*RequestVideoThumbnailResponse, error)
RequestVideoThumbnailWithResponse Ensure a cached video thumbnail
Queues retrieval of a retained HTTP(S) thumbnail supplied in XMPP file metadata (at most 1 MiB). Concurrent requests share work and a ready thumbnail is reused. A failed retrieval can be explicitly retried. The source is revalidated before publication. Without a retained or supplied thumbnail this operation returns 503 without retrieving video bytes. Clients may use a bounded media range to generate a preview locally.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/shared-content/{itemId}/thumbnail (the `RequestVideoThumbnail` operationId).
func (*ClientWithResponses) ResetEngineDataWithBodyWithResponse ¶
func (c *ClientWithResponses) ResetEngineDataWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetEngineDataResponse, error)
ResetEngineDataWithBodyWithResponse Delete all data held by this engine
Permanently deletes accounts, credentials, history and files held by the engine and starts an empty engine with a new identity. Provider copies are outside this operation.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/engine/reset (the `ResetEngineData` operationId).
func (*ClientWithResponses) ResetEngineDataWithResponse ¶
func (c *ClientWithResponses) ResetEngineDataWithResponse(ctx context.Context, body ResetEngineDataJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetEngineDataResponse, error)
ResetEngineDataWithResponse Delete all data held by this engine
Permanently deletes accounts, credentials, history and files held by the engine and starts an empty engine with a new identity. Provider copies are outside this operation.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/engine/reset (the `ResetEngineData` operationId).
func (*ClientWithResponses) ResolveDraftLinkPreviewWithBodyWithResponse ¶
func (c *ClientWithResponses) ResolveDraftLinkPreviewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveDraftLinkPreviewResponse, error)
ResolveDraftLinkPreviewWithBodyWithResponse Resolve a link preview for a draft
Fetches metadata and an optional bounded raster image for one public HTTP(S) URL. Uses the transient link cache and creates no message, durable preview record or original download.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/link-previews (the `ResolveDraftLinkPreview` operationId).
func (*ClientWithResponses) ResolveDraftLinkPreviewWithResponse ¶
func (c *ClientWithResponses) ResolveDraftLinkPreviewWithResponse(ctx context.Context, body ResolveDraftLinkPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveDraftLinkPreviewResponse, error)
ResolveDraftLinkPreviewWithResponse Resolve a link preview for a draft
Fetches metadata and an optional bounded raster image for one public HTTP(S) URL. Uses the transient link cache and creates no message, durable preview record or original download.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/link-previews (the `ResolveDraftLinkPreview` operationId).
func (*ClientWithResponses) RetractMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) RetractMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetractMessageResponse, error)
RetractMessageWithBodyWithResponse Request retraction of an own sent message
Sends a provider retraction for the reviewed revision and keeps the retained original hidden. A successful request does not establish removal from the recipient's copies.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/retraction (the `RetractMessage` operationId).
func (*ClientWithResponses) RetractMessageWithResponse ¶
func (c *ClientWithResponses) RetractMessageWithResponse(ctx context.Context, messageId MessageID, body RetractMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*RetractMessageResponse, error)
RetractMessageWithResponse Request retraction of an own sent message
Sends a provider retraction for the reviewed revision and keeps the retained original hidden. A successful request does not establish removal from the recipient's copies.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/retraction (the `RetractMessage` operationId).
func (*ClientWithResponses) SearchMessagesWithResponse ¶
func (c *ClientWithResponses) SearchMessagesWithResponse(ctx context.Context, params *SearchMessagesParams, reqEditors ...RequestEditorFn) (*SearchMessagesResponse, error)
SearchMessagesWithResponse Search retained message text and available metadata
Search the complete retained engine history before pagination, without network retrieval, enrichment or read-state changes. Matching follows shared-content accent/case folding, word prefixes and bounded typing-error tolerance. Current canonical message content is searched by default. Include edit history adds separately labelled verified earlier content revisions, never transport-state revisions or independent correction aliases. Current associated URLs, filenames and cached page titles/descriptions are searched only while their catalog source is current. Metadata coverage can lag immediate message-text coverage. Unreleased schedules and scheduled sends cancelled before dispatch are excluded. Order is newest message position (`timelineAt`, falling back to `createdAt`) at UTC millisecond precision and UUID first, current hit before earlier content revisions, then newest revision timestamp and UUID. New arrivals or corrections can change subsequent results; pages are not a frozen snapshot.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/messages/search (the `SearchMessages` operationId).
func (*ClientWithResponses) SendMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) SendMessageWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *SendMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendMessageResponse, error)
SendMessageWithBodyWithResponse Accept an immediate or scheduled message
Atomically commits one logical message, operation receipt and outbox intent for the complete composition, including the ordered references to staged attachments. The engine checks the destination, reply, mentions, attachment scope and effective send capabilities before acceptance. Invalid or unavailable attachments reject the whole composition. Attachment bytes are staged locally and any provider upload belongs to dispatch. Room dispatch waits for confirmed membership under an active explicit join intent. A new submission conflicts with a conversation removed from chat lists. Matching accepted submissions still replay. Omitting scheduledAt makes the intent immediately eligible. A future schedule never blocks another eligible send. A missed schedule dispatches when the owning engine and destination become available again. Optional expectedReplyRevisionId and expectedReplyExcerptSha256 bind a new scheduled reply to the reviewed source and excerpt. A changed source rejects acceptance with state_conflict and replySourceChanged set to true. Idempotency includes the complete composition, normalized instant and any reply preconditions. A matching replay returns the original acceptance snapshot even after the scheduled time passes, attachment availability changes or the source is corrected. Different input with the same key yields idempotency_conflict. Read the message for current state. Ambiguous transmission remains unknown.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/messages (the `SendMessage` operationId).
func (*ClientWithResponses) SendMessageWithResponse ¶
func (c *ClientWithResponses) SendMessageWithResponse(ctx context.Context, conversationId ConversationID, params *SendMessageParams, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendMessageResponse, error)
SendMessageWithResponse Accept an immediate or scheduled message
Atomically commits one logical message, operation receipt and outbox intent for the complete composition, including the ordered references to staged attachments. The engine checks the destination, reply, mentions, attachment scope and effective send capabilities before acceptance. Invalid or unavailable attachments reject the whole composition. Attachment bytes are staged locally and any provider upload belongs to dispatch. Room dispatch waits for confirmed membership under an active explicit join intent. A new submission conflicts with a conversation removed from chat lists. Matching accepted submissions still replay. Omitting scheduledAt makes the intent immediately eligible. A future schedule never blocks another eligible send. A missed schedule dispatches when the owning engine and destination become available again. Optional expectedReplyRevisionId and expectedReplyExcerptSha256 bind a new scheduled reply to the reviewed source and excerpt. A changed source rejects acceptance with state_conflict and replySourceChanged set to true. Idempotency includes the complete composition, normalized instant and any reply preconditions. A matching replay returns the original acceptance snapshot even after the scheduled time passes, attachment availability changes or the source is corrected. Different input with the same key yields idempotency_conflict. Read the message for current state. Ambiguous transmission remains unknown.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/conversations/{conversationId}/messages (the `SendMessage` operationId).
func (*ClientWithResponses) SendScheduledMessageNowWithBodyWithResponse ¶
func (c *ClientWithResponses) SendScheduledMessageNowWithBodyWithResponse(ctx context.Context, messageId MessageID, params *SendScheduledMessageNowParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendScheduledMessageNowResponse, error)
SendScheduledMessageNowWithBodyWithResponse Make a scheduled message eligible immediately
With the current expected revision, atomically clears scheduledAt on the same queued, known-unsent scheduled intent and makes it eligible immediately. The message ID, destination, composition and attachments remain attached to the same intent. Acceptance records eligibility. Dispatch still requires the owning engine, connectivity and any existing destination prerequisites. This operation and dispatch share the same atomic cutoff as pending edit and cancel, including before provider attachment upload. A stale revision, ineligible state or winning dispatch claim yields state_conflict with currentMessage. Repeating the same key and input returns the original successful result even if dispatch has since started.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/send-now (the `SendScheduledMessageNow` operationId).
func (*ClientWithResponses) SendScheduledMessageNowWithResponse ¶
func (c *ClientWithResponses) SendScheduledMessageNowWithResponse(ctx context.Context, messageId MessageID, params *SendScheduledMessageNowParams, body SendScheduledMessageNowJSONRequestBody, reqEditors ...RequestEditorFn) (*SendScheduledMessageNowResponse, error)
SendScheduledMessageNowWithResponse Make a scheduled message eligible immediately
With the current expected revision, atomically clears scheduledAt on the same queued, known-unsent scheduled intent and makes it eligible immediately. The message ID, destination, composition and attachments remain attached to the same intent. Acceptance records eligibility. Dispatch still requires the owning engine, connectivity and any existing destination prerequisites. This operation and dispatch share the same atomic cutoff as pending edit and cancel, including before provider attachment upload. A stale revision, ineligible state or winning dispatch claim yields state_conflict with currentMessage. Repeating the same key and input returns the original successful result even if dispatch has since started.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/send-now (the `SendScheduledMessageNow` operationId).
func (*ClientWithResponses) SetAccountAvatarWithBodyWithResponse ¶
func (c *ClientWithResponses) SetAccountAvatarWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAccountAvatarResponse, error)
SetAccountAvatarWithBodyWithResponse Change the connected account's profile photo
Publishes a normalized PNG to the selected account's XMPP service. Only a confirmed publication updates the retained photo. The account must be connected to a server that supports avatar publishing.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/avatar (the `SetAccountAvatar` operationId).
func (*ClientWithResponses) SetAccountAvatarWithResponse ¶
func (c *ClientWithResponses) SetAccountAvatarWithResponse(ctx context.Context, accountId AccountID, body SetAccountAvatarJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAccountAvatarResponse, error)
SetAccountAvatarWithResponse Change the connected account's profile photo
Publishes a normalized PNG to the selected account's XMPP service. Only a confirmed publication updates the retained photo. The account must be connected to a server that supports avatar publishing.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/avatar (the `SetAccountAvatar` operationId).
func (*ClientWithResponses) SetAccountCommunicationPreferencesWithBodyWithResponse ¶
func (c *ClientWithResponses) SetAccountCommunicationPreferencesWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAccountCommunicationPreferencesResponse, error)
SetAccountCommunicationPreferencesWithBodyWithResponse Save account presence and communication preferences
The revision is required, including null for preferences that have never been saved.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/communication-preferences (the `SetAccountCommunicationPreferences` operationId).
func (*ClientWithResponses) SetAccountCommunicationPreferencesWithResponse ¶
func (c *ClientWithResponses) SetAccountCommunicationPreferencesWithResponse(ctx context.Context, accountId AccountID, body SetAccountCommunicationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAccountCommunicationPreferencesResponse, error)
SetAccountCommunicationPreferencesWithResponse Save account presence and communication preferences
The revision is required, including null for preferences that have never been saved.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/communication-preferences (the `SetAccountCommunicationPreferences` operationId).
func (*ClientWithResponses) SetAccountLabelWithBodyWithResponse ¶
func (c *ClientWithResponses) SetAccountLabelWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAccountLabelResponse, error)
SetAccountLabelWithBodyWithResponse Change the account name shown in Oiê
Updates the retained name independently of account connectivity. A retry with the current label succeeds without creating a revision. A different label requires the current account revision.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/label (the `SetAccountLabel` operationId).
func (*ClientWithResponses) SetAccountLabelWithResponse ¶
func (c *ClientWithResponses) SetAccountLabelWithResponse(ctx context.Context, accountId AccountID, body SetAccountLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAccountLabelResponse, error)
SetAccountLabelWithResponse Change the account name shown in Oiê
Updates the retained name independently of account connectivity. A retry with the current label succeeds without creating a revision. A different label requires the current account revision.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/label (the `SetAccountLabel` operationId).
func (*ClientWithResponses) SetConversationReadReceiptsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetConversationReadReceiptsWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetConversationReadReceiptsResponse, error)
SetConversationReadReceiptsWithBodyWithResponse Change conversation read receipt settings
Use the revision from the current snapshot. A stale revision yields a conflict.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/read-receipts (the `SetConversationReadReceipts` operationId).
func (*ClientWithResponses) SetConversationReadReceiptsWithResponse ¶
func (c *ClientWithResponses) SetConversationReadReceiptsWithResponse(ctx context.Context, conversationId ConversationID, body SetConversationReadReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetConversationReadReceiptsResponse, error)
SetConversationReadReceiptsWithResponse Change conversation read receipt settings
Use the revision from the current snapshot. A stale revision yields a conflict.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/read-receipts (the `SetConversationReadReceipts` operationId).
func (*ClientWithResponses) SetConversationRetentionWithBodyWithResponse ¶
func (c *ClientWithResponses) SetConversationRetentionWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetConversationRetentionResponse, error)
SetConversationRetentionWithBodyWithResponse Change conversation message retention
Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/retention (the `SetConversationRetention` operationId).
func (*ClientWithResponses) SetConversationRetentionWithResponse ¶
func (c *ClientWithResponses) SetConversationRetentionWithResponse(ctx context.Context, conversationId ConversationID, body SetConversationRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetConversationRetentionResponse, error)
SetConversationRetentionWithResponse Change conversation message retention
Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/retention (the `SetConversationRetention` operationId).
func (*ClientWithResponses) SetConversationTypingWithBodyWithResponse ¶
func (c *ClientWithResponses) SetConversationTypingWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetConversationTypingResponse, error)
SetConversationTypingWithBodyWithResponse Send an expiring typing notification where supported
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/typing (the `SetConversationTyping` operationId).
func (*ClientWithResponses) SetConversationTypingWithResponse ¶
func (c *ClientWithResponses) SetConversationTypingWithResponse(ctx context.Context, conversationId ConversationID, body SetConversationTypingJSONRequestBody, reqEditors ...RequestEditorFn) (*SetConversationTypingResponse, error)
SetConversationTypingWithResponse Send an expiring typing notification where supported
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/typing (the `SetConversationTyping` operationId).
func (*ClientWithResponses) SetDownloadRetentionWithBodyWithResponse ¶
func (c *ClientWithResponses) SetDownloadRetentionWithBodyWithResponse(ctx context.Context, deviceId ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDownloadRetentionResponse, error)
SetDownloadRetentionWithBodyWithResponse Update downloaded-file retention for a device
Applies the selected age to existing and future retained originals for the specified device.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/downloads/{deviceId}/retention (the `SetDownloadRetention` operationId).
func (*ClientWithResponses) SetDownloadRetentionWithResponse ¶
func (c *ClientWithResponses) SetDownloadRetentionWithResponse(ctx context.Context, deviceId ID, body SetDownloadRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDownloadRetentionResponse, error)
SetDownloadRetentionWithResponse Update downloaded-file retention for a device
Applies the selected age to existing and future retained originals for the specified device.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/downloads/{deviceId}/retention (the `SetDownloadRetention` operationId).
func (*ClientWithResponses) SetGlobalReadReceiptsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetGlobalReadReceiptsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGlobalReadReceiptsResponse, error)
SetGlobalReadReceiptsWithBodyWithResponse Change engine-wide read receipt settings
Use the revision from the current snapshot. A stale revision yields a conflict.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/engine/read-receipts (the `SetGlobalReadReceipts` operationId).
func (*ClientWithResponses) SetGlobalReadReceiptsWithResponse ¶
func (c *ClientWithResponses) SetGlobalReadReceiptsWithResponse(ctx context.Context, body SetGlobalReadReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGlobalReadReceiptsResponse, error)
SetGlobalReadReceiptsWithResponse Change engine-wide read receipt settings
Use the revision from the current snapshot. A stale revision yields a conflict.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/engine/read-receipts (the `SetGlobalReadReceipts` operationId).
func (*ClientWithResponses) SetGlobalRetentionWithBodyWithResponse ¶
func (c *ClientWithResponses) SetGlobalRetentionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGlobalRetentionResponse, error)
SetGlobalRetentionWithBodyWithResponse Change engine-wide message retention
Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/engine/retention (the `SetGlobalRetention` operationId).
func (*ClientWithResponses) SetGlobalRetentionWithResponse ¶
func (c *ClientWithResponses) SetGlobalRetentionWithResponse(ctx context.Context, body SetGlobalRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGlobalRetentionResponse, error)
SetGlobalRetentionWithResponse Change engine-wide message retention
Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/engine/retention (the `SetGlobalRetention` operationId).
func (*ClientWithResponses) SetMessageReactionsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetMessageReactionsWithBodyWithResponse(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMessageReactionsResponse, error)
SetMessageReactionsWithBodyWithResponse Accept a durable replacement of the own reaction set
Persists a separate reaction command with an own-actor revision precondition. Empty emojis removes the own set. Other actors do not invalidate this precondition. At most one unresolved command per source is allowed. Submitted means written to the connection; unknown transmission is never blindly retried. Source content, activity, history, unread and original outbox stay unchanged.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/reactions (the `SetMessageReactions` operationId).
func (*ClientWithResponses) SetMessageReactionsWithResponse ¶
func (c *ClientWithResponses) SetMessageReactionsWithResponse(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, body SetMessageReactionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMessageReactionsResponse, error)
SetMessageReactionsWithResponse Accept a durable replacement of the own reaction set
Persists a separate reaction command with an own-actor revision precondition. Empty emojis removes the own set. Other actors do not invalidate this precondition. At most one unresolved command per source is allowed. Submitted means written to the connection; unknown transmission is never blindly retried. Source content, activity, history, unread and original outbox stay unchanged.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/messages/{messageId}/reactions (the `SetMessageReactions` operationId).
func (*ClientWithResponses) SetMessageStarWithBodyWithResponse ¶
func (c *ClientWithResponses) SetMessageStarWithBodyWithResponse(ctx context.Context, messageId MessageID, params *SetMessageStarParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMessageStarResponse, error)
SetMessageStarWithBodyWithResponse Star or unstar a retained source message
Atomically compares the star revision, stores an independent immutable star revision, a durable operation receipt and an event. Does not edit message content, bump chat activity, change read state or send anything to the provider. The precondition is null for unchanged initial state. A stale precondition returns state_conflict with currentStar. Replays return the original receipt snapshot, even if later changes occurred; read current state after an uncertain response. An already matching value records a receipt without a new event.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/messages/{messageId}/star (the `SetMessageStar` operationId).
func (*ClientWithResponses) SetMessageStarWithResponse ¶
func (c *ClientWithResponses) SetMessageStarWithResponse(ctx context.Context, messageId MessageID, params *SetMessageStarParams, body SetMessageStarJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMessageStarResponse, error)
SetMessageStarWithResponse Star or unstar a retained source message
Atomically compares the star revision, stores an independent immutable star revision, a durable operation receipt and an event. Does not edit message content, bump chat activity, change read state or send anything to the provider. The precondition is null for unchanged initial state. A stale precondition returns state_conflict with currentStar. Replays return the original receipt snapshot, even if later changes occurred; read current state after an uncertain response. An already matching value records a receipt without a new event.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/messages/{messageId}/star (the `SetMessageStar` operationId).
func (*ClientWithResponses) SetOmemoDecisionWithBodyWithResponse ¶
func (c *ClientWithResponses) SetOmemoDecisionWithBodyWithResponse(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOmemoDecisionResponse, error)
SetOmemoDecisionWithBodyWithResponse Confirm an OMEMO device or change protection for future messages
Device decisions require an exact public fingerprint. Policy changes apply to future submissions for the selected peer.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/omemo (the `SetOmemoDecision` operationId).
func (*ClientWithResponses) SetOmemoDecisionWithResponse ¶
func (c *ClientWithResponses) SetOmemoDecisionWithResponse(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, body SetOmemoDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOmemoDecisionResponse, error)
SetOmemoDecisionWithResponse Confirm an OMEMO device or change protection for future messages
Device decisions require an exact public fingerprint. Policy changes apply to future submissions for the selected peer.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/accounts/{accountId}/omemo (the `SetOmemoDecision` operationId).
func (*ClientWithResponses) SetRoomArchiveModeWithBodyWithResponse ¶
func (c *ClientWithResponses) SetRoomArchiveModeWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetRoomArchiveModeResponse, error)
SetRoomArchiveModeWithBodyWithResponse Set the room archive recovery mode
Replaces the mode idempotently. Existing messages and progress are retained. Gradual mode resumes eligible automatic recovery.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/archive (the `SetRoomArchiveMode` operationId).
func (*ClientWithResponses) SetRoomArchiveModeWithResponse ¶
func (c *ClientWithResponses) SetRoomArchiveModeWithResponse(ctx context.Context, conversationId ConversationID, body SetRoomArchiveModeJSONRequestBody, reqEditors ...RequestEditorFn) (*SetRoomArchiveModeResponse, error)
SetRoomArchiveModeWithResponse Set the room archive recovery mode
Replaces the mode idempotently. Existing messages and progress are retained. Gradual mode resumes eligible automatic recovery.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/archive (the `SetRoomArchiveMode` operationId).
func (*ClientWithResponses) SetRoomOmemoWithBodyWithResponse ¶
func (c *ClientWithResponses) SetRoomOmemoWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetRoomOmemoResponse, error)
SetRoomOmemoWithBodyWithResponse Change OMEMO for the room
Enable protected sends and encrypted receive and recovery in a confirmed members-only non-anonymous room. Accepted sends keep their selected protection after the setting changes.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/omemo (the `SetRoomOmemo` operationId).
func (*ClientWithResponses) SetRoomOmemoWithResponse ¶
func (c *ClientWithResponses) SetRoomOmemoWithResponse(ctx context.Context, conversationId ConversationID, body SetRoomOmemoJSONRequestBody, reqEditors ...RequestEditorFn) (*SetRoomOmemoResponse, error)
SetRoomOmemoWithResponse Change OMEMO for the room
Enable protected sends and encrypted receive and recovery in a confirmed members-only non-anonymous room. Accepted sends keep their selected protection after the setting changes.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/omemo (the `SetRoomOmemo` operationId).
func (*ClientWithResponses) StageMessageAttachmentWithBodyWithResponse ¶
func (c *ClientWithResponses) StageMessageAttachmentWithBodyWithResponse(ctx context.Context, conversationId ConversationID, attachmentId StagedAttachmentID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StageMessageAttachmentResponse, error)
StageMessageAttachmentWithBodyWithResponse Stage a file for an outgoing message
Store one complete file durably on the owning engine, scoped to this conversation and its account. The client assigns the ID once. A matching repeat with the same file bytes and filename returns the original receipt. Different input for that ID yields idempotency_conflict. An incomplete request leaves no usable attachment. Confirmed local staging performs no provider upload. Send and pending edit accept only available attachments in the same scope. The engine retains accepted references while their send is unresolved, including through restart, rescheduling and Send now.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId} (the `StageMessageAttachment` operationId).
func (*ClientWithResponses) StreamEventsWithResponse ¶
func (c *ClientWithResponses) StreamEventsWithResponse(ctx context.Context, params *StreamEventsParams, reqEditors ...RequestEditorFn) (*StreamEventsResponse, error)
StreamEventsWithResponse Replay durable changes and follow new events
SSE id is engineUUID:sequence; event is the event type; data is Event JSON. Last-Event-ID resumes strictly after its sequence. Without a cursor replay from zero. Cursors from another engine or ahead of current state return 409 before streaming. Heartbeat comments are not durable events. Expired message content is removed from replay. Clients deduplicate by event ID and apply conversation.history_pruned invalidations to retained history and projections.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/events (the `StreamEvents` operationId).
func (*ClientWithResponses) UpdateConversationPreferencesWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateConversationPreferencesWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *UpdateConversationPreferencesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConversationPreferencesResponse, error)
UpdateConversationPreferencesWithBodyWithResponse Change conversation preferences, set read status or accept a message request
Atomically updates only the supplied app-owned flags, records an immutable conversation revision and operation receipt, and emits conversation.updated only for an actual change. No protocol operation is performed. The owning account must match accountId. expectedRevisionId must match the latest conversation revision, including intervening incoming-message or read updates. A matching Idempotency-Key replays its original accepted snapshot before checking current state. Reusing a key with different fields or preconditions conflicts. Setting an already-current value succeeds without another revision or event. Activity order, message timestamps, unread counts and outbox are unchanged by archive or favorite changes. Accepting a direct message request reveals the conversation and restores it from the archive. Setting read to true records read evidence for existing unread messages and clears a manual reminder. Setting it to false adds a reminder without changing message read evidence. Read status can be set only after a conversation request is resolved. Read the conversation after a replay for current state.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/conversations/{conversationId} (the `UpdateConversationPreferences` operationId).
func (*ClientWithResponses) UpdateConversationPreferencesWithResponse ¶
func (c *ClientWithResponses) UpdateConversationPreferencesWithResponse(ctx context.Context, conversationId ConversationID, params *UpdateConversationPreferencesParams, body UpdateConversationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConversationPreferencesResponse, error)
UpdateConversationPreferencesWithResponse Change conversation preferences, set read status or accept a message request
Atomically updates only the supplied app-owned flags, records an immutable conversation revision and operation receipt, and emits conversation.updated only for an actual change. No protocol operation is performed. The owning account must match accountId. expectedRevisionId must match the latest conversation revision, including intervening incoming-message or read updates. A matching Idempotency-Key replays its original accepted snapshot before checking current state. Reusing a key with different fields or preconditions conflicts. Setting an already-current value succeeds without another revision or event. Activity order, message timestamps, unread counts and outbox are unchanged by archive or favorite changes. Accepting a direct message request reveals the conversation and restores it from the archive. Setting read to true records read evidence for existing unread messages and clears a manual reminder. Setting it to false adds a reminder without changing message read evidence. Read status can be set only after a conversation request is resolved. Read the conversation after a replay for current state.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/conversations/{conversationId} (the `UpdateConversationPreferences` operationId).
func (*ClientWithResponses) UpdatePendingMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePendingMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingMessageResponse, error)
UpdatePendingMessageWithBodyWithResponse Edit or reschedule a pending message
Replace the full composition, change the schedule, or do both in one transaction at the owning engine. It must be an own queued, known-unsent message with the expected revision. The message ID, destination and creation time are retained. The engine validates new or changed reply, mentions and attachment references, then commits the updated composition and attachment references together. A schedule-only update preserves the accepted composition. The mutation and the dispatch claim share an atomic cutoff before any external provider attempt for this intent, including attachment upload. Stale revision, ineligible state or a winning dispatch claim yields state_conflict with currentMessage. When the mutation wins, a later claim uses the new revision and eligibility time. Matching idempotent replay returns the original result before evaluating current state, attachment availability or time preconditions.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/messages/{messageId}/pending (the `UpdatePendingMessage` operationId).
func (*ClientWithResponses) UpdatePendingMessageWithResponse ¶
func (c *ClientWithResponses) UpdatePendingMessageWithResponse(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, body UpdatePendingMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingMessageResponse, error)
UpdatePendingMessageWithResponse Edit or reschedule a pending message
Replace the full composition, change the schedule, or do both in one transaction at the owning engine. It must be an own queued, known-unsent message with the expected revision. The message ID, destination and creation time are retained. The engine validates new or changed reply, mentions and attachment references, then commits the updated composition and attachment references together. A schedule-only update preserves the accepted composition. The mutation and the dispatch claim share an atomic cutoff before any external provider attempt for this intent, including attachment upload. Stale revision, ineligible state or a winning dispatch claim yields state_conflict with currentMessage. When the mutation wins, a later claim uses the new revision and eligibility time. Matching idempotent replay returns the original result before evaluating current state, attachment availability or time preconditions.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/messages/{messageId}/pending (the `UpdatePendingMessage` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListAccountsWithResponse List registered account metadata
//
// Stable UUID-ordered keyset pagination; registration does not establish an XMPP session.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts (the `ListAccounts` operationId).
ListAccountsWithResponse(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)
// RegisterAccountWithBodyWithResponse Register protocol account metadata
//
// Atomically stores an account, initial immutable revision, operation receipt,
// and account.registered event. Repeating a key with the same normalized input
// returns the original result unless the account was removed. Reusing it with different input conflicts.
// No credentials are accepted, and no protocol session is opened.
// New XMPP registrations use the compiled-in adapter to normalize bare JIDs before matching. Existing foundation metadata is retained without rewriting identities.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/accounts (the `RegisterAccount` operationId).
RegisterAccountWithBodyWithResponse(ctx context.Context, params *RegisterAccountParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterAccountResponse, error)
// RegisterAccountWithResponse Register protocol account metadata
//
// Atomically stores an account, initial immutable revision, operation receipt,
// and account.registered event. Repeating a key with the same normalized input
// returns the original result unless the account was removed. Reusing it with different input conflicts.
// No credentials are accepted, and no protocol session is opened.
// New XMPP registrations use the compiled-in adapter to normalize bare JIDs before matching. Existing foundation metadata is retained without rewriting identities.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/accounts (the `RegisterAccount` operationId).
RegisterAccountWithResponse(ctx context.Context, params *RegisterAccountParams, body RegisterAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterAccountResponse, error)
// GetAccountUnreadTotalsWithResponse Get unread message totals by account
//
// Counts unread messages in active and archived chats. Removed chats and manual unread reminders contribute nothing. Accounts with zero unread messages are omitted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/unread-totals (the `GetAccountUnreadTotals` operationId).
GetAccountUnreadTotalsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountUnreadTotalsResponse, error)
// RemoveAccountWithResponse Remove an account from Oiê
//
// Disconnects this account, forgets its saved credentials, and removes its conversations, retained history and pending sends from this engine. The provider account and its server history are unaffected. Repeating the request for the same UUID is safe.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/accounts/{accountId} (the `RemoveAccount` operationId).
RemoveAccountWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*RemoveAccountResponse, error)
// GetAccountWithResponse Read an account
//
// Returns the retained account and its current revision.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId} (the `GetAccount` operationId).
GetAccountWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
// SetAccountAvatarWithBodyWithResponse Change the connected account's profile photo
//
// Publishes a normalized PNG to the selected account's XMPP service. Only a confirmed publication updates the retained photo. The account must be connected to a server that supports avatar publishing.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/avatar (the `SetAccountAvatar` operationId).
SetAccountAvatarWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAccountAvatarResponse, error)
// SetAccountAvatarWithResponse Change the connected account's profile photo
//
// Publishes a normalized PNG to the selected account's XMPP service. Only a confirmed publication updates the retained photo. The account must be connected to a server that supports avatar publishing.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/avatar (the `SetAccountAvatar` operationId).
SetAccountAvatarWithResponse(ctx context.Context, accountId AccountID, body SetAccountAvatarJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAccountAvatarResponse, error)
// ListAccountAvatarsWithResponse Read retained profile image metadata
//
// Account-scoped user and conversation profile images retrieved through the protocol. Initials remain the fallback for absent or inaccessible images. Image bytes live outside SQLite and contain only normalized PNG thumbnails.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId}/avatars (the `ListAccountAvatars` operationId).
ListAccountAvatarsWithResponse(ctx context.Context, accountId AccountID, params *ListAccountAvatarsParams, reqEditors ...RequestEditorFn) (*ListAccountAvatarsResponse, error)
// GetAccountCapabilitiesWithResponse Read account capability evidence
//
// Read application implementation, protocol support and cached server discovery evidence separately. This query never contacts the protocol server. Evidence is scoped, bounded and cleared when a connection ends. An absent advertisement does not prove that a client-level feature is unsupported. Discovery runs once per connection; room evidence is also collected during history recovery.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId}/capabilities (the `GetAccountCapabilities` operationId).
GetAccountCapabilitiesWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountCapabilitiesResponse, error)
// GetAccountCommunicationPreferencesWithResponse Read account presence and communication preferences
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId}/communication-preferences (the `GetAccountCommunicationPreferences` operationId).
GetAccountCommunicationPreferencesWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountCommunicationPreferencesResponse, error)
// SetAccountCommunicationPreferencesWithBodyWithResponse Save account presence and communication preferences
//
// The revision is required, including null for preferences that have never been saved.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/communication-preferences (the `SetAccountCommunicationPreferences` operationId).
SetAccountCommunicationPreferencesWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAccountCommunicationPreferencesResponse, error)
// SetAccountCommunicationPreferencesWithResponse Save account presence and communication preferences
//
// The revision is required, including null for preferences that have never been saved.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/communication-preferences (the `SetAccountCommunicationPreferences` operationId).
SetAccountCommunicationPreferencesWithResponse(ctx context.Context, accountId AccountID, body SetAccountCommunicationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAccountCommunicationPreferencesResponse, error)
// DisconnectAccountWithResponse Disconnect and disable automatic connection
//
// Keeps protocol credentials local for a later explicit configuration; does not delete account history or pending sends. Repeating disconnect is safe.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/accounts/{accountId}/connection (the `DisconnectAccount` operationId).
DisconnectAccountWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*DisconnectAccountResponse, error)
// GetAccountConnectionWithResponse Read account connection state
//
// State is runtime evidence, distinct from saved account metadata.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId}/connection (the `GetAccountConnection` operationId).
GetAccountConnectionWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountConnectionResponse, error)
// ConfigureAccountConnectionWithBodyWithResponse Configure and connect an account
//
// Persists write-only credentials before starting an asynchronous TLS/SASL connection. Transient network or authentication service failures reconnect with bounded backoff. A stopped connection can be retried with the same settings once the underlying problem is resolved. An unchanged configuration leaves a running connection or retry loop in place. Ordinary engine restart reloads enabled configurations.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/connection (the `ConfigureAccountConnection` operationId).
ConfigureAccountConnectionWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfigureAccountConnectionResponse, error)
// ConfigureAccountConnectionWithResponse Configure and connect an account
//
// Persists write-only credentials before starting an asynchronous TLS/SASL connection. Transient network or authentication service failures reconnect with bounded backoff. A stopped connection can be retried with the same settings once the underlying problem is resolved. An unchanged configuration leaves a running connection or retry loop in place. Ordinary engine restart reloads enabled configurations.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/connection (the `ConfigureAccountConnection` operationId).
ConfigureAccountConnectionWithResponse(ctx context.Context, accountId AccountID, body ConfigureAccountConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfigureAccountConnectionResponse, error)
// ChangeProtocolContactWithBodyWithResponse Manage an account's protocol contacts
//
// Add or remove one roster address or answer one pending presence subscription. Adding an existing or removing an absent address succeeds without a roster write. A contact request can only be answered while it is pending in the active session. Removing a roster entry preserves conversation history.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/accounts/{accountId}/contact-actions (the `ChangeProtocolContact` operationId).
ChangeProtocolContactWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangeProtocolContactResponse, error)
// ChangeProtocolContactWithResponse Manage an account's protocol contacts
//
// Add or remove one roster address or answer one pending presence subscription. Adding an existing or removing an absent address succeeds without a roster write. A contact request can only be answered while it is pending in the active session. Removing a roster entry preserves conversation history.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/accounts/{accountId}/contact-actions (the `ChangeProtocolContact` operationId).
ChangeProtocolContactWithResponse(ctx context.Context, accountId AccountID, body ChangeProtocolContactJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangeProtocolContactResponse, error)
// ListContactRequestsWithResponse List pending contact requests for an account
//
// Returns requests observed by the active session. Returns unavailable while the account is disconnected.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId}/contact-requests (the `ListContactRequests` operationId).
ListContactRequestsWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*ListContactRequestsResponse, error)
// GetAccountHistoryWithResponse Read account history recovery progress
//
// Recovery starts on protocol connection. Saved room entries and authorized text archives are read serially, with persistent checkpoints and deduplication. Historical imports do not create sends or unread counts. Complete means the last authorized text recovery pass finished; it is not a full protocol-feature claim. Saved rooms are read-only in this increment. Provider permission failures remain partial coverage.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId}/history (the `GetAccountHistory` operationId).
GetAccountHistoryWithResponse(ctx context.Context, accountId AccountID, reqEditors ...RequestEditorFn) (*GetAccountHistoryResponse, error)
// SetAccountLabelWithBodyWithResponse Change the account name shown in Oiê
//
// Updates the retained name independently of account connectivity. A retry with the current label succeeds without creating a revision. A different label requires the current account revision.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/label (the `SetAccountLabel` operationId).
SetAccountLabelWithBodyWithResponse(ctx context.Context, accountId AccountID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAccountLabelResponse, error)
// SetAccountLabelWithResponse Change the account name shown in Oiê
//
// Updates the retained name independently of account connectivity. A retry with the current label succeeds without creating a revision. A different label requires the current account revision.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/label (the `SetAccountLabel` operationId).
SetAccountLabelWithResponse(ctx context.Context, accountId AccountID, body SetAccountLabelJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAccountLabelResponse, error)
// GetOmemoDevicesWithResponse Inspect public OMEMO fingerprints
//
// Returns the current policy, this endpoint and known devices belonging to the selected owner.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId}/omemo (the `GetOmemoDevices` operationId).
GetOmemoDevicesWithResponse(ctx context.Context, accountId AccountID, params *GetOmemoDevicesParams, reqEditors ...RequestEditorFn) (*GetOmemoDevicesResponse, error)
// SetOmemoDecisionWithBodyWithResponse Confirm an OMEMO device or change protection for future messages
//
// Device decisions require an exact public fingerprint. Policy changes apply to future submissions for the selected peer.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/omemo (the `SetOmemoDecision` operationId).
SetOmemoDecisionWithBodyWithResponse(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOmemoDecisionResponse, error)
// SetOmemoDecisionWithResponse Confirm an OMEMO device or change protection for future messages
//
// Device decisions require an exact public fingerprint. Policy changes apply to future submissions for the selected peer.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/accounts/{accountId}/omemo (the `SetOmemoDecision` operationId).
SetOmemoDecisionWithResponse(ctx context.Context, accountId AccountID, params *SetOmemoDecisionParams, body SetOmemoDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOmemoDecisionResponse, error)
// PreviewRoomWithResponse Read a room preview using the selected account
//
// Reads published room information and an available vCard from the bare room address. Does not save the conversation or enter the room.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId}/room-preview (the `PreviewRoom` operationId).
PreviewRoomWithResponse(ctx context.Context, accountId AccountID, params *PreviewRoomParams, reqEditors ...RequestEditorFn) (*PreviewRoomResponse, error)
// DiscoverRoomsWithResponse List public rooms published by the account's room services
//
// Reads a bounded page from the selected XMPP service or from services advertised by the account server. This does not save or enter rooms.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/accounts/{accountId}/rooms (the `DiscoverRooms` operationId).
DiscoverRoomsWithResponse(ctx context.Context, accountId AccountID, params *DiscoverRoomsParams, reqEditors ...RequestEditorFn) (*DiscoverRoomsResponse, error)
// OpenRoomWithBodyWithResponse Open and request entry to an XMPP room
//
// Atomically saves the room and its entry intent. Creation requires a verified XMPP room service and an unused room address before saving. Creation is confirmed separately through the room session. Repeating the same key cannot reactivate a later leave. Creation uses the service defaults with persistence enabled and an optional room name.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/accounts/{accountId}/rooms (the `OpenRoom` operationId).
OpenRoomWithBodyWithResponse(ctx context.Context, accountId AccountID, params *OpenRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OpenRoomResponse, error)
// OpenRoomWithResponse Open and request entry to an XMPP room
//
// Atomically saves the room and its entry intent. Creation requires a verified XMPP room service and an unused room address before saving. Creation is confirmed separately through the room session. Repeating the same key cannot reactivate a later leave. Creation uses the service defaults with persistence enabled and an optional room name.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/accounts/{accountId}/rooms (the `OpenRoom` operationId).
OpenRoomWithResponse(ctx context.Context, accountId AccountID, params *OpenRoomParams, body OpenRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*OpenRoomResponse, error)
// GetAvatarImageWithResponse Read a cached profile thumbnail
//
// Returns only a locally retained, decoded and normalized image; never redirects to provider URLs. Hash-addressed images can be cached privately and immutably.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/avatars/{hash} (the `GetAvatarImage` operationId).
GetAvatarImageWithResponse(ctx context.Context, hash string, params *GetAvatarImageParams, reqEditors ...RequestEditorFn) (*GetAvatarImageResponse, error)
// ListContactsWithResponse Search saved protocol contacts
//
// Read the retained per-account contact directory without fetching a roster, changing subscriptions, adding contacts or opening conversations. Unknown and unavailable sources are distinct from an observed empty roster. Cached contacts remain searchable while disconnected. Results are ordered by stable contact UUID and filtered before pagination.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/contacts (the `ListContacts` operationId).
ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)
// ListConversationsWithResponse List retained conversations
//
// Keyset pages ordered by descending engine activity. Search matches conversation address/title and latest text preview; this is not full message search.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations (the `ListConversations` operationId).
ListConversationsWithResponse(ctx context.Context, params *ListConversationsParams, reqEditors ...RequestEditorFn) (*ListConversationsResponse, error)
// OpenConversationWithBodyWithResponse Open a direct conversation
//
// Finds an existing conversation for the canonical account/peer or creates one. Durable operation keys retain original results. Opening a removed direct conversation adds it back to chat lists. Does not add a contact or send presence subscriptions.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations (the `OpenConversation` operationId).
OpenConversationWithBodyWithResponse(ctx context.Context, params *OpenConversationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OpenConversationResponse, error)
// OpenConversationWithResponse Open a direct conversation
//
// Finds an existing conversation for the canonical account/peer or creates one. Durable operation keys retain original results. Opening a removed direct conversation adds it back to chat lists. Does not add a contact or send presence subscriptions.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations (the `OpenConversation` operationId).
OpenConversationWithResponse(ctx context.Context, params *OpenConversationParams, body OpenConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*OpenConversationResponse, error)
// GetConversationWithResponse Read a conversation
//
// Returns the current conversation projection.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId} (the `GetConversation` operationId).
GetConversationWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationResponse, error)
// UpdateConversationPreferencesWithBodyWithResponse Change conversation preferences, set read status or accept a message request
//
// Atomically updates only the supplied app-owned flags, records an immutable conversation revision and operation receipt, and emits conversation.updated only for an actual change. No protocol operation is performed. The owning account must match accountId. expectedRevisionId must match the latest conversation revision, including intervening incoming-message or read updates. A matching Idempotency-Key replays its original accepted snapshot before checking current state. Reusing a key with different fields or preconditions conflicts. Setting an already-current value succeeds without another revision or event. Activity order, message timestamps, unread counts and outbox are unchanged by archive or favorite changes. Accepting a direct message request reveals the conversation and restores it from the archive. Setting read to true records read evidence for existing unread messages and clears a manual reminder. Setting it to false adds a reminder without changing message read evidence. Read status can be set only after a conversation request is resolved. Read the conversation after a replay for current state.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/conversations/{conversationId} (the `UpdateConversationPreferences` operationId).
UpdateConversationPreferencesWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *UpdateConversationPreferencesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConversationPreferencesResponse, error)
// UpdateConversationPreferencesWithResponse Change conversation preferences, set read status or accept a message request
//
// Atomically updates only the supplied app-owned flags, records an immutable conversation revision and operation receipt, and emits conversation.updated only for an actual change. No protocol operation is performed. The owning account must match accountId. expectedRevisionId must match the latest conversation revision, including intervening incoming-message or read updates. A matching Idempotency-Key replays its original accepted snapshot before checking current state. Reusing a key with different fields or preconditions conflicts. Setting an already-current value succeeds without another revision or event. Activity order, message timestamps, unread counts and outbox are unchanged by archive or favorite changes. Accepting a direct message request reveals the conversation and restores it from the archive. Setting read to true records read evidence for existing unread messages and clears a manual reminder. Setting it to false adds a reminder without changing message read evidence. Read status can be set only after a conversation request is resolved. Read the conversation after a replay for current state.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/conversations/{conversationId} (the `UpdateConversationPreferences` operationId).
UpdateConversationPreferencesWithResponse(ctx context.Context, conversationId ConversationID, params *UpdateConversationPreferencesParams, body UpdateConversationPreferencesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConversationPreferencesResponse, error)
// GetRoomArchiveWithResponse Read room archive recovery settings and progress
//
// Reads retained state for the room without sending a protocol request.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/archive (the `GetRoomArchive` operationId).
GetRoomArchiveWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetRoomArchiveResponse, error)
// SetRoomArchiveModeWithBodyWithResponse Set the room archive recovery mode
//
// Replaces the mode idempotently. Existing messages and progress are retained. Gradual mode resumes eligible automatic recovery.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/archive (the `SetRoomArchiveMode` operationId).
SetRoomArchiveModeWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetRoomArchiveModeResponse, error)
// SetRoomArchiveModeWithResponse Set the room archive recovery mode
//
// Replaces the mode idempotently. Existing messages and progress are retained. Gradual mode resumes eligible automatic recovery.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/archive (the `SetRoomArchiveMode` operationId).
SetRoomArchiveModeWithResponse(ctx context.Context, conversationId ConversationID, body SetRoomArchiveModeJSONRequestBody, reqEditors ...RequestEditorFn) (*SetRoomArchiveModeResponse, error)
// RequestRoomArchiveWithBodyWithResponse Request a bounded room archive read
//
// Request the next initial page (focus), an older page (older), context around a retained message (context), or a text search page (search). Search requires a query and accepts an optional cursor from the same room and query. Context requires messageId. Older accepts a retained messageId as a boundary. The owning account and room determine the archive. Successful imports are retained with historical semantics. Search and context do not advance background recovery checkpoints. Results are bounded. A capability failure does not affect local reads.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/archive/requests (the `RequestRoomArchive` operationId).
RequestRoomArchiveWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestRoomArchiveResponse, error)
// RequestRoomArchiveWithResponse Request a bounded room archive read
//
// Request the next initial page (focus), an older page (older), context around a retained message (context), or a text search page (search). Search requires a query and accepts an optional cursor from the same room and query. Context requires messageId. Older accepts a retained messageId as a boundary. The owning account and room determine the archive. Successful imports are retained with historical semantics. Search and context do not advance background recovery checkpoints. Results are bounded. A capability failure does not affect local reads.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/archive/requests (the `RequestRoomArchive` operationId).
RequestRoomArchiveWithResponse(ctx context.Context, conversationId ConversationID, body RequestRoomArchiveJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestRoomArchiveResponse, error)
// GetConversationDetailsWithResponse Read scoped conversation details
//
// Read the current account connection and session-local conversation metadata. Returns immediately; a connected adapter may schedule a deduplicated, serialized discovery refresh no more often than once per sixty seconds. This never joins a room, requests a subscription, probes a peer or sends a message. Occupant discovery is a bounded snapshot, never a complete member roster. Missing presence remains unknown. Disconnect clears observations.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/details (the `GetConversationDetails` operationId).
GetConversationDetailsWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationDetailsResponse, error)
// GetConversationEditTargetWithResponse Inspect the latest own retained message for keyboard editing
//
// Uses a durable transmission ordinal for original sends by this engine, independently of device clocks and the visible timeline page. Returns the latest own original transmission candidate even when it is ineligible; never silently skips it to edit an older one. Queued or cancelled originals which never reached dispatch, imported own messages and correction commands do not establish this order. Returns 404 when there is no retained engine transmission. Read-only and does not mark messages read or fetch provider history.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/edit-target (the `GetConversationEditTarget` operationId).
GetConversationEditTargetWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationEditTargetResponse, error)
// GetMentionCandidatesWithResponse Read observed room mention candidates
//
// Read a bounded, account-scoped snapshot of visible room occupants. This never joins a room or discovers hidden personal identities. Candidates supply exact readable insertion text. Structured references are available only when the protocol adapter has a valid disclosed target; otherwise sending preserves the same readable text without protocol metadata.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/mention-candidates (the `GetMentionCandidates` operationId).
GetMentionCandidatesWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetMentionCandidatesResponse, error)
// ListConversationMessageStarsWithResponse Read star states for displayed messages
//
// Reads up to 100 distinct source message states without creating rows. Every message must belong to the requested conversation; foreign or missing message IDs reject the whole request. Item order is unspecified.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/message-stars (the `ListConversationMessageStars` operationId).
ListConversationMessageStarsWithResponse(ctx context.Context, conversationId ConversationID, params *ListConversationMessageStarsParams, reqEditors ...RequestEditorFn) (*ListConversationMessageStarsResponse, error)
// ListMessagesWithResponse Read retained messages
//
// Returns a bounded page of retained messages newest-first by timelineAt when present and createdAt otherwise, at UTC millisecond precision with a UUID tie-break. Includes serially recovered archive messages. Pending scheduled messages are omitted until release. The default direction is older; without a cursor it reads the latest page. Newer requires a cursor and reads the nearest messages after that retained conversation-scoped anchor, without skipping to the latest page. Both directions return newest-first. nextCursor continues in the requested direction. Reads never fetch provider history or mark messages as read.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/messages (the `ListMessages` operationId).
ListMessagesWithResponse(ctx context.Context, conversationId ConversationID, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*ListMessagesResponse, error)
// SendMessageWithBodyWithResponse Accept an immediate or scheduled message
//
// Atomically commits one logical message, operation receipt and outbox intent for the complete composition, including the ordered references to staged attachments. The engine checks the destination, reply, mentions, attachment scope and effective send capabilities before acceptance. Invalid or unavailable attachments reject the whole composition. Attachment bytes are staged locally and any provider upload belongs to dispatch. Room dispatch waits for confirmed membership under an active explicit join intent.
// A new submission conflicts with a conversation removed from chat lists. Matching accepted submissions still replay.
// Omitting scheduledAt makes the intent immediately eligible. A future schedule never blocks another eligible send. A missed schedule dispatches when the owning engine and destination become available again. Optional expectedReplyRevisionId and expectedReplyExcerptSha256 bind a new scheduled reply to the reviewed source and excerpt. A changed source rejects acceptance with state_conflict and replySourceChanged set to true. Idempotency includes the complete composition, normalized instant and any reply preconditions. A matching replay returns the original acceptance snapshot even after the scheduled time passes, attachment availability changes or the source is corrected. Different input with the same key yields idempotency_conflict. Read the message for current state. Ambiguous transmission remains unknown.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/messages (the `SendMessage` operationId).
SendMessageWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *SendMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendMessageResponse, error)
// SendMessageWithResponse Accept an immediate or scheduled message
//
// Atomically commits one logical message, operation receipt and outbox intent for the complete composition, including the ordered references to staged attachments. The engine checks the destination, reply, mentions, attachment scope and effective send capabilities before acceptance. Invalid or unavailable attachments reject the whole composition. Attachment bytes are staged locally and any provider upload belongs to dispatch. Room dispatch waits for confirmed membership under an active explicit join intent.
// A new submission conflicts with a conversation removed from chat lists. Matching accepted submissions still replay.
// Omitting scheduledAt makes the intent immediately eligible. A future schedule never blocks another eligible send. A missed schedule dispatches when the owning engine and destination become available again. Optional expectedReplyRevisionId and expectedReplyExcerptSha256 bind a new scheduled reply to the reviewed source and excerpt. A changed source rejects acceptance with state_conflict and replySourceChanged set to true. Idempotency includes the complete composition, normalized instant and any reply preconditions. A matching replay returns the original acceptance snapshot even after the scheduled time passes, attachment availability changes or the source is corrected. Different input with the same key yields idempotency_conflict. Read the message for current state. Ambiguous transmission remains unknown.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/messages (the `SendMessage` operationId).
SendMessageWithResponse(ctx context.Context, conversationId ConversationID, params *SendMessageParams, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendMessageResponse, error)
// GetMessageContextWithResponse Read a bounded timeline around a retained message
//
// Reads the target and nearest visible retained neighbors from the same conversation, newest first by timelineAt or createdAt at UTC millisecond precision and UUID tie-break. Includes the target even with limit 1. Only local retained data is read; no provider archive queries or read receipts are triggered. Foreign or unavailable source messages return not_found, including unreleased schedules and scheduled sends cancelled before dispatch. Clients should offer return to latest when hasNewer is true. A retained correction-source alias resolves to the original logical targetId with requestedTargetId identifying the requested alias. All returned items remain scoped to this conversation.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/messages/{messageId}/context (the `GetMessageContext` operationId).
GetMessageContextWithResponse(ctx context.Context, conversationId ConversationID, messageId MessageID, params *GetMessageContextParams, reqEditors ...RequestEditorFn) (*GetMessageContextResponse, error)
// GetMessageSourceContextWithResponse Read the conversation and presentation data for a retained message jump
//
// Returns the engine identity, owning conversation and a window of up to 16 visible messages around the source. Optional fields are scoped to that conversation and window. Missing optional fields represent unavailable data. Preview reads can register local preview metadata as on the corresponding preview endpoints. This operation does not fetch provider history or mark messages read.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/messages/{messageId}/source-context (the `GetMessageSourceContext` operationId).
GetMessageSourceContextWithResponse(ctx context.Context, conversationId ConversationID, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageSourceContextResponse, error)
// GetRoomOmemoWithResponse Review encryption for a private room
//
// Lists the current eligible room members when their affiliations are available to the connected account.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/omemo (the `GetRoomOmemo` operationId).
GetRoomOmemoWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetRoomOmemoResponse, error)
// SetRoomOmemoWithBodyWithResponse Change OMEMO for the room
//
// Enable protected sends and encrypted receive and recovery in a confirmed members-only non-anonymous room. Accepted sends keep their selected protection after the setting changes.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/omemo (the `SetRoomOmemo` operationId).
SetRoomOmemoWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetRoomOmemoResponse, error)
// SetRoomOmemoWithResponse Change OMEMO for the room
//
// Enable protected sends and encrypted receive and recovery in a confirmed members-only non-anonymous room. Accepted sends keep their selected protection after the setting changes.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/omemo (the `SetRoomOmemo` operationId).
SetRoomOmemoWithResponse(ctx context.Context, conversationId ConversationID, body SetRoomOmemoJSONRequestBody, reqEditors ...RequestEditorFn) (*SetRoomOmemoResponse, error)
// ListConversationPreviewsWithResponse Read cached message link and image previews
//
// Returns at most three URL previews per retained message. Without messageId, uses the latest fifty messages. Cache misses queue bounded background page metadata enrichment. Original images are fetched only by the explicit download operation. Message text and revisions are unchanged.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/previews (the `ListConversationPreviews` operationId).
ListConversationPreviewsWithResponse(ctx context.Context, conversationId ID, params *ListConversationPreviewsParams, reqEditors ...RequestEditorFn) (*ListConversationPreviewsResponse, error)
// ListConversationReactionsWithResponse Read bounded reactions for the mounted conversation messages
//
// All requested retained messages must belong to this conversation. Canonicalizes aliases and returns each canonical source once. Does not retrieve history or change read state.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/reactions (the `ListConversationReactions` operationId).
ListConversationReactionsWithResponse(ctx context.Context, conversationId ConversationID, params *ListConversationReactionsParams, reqEditors ...RequestEditorFn) (*ListConversationReactionsResponse, error)
// GetConversationReadReceiptsWithResponse Read conversation read receipt settings
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/read-receipts (the `GetConversationReadReceipts` operationId).
GetConversationReadReceiptsWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationReadReceiptsResponse, error)
// SetConversationReadReceiptsWithBodyWithResponse Change conversation read receipt settings
//
// Use the revision from the current snapshot. A stale revision yields a conflict.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/read-receipts (the `SetConversationReadReceipts` operationId).
SetConversationReadReceiptsWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetConversationReadReceiptsResponse, error)
// SetConversationReadReceiptsWithResponse Change conversation read receipt settings
//
// Use the revision from the current snapshot. A stale revision yields a conflict.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/read-receipts (the `SetConversationReadReceipts` operationId).
SetConversationReadReceiptsWithResponse(ctx context.Context, conversationId ConversationID, body SetConversationReadReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetConversationReadReceiptsResponse, error)
// GetConversationReadStateWithResponse Read retained conversation read state
//
// Reads app-owned read state without changing messages or sending provider receipts.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/read-state (the `GetConversationReadState` operationId).
GetConversationReadStateWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationReadStateResponse, error)
// MarkConversationMessagesReadWithBodyWithResponse Mark incoming messages read
//
// Atomically merges the listed retained message identities into app-owned read state. Other messages, including later arrivals, remain unread. Lists are bounded and must belong to this conversation. Own and historical messages are ignored. Repeated batches are safe; retries with the same key return the original committed snapshot. Read revisions and operation receipts are durable. Reading does not bump conversation activity, edit content or send protocol receipts. This alpha operation records local engine read evidence; receipt emission and independent-engine synchronization remain deferred. With If-Match, the single message ID must be the latest retained timeline message in the specified conversation revision. The operation then marks all unread messages in that snapshot read.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/read-state (the `MarkConversationMessagesRead` operationId).
MarkConversationMessagesReadWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *MarkConversationMessagesReadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkConversationMessagesReadResponse, error)
// MarkConversationMessagesReadWithResponse Mark incoming messages read
//
// Atomically merges the listed retained message identities into app-owned read state. Other messages, including later arrivals, remain unread. Lists are bounded and must belong to this conversation. Own and historical messages are ignored. Repeated batches are safe; retries with the same key return the original committed snapshot. Read revisions and operation receipts are durable. Reading does not bump conversation activity, edit content or send protocol receipts. This alpha operation records local engine read evidence; receipt emission and independent-engine synchronization remain deferred. With If-Match, the single message ID must be the latest retained timeline message in the specified conversation revision. The operation then marks all unread messages in that snapshot read.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/read-state (the `MarkConversationMessagesRead` operationId).
MarkConversationMessagesReadWithResponse(ctx context.Context, conversationId ConversationID, params *MarkConversationMessagesReadParams, body MarkConversationMessagesReadJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkConversationMessagesReadResponse, error)
// RemoveDirectFromChatsWithBodyWithResponse Remove a direct conversation from Oiê's chat lists
//
// Removes the direct conversation from the active and archived lists and retains stored history. Opening it by address or receiving a new live message adds it back.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/remove-direct (the `RemoveDirectFromChats` operationId).
RemoveDirectFromChatsWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *RemoveDirectFromChatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveDirectFromChatsResponse, error)
// RemoveDirectFromChatsWithResponse Remove a direct conversation from Oiê's chat lists
//
// Removes the direct conversation from the active and archived lists and retains stored history. Opening it by address or receiving a new live message adds it back.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/remove-direct (the `RemoveDirectFromChats` operationId).
RemoveDirectFromChatsWithResponse(ctx context.Context, conversationId ConversationID, params *RemoveDirectFromChatsParams, body RemoveDirectFromChatsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveDirectFromChatsResponse, error)
// RemoveRoomFromChatsWithBodyWithResponse Remove a saved room from Oiê's chat lists
//
// Removes the room from the active and archived lists and stops automatic rejoin. Retains stored history and never destroys the room on the XMPP server. Opening the room by address adds it back.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/remove-room (the `RemoveRoomFromChats` operationId).
RemoveRoomFromChatsWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *RemoveRoomFromChatsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveRoomFromChatsResponse, error)
// RemoveRoomFromChatsWithResponse Remove a saved room from Oiê's chat lists
//
// Removes the room from the active and archived lists and stops automatic rejoin. Retains stored history and never destroys the room on the XMPP server. Opening the room by address adds it back.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/remove-room (the `RemoveRoomFromChats` operationId).
RemoveRoomFromChatsWithResponse(ctx context.Context, conversationId ConversationID, params *RemoveRoomFromChatsParams, body RemoveRoomFromChatsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveRoomFromChatsResponse, error)
// GetConversationRetentionWithResponse Read conversation message retention
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/retention (the `GetConversationRetention` operationId).
GetConversationRetentionWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationRetentionResponse, error)
// SetConversationRetentionWithBodyWithResponse Change conversation message retention
//
// Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/retention (the `SetConversationRetention` operationId).
SetConversationRetentionWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetConversationRetentionResponse, error)
// SetConversationRetentionWithResponse Change conversation message retention
//
// Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/retention (the `SetConversationRetention` operationId).
SetConversationRetentionWithResponse(ctx context.Context, conversationId ConversationID, body SetConversationRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetConversationRetentionResponse, error)
// GetRoomManagementWithResponse Read available room management actions
//
// Returns the current room session's permissions and visible occupants. Reading does not join the room. An optional affiliation filter reads the authorized provider list for that affiliation.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/room-management (the `GetRoomManagement` operationId).
GetRoomManagementWithResponse(ctx context.Context, conversationId ConversationID, params *GetRoomManagementParams, reqEditors ...RequestEditorFn) (*GetRoomManagementResponse, error)
// ManageRoomWithBodyWithResponse Apply a room management action
//
// Rechecks the active room session, permissions and target before sending. Confirmed destruction removes the room from the requesting account’s chat lists and retains stored history. Repeat an uncertain request with the same key to read its outcome without sending it again.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-management (the `ManageRoom` operationId).
ManageRoomWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManageRoomResponse, error)
// ManageRoomWithResponse Apply a room management action
//
// Rechecks the active room session, permissions and target before sending. Confirmed destruction removes the room from the requesting account’s chat lists and retains stored history. Repeat an uncertain request with the same key to read its outcome without sending it again.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-management (the `ManageRoom` operationId).
ManageRoomWithResponse(ctx context.Context, conversationId ConversationID, params *ManageRoomParams, body ManageRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*ManageRoomResponse, error)
// GetRoomParticipantsWithResponse Read current room participants
//
// Returns participants observed by the joined account in its current room session. The read does not join the room or query its public directory.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/room-participants (the `GetRoomParticipants` operationId).
GetRoomParticipantsWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetRoomParticipantsResponse, error)
// GetRoomSessionWithResponse Read this engine's room session and durable join intent
//
// Reads local state without joining. Active denotes a durable intent to rejoin, not observed membership. A joined state requires confirmed self-presence. Missing room intent has no intent identifiers.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/room-session (the `GetRoomSession` operationId).
GetRoomSessionWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetRoomSessionResponse, error)
// JoinRoomWithBodyWithResponse Explicitly request entry and reconnect recovery for a saved room
//
// Durably records the owning engine's join intent before protocol work. A room password may be supplied for initial entry or rejoin. Repeated operation keys do not repeat an established command; changed payloads or stale intent revisions conflict. Reads and reply preparation never join. Protocol confirmation is observed through getRoomSession.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-session (the `JoinRoom` operationId).
JoinRoomWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JoinRoomResponse, error)
// JoinRoomWithResponse Explicitly request entry and reconnect recovery for a saved room
//
// Durably records the owning engine's join intent before protocol work. A room password may be supplied for initial entry or rejoin. Repeated operation keys do not repeat an established command; changed payloads or stale intent revisions conflict. Reads and reply preparation never join. Protocol confirmation is observed through getRoomSession.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-session (the `JoinRoom` operationId).
JoinRoomWithResponse(ctx context.Context, conversationId ConversationID, params *JoinRoomParams, body JoinRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*JoinRoomResponse, error)
// LeaveRoomWithBodyWithResponse Leave a room and stop this engine's automatic rejoin
//
// Durably records an explicit leave before sending unavailable presence. Saved history and queued messages are retained. Queued room work cannot dispatch while the intent is inactive. An old operation replay never reactivates a later leave or revoked intent.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-session/leave (the `LeaveRoom` operationId).
LeaveRoomWithBodyWithResponse(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LeaveRoomResponse, error)
// LeaveRoomWithResponse Leave a room and stop this engine's automatic rejoin
//
// Durably records an explicit leave before sending unavailable presence. Saved history and queued messages are retained. Queued room work cannot dispatch while the intent is inactive. An old operation replay never reactivates a later leave or revoked intent.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/conversations/{conversationId}/room-session/leave (the `LeaveRoom` operationId).
LeaveRoomWithResponse(ctx context.Context, conversationId ConversationID, params *LeaveRoomParams, body LeaveRoomJSONRequestBody, reqEditors ...RequestEditorFn) (*LeaveRoomResponse, error)
// GetStagedMessageAttachmentWithResponse Read retained bytes of an outgoing attachment
//
// Reads local bytes in this conversation and account scope, for example when reopening an existing scheduled composition. Returns 404 when bytes are unavailable or the attachment is outside this scope.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId} (the `GetStagedMessageAttachment` operationId).
GetStagedMessageAttachmentWithResponse(ctx context.Context, conversationId ConversationID, attachmentId StagedAttachmentID, params *GetStagedMessageAttachmentParams, reqEditors ...RequestEditorFn) (*GetStagedMessageAttachmentResponse, error)
// StageMessageAttachmentWithBodyWithResponse Stage a file for an outgoing message
//
// Store one complete file durably on the owning engine, scoped to this conversation and its account. The client assigns the ID once. A matching repeat with the same file bytes and filename returns the original receipt. Different input for that ID yields idempotency_conflict. An incomplete request leaves no usable attachment. Confirmed local staging performs no provider upload. Send and pending edit accept only available attachments in the same scope. The engine retains accepted references while their send is unresolved, including through restart, rescheduling and Send now.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId} (the `StageMessageAttachment` operationId).
StageMessageAttachmentWithBodyWithResponse(ctx context.Context, conversationId ConversationID, attachmentId StagedAttachmentID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StageMessageAttachmentResponse, error)
// GetConversationTypingWithResponse Read the current typing indicator in an accepted direct conversation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/conversations/{conversationId}/typing (the `GetConversationTyping` operationId).
GetConversationTypingWithResponse(ctx context.Context, conversationId ConversationID, reqEditors ...RequestEditorFn) (*GetConversationTypingResponse, error)
// SetConversationTypingWithBodyWithResponse Send an expiring typing notification where supported
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/typing (the `SetConversationTyping` operationId).
SetConversationTypingWithBodyWithResponse(ctx context.Context, conversationId ConversationID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetConversationTypingResponse, error)
// SetConversationTypingWithResponse Send an expiring typing notification where supported
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/conversations/{conversationId}/typing (the `SetConversationTyping` operationId).
SetConversationTypingWithResponse(ctx context.Context, conversationId ConversationID, body SetConversationTypingJSONRequestBody, reqEditors ...RequestEditorFn) (*SetConversationTypingResponse, error)
// ClearDeviceDownloadsWithResponse Remove originals retained for this device
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/downloads/{deviceId}/retention (the `ClearDeviceDownloads` operationId).
ClearDeviceDownloadsWithResponse(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*ClearDeviceDownloadsResponse, error)
// GetDownloadRetentionWithResponse Read downloaded-file retention for a device
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/downloads/{deviceId}/retention (the `GetDownloadRetention` operationId).
GetDownloadRetentionWithResponse(ctx context.Context, deviceId ID, reqEditors ...RequestEditorFn) (*GetDownloadRetentionResponse, error)
// SetDownloadRetentionWithBodyWithResponse Update downloaded-file retention for a device
//
// Applies the selected age to existing and future retained originals for the specified device.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/downloads/{deviceId}/retention (the `SetDownloadRetention` operationId).
SetDownloadRetentionWithBodyWithResponse(ctx context.Context, deviceId ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDownloadRetentionResponse, error)
// SetDownloadRetentionWithResponse Update downloaded-file retention for a device
//
// Applies the selected age to existing and future retained originals for the specified device.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/downloads/{deviceId}/retention (the `SetDownloadRetention` operationId).
SetDownloadRetentionWithResponse(ctx context.Context, deviceId ID, body SetDownloadRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDownloadRetentionResponse, error)
// GetEngineWithResponse Read the persistent engine identity
//
// Read eventCursor before fetching snapshots. After fetching them, pass that cursor as Last-Event-ID to GET /api/v1/events to replay changes that occurred while the snapshots were being read.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/engine (the `GetEngine` operationId).
GetEngineWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEngineResponse, error)
// GetGlobalReadReceiptsWithResponse Read engine-wide read receipt settings
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/engine/read-receipts (the `GetGlobalReadReceipts` operationId).
GetGlobalReadReceiptsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalReadReceiptsResponse, error)
// SetGlobalReadReceiptsWithBodyWithResponse Change engine-wide read receipt settings
//
// Use the revision from the current snapshot. A stale revision yields a conflict.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/engine/read-receipts (the `SetGlobalReadReceipts` operationId).
SetGlobalReadReceiptsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGlobalReadReceiptsResponse, error)
// SetGlobalReadReceiptsWithResponse Change engine-wide read receipt settings
//
// Use the revision from the current snapshot. A stale revision yields a conflict.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/engine/read-receipts (the `SetGlobalReadReceipts` operationId).
SetGlobalReadReceiptsWithResponse(ctx context.Context, body SetGlobalReadReceiptsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGlobalReadReceiptsResponse, error)
// ResetEngineDataWithBodyWithResponse Delete all data held by this engine
//
// Permanently deletes accounts, credentials, history and files held by the engine and starts an empty engine with a new identity. Provider copies are outside this operation.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/engine/reset (the `ResetEngineData` operationId).
ResetEngineDataWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetEngineDataResponse, error)
// ResetEngineDataWithResponse Delete all data held by this engine
//
// Permanently deletes accounts, credentials, history and files held by the engine and starts an empty engine with a new identity. Provider copies are outside this operation.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/engine/reset (the `ResetEngineData` operationId).
ResetEngineDataWithResponse(ctx context.Context, body ResetEngineDataJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetEngineDataResponse, error)
// GetGlobalRetentionWithResponse Read engine-wide message retention
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/engine/retention (the `GetGlobalRetention` operationId).
GetGlobalRetentionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalRetentionResponse, error)
// SetGlobalRetentionWithBodyWithResponse Change engine-wide message retention
//
// Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/engine/retention (the `SetGlobalRetention` operationId).
SetGlobalRetentionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGlobalRetentionResponse, error)
// SetGlobalRetentionWithResponse Change engine-wide message retention
//
// Replace the retention settings using the revision from the current snapshot. A stale revision yields a conflict. Expiry runs in the background.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/engine/retention (the `SetGlobalRetention` operationId).
SetGlobalRetentionWithResponse(ctx context.Context, body SetGlobalRetentionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGlobalRetentionResponse, error)
// StreamEventsWithResponse Replay durable changes and follow new events
//
// SSE id is engineUUID:sequence; event is the event type; data is Event JSON.
// Last-Event-ID resumes strictly after its sequence. Without a cursor replay
// from zero. Cursors from another engine or ahead of current state return 409
// before streaming. Heartbeat comments are not durable events.
// Expired message content is removed from replay. Clients deduplicate by event ID
// and apply conversation.history_pruned invalidations to retained history and projections.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/events (the `StreamEvents` operationId).
StreamEventsWithResponse(ctx context.Context, params *StreamEventsParams, reqEditors ...RequestEditorFn) (*StreamEventsResponse, error)
// GetHealthWithResponse Check engine readiness
//
// Returns ready only when the database can be queried.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/health (the `GetHealth` operationId).
GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
// ResolveDraftLinkPreviewWithBodyWithResponse Resolve a link preview for a draft
//
// Fetches metadata and an optional bounded raster image for one public HTTP(S) URL. Uses the transient link cache and creates no message, durable preview record or original download.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/link-previews (the `ResolveDraftLinkPreview` operationId).
ResolveDraftLinkPreviewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveDraftLinkPreviewResponse, error)
// ResolveDraftLinkPreviewWithResponse Resolve a link preview for a draft
//
// Fetches metadata and an optional bounded raster image for one public HTTP(S) URL. Uses the transient link cache and creates no message, durable preview record or original download.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/link-previews (the `ResolveDraftLinkPreview` operationId).
ResolveDraftLinkPreviewWithResponse(ctx context.Context, body ResolveDraftLinkPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveDraftLinkPreviewResponse, error)
// GetMediaImageWithResponse Read a retained preview or original image
//
// Serves only local hash-verified PNG, JPEG or GIF bytes, without fetching the provider. Thumbnails are normalized static PNGs or JPEGs, up to 1024 pixels per axis; originals retain their validated media type. No remote redirects.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/media/{hash} (the `GetMediaImage` operationId).
GetMediaImageWithResponse(ctx context.Context, hash string, params *GetMediaImageParams, reqEditors ...RequestEditorFn) (*GetMediaImageResponse, error)
// GetMessageEditWithResponse Reconcile a correction command by its stable UUID
//
// Read-only durable receipt. A 404 does not authorize changing the key after an uncertain submission; repeat the same frozen request if needed. No provider calls or dispatch occur in this query.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/message-edits/{editId} (the `GetMessageEdit` operationId).
GetMessageEditWithResponse(ctx context.Context, editId ID, reqEditors ...RequestEditorFn) (*GetMessageEditResponse, error)
// GetMessageReactionCommandWithResponse Read a durable reaction command receipt
//
// Read-only reconciliation after lost responses. A missing receipt does not authorize a new key for the same uncertain intent. No provider call or dispatch is performed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/message-reaction-commands/{commandId} (the `GetMessageReactionCommand` operationId).
GetMessageReactionCommandWithResponse(ctx context.Context, commandId ID, reqEditors ...RequestEditorFn) (*GetMessageReactionCommandResponse, error)
// SearchMessagesWithResponse Search retained message text and available metadata
//
// Search the complete retained engine history before pagination, without network retrieval, enrichment or read-state changes. Matching follows shared-content accent/case folding, word prefixes and bounded typing-error tolerance. Current canonical message content is searched by default. Include edit history adds separately labelled verified earlier content revisions, never transport-state revisions or independent correction aliases. Current associated URLs, filenames and cached page titles/descriptions are searched only while their catalog source is current. Metadata coverage can lag immediate message-text coverage. Unreleased schedules and scheduled sends cancelled before dispatch are excluded. Order is newest message position (`timelineAt`, falling back to `createdAt`) at UTC millisecond precision and UUID first, current hit before earlier content revisions, then newest revision timestamp and UUID. New arrivals or corrections can change subsequent results; pages are not a frozen snapshot.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/messages/search (the `SearchMessages` operationId).
SearchMessagesWithResponse(ctx context.Context, params *SearchMessagesParams, reqEditors ...RequestEditorFn) (*SearchMessagesResponse, error)
// GetMessageWithResponse Read a retained message
//
// Returns the latest revision and send evidence. A retained correction-source alias resolves to its canonical logical message, whose id can differ from the requested messageId. Use the scoped context operation when explicit requestedTargetId alias proof is needed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/messages/{messageId} (the `GetMessage` operationId).
GetMessageWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageResponse, error)
// CancelMessageWithBodyWithResponse Cancel a pending send
//
// Requires the current revision and a queued, known-unsent message at the owning engine, including a future schedule. Cancellation and dispatch share an atomic cutoff before any external provider attempt for that intent, including attachment upload. A stale revision or ineligible state yields state_conflict with currentMessage. Cancellation retires the send intent and preserves any independent retained references. A matching idempotent replay returns the original cancellation snapshot.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/cancel (the `CancelMessage` operationId).
CancelMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *CancelMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelMessageResponse, error)
// CancelMessageWithResponse Cancel a pending send
//
// Requires the current revision and a queued, known-unsent message at the owning engine, including a future schedule. Cancellation and dispatch share an atomic cutoff before any external provider attempt for that intent, including attachment upload. A stale revision or ineligible state yields state_conflict with currentMessage. Cancellation retires the send intent and preserves any independent retained references. A matching idempotent replay returns the original cancellation snapshot.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/cancel (the `CancelMessage` operationId).
CancelMessageWithResponse(ctx context.Context, messageId MessageID, params *CancelMessageParams, body CancelMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelMessageResponse, error)
// GetMessageEditHistoryWithResponse Read observed content revisions of one retained message
//
// Read-only bounded history of canonical content sources. Resolves retained aliases and excludes delivery-state revisions and unverified correction relationships. Versions never observed cannot be recovered by this query. Newest authored timestamp first with revision UUID tie-breaking; isCurrent is authoritative regardless of timestamp order. Cursor binds engine, account, conversation, canonical message and the exact observed-history snapshot. No provider history/profile/media requests, read receipts, sends or mutations occur.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/messages/{messageId}/edit-history (the `GetMessageEditHistory` operationId).
GetMessageEditHistoryWithResponse(ctx context.Context, messageId MessageID, params *GetMessageEditHistoryParams, reqEditors ...RequestEditorFn) (*GetMessageEditHistoryResponse, error)
// GetMessageEditTargetWithResponse Inspect eligibility and current content before editing
//
// Read-only eligibility for the canonical message. Initially only the latest own plain text message sent by this engine in the current verified protocol session can be corrected. Reply and mention payloads remain ineligible. Eligibility is advisory and rechecked atomically at acceptance and dispatch. No arbitrary time window is imposed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/messages/{messageId}/edit-target (the `GetMessageEditTarget` operationId).
GetMessageEditTargetWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageEditTargetResponse, error)
// EditMessageWithBodyWithResponse Accept a durable correction of a sent message
//
// Atomically persists a distinct correction command and operation receipt with an optimistic content revision precondition. The original send and content remain unchanged while queued or in flight. Submitted means written to the protocol connection, not confirmed recipient delivery. Unknown outcomes are not blindly retried. A frozen original sender wire ID is used for every correction. Read the command receipt after a lost response before considering another operation key.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/edits (the `EditMessage` operationId).
EditMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *EditMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditMessageResponse, error)
// EditMessageWithResponse Accept a durable correction of a sent message
//
// Atomically persists a distinct correction command and operation receipt with an optimistic content revision precondition. The original send and content remain unchanged while queued or in flight. Submitted means written to the protocol connection, not confirmed recipient delivery. Unknown outcomes are not blindly retried. A frozen original sender wire ID is used for every correction. Read the command receipt after a lost response before considering another operation key.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/edits (the `EditMessage` operationId).
EditMessageWithResponse(ctx context.Context, messageId MessageID, params *EditMessageParams, body EditMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*EditMessageResponse, error)
// ForwardMessageWithBodyWithResponse Forward a retained message to a conversation
//
// Creates a new outgoing message through the destination conversation's account. Copies the authored body and stages source attachments for a new upload. Replies and mentions are copied as text without references or attribution. A matching operation key replays the original acceptance, including after the source changes. Use one stable key per destination.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/forward (the `ForwardMessage` operationId).
ForwardMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *ForwardMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForwardMessageResponse, error)
// ForwardMessageWithResponse Forward a retained message to a conversation
//
// Creates a new outgoing message through the destination conversation's account. Copies the authored body and stages source attachments for a new upload. Replies and mentions are copied as text without references or attribution. A matching operation key replays the original acceptance, including after the source changes. Use one stable key per destination.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/forward (the `ForwardMessage` operationId).
ForwardMessageWithResponse(ctx context.Context, messageId MessageID, params *ForwardMessageParams, body ForwardMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*ForwardMessageResponse, error)
// DownloadOmemoAttachmentWithResponse Download an authenticated OMEMO attachment
//
// Fetches ciphertext for the retained message and returns the complete file after verification.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/messages/{messageId}/omemo-attachments/{index} (the `DownloadOmemoAttachment` operationId).
DownloadOmemoAttachmentWithResponse(ctx context.Context, messageId MessageID, index int, reqEditors ...RequestEditorFn) (*DownloadOmemoAttachmentResponse, error)
// UpdatePendingMessageWithBodyWithResponse Edit or reschedule a pending message
//
// Replace the full composition, change the schedule, or do both in one transaction at the owning engine. It must be an own queued, known-unsent message with the expected revision. The message ID, destination and creation time are retained. The engine validates new or changed reply, mentions and attachment references, then commits the updated composition and attachment references together. A schedule-only update preserves the accepted composition.
// The mutation and the dispatch claim share an atomic cutoff before any external provider attempt for this intent, including attachment upload. Stale revision, ineligible state or a winning dispatch claim yields state_conflict with currentMessage. When the mutation wins, a later claim uses the new revision and eligibility time. Matching idempotent replay returns the original result before evaluating current state, attachment availability or time preconditions.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/messages/{messageId}/pending (the `UpdatePendingMessage` operationId).
UpdatePendingMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePendingMessageResponse, error)
// UpdatePendingMessageWithResponse Edit or reschedule a pending message
//
// Replace the full composition, change the schedule, or do both in one transaction at the owning engine. It must be an own queued, known-unsent message with the expected revision. The message ID, destination and creation time are retained. The engine validates new or changed reply, mentions and attachment references, then commits the updated composition and attachment references together. A schedule-only update preserves the accepted composition.
// The mutation and the dispatch claim share an atomic cutoff before any external provider attempt for this intent, including attachment upload. Stale revision, ineligible state or a winning dispatch claim yields state_conflict with currentMessage. When the mutation wins, a later claim uses the new revision and eligibility time. Matching idempotent replay returns the original result before evaluating current state, attachment availability or time preconditions.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/messages/{messageId}/pending (the `UpdatePendingMessage` operationId).
UpdatePendingMessageWithResponse(ctx context.Context, messageId MessageID, params *UpdatePendingMessageParams, body UpdatePendingMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePendingMessageResponse, error)
// GetMessageReactionsWithResponse Read retained reactions and current own mutation eligibility
//
// Read-only canonical source snapshot. Missing revisions are null until an observed or submitted reaction set exists. Does not fetch provider data, mark read or allocate revisions.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/messages/{messageId}/reactions (the `GetMessageReactions` operationId).
GetMessageReactionsWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageReactionsResponse, error)
// SetMessageReactionsWithBodyWithResponse Accept a durable replacement of the own reaction set
//
// Persists a separate reaction command with an own-actor revision precondition. Empty emojis removes the own set. Other actors do not invalidate this precondition. At most one unresolved command per source is allowed. Submitted means written to the connection; unknown transmission is never blindly retried. Source content, activity, history, unread and original outbox stay unchanged.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/reactions (the `SetMessageReactions` operationId).
SetMessageReactionsWithBodyWithResponse(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMessageReactionsResponse, error)
// SetMessageReactionsWithResponse Accept a durable replacement of the own reaction set
//
// Persists a separate reaction command with an own-actor revision precondition. Empty emojis removes the own set. Other actors do not invalidate this precondition. At most one unresolved command per source is allowed. Submitted means written to the connection; unknown transmission is never blindly retried. Source content, activity, history, unread and original outbox stay unchanged.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/reactions (the `SetMessageReactions` operationId).
SetMessageReactionsWithResponse(ctx context.Context, messageId MessageID, params *SetMessageReactionsParams, body SetMessageReactionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMessageReactionsResponse, error)
// GetRetractedOriginalWithResponse Reveal retained content of a retracted message
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/messages/{messageId}/retracted-original (the `GetRetractedOriginal` operationId).
GetRetractedOriginalWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetRetractedOriginalResponse, error)
// RetractMessageWithBodyWithResponse Request retraction of an own sent message
//
// Sends a provider retraction for the reviewed revision and keeps the retained original hidden. A successful request does not establish removal from the recipient's copies.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/retraction (the `RetractMessage` operationId).
RetractMessageWithBodyWithResponse(ctx context.Context, messageId MessageID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetractMessageResponse, error)
// RetractMessageWithResponse Request retraction of an own sent message
//
// Sends a provider retraction for the reviewed revision and keeps the retained original hidden. A successful request does not establish removal from the recipient's copies.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/retraction (the `RetractMessage` operationId).
RetractMessageWithResponse(ctx context.Context, messageId MessageID, body RetractMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*RetractMessageResponse, error)
// SendScheduledMessageNowWithBodyWithResponse Make a scheduled message eligible immediately
//
// With the current expected revision, atomically clears scheduledAt on the same queued, known-unsent scheduled intent and makes it eligible immediately. The message ID, destination, composition and attachments remain attached to the same intent. Acceptance records eligibility. Dispatch still requires the owning engine, connectivity and any existing destination prerequisites. This operation and dispatch share the same atomic cutoff as pending edit and cancel, including before provider attachment upload. A stale revision, ineligible state or winning dispatch claim yields state_conflict with currentMessage. Repeating the same key and input returns the original successful result even if dispatch has since started.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/send-now (the `SendScheduledMessageNow` operationId).
SendScheduledMessageNowWithBodyWithResponse(ctx context.Context, messageId MessageID, params *SendScheduledMessageNowParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendScheduledMessageNowResponse, error)
// SendScheduledMessageNowWithResponse Make a scheduled message eligible immediately
//
// With the current expected revision, atomically clears scheduledAt on the same queued, known-unsent scheduled intent and makes it eligible immediately. The message ID, destination, composition and attachments remain attached to the same intent. Acceptance records eligibility. Dispatch still requires the owning engine, connectivity and any existing destination prerequisites. This operation and dispatch share the same atomic cutoff as pending edit and cancel, including before provider attachment upload. A stale revision, ineligible state or winning dispatch claim yields state_conflict with currentMessage. Repeating the same key and input returns the original successful result even if dispatch has since started.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/messages/{messageId}/send-now (the `SendScheduledMessageNow` operationId).
SendScheduledMessageNowWithResponse(ctx context.Context, messageId MessageID, params *SendScheduledMessageNowParams, body SendScheduledMessageNowJSONRequestBody, reqEditors ...RequestEditorFn) (*SendScheduledMessageNowResponse, error)
// GetMessageSenderProfileWithResponse Read the author's available published profile
//
// Resolves the author from the retained message and message-time protocol identity evidence. May issue a bounded read-only profile query to a known personal address. Room nicknames and current same-name occupants never establish a historical author's personal JID. Missing or undisclosed identity remains unavailable; user-provided vCard JABBERID does not establish it. Does not join rooms, add contacts, subscribe to presence or mark messages read.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/messages/{messageId}/sender-profile (the `GetMessageSenderProfile` operationId).
GetMessageSenderProfileWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageSenderProfileResponse, error)
// GetMessageStarWithResponse Read the source message star
//
// App-owned state independent of message content revisions and protocol support. Before the first change, starred is false and revisionId and updatedAt are null. Reading does not create state or provider traffic.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/messages/{messageId}/star (the `GetMessageStar` operationId).
GetMessageStarWithResponse(ctx context.Context, messageId MessageID, reqEditors ...RequestEditorFn) (*GetMessageStarResponse, error)
// SetMessageStarWithBodyWithResponse Star or unstar a retained source message
//
// Atomically compares the star revision, stores an independent immutable star revision, a durable operation receipt and an event. Does not edit message content, bump chat activity, change read state or send anything to the provider. The precondition is null for unchanged initial state. A stale precondition returns state_conflict with currentStar. Replays return the original receipt snapshot, even if later changes occurred; read current state after an uncertain response. An already matching value records a receipt without a new event.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/messages/{messageId}/star (the `SetMessageStar` operationId).
SetMessageStarWithBodyWithResponse(ctx context.Context, messageId MessageID, params *SetMessageStarParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMessageStarResponse, error)
// SetMessageStarWithResponse Star or unstar a retained source message
//
// Atomically compares the star revision, stores an independent immutable star revision, a durable operation receipt and an event. Does not edit message content, bump chat activity, change read state or send anything to the provider. The precondition is null for unchanged initial state. A stale precondition returns state_conflict with currentStar. Replays return the original receipt snapshot, even if later changes occurred; read current state after an uncertain response. An already matching value records a receipt without a new event.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/messages/{messageId}/star (the `SetMessageStar` operationId).
SetMessageStarWithResponse(ctx context.Context, messageId MessageID, params *SetMessageStarParams, body SetMessageStarJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMessageStarResponse, error)
// GetOperationWithResponse Reconcile a mutation after an ambiguous response
//
// A receipt proves the local mutation committed. Send receipts prove durable engine acceptance. Request includeAcceptedMessage to read the immutable send acceptance snapshot, including the original composition and scheduled instant. A redacted send receipt reports acceptedMessageExpired. This route exposes the receipt kinds defined by Operation. An ID without an exposed receipt returns 404. Recover the result of updatePendingMessage or sendScheduledMessageNow by replaying the original request with the same key and input.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/operations/{operationId} (the `GetOperation` operationId).
GetOperationWithResponse(ctx context.Context, operationId ID, params *GetOperationParams, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)
// GetMessagePreviewWithResponse Read a message preview
//
// Reads cached metadata and original image download state. Does not initiate a download.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/previews/{previewId} (the `GetMessagePreview` operationId).
GetMessagePreviewWithResponse(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*GetMessagePreviewResponse, error)
// DownloadPreviewImageWithResponse Retain the original image for a preview
//
// Explicitly requests the original for a kind=image reference. This ensure operation is safe to retry: concurrent requests share queued work and an already retained file is reused. Failed downloads can be retried. Only validated PNG, JPEG and GIF images up to 32 MiB and bounded pixel dimensions are retained. Supported sender digests are checked before retaining an original. Link cards do not support this operation.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/previews/{previewId}/download (the `DownloadPreviewImage` operationId).
DownloadPreviewImageWithResponse(ctx context.Context, previewId ID, params *DownloadPreviewImageParams, reqEditors ...RequestEditorFn) (*DownloadPreviewImageResponse, error)
// RefreshMessagePreviewWithResponse Refresh cached link metadata
//
// Explicitly queues fresh metadata for a current retained link reference, bypassing the metadata cache. Existing metadata remains usable during refresh or failure. Concurrent pending refreshes share queued work. Does not edit a message or request an original image download.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/previews/{previewId}/refresh (the `RefreshMessagePreview` operationId).
RefreshMessagePreviewWithResponse(ctx context.Context, previewId ID, reqEditors ...RequestEditorFn) (*RefreshMessagePreviewResponse, error)
// ListScheduledMessagesWithResponse List scheduled messages across conversations
//
// Lists the selected engine's own queued, known-unsent messages with a configured schedule, including overdue sends waiting for connectivity. Results include their destination. Successful Send now removes the item from this list even if connectivity delays dispatch. Results sort by scheduledAt ascending, then message UUID ascending. Pagination is over current data. Concurrent changes can move items across the cursor boundary.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/scheduled-messages (the `ListScheduledMessages` operationId).
ListScheduledMessagesWithResponse(ctx context.Context, params *ListScheduledMessagesParams, reqEditors ...RequestEditorFn) (*ListScheduledMessagesResponse, error)
//
// Browse the local derived catalog, newest message position (`timelineAt`, falling back to `createdAt`) first with item UUID ties at millisecond precision. Unreleased schedules and scheduled sends cancelled before dispatch are excluded. Account/conversation filters apply before pagination. Metadata search covers URL, filename, visible caption, cached preview title/description, sender, conversation and account label. A background worker indexes visible retained and incoming messages. Listing registers preview enrichment only for the returned image/link references; originals still follow device preferences and explicit download operations. Document/audio entries remain URL references. Video bytes are available only through the explicit content operation; listing does not fetch video metadata or bytes. Backfill or new arrivals may insert items before the current cursor; reload to include them. A conversation filter outside the selected accounts is invalid.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/shared-content (the `ListSharedContent` operationId).
ListSharedContentWithResponse(ctx context.Context, params *ListSharedContentParams, reqEditors ...RequestEditorFn) (*ListSharedContentResponse, error)
//
// Reads the current retained canonical source before opening its URL through the engine's public-network policy. Never redirects the browser to the provider. Supports one byte range and If-Range; an upstream that ignores Range returns 200 rather than an invented 206. Video accepts MP4, WebM, Ogg video and QuickTime MIME types up to 2 GiB; codec playback remains a browser capability. Document references are restricted by URL extension and provider MIME: .txt/.log/.md/.csv/.json/.xml are served as text/plain up to 2 MiB and .pdf as application/pdf up to 100 MiB. Text MIME must be text/plain or the matching format's text/markdown, text/csv, application/json, text/json, application/xml or text/xml. HTML, SVG, office documents and mismatched MIME types are unsupported. A known complete size is required. Full downloads report a SHA-256 fingerprint and whether a supported sender digest was verified. Partial playback and preview requests have no integrity result. Audio and video playback require explicit activation. A preview client may request only a bounded byte range and must stop reading at its preview budget. Client disconnect cancels the upstream read. HEAD returns 405 without contacting the provider. Multiple or malformed ranges are invalid. JSON, XML and Markdown are returned as plain text, never active markup.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/shared-content/{itemId}/content (the `GetSharedContentMedia` operationId).
GetSharedContentMediaWithResponse(ctx context.Context, itemId ID, params *GetSharedContentMediaParams, reqEditors ...RequestEditorFn) (*GetSharedContentMediaResponse, error)
// GetVideoThumbnailWithResponse Read a retained video thumbnail state
//
// Reads local cache state for a current video reference without retrieving provider bytes. A missing cache record is represented as not_requested. Removed references return 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/shared-content/{itemId}/thumbnail (the `GetVideoThumbnail` operationId).
GetVideoThumbnailWithResponse(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*GetVideoThumbnailResponse, error)
// RequestVideoThumbnailWithResponse Ensure a cached video thumbnail
//
// Queues retrieval of a retained HTTP(S) thumbnail supplied in XMPP file metadata (at most 1 MiB). Concurrent requests share work and a ready thumbnail is reused. A failed retrieval can be explicitly retried. The source is revalidated before publication. Without a retained or supplied thumbnail this operation returns 503 without retrieving video bytes. Clients may use a bounded media range to generate a preview locally.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/shared-content/{itemId}/thumbnail (the `RequestVideoThumbnail` operationId).
RequestVideoThumbnailWithResponse(ctx context.Context, itemId ID, reqEditors ...RequestEditorFn) (*RequestVideoThumbnailResponse, error)
// ListStarredMessagesWithResponse Browse retained starred messages with their source context
//
// Lists current starred messages across accounts or within an account/conversation. Order is source message UTC timestamp at millisecond precision descending, then message UUID descending. Unstarring a cursor message does not break paging. This is a live collection, not a frozen snapshot; newer stars can appear before the current page. No provider requests, enrichment or downloads are started. Conversation favorites are independent of message stars.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/starred-messages (the `ListStarredMessages` operationId).
ListStarredMessagesWithResponse(ctx context.Context, params *ListStarredMessagesParams, reqEditors ...RequestEditorFn) (*ListStarredMessagesResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConfigureAccountConnection202JSONResponse ¶
type ConfigureAccountConnection202JSONResponse struct {
Body Connection
Headers ConfigureAccountConnection202ResponseHeaders
}
func (ConfigureAccountConnection202JSONResponse) VisitConfigureAccountConnectionResponse ¶
func (response ConfigureAccountConnection202JSONResponse) VisitConfigureAccountConnectionResponse(w http.ResponseWriter) error
type ConfigureAccountConnection202ResponseHeaders ¶
type ConfigureAccountConnection202ResponseHeaders struct {
Location *string
}
type ConfigureAccountConnection400ApplicationProblemPlusJSONResponse ¶
type ConfigureAccountConnection400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ConfigureAccountConnection400ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse ¶
func (response ConfigureAccountConnection400ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse(w http.ResponseWriter) error
type ConfigureAccountConnection401ApplicationProblemPlusJSONResponse ¶
type ConfigureAccountConnection401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ConfigureAccountConnection401ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse ¶
func (response ConfigureAccountConnection401ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse(w http.ResponseWriter) error
type ConfigureAccountConnection404ApplicationProblemPlusJSONResponse ¶
type ConfigureAccountConnection404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ConfigureAccountConnection404ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse ¶
func (response ConfigureAccountConnection404ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse(w http.ResponseWriter) error
type ConfigureAccountConnection413ApplicationProblemPlusJSONResponse ¶
type ConfigureAccountConnection413ApplicationProblemPlusJSONResponse Problem
func (ConfigureAccountConnection413ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse ¶
func (response ConfigureAccountConnection413ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse(w http.ResponseWriter) error
type ConfigureAccountConnection415ApplicationProblemPlusJSONResponse ¶
type ConfigureAccountConnection415ApplicationProblemPlusJSONResponse Problem
func (ConfigureAccountConnection415ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse ¶
func (response ConfigureAccountConnection415ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse(w http.ResponseWriter) error
type ConfigureAccountConnection503ApplicationProblemPlusJSONResponse ¶
type ConfigureAccountConnection503ApplicationProblemPlusJSONResponse struct {
}
func (ConfigureAccountConnection503ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse ¶
func (response ConfigureAccountConnection503ApplicationProblemPlusJSONResponse) VisitConfigureAccountConnectionResponse(w http.ResponseWriter) error
type ConfigureAccountConnectionJSONRequestBody ¶
type ConfigureAccountConnectionJSONRequestBody = ConfigureConnection
ConfigureAccountConnectionJSONRequestBody defines body for ConfigureAccountConnection for application/json ContentType.
type ConfigureAccountConnectionRequestObject ¶
type ConfigureAccountConnectionRequestObject struct {
AccountId AccountID `json:"accountId"`
Body *ConfigureAccountConnectionJSONRequestBody
}
type ConfigureAccountConnectionResponse ¶
type ConfigureAccountConnectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *Connection
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *ConfigureAccountConnectionResponse202Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ConfigureAccountConnectionResponse401Headers
}
func ParseConfigureAccountConnectionResponse ¶
func ParseConfigureAccountConnectionResponse(rsp *http.Response) (*ConfigureAccountConnectionResponse, error)
ParseConfigureAccountConnectionResponse parses an HTTP response from a ConfigureAccountConnectionWithResponse call
func (ConfigureAccountConnectionResponse) ContentType ¶
func (r ConfigureAccountConnectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConfigureAccountConnectionResponse) GetApplicationproblemJSON400 ¶
func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ConfigureAccountConnectionResponse) GetApplicationproblemJSON401 ¶
func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ConfigureAccountConnectionResponse) GetApplicationproblemJSON404 ¶
func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ConfigureAccountConnectionResponse) GetApplicationproblemJSON413 ¶
func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (ConfigureAccountConnectionResponse) GetApplicationproblemJSON415 ¶
func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (ConfigureAccountConnectionResponse) GetApplicationproblemJSON503 ¶
func (r ConfigureAccountConnectionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ConfigureAccountConnectionResponse) GetBody ¶
func (r ConfigureAccountConnectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ConfigureAccountConnectionResponse) GetJSON202 ¶
func (r ConfigureAccountConnectionResponse) GetJSON202() *Connection
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ConfigureAccountConnectionResponse) Status ¶
func (r ConfigureAccountConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (ConfigureAccountConnectionResponse) StatusCode ¶
func (r ConfigureAccountConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConfigureAccountConnectionResponse202Headers ¶
type ConfigureAccountConnectionResponse202Headers struct {
Location *string
}
ConfigureAccountConnectionResponse202Headers the declared response headers of an HTTP 202 response for ConfigureAccountConnection
type ConfigureAccountConnectionResponse401Headers ¶
type ConfigureAccountConnectionResponse401Headers struct {
WWWAuthenticate *string
}
ConfigureAccountConnectionResponse401Headers the declared response headers of an HTTP 401 response for ConfigureAccountConnection
type ConfigureAccountConnectionResponseObject ¶
type ConfigureAccountConnectionResponseObject interface {
VisitConfigureAccountConnectionResponse(w http.ResponseWriter) error
}
type ConfigureConnection ¶
type ConfigureConnection struct {
// Endpoint Optional TCP host:port override. TLS verifies the account domain. Omit to use XMPP SRV discovery.
Endpoint *string `json:"endpoint,omitempty"`
// Password Protocol password; never returned.
Password *string `json:"password,omitempty"`
}
ConfigureConnection Desired enabled connection. Repeating unchanged configuration preserves a running connection or retry loop and starts a new attempt if the worker stopped. Credentials are kept in private engine-local files and are excluded from reads/events.
Example: {"password":"alice-local-only"}
type Conflict ¶
type Conflict = Problem
Conflict RFC 9457 Problem Details served as application/problem+json. The type URI identifies the problem. The code extension is a stable short identifier for display and localization. The Link response header with rel="help" provides guidance for known problem types. The body includes documentation when the request applies the oie-problem-documentation preference. Responses exclude raw storage errors and credentials.
Example: {"code":"unavailable","documentation":"https://github.com/araihu/oie/blob/main/docs/engine-api-problems.md#unavailable","status":503,"title":"Service Unavailable","type":"urn:oie:problem:unavailable"}
type ConflictApplicationProblemPlusJSONResponse ¶
type ConflictApplicationProblemPlusJSONResponse Problem
type Connection ¶
type Connection struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// LastErrorCode Stable localized-error key; raw provider errors are never returned.
LastErrorCode *ConnectionLastErrorCode `json:"lastErrorCode,omitempty"`
// State Runtime connection state.
State ConnectionState `json:"state"`
// UpdatedAt UTC timestamp.
UpdatedAt time.Time `json:"updatedAt"`
}
Connection Current owning-engine connection state. Contains no credentials.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","state":"not_connected","updatedAt":"2026-11-07T12:00:00Z"}
type ConnectionLastErrorCode ¶
type ConnectionLastErrorCode string
ConnectionLastErrorCode Stable localized-error key; raw provider errors are never returned.
const ( AuthenticationFailed ConnectionLastErrorCode = "authentication_failed" ConnectionFailed ConnectionLastErrorCode = "connection_failed" TlsFailed ConnectionLastErrorCode = "tls_failed" )
Defines values for ConnectionLastErrorCode.
func (ConnectionLastErrorCode) Valid ¶
func (e ConnectionLastErrorCode) Valid() bool
Valid indicates whether the value is a known member of the ConnectionLastErrorCode enum.
type ConnectionState ¶
type ConnectionState string
ConnectionState Runtime connection state.
const ( ConnectionStateConnected ConnectionState = "connected" ConnectionStateConnecting ConnectionState = "connecting" ConnectionStateError ConnectionState = "error" ConnectionStateNotConnected ConnectionState = "not_connected" )
Defines values for ConnectionState.
func (ConnectionState) Valid ¶
func (e ConnectionState) Valid() bool
Valid indicates whether the value is a known member of the ConnectionState enum.
type Contact ¶
type Contact struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// AccountLabel Current label of the owning account.
AccountLabel string `json:"accountLabel"`
// Address Canonical protocol contact address.
Address string `json:"address"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId *ID `json:"conversationId,omitempty"`
// DisplayName Saved provider roster name, or address when no name was supplied.
DisplayName string `json:"displayName"`
// Groups Provider roster categories, not chat-room membership.
Groups []string `json:"groups"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// Presence Observed presence from authorized traffic, without active probes or inferred offline state.
Presence *PresenceObservation `json:"presence,omitempty"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
// Subscription Provider-observed presence subscription, without changing it.
Subscription ContactSubscription `json:"subscription"`
}
Contact A retained protocol roster entry, separate from inferred peers, room occupants and future app-owned identity linking.
type ContactAction ¶
type ContactAction struct {
Action ContactActionAction `json:"action"`
// Address Bare protocol address of the contact.
Address string `json:"address"`
}
ContactAction One account-scoped roster modification or response to a presence subscription.
Example: {"action":"add","address":"bob@localhost"}
type ContactActionAction ¶
type ContactActionAction string
ContactActionAction defines model for ContactAction.Action.
const ( Accept ContactActionAction = "accept" Add ContactActionAction = "add" Decline ContactActionAction = "decline" Remove ContactActionAction = "remove" )
Defines values for ContactActionAction.
func (ContactActionAction) Valid ¶
func (e ContactActionAction) Valid() bool
Valid indicates whether the value is a known member of the ContactActionAction enum.
type ContactPage ¶
type ContactPage struct {
// Items Matching contacts in stable UUID order.
Items []Contact `json:"items"`
// NextCursor Opaque next matching page, absent at the end.
NextCursor *string `json:"nextCursor,omitempty"`
// Sources Observation status of accounts in the requested scope.
Sources []ContactSource `json:"sources"`
}
ContactPage Bounded saved contact results and observation coverage.
Example: {"items":[],"sources":[]}
type ContactRequests ¶
type ContactRequests struct {
// Items Bare addresses with pending presence subscription requests.
Items []string `json:"items"`
}
ContactRequests Pending XMPP presence subscription requests on the current account session.
Example: {"items":["bob@localhost"]}
type ContactSource ¶
type ContactSource struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// CheckedAt UTC time of the last successful complete roster observation.
CheckedAt *time.Time `json:"checkedAt,omitempty"`
// State Unknown before a successful observation; unavailable after a failed refresh, preserving cached entries.
State ContactSourceState `json:"state"`
}
ContactSource Last observed roster coverage for one account. A known snapshot remains cached when disconnected.
type ContactSourceState ¶
type ContactSourceState string
ContactSourceState Unknown before a successful observation; unavailable after a failed refresh, preserving cached entries.
const ( ContactSourceStateKnown ContactSourceState = "known" ContactSourceStateUnknown ContactSourceState = "unknown" )
Defines values for ContactSourceState.
func (ContactSourceState) Valid ¶
func (e ContactSourceState) Valid() bool
Valid indicates whether the value is a known member of the ContactSourceState enum.
type ContactSubscription ¶
type ContactSubscription string
ContactSubscription Provider-observed presence subscription, without changing it.
const ( ContactSubscriptionBoth ContactSubscription = "both" ContactSubscriptionFrom ContactSubscription = "from" ContactSubscriptionNone ContactSubscription = "none" ContactSubscriptionTo ContactSubscription = "to" )
Defines values for ContactSubscription.
func (ContactSubscription) Valid ¶
func (e ContactSubscription) Valid() bool
Valid indicates whether the value is a known member of the ContactSubscription enum.
type Conversation ¶
type Conversation struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// Address Canonical peer address.
Address string `json:"address"`
Archived bool `json:"archived"`
Favorite bool `json:"favorite"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// Kind Conversation kind.
Kind ConversationKind `json:"kind"`
// LastMessage Original text preview of the most recently retained message, empty while a request is pending.
LastMessage string `json:"lastMessage"`
// LatestMessagePageCount Snapshot count of canonical messages visible in the latest 50-message timeline page. Included only when requested on the conversation list and a timeline is visible.
LatestMessagePageCount *int `json:"latestMessagePageCount,omitempty"`
// RemovedFromChats The conversation was removed from chat lists. Retained history remains available.
RemovedFromChats *bool `json:"removedFromChats,omitempty"`
// Request Pending user decision. Omitted for ordinary conversations.
Request *ConversationRequest `json:"request,omitempty"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
// RoomStatus Current room status when available in the conversation list.
RoomStatus *RoomStatus `json:"roomStatus,omitempty"`
// Title Display title; initially the peer address.
Title string `json:"title"`
UnreadCount int `json:"unreadCount"`
// UnreadMention True when an unread incoming room message mentions the owning account by its room nickname. Omitted means false.
UnreadMention *bool `json:"unreadMention,omitempty"`
// UnreadReminder Manual conversation reminder, independent of the number of unread messages. Omitted on engines without manual read actions.
UnreadReminder *bool `json:"unreadReminder,omitempty"`
// UpdatedAt UTC timestamp.
UpdatedAt time.Time `json:"updatedAt"`
}
Conversation One account-scoped conversation. Direct conversations support text sending; saved rooms and authorized room archives are recovered read-only in this increment.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","address":"bob@localhost","archived":false,"favorite":false,"id":"019a5df0-0000-7000-8000-000000000001","kind":"direct","lastMessage":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","title":"bob@localhost","unreadCount":0,"updatedAt":"2026-11-07T12:00:00Z"}
type ConversationDetails ¶
type ConversationDetails struct {
// AccountConnection Current owning-engine connection state. Contains no credentials.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","state":"not_connected","updatedAt":"2026-11-07T12:00:00Z"}
AccountConnection Connection `json:"accountConnection"`
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
Address string `json:"address"`
// CanInviteToRoom The current room session allows sending invitations.
CanInviteToRoom *bool `json:"canInviteToRoom,omitempty"`
// CanModerateMessages Current room permissions and advertised message moderation support.
CanModerateMessages *bool `json:"canModerateMessages,omitempty"`
CheckedAt *time.Time `json:"checkedAt,omitempty"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
Description *string `json:"description,omitempty"`
Features []ConversationDetailsFeatures `json:"features"`
// Kind Example: room
Kind ConversationDetailsKind `json:"kind"`
Name *string `json:"name,omitempty"`
// OccupantCount Server-reported occupancy, independent of visibility or returned list length.
OccupantCount *int `json:"occupantCount,omitempty"`
// Participants Bounded peer or visible-occupant snapshot; no persistent membership roster or completeness guarantee.
Participants ConversationParticipants `json:"participants"`
// PeerPresence Observed presence from authorized traffic, without active probes or inferred offline state.
PeerPresence *PresenceObservation `json:"peerPresence,omitempty"`
RoomSession *ConversationDetailsRoomSession `json:"roomSession,omitempty"`
// State Observation state; unavailable or missing information never means an empty room or an offline person.
State DetailState `json:"state"`
Topic *string `json:"topic,omitempty"`
}
ConversationDetails Session-local conversation observations combined with the owning account connection, without changing retained conversation content.
Example: {"accountConnection":{"accountId":"019a5df0-0000-7000-8000-000000000002","state":"connected","updatedAt":"2026-11-08T12:00:00Z"},"accountId":"019a5df0-0000-7000-8000-000000000002","address":"room@conference.example.test","conversationId":"019a5df0-0000-7000-8000-000000000001","features":[],"kind":"room","participants":{"items":[],"scope":"occupants","state":"pending","truncated":false},"roomSession":"not_joined","state":"pending"}
type ConversationDetailsFeatures ¶
type ConversationDetailsFeatures string
ConversationDetailsFeatures defines model for ConversationDetails.Features.
const ( Anonymous ConversationDetailsFeatures = "anonymous" Hidden ConversationDetailsFeatures = "hidden" MembersOnly ConversationDetailsFeatures = "members_only" Moderated ConversationDetailsFeatures = "moderated" NonAnonymous ConversationDetailsFeatures = "non_anonymous" Open ConversationDetailsFeatures = "open" PasswordProtected ConversationDetailsFeatures = "password_protected" Persistent ConversationDetailsFeatures = "persistent" Public ConversationDetailsFeatures = "public" Temporary ConversationDetailsFeatures = "temporary" Unmoderated ConversationDetailsFeatures = "unmoderated" Unsecured ConversationDetailsFeatures = "unsecured" )
Defines values for ConversationDetailsFeatures.
func (ConversationDetailsFeatures) Valid ¶
func (e ConversationDetailsFeatures) Valid() bool
Valid indicates whether the value is a known member of the ConversationDetailsFeatures enum.
type ConversationDetailsKind ¶
type ConversationDetailsKind string
ConversationDetailsKind Example: room
const ( ConversationDetailsKindDirect ConversationDetailsKind = "direct" ConversationDetailsKindRoom ConversationDetailsKind = "room" )
Defines values for ConversationDetailsKind.
func (ConversationDetailsKind) Valid ¶
func (e ConversationDetailsKind) Valid() bool
Valid indicates whether the value is a known member of the ConversationDetailsKind enum.
type ConversationDetailsRoomSession ¶
type ConversationDetailsRoomSession string
ConversationDetailsRoomSession defines model for ConversationDetails.RoomSession.
const ( ConversationDetailsRoomSessionFailed ConversationDetailsRoomSession = "failed" ConversationDetailsRoomSessionJoined ConversationDetailsRoomSession = "joined" ConversationDetailsRoomSessionJoining ConversationDetailsRoomSession = "joining" ConversationDetailsRoomSessionNotJoined ConversationDetailsRoomSession = "not_joined" ConversationDetailsRoomSessionUnknown ConversationDetailsRoomSession = "unknown" )
Defines values for ConversationDetailsRoomSession.
func (ConversationDetailsRoomSession) Valid ¶
func (e ConversationDetailsRoomSession) Valid() bool
Valid indicates whether the value is a known member of the ConversationDetailsRoomSession enum.
type ConversationID ¶
type ConversationID = ID
ConversationID Canonical lowercase UUIDv7; IDs do not establish causal order.
Example: 019a5df0-0000-7000-8000-000000000001
type ConversationKind ¶
type ConversationKind string
ConversationKind Conversation kind.
const ( ConversationKindDirect ConversationKind = "direct" ConversationKindRoom ConversationKind = "room" )
Defines values for ConversationKind.
func (ConversationKind) Valid ¶
func (e ConversationKind) Valid() bool
Valid indicates whether the value is a known member of the ConversationKind enum.
type ConversationPage ¶
type ConversationPage struct {
Items []Conversation `json:"items"`
// NextCursor Opaque engine-scoped activity cursor.
NextCursor *string `json:"nextCursor,omitempty"`
}
ConversationPage Conversations in descending engine activity order. New activity can move items between pages; reconcile using stable IDs and SSE.
Example: {"items":[]}
type ConversationParticipant ¶
type ConversationParticipant struct {
DisplayName string `json:"displayName"`
// Id Opaque identifier scoped to this account and conversation. Never use a nickname as a profile identity.
Id string `json:"id"`
// Presence Observed presence from authorized traffic, without active probes or inferred offline state.
Presence PresenceObservation `json:"presence"`
Source ConversationParticipantSource `json:"source"`
}
ConversationParticipant A scoped peer or room-occupant observation; its identifier is not a verified personal identity.
type ConversationParticipantSource ¶
type ConversationParticipantSource string
ConversationParticipantSource defines model for ConversationParticipant.Source.
const ( ConversationParticipantSourceDiscovery ConversationParticipantSource = "discovery" ConversationParticipantSourcePresence ConversationParticipantSource = "presence" )
Defines values for ConversationParticipantSource.
func (ConversationParticipantSource) Valid ¶
func (e ConversationParticipantSource) Valid() bool
Valid indicates whether the value is a known member of the ConversationParticipantSource enum.
type ConversationParticipants ¶
type ConversationParticipants struct {
CheckedAt *time.Time `json:"checkedAt,omitempty"`
Items []ConversationParticipant `json:"items"`
Scope ConversationParticipantsScope `json:"scope"`
// State Observation state; unavailable or missing information never means an empty room or an offline person.
State DetailState `json:"state"`
Truncated bool `json:"truncated"`
}
ConversationParticipants Bounded peer or visible-occupant snapshot; no persistent membership roster or completeness guarantee.
type ConversationParticipantsScope ¶
type ConversationParticipantsScope string
ConversationParticipantsScope defines model for ConversationParticipants.Scope.
const ( ConversationParticipantsScopeOccupants ConversationParticipantsScope = "occupants" ConversationParticipantsScopePeer ConversationParticipantsScope = "peer" )
Defines values for ConversationParticipantsScope.
func (ConversationParticipantsScope) Valid ¶
func (e ConversationParticipantsScope) Valid() bool
Valid indicates whether the value is a known member of the ConversationParticipantsScope enum.
type ConversationReadReceipts ¶
type ConversationReadReceipts struct {
// EffectiveEnabled Example: true
EffectiveEnabled bool `json:"effectiveEnabled"`
// GlobalEnabled Example: true
GlobalEnabled bool `json:"globalEnabled"`
// Override Explicit setting, or null to inherit the engine default.
//
// Example: true
Override *bool `json:"override"`
// Revision Example: 0:0
Revision string `json:"revision"`
}
ConversationReadReceipts Read receipt settings for a saved direct conversation or room.
type ConversationReadState ¶
type ConversationReadState struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// CanMarkLatestRead Advertises support for the If-Match latest-timeline read on GET responses.
CanMarkLatestRead *bool `json:"canMarkLatestRead,omitempty"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// FirstUnreadMessageId Earliest retained unread message in timeline order on GET responses, when present.
FirstUnreadMessageId *ID `json:"firstUnreadMessageId,omitempty"`
// RevisionId Canonical UUIDv7 of app-owned state; null means no revision has been created.
//
// Example: 019a5df0-0000-7000-8000-000000000004
RevisionId *NullableRevisionID `json:"revisionId"`
UnreadCount int `json:"unreadCount"`
UpdatedAt *time.Time `json:"updatedAt"`
}
ConversationReadState Durable app-owned read revision with the current retained unread count.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000002","conversationId":"019a5df0-0000-7000-8000-000000000003","revisionId":null,"unreadCount":3,"updatedAt":null}
type ConversationRequest ¶
type ConversationRequest string
ConversationRequest Pending user decision. Omitted for ordinary conversations.
const ( ConversationRequestChecking ConversationRequest = "checking" ConversationRequestMessage ConversationRequest = "message" ConversationRequestRoomInvitation ConversationRequest = "room_invitation" )
Defines values for ConversationRequest.
func (ConversationRequest) Valid ¶
func (e ConversationRequest) Valid() bool
Valid indicates whether the value is a known member of the ConversationRequest enum.
type ConversationRetention ¶
type ConversationRetention struct {
// Days Null inherits the global setting. Zero means unlimited.
//
// Example: 90
Days *int `json:"days"`
// EffectiveDays Age in days. Zero means unlimited.
//
// Example: 180
EffectiveDays RetentionDays `json:"effectiveDays"`
// GlobalDays Age in days. Zero means unlimited.
//
// Example: 180
GlobalDays RetentionDays `json:"globalDays"`
// Revision Compare-and-set token from the most recent retention snapshot.
//
// Example: 1
Revision RetentionRevision `json:"revision"`
}
ConversationRetention Stored override and the effective and inherited periods for a conversation.
type DetailState ¶
type DetailState string
DetailState Observation state; unavailable or missing information never means an empty room or an offline person.
const ( DetailStateForbidden DetailState = "forbidden" DetailStateKnown DetailState = "known" DetailStateNotConnected DetailState = "not_connected" DetailStatePartial DetailState = "partial" DetailStatePending DetailState = "pending" DetailStateUnknown DetailState = "unknown" DetailStateUnsupported DetailState = "unsupported" )
Defines values for DetailState.
func (DetailState) Valid ¶
func (e DetailState) Valid() bool
Valid indicates whether the value is a known member of the DetailState enum.
type DisconnectAccount200JSONResponse ¶
type DisconnectAccount200JSONResponse Connection
func (DisconnectAccount200JSONResponse) VisitDisconnectAccountResponse ¶
func (response DisconnectAccount200JSONResponse) VisitDisconnectAccountResponse(w http.ResponseWriter) error
type DisconnectAccount400ApplicationProblemPlusJSONResponse ¶
type DisconnectAccount400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (DisconnectAccount400ApplicationProblemPlusJSONResponse) VisitDisconnectAccountResponse ¶
func (response DisconnectAccount400ApplicationProblemPlusJSONResponse) VisitDisconnectAccountResponse(w http.ResponseWriter) error
type DisconnectAccount401ApplicationProblemPlusJSONResponse ¶
type DisconnectAccount401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (DisconnectAccount401ApplicationProblemPlusJSONResponse) VisitDisconnectAccountResponse ¶
func (response DisconnectAccount401ApplicationProblemPlusJSONResponse) VisitDisconnectAccountResponse(w http.ResponseWriter) error
type DisconnectAccount404ApplicationProblemPlusJSONResponse ¶
type DisconnectAccount404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DisconnectAccount404ApplicationProblemPlusJSONResponse) VisitDisconnectAccountResponse ¶
func (response DisconnectAccount404ApplicationProblemPlusJSONResponse) VisitDisconnectAccountResponse(w http.ResponseWriter) error
type DisconnectAccount503ApplicationProblemPlusJSONResponse ¶
type DisconnectAccount503ApplicationProblemPlusJSONResponse struct {
}
func (DisconnectAccount503ApplicationProblemPlusJSONResponse) VisitDisconnectAccountResponse ¶
func (response DisconnectAccount503ApplicationProblemPlusJSONResponse) VisitDisconnectAccountResponse(w http.ResponseWriter) error
type DisconnectAccountRequestObject ¶
type DisconnectAccountRequestObject struct {
AccountId AccountID `json:"accountId"`
}
type DisconnectAccountResponse ¶
type DisconnectAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Connection
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *DisconnectAccountResponse401Headers
}
func ParseDisconnectAccountResponse ¶
func ParseDisconnectAccountResponse(rsp *http.Response) (*DisconnectAccountResponse, error)
ParseDisconnectAccountResponse parses an HTTP response from a DisconnectAccountWithResponse call
func (DisconnectAccountResponse) ContentType ¶
func (r DisconnectAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DisconnectAccountResponse) GetApplicationproblemJSON400 ¶
func (r DisconnectAccountResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DisconnectAccountResponse) GetApplicationproblemJSON401 ¶
func (r DisconnectAccountResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DisconnectAccountResponse) GetApplicationproblemJSON404 ¶
func (r DisconnectAccountResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DisconnectAccountResponse) GetApplicationproblemJSON503 ¶
func (r DisconnectAccountResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (DisconnectAccountResponse) GetBody ¶
func (r DisconnectAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DisconnectAccountResponse) GetJSON200 ¶
func (r DisconnectAccountResponse) GetJSON200() *Connection
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DisconnectAccountResponse) Status ¶
func (r DisconnectAccountResponse) Status() string
Status returns HTTPResponse.Status
func (DisconnectAccountResponse) StatusCode ¶
func (r DisconnectAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisconnectAccountResponse401Headers ¶
type DisconnectAccountResponse401Headers struct {
WWWAuthenticate *string
}
DisconnectAccountResponse401Headers the declared response headers of an HTTP 401 response for DisconnectAccount
type DisconnectAccountResponseObject ¶
type DisconnectAccountResponseObject interface {
VisitDisconnectAccountResponse(w http.ResponseWriter) error
}
type DiscoverRooms200JSONResponse ¶
type DiscoverRooms200JSONResponse RoomDirectory
func (DiscoverRooms200JSONResponse) VisitDiscoverRoomsResponse ¶
func (response DiscoverRooms200JSONResponse) VisitDiscoverRoomsResponse(w http.ResponseWriter) error
type DiscoverRooms400ApplicationProblemPlusJSONResponse ¶
type DiscoverRooms400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (DiscoverRooms400ApplicationProblemPlusJSONResponse) VisitDiscoverRoomsResponse ¶
func (response DiscoverRooms400ApplicationProblemPlusJSONResponse) VisitDiscoverRoomsResponse(w http.ResponseWriter) error
type DiscoverRooms401ApplicationProblemPlusJSONResponse ¶
type DiscoverRooms401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (DiscoverRooms401ApplicationProblemPlusJSONResponse) VisitDiscoverRoomsResponse ¶
func (response DiscoverRooms401ApplicationProblemPlusJSONResponse) VisitDiscoverRoomsResponse(w http.ResponseWriter) error
type DiscoverRooms404ApplicationProblemPlusJSONResponse ¶
type DiscoverRooms404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DiscoverRooms404ApplicationProblemPlusJSONResponse) VisitDiscoverRoomsResponse ¶
func (response DiscoverRooms404ApplicationProblemPlusJSONResponse) VisitDiscoverRoomsResponse(w http.ResponseWriter) error
type DiscoverRooms503ApplicationProblemPlusJSONResponse ¶
type DiscoverRooms503ApplicationProblemPlusJSONResponse struct {
}
func (DiscoverRooms503ApplicationProblemPlusJSONResponse) VisitDiscoverRoomsResponse ¶
func (response DiscoverRooms503ApplicationProblemPlusJSONResponse) VisitDiscoverRoomsResponse(w http.ResponseWriter) error
type DiscoverRoomsParams ¶
type DiscoverRoomsParams struct {
// Service Optional XMPP room service domain. Defaults to discovered services.
Service *string `form:"service,omitempty" json:"service,omitempty"`
}
DiscoverRoomsParams defines parameters for DiscoverRooms.
type DiscoverRoomsRequestObject ¶
type DiscoverRoomsRequestObject struct {
AccountId AccountID `json:"accountId"`
Params DiscoverRoomsParams
}
type DiscoverRoomsResponse ¶
type DiscoverRoomsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomDirectory
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *DiscoverRoomsResponse401Headers
}
func ParseDiscoverRoomsResponse ¶
func ParseDiscoverRoomsResponse(rsp *http.Response) (*DiscoverRoomsResponse, error)
ParseDiscoverRoomsResponse parses an HTTP response from a DiscoverRoomsWithResponse call
func (DiscoverRoomsResponse) ContentType ¶
func (r DiscoverRoomsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DiscoverRoomsResponse) GetApplicationproblemJSON400 ¶
func (r DiscoverRoomsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DiscoverRoomsResponse) GetApplicationproblemJSON401 ¶
func (r DiscoverRoomsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DiscoverRoomsResponse) GetApplicationproblemJSON404 ¶
func (r DiscoverRoomsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DiscoverRoomsResponse) GetApplicationproblemJSON503 ¶
func (r DiscoverRoomsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (DiscoverRoomsResponse) GetBody ¶
func (r DiscoverRoomsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DiscoverRoomsResponse) GetJSON200 ¶
func (r DiscoverRoomsResponse) GetJSON200() *RoomDirectory
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DiscoverRoomsResponse) Status ¶
func (r DiscoverRoomsResponse) Status() string
Status returns HTTPResponse.Status
func (DiscoverRoomsResponse) StatusCode ¶
func (r DiscoverRoomsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DiscoverRoomsResponse401Headers ¶
type DiscoverRoomsResponse401Headers struct {
WWWAuthenticate *string
}
DiscoverRoomsResponse401Headers the declared response headers of an HTTP 401 response for DiscoverRooms
type DiscoverRoomsResponseObject ¶
type DiscoverRoomsResponseObject interface {
VisitDiscoverRoomsResponse(w http.ResponseWriter) error
}
type DiscoveredService ¶
type DiscoveredService struct {
Address string `json:"address"`
ErrorCode *DiscoveredServiceErrorCode `json:"errorCode,omitempty"`
Features []string `json:"features"`
Identities []struct {
Category string `json:"category"`
Name *string `json:"name,omitempty"`
Type string `json:"type"`
} `json:"identities"`
Scope DiscoveredServiceScope `json:"scope"`
State DiscoveredServiceState `json:"state"`
// Truncated Bounded or invalid evidence was omitted; absent features remain unknown.
Truncated bool `json:"truncated"`
}
DiscoveredService A validated entity response with advertised namespaces, identities and observation state.
type DiscoveredServiceErrorCode ¶
type DiscoveredServiceErrorCode string
DiscoveredServiceErrorCode defines model for DiscoveredService.ErrorCode.
const (
DiscoveredServiceErrorCodeDiscoveryFailed DiscoveredServiceErrorCode = "discovery_failed"
)
Defines values for DiscoveredServiceErrorCode.
func (DiscoveredServiceErrorCode) Valid ¶
func (e DiscoveredServiceErrorCode) Valid() bool
Valid indicates whether the value is a known member of the DiscoveredServiceErrorCode enum.
type DiscoveredServiceScope ¶
type DiscoveredServiceScope string
DiscoveredServiceScope defines model for DiscoveredService.Scope.
const ( DiscoveredServiceScopeAccount DiscoveredServiceScope = "account" DiscoveredServiceScopeRoom DiscoveredServiceScope = "room" DiscoveredServiceScopeServer DiscoveredServiceScope = "server" DiscoveredServiceScopeService DiscoveredServiceScope = "service" )
Defines values for DiscoveredServiceScope.
func (DiscoveredServiceScope) Valid ¶
func (e DiscoveredServiceScope) Valid() bool
Valid indicates whether the value is a known member of the DiscoveredServiceScope enum.
type DiscoveredServiceState ¶
type DiscoveredServiceState string
DiscoveredServiceState defines model for DiscoveredService.State.
const ( DiscoveredServiceStateFailed DiscoveredServiceState = "failed" DiscoveredServiceStateKnown DiscoveredServiceState = "known" )
Defines values for DiscoveredServiceState.
func (DiscoveredServiceState) Valid ¶
func (e DiscoveredServiceState) Valid() bool
Valid indicates whether the value is a known member of the DiscoveredServiceState enum.
type DownloadOmemoAttachment200ApplicationoctetStreamResponse ¶
type DownloadOmemoAttachment200ApplicationoctetStreamResponse struct {
Body io.Reader
Headers DownloadOmemoAttachment200ResponseHeaders
ContentLength int64
}
func (DownloadOmemoAttachment200ApplicationoctetStreamResponse) VisitDownloadOmemoAttachmentResponse ¶
func (response DownloadOmemoAttachment200ApplicationoctetStreamResponse) VisitDownloadOmemoAttachmentResponse(w http.ResponseWriter) error
type DownloadOmemoAttachment200ResponseHeaders ¶
type DownloadOmemoAttachment200ResponseHeaders struct {
ContentDisposition *string
}
type DownloadOmemoAttachment401ApplicationProblemPlusJSONResponse ¶
type DownloadOmemoAttachment401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (DownloadOmemoAttachment401ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse ¶
func (response DownloadOmemoAttachment401ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse(w http.ResponseWriter) error
type DownloadOmemoAttachment404ApplicationProblemPlusJSONResponse ¶
type DownloadOmemoAttachment404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DownloadOmemoAttachment404ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse ¶
func (response DownloadOmemoAttachment404ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse(w http.ResponseWriter) error
type DownloadOmemoAttachment422ApplicationProblemPlusJSONResponse ¶
type DownloadOmemoAttachment422ApplicationProblemPlusJSONResponse Problem
func (DownloadOmemoAttachment422ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse ¶
func (response DownloadOmemoAttachment422ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse(w http.ResponseWriter) error
type DownloadOmemoAttachment502ApplicationProblemPlusJSONResponse ¶
type DownloadOmemoAttachment502ApplicationProblemPlusJSONResponse Problem
func (DownloadOmemoAttachment502ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse ¶
func (response DownloadOmemoAttachment502ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse(w http.ResponseWriter) error
type DownloadOmemoAttachment503ApplicationProblemPlusJSONResponse ¶
type DownloadOmemoAttachment503ApplicationProblemPlusJSONResponse struct {
}
func (DownloadOmemoAttachment503ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse ¶
func (response DownloadOmemoAttachment503ApplicationProblemPlusJSONResponse) VisitDownloadOmemoAttachmentResponse(w http.ResponseWriter) error
type DownloadOmemoAttachmentResponse ¶
type DownloadOmemoAttachmentResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *Problem
// ApplicationproblemJSON502 the response for an HTTP 502 `application/problem+json` response
ApplicationproblemJSON502 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *DownloadOmemoAttachmentResponse200Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *DownloadOmemoAttachmentResponse401Headers
}
func ParseDownloadOmemoAttachmentResponse ¶
func ParseDownloadOmemoAttachmentResponse(rsp *http.Response) (*DownloadOmemoAttachmentResponse, error)
ParseDownloadOmemoAttachmentResponse parses an HTTP response from a DownloadOmemoAttachmentWithResponse call
func (DownloadOmemoAttachmentResponse) ContentType ¶
func (r DownloadOmemoAttachmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadOmemoAttachmentResponse) GetApplicationproblemJSON401 ¶
func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DownloadOmemoAttachmentResponse) GetApplicationproblemJSON404 ¶
func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DownloadOmemoAttachmentResponse) GetApplicationproblemJSON422 ¶
func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON422() *Problem
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (DownloadOmemoAttachmentResponse) GetApplicationproblemJSON502 ¶
func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON502() *Problem
GetApplicationproblemJSON502 returns the response for an HTTP 502 `application/problem+json` response
func (DownloadOmemoAttachmentResponse) GetApplicationproblemJSON503 ¶
func (r DownloadOmemoAttachmentResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (DownloadOmemoAttachmentResponse) GetBody ¶
func (r DownloadOmemoAttachmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadOmemoAttachmentResponse) Status ¶
func (r DownloadOmemoAttachmentResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadOmemoAttachmentResponse) StatusCode ¶
func (r DownloadOmemoAttachmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadOmemoAttachmentResponse200Headers ¶
type DownloadOmemoAttachmentResponse200Headers struct {
ContentDisposition *string
}
DownloadOmemoAttachmentResponse200Headers the declared response headers of an HTTP 200 response for DownloadOmemoAttachment
type DownloadOmemoAttachmentResponse401Headers ¶
type DownloadOmemoAttachmentResponse401Headers struct {
WWWAuthenticate *string
}
DownloadOmemoAttachmentResponse401Headers the declared response headers of an HTTP 401 response for DownloadOmemoAttachment
type DownloadOmemoAttachmentResponseObject ¶
type DownloadOmemoAttachmentResponseObject interface {
VisitDownloadOmemoAttachmentResponse(w http.ResponseWriter) error
}
type DownloadPreviewImage200JSONResponse ¶
type DownloadPreviewImage200JSONResponse MessagePreview
func (DownloadPreviewImage200JSONResponse) VisitDownloadPreviewImageResponse ¶
func (response DownloadPreviewImage200JSONResponse) VisitDownloadPreviewImageResponse(w http.ResponseWriter) error
type DownloadPreviewImage202JSONResponse ¶
type DownloadPreviewImage202JSONResponse MessagePreview
func (DownloadPreviewImage202JSONResponse) VisitDownloadPreviewImageResponse ¶
func (response DownloadPreviewImage202JSONResponse) VisitDownloadPreviewImageResponse(w http.ResponseWriter) error
type DownloadPreviewImage400ApplicationProblemPlusJSONResponse ¶
type DownloadPreviewImage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (DownloadPreviewImage400ApplicationProblemPlusJSONResponse) VisitDownloadPreviewImageResponse ¶
func (response DownloadPreviewImage400ApplicationProblemPlusJSONResponse) VisitDownloadPreviewImageResponse(w http.ResponseWriter) error
type DownloadPreviewImage401ApplicationProblemPlusJSONResponse ¶
type DownloadPreviewImage401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (DownloadPreviewImage401ApplicationProblemPlusJSONResponse) VisitDownloadPreviewImageResponse ¶
func (response DownloadPreviewImage401ApplicationProblemPlusJSONResponse) VisitDownloadPreviewImageResponse(w http.ResponseWriter) error
type DownloadPreviewImage404ApplicationProblemPlusJSONResponse ¶
type DownloadPreviewImage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (DownloadPreviewImage404ApplicationProblemPlusJSONResponse) VisitDownloadPreviewImageResponse ¶
func (response DownloadPreviewImage404ApplicationProblemPlusJSONResponse) VisitDownloadPreviewImageResponse(w http.ResponseWriter) error
type DownloadPreviewImage503ApplicationProblemPlusJSONResponse ¶
type DownloadPreviewImage503ApplicationProblemPlusJSONResponse struct {
}
func (DownloadPreviewImage503ApplicationProblemPlusJSONResponse) VisitDownloadPreviewImageResponse ¶
func (response DownloadPreviewImage503ApplicationProblemPlusJSONResponse) VisitDownloadPreviewImageResponse(w http.ResponseWriter) error
type DownloadPreviewImageParams ¶
type DownloadPreviewImageParams struct {
// XOieDownloadDevice Device scope for retaining this original.
XOieDownloadDevice *ID `json:"X-Oie-Download-Device,omitempty"`
}
DownloadPreviewImageParams defines parameters for DownloadPreviewImage.
type DownloadPreviewImageRequestObject ¶
type DownloadPreviewImageRequestObject struct {
PreviewId ID `json:"previewId"`
Params DownloadPreviewImageParams
}
type DownloadPreviewImageResponse ¶
type DownloadPreviewImageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessagePreview
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *MessagePreview
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *DownloadPreviewImageResponse401Headers
}
func ParseDownloadPreviewImageResponse ¶
func ParseDownloadPreviewImageResponse(rsp *http.Response) (*DownloadPreviewImageResponse, error)
ParseDownloadPreviewImageResponse parses an HTTP response from a DownloadPreviewImageWithResponse call
func (DownloadPreviewImageResponse) ContentType ¶
func (r DownloadPreviewImageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadPreviewImageResponse) GetApplicationproblemJSON400 ¶
func (r DownloadPreviewImageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (DownloadPreviewImageResponse) GetApplicationproblemJSON401 ¶
func (r DownloadPreviewImageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (DownloadPreviewImageResponse) GetApplicationproblemJSON404 ¶
func (r DownloadPreviewImageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (DownloadPreviewImageResponse) GetApplicationproblemJSON503 ¶
func (r DownloadPreviewImageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (DownloadPreviewImageResponse) GetBody ¶
func (r DownloadPreviewImageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadPreviewImageResponse) GetJSON200 ¶
func (r DownloadPreviewImageResponse) GetJSON200() *MessagePreview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DownloadPreviewImageResponse) GetJSON202 ¶
func (r DownloadPreviewImageResponse) GetJSON202() *MessagePreview
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DownloadPreviewImageResponse) Status ¶
func (r DownloadPreviewImageResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadPreviewImageResponse) StatusCode ¶
func (r DownloadPreviewImageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadPreviewImageResponse401Headers ¶
type DownloadPreviewImageResponse401Headers struct {
WWWAuthenticate *string
}
DownloadPreviewImageResponse401Headers the declared response headers of an HTTP 401 response for DownloadPreviewImage
type DownloadPreviewImageResponseObject ¶
type DownloadPreviewImageResponseObject interface {
VisitDownloadPreviewImageResponse(w http.ResponseWriter) error
}
type DownloadRetention ¶
type DownloadRetention struct {
// Count Number of complete original downloads retained for this device.
Count int `json:"count"`
// Days Age in days before expiry, or zero to keep until explicit deletion.
Days int `json:"days"`
}
DownloadRetention Per-device original download retention and current count.
Example: {"count":3,"days":0}
type DraftLinkPreview ¶
type DraftLinkPreview struct {
// Description Example: Opening hours and directions.
Description *string `json:"description,omitempty"`
// Image Optional bounded raster image for a draft link preview.
Image *DraftLinkPreviewImage `json:"image,omitempty"`
// Title Example: Studio
Title *string `json:"title,omitempty"`
// Url Example: https://example.com/studio
Url string `json:"url"`
}
DraftLinkPreview Transient link metadata for a draft composition.
type DraftLinkPreviewImage ¶
type DraftLinkPreviewImage struct {
// Data Base64 of at most 128 KiB of raster image bytes.
//
// Example: iVBORw0KGgo=
Data string `json:"data"`
// MediaType Example: image/png
MediaType DraftLinkPreviewImageMediaType `json:"mediaType"`
}
DraftLinkPreviewImage Optional bounded raster image for a draft link preview.
type DraftLinkPreviewImageMediaType ¶
type DraftLinkPreviewImageMediaType string
DraftLinkPreviewImageMediaType Example: image/png
const ( DraftLinkPreviewImageMediaTypeImagegif DraftLinkPreviewImageMediaType = "image/gif" DraftLinkPreviewImageMediaTypeImagejpeg DraftLinkPreviewImageMediaType = "image/jpeg" DraftLinkPreviewImageMediaTypeImagepng DraftLinkPreviewImageMediaType = "image/png" )
Defines values for DraftLinkPreviewImageMediaType.
func (DraftLinkPreviewImageMediaType) Valid ¶
func (e DraftLinkPreviewImageMediaType) Valid() bool
Valid indicates whether the value is a known member of the DraftLinkPreviewImageMediaType enum.
type DraftLinkPreviewRequest ¶
type DraftLinkPreviewRequest struct {
// Url Example: https://example.com/studio
Url string `json:"url"`
}
DraftLinkPreviewRequest Public HTTP or HTTPS URL detected in a draft.
type EditMessage ¶
type EditMessage struct {
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
// OriginalText Example: Corrected text
OriginalText string `json:"originalText"`
}
EditMessage Immutable correction intent; changing either field requires a new operation after a definitive outcome.
Example: {"expectedRevisionId":"019a5df0-0000-7000-8000-000000000004","originalText":"Corrected text"}
type EditMessage200JSONResponse ¶
type EditMessage200JSONResponse MessageEditCommand
func (EditMessage200JSONResponse) VisitEditMessageResponse ¶
func (response EditMessage200JSONResponse) VisitEditMessageResponse(w http.ResponseWriter) error
type EditMessage202JSONResponse ¶
type EditMessage202JSONResponse struct {
Body MessageEditCommand
Headers EditMessage202ResponseHeaders
}
func (EditMessage202JSONResponse) VisitEditMessageResponse ¶
func (response EditMessage202JSONResponse) VisitEditMessageResponse(w http.ResponseWriter) error
type EditMessage202ResponseHeaders ¶
type EditMessage202ResponseHeaders struct {
Location *string
}
type EditMessage400ApplicationProblemPlusJSONResponse ¶
type EditMessage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (EditMessage400ApplicationProblemPlusJSONResponse) VisitEditMessageResponse ¶
func (response EditMessage400ApplicationProblemPlusJSONResponse) VisitEditMessageResponse(w http.ResponseWriter) error
type EditMessage401ApplicationProblemPlusJSONResponse ¶
type EditMessage401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (EditMessage401ApplicationProblemPlusJSONResponse) VisitEditMessageResponse ¶
func (response EditMessage401ApplicationProblemPlusJSONResponse) VisitEditMessageResponse(w http.ResponseWriter) error
type EditMessage404ApplicationProblemPlusJSONResponse ¶
type EditMessage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (EditMessage404ApplicationProblemPlusJSONResponse) VisitEditMessageResponse ¶
func (response EditMessage404ApplicationProblemPlusJSONResponse) VisitEditMessageResponse(w http.ResponseWriter) error
type EditMessage409ApplicationProblemPlusJSONResponse ¶
type EditMessage409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (EditMessage409ApplicationProblemPlusJSONResponse) VisitEditMessageResponse ¶
func (response EditMessage409ApplicationProblemPlusJSONResponse) VisitEditMessageResponse(w http.ResponseWriter) error
type EditMessage413ApplicationProblemPlusJSONResponse ¶
type EditMessage413ApplicationProblemPlusJSONResponse Problem
func (EditMessage413ApplicationProblemPlusJSONResponse) VisitEditMessageResponse ¶
func (response EditMessage413ApplicationProblemPlusJSONResponse) VisitEditMessageResponse(w http.ResponseWriter) error
type EditMessage415ApplicationProblemPlusJSONResponse ¶
type EditMessage415ApplicationProblemPlusJSONResponse Problem
func (EditMessage415ApplicationProblemPlusJSONResponse) VisitEditMessageResponse ¶
func (response EditMessage415ApplicationProblemPlusJSONResponse) VisitEditMessageResponse(w http.ResponseWriter) error
type EditMessage503ApplicationProblemPlusJSONResponse ¶
type EditMessage503ApplicationProblemPlusJSONResponse struct {
}
func (EditMessage503ApplicationProblemPlusJSONResponse) VisitEditMessageResponse ¶
func (response EditMessage503ApplicationProblemPlusJSONResponse) VisitEditMessageResponse(w http.ResponseWriter) error
type EditMessageJSONRequestBody ¶
type EditMessageJSONRequestBody = EditMessage
EditMessageJSONRequestBody defines body for EditMessage for application/json ContentType.
type EditMessageParams ¶
type EditMessageParams struct {
// IdempotencyKey Stable command UUID retained across retries and receipt lookup.
IdempotencyKey ID `json:"Idempotency-Key"`
}
EditMessageParams defines parameters for EditMessage.
type EditMessageRequestObject ¶
type EditMessageRequestObject struct {
MessageId MessageID `json:"messageId"`
Params EditMessageParams
Body *EditMessageJSONRequestBody
}
type EditMessageResponse ¶
type EditMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageEditCommand
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *MessageEditCommand
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *EditMessageResponse202Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *EditMessageResponse401Headers
}
func ParseEditMessageResponse ¶
func ParseEditMessageResponse(rsp *http.Response) (*EditMessageResponse, error)
ParseEditMessageResponse parses an HTTP response from a EditMessageWithResponse call
func (EditMessageResponse) ContentType ¶
func (r EditMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EditMessageResponse) GetApplicationproblemJSON400 ¶
func (r EditMessageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (EditMessageResponse) GetApplicationproblemJSON401 ¶
func (r EditMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (EditMessageResponse) GetApplicationproblemJSON404 ¶
func (r EditMessageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (EditMessageResponse) GetApplicationproblemJSON409 ¶
func (r EditMessageResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (EditMessageResponse) GetApplicationproblemJSON413 ¶
func (r EditMessageResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (EditMessageResponse) GetApplicationproblemJSON415 ¶
func (r EditMessageResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (EditMessageResponse) GetApplicationproblemJSON503 ¶
func (r EditMessageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (EditMessageResponse) GetBody ¶
func (r EditMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EditMessageResponse) GetJSON200 ¶
func (r EditMessageResponse) GetJSON200() *MessageEditCommand
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EditMessageResponse) GetJSON202 ¶
func (r EditMessageResponse) GetJSON202() *MessageEditCommand
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (EditMessageResponse) Status ¶
func (r EditMessageResponse) Status() string
Status returns HTTPResponse.Status
func (EditMessageResponse) StatusCode ¶
func (r EditMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditMessageResponse202Headers ¶
type EditMessageResponse202Headers struct {
Location *string
}
EditMessageResponse202Headers the declared response headers of an HTTP 202 response for EditMessage
type EditMessageResponse401Headers ¶
type EditMessageResponse401Headers struct {
WWWAuthenticate *string
}
EditMessageResponse401Headers the declared response headers of an HTTP 401 response for EditMessage
type EditMessageResponseObject ¶
type EditMessageResponseObject interface {
VisitEditMessageResponse(w http.ResponseWriter) error
}
type Engine ¶
type Engine struct {
// ApiVersion Engine contract revision, independent of URL major and application release.
ApiVersion EngineApiVersion `json:"apiVersion"`
// CanResetData This engine supports deleting its data through the reset operation.
CanResetData *bool `json:"canResetData,omitempty"`
// EventCursor Application stream boundary, separate from provider history cursors.
EventCursor string `json:"eventCursor"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// OmemoEnabled The owning engine has an OMEMO profile. Hosted engines keep its private keys on the server.
OmemoEnabled *bool `json:"omemoEnabled,omitempty"`
Role EngineRole `json:"role"`
}
Engine Persistent engine identity and event boundary.
Example: {"apiVersion":"0.33.0","eventCursor":"019a5df0-0000-7000-8000-000000000003:1","id":"019a5df0-0000-7000-8000-000000000003","role":"local"}
type EngineApiVersion ¶
type EngineApiVersion string
EngineApiVersion Engine contract revision, independent of URL major and application release.
const ( N0110 EngineApiVersion = "0.11.0" N0120 EngineApiVersion = "0.12.0" N0290 EngineApiVersion = "0.29.0" N0300 EngineApiVersion = "0.30.0" N0301 EngineApiVersion = "0.30.1" N0310 EngineApiVersion = "0.31.0" N0320 EngineApiVersion = "0.32.0" N0330 EngineApiVersion = "0.33.0" N0340 EngineApiVersion = "0.34.0" N0350 EngineApiVersion = "0.35.0" N0360 EngineApiVersion = "0.36.0" N0370 EngineApiVersion = "0.37.0" N0380 EngineApiVersion = "0.38.0" N0390 EngineApiVersion = "0.39.0" N0400 EngineApiVersion = "0.40.0" N0410 EngineApiVersion = "0.41.0" N0420 EngineApiVersion = "0.42.0" N0430 EngineApiVersion = "0.43.0" N0440 EngineApiVersion = "0.44.0" N0450 EngineApiVersion = "0.45.0" )
Defines values for EngineApiVersion.
func (EngineApiVersion) Valid ¶
func (e EngineApiVersion) Valid() bool
Valid indicates whether the value is a known member of the EngineApiVersion enum.
type EngineRole ¶
type EngineRole string
EngineRole defines model for Engine.Role.
const ( EngineRoleHosted EngineRole = "hosted" EngineRoleLocal EngineRole = "local" )
Defines values for EngineRole.
func (EngineRole) Valid ¶
func (e EngineRole) Valid() bool
Valid indicates whether the value is a known member of the EngineRole enum.
type Event ¶
type Event struct {
// Account Stable account identity and its current initial revision.
//
// Example: {"address":"alice@localhost","connectionState":"not_connected","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","label":"Personal","protocol":"xmpp","revisionId":"019a5df0-0000-7000-8000-000000000002"}
Account *Account `json:"account,omitempty"`
// Avatar Retained profile image projection, scoped to an account and canonical protocol address. Empty imageHash means the provider explicitly returned no image. Provider errors keep the last known image.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000003","address":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001","imageHash":"","revisionId":"019a5df0-0000-7000-8000-000000000002","updatedAt":"2026-11-07T12:00:00Z"}
Avatar *Avatar `json:"avatar,omitempty"`
// Connection Current owning-engine connection state. Contains no credentials.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","state":"not_connected","updatedAt":"2026-11-07T12:00:00Z"}
Connection *Connection `json:"connection,omitempty"`
// Conversation One account-scoped conversation. Direct conversations support text sending; saved rooms and authorized room archives are recovered read-only in this increment.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","address":"bob@localhost","archived":false,"favorite":false,"id":"019a5df0-0000-7000-8000-000000000001","kind":"direct","lastMessage":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","title":"bob@localhost","unreadCount":0,"updatedAt":"2026-11-07T12:00:00Z"}
Conversation *Conversation `json:"conversation,omitempty"`
// History Last history recovery pass; counts describe this engine's retained records, not total provider history.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversations":3,"retainedMessages":50,"state":"syncing","updatedAt":"2026-11-07T12:00:00Z"}
History *HistoryStatus `json:"history,omitempty"`
// HistoryPruned Refresh the conversation and dependent views and remove these IDs from any retained pages. Replayed events can have an empty messageIds array.
HistoryPruned *HistoryPruned `json:"historyPruned,omitempty"`
// Id Engine-scoped durable event cursor.
Id string `json:"id"`
// Message Retained original text and actual send evidence. submitted means the stanza was written to the authenticated stream; it does not prove provider acceptance, recipient delivery, or read state. unknown is not automatically resent.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}}
Message *Message `json:"message,omitempty"`
OccurredAt time.Time `json:"occurredAt"`
// Preview Source-linked cached metadata. Entity UUID remains stable as enrichment/download revisions change. An absent imageHash means no local thumbnail is available. Image references without a thumbnail require explicit original download before preview/expansion.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","downloadState":"not_downloaded","id":"019a5df0-0000-7000-8000-000000000001","kind":"link","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":"019a5df0-0000-7000-8000-000000000001","siteName":"Example","state":"ready","title":"Shared article","updatedAt":"2026-11-08T12:00:00Z","url":"https://example.com/article"}
Preview *MessagePreview `json:"preview,omitempty"`
// RemovedAccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RemovedAccountId *ID `json:"removedAccountId,omitempty"`
// RoomSession Own engine's room intent and observed session, distinct from account connectivity and public occupant discovery.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","active":false,"conversationId":"019a5df0-0000-7000-8000-000000000002","state":"not_joined","updatedAt":"2026-11-08T12:00:00Z"}
RoomSession *RoomSession `json:"roomSession,omitempty"`
// Star App-owned source message star, keyed by messageId with its own revision history. Never a message edit.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000002","conversationId":"019a5df0-0000-7000-8000-000000000003","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":null,"starred":false,"updatedAt":null}
Star *MessageStar `json:"star,omitempty"`
Type EventType `json:"type"`
}
Event Durable event with the payload corresponding to its type. Accounts, connections, conversations, and messages are separate payloads. Payloads are snapshots at the event time. Refresh affected retained pages after message or conversation updates; validated corrections can collapse previously separate source UUIDs into one logical message. Historical event snapshots do not replace the current canonical projection. No credentials or raw protocol errors are included.
Example: {"account":{"address":"alice@localhost","connectionState":"not_connected","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","label":"Personal","protocol":"xmpp","revisionId":"019a5df0-0000-7000-8000-000000000002"},"id":"019a5df0-0000-7000-8000-000000000003:1","occurredAt":"2026-11-07T12:00:00Z","type":"account.registered"}
type EventType ¶
type EventType string
EventType defines model for Event.Type.
const ( AccountConnectionChanged EventType = "account.connection_changed" AccountHistoryChanged EventType = "account.history_changed" AccountRegistered EventType = "account.registered" AccountRemoved EventType = "account.removed" AccountUpdated EventType = "account.updated" ConversationCreated EventType = "conversation.created" ConversationHistoryPruned EventType = "conversation.history_pruned" ConversationRoomSessionChanged EventType = "conversation.room_session_changed" ConversationUpdated EventType = "conversation.updated" MessageCreated EventType = "message.created" MessagePreviewChanged EventType = "message.preview_changed" MessageStarChanged EventType = "message.star_changed" MessageUpdated EventType = "message.updated" ProfileAvatarChanged EventType = "profile.avatar_changed" )
Defines values for EventType.
type ForwardMessage ¶
type ForwardMessage struct {
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
}
ForwardMessage Copy one retained source revision into a new send for the destination conversation.
Example: {"conversationId":"019a5df0-0000-7000-8000-000000000002","expectedRevisionId":"019a5df0-0000-7000-8000-000000000001"}
type ForwardMessage200JSONResponse ¶
type ForwardMessage200JSONResponse Message
func (ForwardMessage200JSONResponse) VisitForwardMessageResponse ¶
func (response ForwardMessage200JSONResponse) VisitForwardMessageResponse(w http.ResponseWriter) error
type ForwardMessage202JSONResponse ¶
type ForwardMessage202JSONResponse Message
func (ForwardMessage202JSONResponse) VisitForwardMessageResponse ¶
func (response ForwardMessage202JSONResponse) VisitForwardMessageResponse(w http.ResponseWriter) error
type ForwardMessage400ApplicationProblemPlusJSONResponse ¶
type ForwardMessage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ForwardMessage400ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse ¶
func (response ForwardMessage400ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse(w http.ResponseWriter) error
type ForwardMessage401ApplicationProblemPlusJSONResponse ¶
type ForwardMessage401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ForwardMessage401ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse ¶
func (response ForwardMessage401ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse(w http.ResponseWriter) error
type ForwardMessage404ApplicationProblemPlusJSONResponse ¶
type ForwardMessage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ForwardMessage404ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse ¶
func (response ForwardMessage404ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse(w http.ResponseWriter) error
type ForwardMessage409ApplicationProblemPlusJSONResponse ¶
type ForwardMessage409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ForwardMessage409ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse ¶
func (response ForwardMessage409ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse(w http.ResponseWriter) error
type ForwardMessage413ApplicationProblemPlusJSONResponse ¶
type ForwardMessage413ApplicationProblemPlusJSONResponse Problem
func (ForwardMessage413ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse ¶
func (response ForwardMessage413ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse(w http.ResponseWriter) error
type ForwardMessage503ApplicationProblemPlusJSONResponse ¶
type ForwardMessage503ApplicationProblemPlusJSONResponse struct {
}
func (ForwardMessage503ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse ¶
func (response ForwardMessage503ApplicationProblemPlusJSONResponse) VisitForwardMessageResponse(w http.ResponseWriter) error
type ForwardMessageJSONRequestBody ¶
type ForwardMessageJSONRequestBody = ForwardMessage
ForwardMessageJSONRequestBody defines body for ForwardMessage for application/json ContentType.
type ForwardMessageParams ¶
type ForwardMessageParams struct {
// IdempotencyKey Stable UUIDv7 for this source revision and destination.
IdempotencyKey ID `json:"Idempotency-Key"`
}
ForwardMessageParams defines parameters for ForwardMessage.
type ForwardMessageRequestObject ¶
type ForwardMessageRequestObject struct {
MessageId MessageID `json:"messageId"`
Params ForwardMessageParams
Body *ForwardMessageJSONRequestBody
}
type ForwardMessageResponse ¶
type ForwardMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Message
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *Message
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ForwardMessageResponse401Headers
}
func ParseForwardMessageResponse ¶
func ParseForwardMessageResponse(rsp *http.Response) (*ForwardMessageResponse, error)
ParseForwardMessageResponse parses an HTTP response from a ForwardMessageWithResponse call
func (ForwardMessageResponse) ContentType ¶
func (r ForwardMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ForwardMessageResponse) GetApplicationproblemJSON400 ¶
func (r ForwardMessageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ForwardMessageResponse) GetApplicationproblemJSON401 ¶
func (r ForwardMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ForwardMessageResponse) GetApplicationproblemJSON404 ¶
func (r ForwardMessageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ForwardMessageResponse) GetApplicationproblemJSON409 ¶
func (r ForwardMessageResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ForwardMessageResponse) GetApplicationproblemJSON413 ¶
func (r ForwardMessageResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (ForwardMessageResponse) GetApplicationproblemJSON503 ¶
func (r ForwardMessageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ForwardMessageResponse) GetBody ¶
func (r ForwardMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ForwardMessageResponse) GetJSON200 ¶
func (r ForwardMessageResponse) GetJSON200() *Message
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ForwardMessageResponse) GetJSON202 ¶
func (r ForwardMessageResponse) GetJSON202() *Message
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ForwardMessageResponse) Status ¶
func (r ForwardMessageResponse) Status() string
Status returns HTTPResponse.Status
func (ForwardMessageResponse) StatusCode ¶
func (r ForwardMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ForwardMessageResponse401Headers ¶
type ForwardMessageResponse401Headers struct {
WWWAuthenticate *string
}
ForwardMessageResponse401Headers the declared response headers of an HTTP 401 response for ForwardMessage
type ForwardMessageResponseObject ¶
type ForwardMessageResponseObject interface {
VisitForwardMessageResponse(w http.ResponseWriter) error
}
type GetAccount200JSONResponse ¶
type GetAccount200JSONResponse Account
func (GetAccount200JSONResponse) VisitGetAccountResponse ¶
func (response GetAccount200JSONResponse) VisitGetAccountResponse(w http.ResponseWriter) error
type GetAccount400ApplicationProblemPlusJSONResponse ¶
type GetAccount400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetAccount400ApplicationProblemPlusJSONResponse) VisitGetAccountResponse ¶
func (response GetAccount400ApplicationProblemPlusJSONResponse) VisitGetAccountResponse(w http.ResponseWriter) error
type GetAccount401ApplicationProblemPlusJSONResponse ¶
type GetAccount401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetAccount401ApplicationProblemPlusJSONResponse) VisitGetAccountResponse ¶
func (response GetAccount401ApplicationProblemPlusJSONResponse) VisitGetAccountResponse(w http.ResponseWriter) error
type GetAccount404ApplicationProblemPlusJSONResponse ¶
type GetAccount404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetAccount404ApplicationProblemPlusJSONResponse) VisitGetAccountResponse ¶
func (response GetAccount404ApplicationProblemPlusJSONResponse) VisitGetAccountResponse(w http.ResponseWriter) error
type GetAccount503ApplicationProblemPlusJSONResponse ¶
type GetAccount503ApplicationProblemPlusJSONResponse struct {
}
func (GetAccount503ApplicationProblemPlusJSONResponse) VisitGetAccountResponse ¶
func (response GetAccount503ApplicationProblemPlusJSONResponse) VisitGetAccountResponse(w http.ResponseWriter) error
type GetAccountCapabilities200JSONResponse ¶
type GetAccountCapabilities200JSONResponse Capabilities
func (GetAccountCapabilities200JSONResponse) VisitGetAccountCapabilitiesResponse ¶
func (response GetAccountCapabilities200JSONResponse) VisitGetAccountCapabilitiesResponse(w http.ResponseWriter) error
type GetAccountCapabilities400ApplicationProblemPlusJSONResponse ¶
type GetAccountCapabilities400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetAccountCapabilities400ApplicationProblemPlusJSONResponse) VisitGetAccountCapabilitiesResponse ¶
func (response GetAccountCapabilities400ApplicationProblemPlusJSONResponse) VisitGetAccountCapabilitiesResponse(w http.ResponseWriter) error
type GetAccountCapabilities401ApplicationProblemPlusJSONResponse ¶
type GetAccountCapabilities401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetAccountCapabilities401ApplicationProblemPlusJSONResponse) VisitGetAccountCapabilitiesResponse ¶
func (response GetAccountCapabilities401ApplicationProblemPlusJSONResponse) VisitGetAccountCapabilitiesResponse(w http.ResponseWriter) error
type GetAccountCapabilities404ApplicationProblemPlusJSONResponse ¶
type GetAccountCapabilities404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetAccountCapabilities404ApplicationProblemPlusJSONResponse) VisitGetAccountCapabilitiesResponse ¶
func (response GetAccountCapabilities404ApplicationProblemPlusJSONResponse) VisitGetAccountCapabilitiesResponse(w http.ResponseWriter) error
type GetAccountCapabilities503ApplicationProblemPlusJSONResponse ¶
type GetAccountCapabilities503ApplicationProblemPlusJSONResponse struct {
}
func (GetAccountCapabilities503ApplicationProblemPlusJSONResponse) VisitGetAccountCapabilitiesResponse ¶
func (response GetAccountCapabilities503ApplicationProblemPlusJSONResponse) VisitGetAccountCapabilitiesResponse(w http.ResponseWriter) error
type GetAccountCapabilitiesRequestObject ¶
type GetAccountCapabilitiesRequestObject struct {
AccountId AccountID `json:"accountId"`
}
type GetAccountCapabilitiesResponse ¶
type GetAccountCapabilitiesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Capabilities
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetAccountCapabilitiesResponse401Headers
}
func ParseGetAccountCapabilitiesResponse ¶
func ParseGetAccountCapabilitiesResponse(rsp *http.Response) (*GetAccountCapabilitiesResponse, error)
ParseGetAccountCapabilitiesResponse parses an HTTP response from a GetAccountCapabilitiesWithResponse call
func (GetAccountCapabilitiesResponse) ContentType ¶
func (r GetAccountCapabilitiesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccountCapabilitiesResponse) GetApplicationproblemJSON400 ¶
func (r GetAccountCapabilitiesResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetAccountCapabilitiesResponse) GetApplicationproblemJSON401 ¶
func (r GetAccountCapabilitiesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAccountCapabilitiesResponse) GetApplicationproblemJSON404 ¶
func (r GetAccountCapabilitiesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetAccountCapabilitiesResponse) GetApplicationproblemJSON503 ¶
func (r GetAccountCapabilitiesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetAccountCapabilitiesResponse) GetBody ¶
func (r GetAccountCapabilitiesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountCapabilitiesResponse) GetJSON200 ¶
func (r GetAccountCapabilitiesResponse) GetJSON200() *Capabilities
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccountCapabilitiesResponse) Status ¶
func (r GetAccountCapabilitiesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountCapabilitiesResponse) StatusCode ¶
func (r GetAccountCapabilitiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountCapabilitiesResponse401Headers ¶
type GetAccountCapabilitiesResponse401Headers struct {
WWWAuthenticate *string
}
GetAccountCapabilitiesResponse401Headers the declared response headers of an HTTP 401 response for GetAccountCapabilities
type GetAccountCapabilitiesResponseObject ¶
type GetAccountCapabilitiesResponseObject interface {
VisitGetAccountCapabilitiesResponse(w http.ResponseWriter) error
}
type GetAccountCommunicationPreferences200JSONResponse ¶
type GetAccountCommunicationPreferences200JSONResponse AccountCommunicationPreferences
func (GetAccountCommunicationPreferences200JSONResponse) VisitGetAccountCommunicationPreferencesResponse ¶
func (response GetAccountCommunicationPreferences200JSONResponse) VisitGetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type GetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse ¶
type GetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse) VisitGetAccountCommunicationPreferencesResponse ¶
func (response GetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse) VisitGetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type GetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse ¶
type GetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse struct {
}
func (GetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse) VisitGetAccountCommunicationPreferencesResponse ¶
func (response GetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse) VisitGetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type GetAccountCommunicationPreferencesRequestObject ¶
type GetAccountCommunicationPreferencesRequestObject struct {
AccountId AccountID `json:"accountId"`
}
type GetAccountCommunicationPreferencesResponse ¶
type GetAccountCommunicationPreferencesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AccountCommunicationPreferences
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
}
func ParseGetAccountCommunicationPreferencesResponse ¶
func ParseGetAccountCommunicationPreferencesResponse(rsp *http.Response) (*GetAccountCommunicationPreferencesResponse, error)
ParseGetAccountCommunicationPreferencesResponse parses an HTTP response from a GetAccountCommunicationPreferencesWithResponse call
func (GetAccountCommunicationPreferencesResponse) ContentType ¶
func (r GetAccountCommunicationPreferencesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON404 ¶
func (r GetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON503 ¶
func (r GetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetAccountCommunicationPreferencesResponse) GetBody ¶
func (r GetAccountCommunicationPreferencesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountCommunicationPreferencesResponse) GetJSON200 ¶
func (r GetAccountCommunicationPreferencesResponse) GetJSON200() *AccountCommunicationPreferences
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccountCommunicationPreferencesResponse) Status ¶
func (r GetAccountCommunicationPreferencesResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountCommunicationPreferencesResponse) StatusCode ¶
func (r GetAccountCommunicationPreferencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountCommunicationPreferencesResponseObject ¶
type GetAccountCommunicationPreferencesResponseObject interface {
VisitGetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
}
type GetAccountConnection200JSONResponse ¶
type GetAccountConnection200JSONResponse Connection
func (GetAccountConnection200JSONResponse) VisitGetAccountConnectionResponse ¶
func (response GetAccountConnection200JSONResponse) VisitGetAccountConnectionResponse(w http.ResponseWriter) error
type GetAccountConnection400ApplicationProblemPlusJSONResponse ¶
type GetAccountConnection400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetAccountConnection400ApplicationProblemPlusJSONResponse) VisitGetAccountConnectionResponse ¶
func (response GetAccountConnection400ApplicationProblemPlusJSONResponse) VisitGetAccountConnectionResponse(w http.ResponseWriter) error
type GetAccountConnection401ApplicationProblemPlusJSONResponse ¶
type GetAccountConnection401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetAccountConnection401ApplicationProblemPlusJSONResponse) VisitGetAccountConnectionResponse ¶
func (response GetAccountConnection401ApplicationProblemPlusJSONResponse) VisitGetAccountConnectionResponse(w http.ResponseWriter) error
type GetAccountConnection404ApplicationProblemPlusJSONResponse ¶
type GetAccountConnection404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetAccountConnection404ApplicationProblemPlusJSONResponse) VisitGetAccountConnectionResponse ¶
func (response GetAccountConnection404ApplicationProblemPlusJSONResponse) VisitGetAccountConnectionResponse(w http.ResponseWriter) error
type GetAccountConnection503ApplicationProblemPlusJSONResponse ¶
type GetAccountConnection503ApplicationProblemPlusJSONResponse struct {
}
func (GetAccountConnection503ApplicationProblemPlusJSONResponse) VisitGetAccountConnectionResponse ¶
func (response GetAccountConnection503ApplicationProblemPlusJSONResponse) VisitGetAccountConnectionResponse(w http.ResponseWriter) error
type GetAccountConnectionRequestObject ¶
type GetAccountConnectionRequestObject struct {
AccountId AccountID `json:"accountId"`
}
type GetAccountConnectionResponse ¶
type GetAccountConnectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Connection
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetAccountConnectionResponse401Headers
}
func ParseGetAccountConnectionResponse ¶
func ParseGetAccountConnectionResponse(rsp *http.Response) (*GetAccountConnectionResponse, error)
ParseGetAccountConnectionResponse parses an HTTP response from a GetAccountConnectionWithResponse call
func (GetAccountConnectionResponse) ContentType ¶
func (r GetAccountConnectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccountConnectionResponse) GetApplicationproblemJSON400 ¶
func (r GetAccountConnectionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetAccountConnectionResponse) GetApplicationproblemJSON401 ¶
func (r GetAccountConnectionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAccountConnectionResponse) GetApplicationproblemJSON404 ¶
func (r GetAccountConnectionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetAccountConnectionResponse) GetApplicationproblemJSON503 ¶
func (r GetAccountConnectionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetAccountConnectionResponse) GetBody ¶
func (r GetAccountConnectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountConnectionResponse) GetJSON200 ¶
func (r GetAccountConnectionResponse) GetJSON200() *Connection
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccountConnectionResponse) Status ¶
func (r GetAccountConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountConnectionResponse) StatusCode ¶
func (r GetAccountConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountConnectionResponse401Headers ¶
type GetAccountConnectionResponse401Headers struct {
WWWAuthenticate *string
}
GetAccountConnectionResponse401Headers the declared response headers of an HTTP 401 response for GetAccountConnection
type GetAccountConnectionResponseObject ¶
type GetAccountConnectionResponseObject interface {
VisitGetAccountConnectionResponse(w http.ResponseWriter) error
}
type GetAccountHistory200JSONResponse ¶
type GetAccountHistory200JSONResponse HistoryStatus
func (GetAccountHistory200JSONResponse) VisitGetAccountHistoryResponse ¶
func (response GetAccountHistory200JSONResponse) VisitGetAccountHistoryResponse(w http.ResponseWriter) error
type GetAccountHistory400ApplicationProblemPlusJSONResponse ¶
type GetAccountHistory400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetAccountHistory400ApplicationProblemPlusJSONResponse) VisitGetAccountHistoryResponse ¶
func (response GetAccountHistory400ApplicationProblemPlusJSONResponse) VisitGetAccountHistoryResponse(w http.ResponseWriter) error
type GetAccountHistory401ApplicationProblemPlusJSONResponse ¶
type GetAccountHistory401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetAccountHistory401ApplicationProblemPlusJSONResponse) VisitGetAccountHistoryResponse ¶
func (response GetAccountHistory401ApplicationProblemPlusJSONResponse) VisitGetAccountHistoryResponse(w http.ResponseWriter) error
type GetAccountHistory404ApplicationProblemPlusJSONResponse ¶
type GetAccountHistory404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetAccountHistory404ApplicationProblemPlusJSONResponse) VisitGetAccountHistoryResponse ¶
func (response GetAccountHistory404ApplicationProblemPlusJSONResponse) VisitGetAccountHistoryResponse(w http.ResponseWriter) error
type GetAccountHistory503ApplicationProblemPlusJSONResponse ¶
type GetAccountHistory503ApplicationProblemPlusJSONResponse struct {
}
func (GetAccountHistory503ApplicationProblemPlusJSONResponse) VisitGetAccountHistoryResponse ¶
func (response GetAccountHistory503ApplicationProblemPlusJSONResponse) VisitGetAccountHistoryResponse(w http.ResponseWriter) error
type GetAccountHistoryRequestObject ¶
type GetAccountHistoryRequestObject struct {
AccountId AccountID `json:"accountId"`
}
type GetAccountHistoryResponse ¶
type GetAccountHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HistoryStatus
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetAccountHistoryResponse401Headers
}
func ParseGetAccountHistoryResponse ¶
func ParseGetAccountHistoryResponse(rsp *http.Response) (*GetAccountHistoryResponse, error)
ParseGetAccountHistoryResponse parses an HTTP response from a GetAccountHistoryWithResponse call
func (GetAccountHistoryResponse) ContentType ¶
func (r GetAccountHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccountHistoryResponse) GetApplicationproblemJSON400 ¶
func (r GetAccountHistoryResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetAccountHistoryResponse) GetApplicationproblemJSON401 ¶
func (r GetAccountHistoryResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAccountHistoryResponse) GetApplicationproblemJSON404 ¶
func (r GetAccountHistoryResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetAccountHistoryResponse) GetApplicationproblemJSON503 ¶
func (r GetAccountHistoryResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetAccountHistoryResponse) GetBody ¶
func (r GetAccountHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountHistoryResponse) GetJSON200 ¶
func (r GetAccountHistoryResponse) GetJSON200() *HistoryStatus
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccountHistoryResponse) Status ¶
func (r GetAccountHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountHistoryResponse) StatusCode ¶
func (r GetAccountHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountHistoryResponse401Headers ¶
type GetAccountHistoryResponse401Headers struct {
WWWAuthenticate *string
}
GetAccountHistoryResponse401Headers the declared response headers of an HTTP 401 response for GetAccountHistory
type GetAccountHistoryResponseObject ¶
type GetAccountHistoryResponseObject interface {
VisitGetAccountHistoryResponse(w http.ResponseWriter) error
}
type GetAccountRequestObject ¶
type GetAccountRequestObject struct {
AccountId AccountID `json:"accountId"`
}
type GetAccountResponse ¶
type GetAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Account
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetAccountResponse401Headers
}
func ParseGetAccountResponse ¶
func ParseGetAccountResponse(rsp *http.Response) (*GetAccountResponse, error)
ParseGetAccountResponse parses an HTTP response from a GetAccountWithResponse call
func (GetAccountResponse) ContentType ¶
func (r GetAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccountResponse) GetApplicationproblemJSON400 ¶
func (r GetAccountResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetAccountResponse) GetApplicationproblemJSON401 ¶
func (r GetAccountResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAccountResponse) GetApplicationproblemJSON404 ¶
func (r GetAccountResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetAccountResponse) GetApplicationproblemJSON503 ¶
func (r GetAccountResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetAccountResponse) GetBody ¶
func (r GetAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountResponse) GetJSON200 ¶
func (r GetAccountResponse) GetJSON200() *Account
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccountResponse) Status ¶
func (r GetAccountResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountResponse) StatusCode ¶
func (r GetAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountResponse401Headers ¶
type GetAccountResponse401Headers struct {
WWWAuthenticate *string
}
GetAccountResponse401Headers the declared response headers of an HTTP 401 response for GetAccount
type GetAccountResponseObject ¶
type GetAccountResponseObject interface {
VisitGetAccountResponse(w http.ResponseWriter) error
}
type GetAccountUnreadTotals200JSONResponse ¶
type GetAccountUnreadTotals200JSONResponse AccountUnreadTotals
func (GetAccountUnreadTotals200JSONResponse) VisitGetAccountUnreadTotalsResponse ¶
func (response GetAccountUnreadTotals200JSONResponse) VisitGetAccountUnreadTotalsResponse(w http.ResponseWriter) error
type GetAccountUnreadTotals401ApplicationProblemPlusJSONResponse ¶
type GetAccountUnreadTotals401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetAccountUnreadTotals401ApplicationProblemPlusJSONResponse) VisitGetAccountUnreadTotalsResponse ¶
func (response GetAccountUnreadTotals401ApplicationProblemPlusJSONResponse) VisitGetAccountUnreadTotalsResponse(w http.ResponseWriter) error
type GetAccountUnreadTotals503ApplicationProblemPlusJSONResponse ¶
type GetAccountUnreadTotals503ApplicationProblemPlusJSONResponse struct {
}
func (GetAccountUnreadTotals503ApplicationProblemPlusJSONResponse) VisitGetAccountUnreadTotalsResponse ¶
func (response GetAccountUnreadTotals503ApplicationProblemPlusJSONResponse) VisitGetAccountUnreadTotalsResponse(w http.ResponseWriter) error
type GetAccountUnreadTotalsRequestObject ¶
type GetAccountUnreadTotalsRequestObject struct {
}
type GetAccountUnreadTotalsResponse ¶
type GetAccountUnreadTotalsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AccountUnreadTotals
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetAccountUnreadTotalsResponse401Headers
}
func ParseGetAccountUnreadTotalsResponse ¶
func ParseGetAccountUnreadTotalsResponse(rsp *http.Response) (*GetAccountUnreadTotalsResponse, error)
ParseGetAccountUnreadTotalsResponse parses an HTTP response from a GetAccountUnreadTotalsWithResponse call
func (GetAccountUnreadTotalsResponse) ContentType ¶
func (r GetAccountUnreadTotalsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAccountUnreadTotalsResponse) GetApplicationproblemJSON401 ¶
func (r GetAccountUnreadTotalsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAccountUnreadTotalsResponse) GetApplicationproblemJSON503 ¶
func (r GetAccountUnreadTotalsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetAccountUnreadTotalsResponse) GetBody ¶
func (r GetAccountUnreadTotalsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAccountUnreadTotalsResponse) GetJSON200 ¶
func (r GetAccountUnreadTotalsResponse) GetJSON200() *AccountUnreadTotals
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAccountUnreadTotalsResponse) Status ¶
func (r GetAccountUnreadTotalsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountUnreadTotalsResponse) StatusCode ¶
func (r GetAccountUnreadTotalsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAccountUnreadTotalsResponse401Headers ¶
type GetAccountUnreadTotalsResponse401Headers struct {
WWWAuthenticate *string
}
GetAccountUnreadTotalsResponse401Headers the declared response headers of an HTTP 401 response for GetAccountUnreadTotals
type GetAccountUnreadTotalsResponseObject ¶
type GetAccountUnreadTotalsResponseObject interface {
VisitGetAccountUnreadTotalsResponse(w http.ResponseWriter) error
}
type GetAvatarImage200ImagepngResponse ¶
type GetAvatarImage200ImagepngResponse struct {
Body io.Reader
Headers GetAvatarImage200ResponseHeaders
ContentLength int64
}
func (GetAvatarImage200ImagepngResponse) VisitGetAvatarImageResponse ¶
func (response GetAvatarImage200ImagepngResponse) VisitGetAvatarImageResponse(w http.ResponseWriter) error
type GetAvatarImage304Response ¶
type GetAvatarImage304Response struct {
}
func (GetAvatarImage304Response) VisitGetAvatarImageResponse ¶
func (response GetAvatarImage304Response) VisitGetAvatarImageResponse(w http.ResponseWriter) error
type GetAvatarImage400ApplicationProblemPlusJSONResponse ¶
type GetAvatarImage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetAvatarImage400ApplicationProblemPlusJSONResponse) VisitGetAvatarImageResponse ¶
func (response GetAvatarImage400ApplicationProblemPlusJSONResponse) VisitGetAvatarImageResponse(w http.ResponseWriter) error
type GetAvatarImage401ApplicationProblemPlusJSONResponse ¶
type GetAvatarImage401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetAvatarImage401ApplicationProblemPlusJSONResponse) VisitGetAvatarImageResponse ¶
func (response GetAvatarImage401ApplicationProblemPlusJSONResponse) VisitGetAvatarImageResponse(w http.ResponseWriter) error
type GetAvatarImage404ApplicationProblemPlusJSONResponse ¶
type GetAvatarImage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetAvatarImage404ApplicationProblemPlusJSONResponse) VisitGetAvatarImageResponse ¶
func (response GetAvatarImage404ApplicationProblemPlusJSONResponse) VisitGetAvatarImageResponse(w http.ResponseWriter) error
type GetAvatarImage503ApplicationProblemPlusJSONResponse ¶
type GetAvatarImage503ApplicationProblemPlusJSONResponse struct {
}
func (GetAvatarImage503ApplicationProblemPlusJSONResponse) VisitGetAvatarImageResponse ¶
func (response GetAvatarImage503ApplicationProblemPlusJSONResponse) VisitGetAvatarImageResponse(w http.ResponseWriter) error
type GetAvatarImageParams ¶
type GetAvatarImageParams struct {
// IfNoneMatch Previously received content ETag.
IfNoneMatch *string `json:"If-None-Match,omitempty"`
}
GetAvatarImageParams defines parameters for GetAvatarImage.
type GetAvatarImageRequestObject ¶
type GetAvatarImageRequestObject struct {
Hash string `json:"hash"`
Params GetAvatarImageParams
}
type GetAvatarImageResponse ¶
type GetAvatarImageResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetAvatarImageResponse200Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetAvatarImageResponse401Headers
}
func ParseGetAvatarImageResponse ¶
func ParseGetAvatarImageResponse(rsp *http.Response) (*GetAvatarImageResponse, error)
ParseGetAvatarImageResponse parses an HTTP response from a GetAvatarImageWithResponse call
func (GetAvatarImageResponse) ContentType ¶
func (r GetAvatarImageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAvatarImageResponse) GetApplicationproblemJSON400 ¶
func (r GetAvatarImageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetAvatarImageResponse) GetApplicationproblemJSON401 ¶
func (r GetAvatarImageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetAvatarImageResponse) GetApplicationproblemJSON404 ¶
func (r GetAvatarImageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetAvatarImageResponse) GetApplicationproblemJSON503 ¶
func (r GetAvatarImageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetAvatarImageResponse) GetBody ¶
func (r GetAvatarImageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAvatarImageResponse) Status ¶
func (r GetAvatarImageResponse) Status() string
Status returns HTTPResponse.Status
func (GetAvatarImageResponse) StatusCode ¶
func (r GetAvatarImageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAvatarImageResponse200Headers ¶
GetAvatarImageResponse200Headers the declared response headers of an HTTP 200 response for GetAvatarImage
type GetAvatarImageResponse401Headers ¶
type GetAvatarImageResponse401Headers struct {
WWWAuthenticate *string
}
GetAvatarImageResponse401Headers the declared response headers of an HTTP 401 response for GetAvatarImage
type GetAvatarImageResponseObject ¶
type GetAvatarImageResponseObject interface {
VisitGetAvatarImageResponse(w http.ResponseWriter) error
}
type GetConversation200JSONResponse ¶
type GetConversation200JSONResponse Conversation
func (GetConversation200JSONResponse) VisitGetConversationResponse ¶
func (response GetConversation200JSONResponse) VisitGetConversationResponse(w http.ResponseWriter) error
type GetConversation400ApplicationProblemPlusJSONResponse ¶
type GetConversation400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetConversation400ApplicationProblemPlusJSONResponse) VisitGetConversationResponse ¶
func (response GetConversation400ApplicationProblemPlusJSONResponse) VisitGetConversationResponse(w http.ResponseWriter) error
type GetConversation401ApplicationProblemPlusJSONResponse ¶
type GetConversation401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetConversation401ApplicationProblemPlusJSONResponse) VisitGetConversationResponse ¶
func (response GetConversation401ApplicationProblemPlusJSONResponse) VisitGetConversationResponse(w http.ResponseWriter) error
type GetConversation404ApplicationProblemPlusJSONResponse ¶
type GetConversation404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetConversation404ApplicationProblemPlusJSONResponse) VisitGetConversationResponse ¶
func (response GetConversation404ApplicationProblemPlusJSONResponse) VisitGetConversationResponse(w http.ResponseWriter) error
type GetConversation503ApplicationProblemPlusJSONResponse ¶
type GetConversation503ApplicationProblemPlusJSONResponse struct {
}
func (GetConversation503ApplicationProblemPlusJSONResponse) VisitGetConversationResponse ¶
func (response GetConversation503ApplicationProblemPlusJSONResponse) VisitGetConversationResponse(w http.ResponseWriter) error
type GetConversationDetails200JSONResponse ¶
type GetConversationDetails200JSONResponse ConversationDetails
func (GetConversationDetails200JSONResponse) VisitGetConversationDetailsResponse ¶
func (response GetConversationDetails200JSONResponse) VisitGetConversationDetailsResponse(w http.ResponseWriter) error
type GetConversationDetails400ApplicationProblemPlusJSONResponse ¶
type GetConversationDetails400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetConversationDetails400ApplicationProblemPlusJSONResponse) VisitGetConversationDetailsResponse ¶
func (response GetConversationDetails400ApplicationProblemPlusJSONResponse) VisitGetConversationDetailsResponse(w http.ResponseWriter) error
type GetConversationDetails401ApplicationProblemPlusJSONResponse ¶
type GetConversationDetails401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetConversationDetails401ApplicationProblemPlusJSONResponse) VisitGetConversationDetailsResponse ¶
func (response GetConversationDetails401ApplicationProblemPlusJSONResponse) VisitGetConversationDetailsResponse(w http.ResponseWriter) error
type GetConversationDetails404ApplicationProblemPlusJSONResponse ¶
type GetConversationDetails404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetConversationDetails404ApplicationProblemPlusJSONResponse) VisitGetConversationDetailsResponse ¶
func (response GetConversationDetails404ApplicationProblemPlusJSONResponse) VisitGetConversationDetailsResponse(w http.ResponseWriter) error
type GetConversationDetails503ApplicationProblemPlusJSONResponse ¶
type GetConversationDetails503ApplicationProblemPlusJSONResponse Problem
func (GetConversationDetails503ApplicationProblemPlusJSONResponse) VisitGetConversationDetailsResponse ¶
func (response GetConversationDetails503ApplicationProblemPlusJSONResponse) VisitGetConversationDetailsResponse(w http.ResponseWriter) error
type GetConversationDetailsRequestObject ¶
type GetConversationDetailsRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetConversationDetailsResponse ¶
type GetConversationDetailsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationDetails
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Problem
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetConversationDetailsResponse401Headers
}
func ParseGetConversationDetailsResponse ¶
func ParseGetConversationDetailsResponse(rsp *http.Response) (*GetConversationDetailsResponse, error)
ParseGetConversationDetailsResponse parses an HTTP response from a GetConversationDetailsWithResponse call
func (GetConversationDetailsResponse) ContentType ¶
func (r GetConversationDetailsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetConversationDetailsResponse) GetApplicationproblemJSON400 ¶
func (r GetConversationDetailsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetConversationDetailsResponse) GetApplicationproblemJSON401 ¶
func (r GetConversationDetailsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetConversationDetailsResponse) GetApplicationproblemJSON404 ¶
func (r GetConversationDetailsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetConversationDetailsResponse) GetApplicationproblemJSON503 ¶
func (r GetConversationDetailsResponse) GetApplicationproblemJSON503() *Problem
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetConversationDetailsResponse) GetBody ¶
func (r GetConversationDetailsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetConversationDetailsResponse) GetJSON200 ¶
func (r GetConversationDetailsResponse) GetJSON200() *ConversationDetails
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetConversationDetailsResponse) Status ¶
func (r GetConversationDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (GetConversationDetailsResponse) StatusCode ¶
func (r GetConversationDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConversationDetailsResponse401Headers ¶
type GetConversationDetailsResponse401Headers struct {
WWWAuthenticate *string
}
GetConversationDetailsResponse401Headers the declared response headers of an HTTP 401 response for GetConversationDetails
type GetConversationDetailsResponseObject ¶
type GetConversationDetailsResponseObject interface {
VisitGetConversationDetailsResponse(w http.ResponseWriter) error
}
type GetConversationEditTarget200JSONResponse ¶
type GetConversationEditTarget200JSONResponse MessageEditTarget
func (GetConversationEditTarget200JSONResponse) VisitGetConversationEditTargetResponse ¶
func (response GetConversationEditTarget200JSONResponse) VisitGetConversationEditTargetResponse(w http.ResponseWriter) error
type GetConversationEditTarget400ApplicationProblemPlusJSONResponse ¶
type GetConversationEditTarget400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetConversationEditTarget400ApplicationProblemPlusJSONResponse) VisitGetConversationEditTargetResponse ¶
func (response GetConversationEditTarget400ApplicationProblemPlusJSONResponse) VisitGetConversationEditTargetResponse(w http.ResponseWriter) error
type GetConversationEditTarget401ApplicationProblemPlusJSONResponse ¶
type GetConversationEditTarget401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetConversationEditTarget401ApplicationProblemPlusJSONResponse) VisitGetConversationEditTargetResponse ¶
func (response GetConversationEditTarget401ApplicationProblemPlusJSONResponse) VisitGetConversationEditTargetResponse(w http.ResponseWriter) error
type GetConversationEditTarget404ApplicationProblemPlusJSONResponse ¶
type GetConversationEditTarget404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetConversationEditTarget404ApplicationProblemPlusJSONResponse) VisitGetConversationEditTargetResponse ¶
func (response GetConversationEditTarget404ApplicationProblemPlusJSONResponse) VisitGetConversationEditTargetResponse(w http.ResponseWriter) error
type GetConversationEditTarget503ApplicationProblemPlusJSONResponse ¶
type GetConversationEditTarget503ApplicationProblemPlusJSONResponse struct {
}
func (GetConversationEditTarget503ApplicationProblemPlusJSONResponse) VisitGetConversationEditTargetResponse ¶
func (response GetConversationEditTarget503ApplicationProblemPlusJSONResponse) VisitGetConversationEditTargetResponse(w http.ResponseWriter) error
type GetConversationEditTargetRequestObject ¶
type GetConversationEditTargetRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetConversationEditTargetResponse ¶
type GetConversationEditTargetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageEditTarget
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetConversationEditTargetResponse401Headers
}
func ParseGetConversationEditTargetResponse ¶
func ParseGetConversationEditTargetResponse(rsp *http.Response) (*GetConversationEditTargetResponse, error)
ParseGetConversationEditTargetResponse parses an HTTP response from a GetConversationEditTargetWithResponse call
func (GetConversationEditTargetResponse) ContentType ¶
func (r GetConversationEditTargetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetConversationEditTargetResponse) GetApplicationproblemJSON400 ¶
func (r GetConversationEditTargetResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetConversationEditTargetResponse) GetApplicationproblemJSON401 ¶
func (r GetConversationEditTargetResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetConversationEditTargetResponse) GetApplicationproblemJSON404 ¶
func (r GetConversationEditTargetResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetConversationEditTargetResponse) GetApplicationproblemJSON503 ¶
func (r GetConversationEditTargetResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetConversationEditTargetResponse) GetBody ¶
func (r GetConversationEditTargetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetConversationEditTargetResponse) GetJSON200 ¶
func (r GetConversationEditTargetResponse) GetJSON200() *MessageEditTarget
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetConversationEditTargetResponse) Status ¶
func (r GetConversationEditTargetResponse) Status() string
Status returns HTTPResponse.Status
func (GetConversationEditTargetResponse) StatusCode ¶
func (r GetConversationEditTargetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConversationEditTargetResponse401Headers ¶
type GetConversationEditTargetResponse401Headers struct {
WWWAuthenticate *string
}
GetConversationEditTargetResponse401Headers the declared response headers of an HTTP 401 response for GetConversationEditTarget
type GetConversationEditTargetResponseObject ¶
type GetConversationEditTargetResponseObject interface {
VisitGetConversationEditTargetResponse(w http.ResponseWriter) error
}
type GetConversationReadReceipts200JSONResponse ¶
type GetConversationReadReceipts200JSONResponse ConversationReadReceipts
func (GetConversationReadReceipts200JSONResponse) VisitGetConversationReadReceiptsResponse ¶
func (response GetConversationReadReceipts200JSONResponse) VisitGetConversationReadReceiptsResponse(w http.ResponseWriter) error
type GetConversationReadReceipts400ApplicationProblemPlusJSONResponse ¶
type GetConversationReadReceipts400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetConversationReadReceipts400ApplicationProblemPlusJSONResponse) VisitGetConversationReadReceiptsResponse ¶
func (response GetConversationReadReceipts400ApplicationProblemPlusJSONResponse) VisitGetConversationReadReceiptsResponse(w http.ResponseWriter) error
type GetConversationReadReceipts401ApplicationProblemPlusJSONResponse ¶
type GetConversationReadReceipts401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetConversationReadReceipts401ApplicationProblemPlusJSONResponse) VisitGetConversationReadReceiptsResponse ¶
func (response GetConversationReadReceipts401ApplicationProblemPlusJSONResponse) VisitGetConversationReadReceiptsResponse(w http.ResponseWriter) error
type GetConversationReadReceipts404ApplicationProblemPlusJSONResponse ¶
type GetConversationReadReceipts404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetConversationReadReceipts404ApplicationProblemPlusJSONResponse) VisitGetConversationReadReceiptsResponse ¶
func (response GetConversationReadReceipts404ApplicationProblemPlusJSONResponse) VisitGetConversationReadReceiptsResponse(w http.ResponseWriter) error
type GetConversationReadReceipts503ApplicationProblemPlusJSONResponse ¶
type GetConversationReadReceipts503ApplicationProblemPlusJSONResponse struct {
}
func (GetConversationReadReceipts503ApplicationProblemPlusJSONResponse) VisitGetConversationReadReceiptsResponse ¶
func (response GetConversationReadReceipts503ApplicationProblemPlusJSONResponse) VisitGetConversationReadReceiptsResponse(w http.ResponseWriter) error
type GetConversationReadReceiptsRequestObject ¶
type GetConversationReadReceiptsRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetConversationReadReceiptsResponse ¶
type GetConversationReadReceiptsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationReadReceipts
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetConversationReadReceiptsResponse401Headers
}
func ParseGetConversationReadReceiptsResponse ¶
func ParseGetConversationReadReceiptsResponse(rsp *http.Response) (*GetConversationReadReceiptsResponse, error)
ParseGetConversationReadReceiptsResponse parses an HTTP response from a GetConversationReadReceiptsWithResponse call
func (GetConversationReadReceiptsResponse) ContentType ¶
func (r GetConversationReadReceiptsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetConversationReadReceiptsResponse) GetApplicationproblemJSON400 ¶
func (r GetConversationReadReceiptsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetConversationReadReceiptsResponse) GetApplicationproblemJSON401 ¶
func (r GetConversationReadReceiptsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetConversationReadReceiptsResponse) GetApplicationproblemJSON404 ¶
func (r GetConversationReadReceiptsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetConversationReadReceiptsResponse) GetApplicationproblemJSON503 ¶
func (r GetConversationReadReceiptsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetConversationReadReceiptsResponse) GetBody ¶
func (r GetConversationReadReceiptsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetConversationReadReceiptsResponse) GetJSON200 ¶
func (r GetConversationReadReceiptsResponse) GetJSON200() *ConversationReadReceipts
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetConversationReadReceiptsResponse) Status ¶
func (r GetConversationReadReceiptsResponse) Status() string
Status returns HTTPResponse.Status
func (GetConversationReadReceiptsResponse) StatusCode ¶
func (r GetConversationReadReceiptsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConversationReadReceiptsResponse401Headers ¶
type GetConversationReadReceiptsResponse401Headers struct {
WWWAuthenticate *string
}
GetConversationReadReceiptsResponse401Headers the declared response headers of an HTTP 401 response for GetConversationReadReceipts
type GetConversationReadReceiptsResponseObject ¶
type GetConversationReadReceiptsResponseObject interface {
VisitGetConversationReadReceiptsResponse(w http.ResponseWriter) error
}
type GetConversationReadState200JSONResponse ¶
type GetConversationReadState200JSONResponse ConversationReadState
func (GetConversationReadState200JSONResponse) VisitGetConversationReadStateResponse ¶
func (response GetConversationReadState200JSONResponse) VisitGetConversationReadStateResponse(w http.ResponseWriter) error
type GetConversationReadState400ApplicationProblemPlusJSONResponse ¶
type GetConversationReadState400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetConversationReadState400ApplicationProblemPlusJSONResponse) VisitGetConversationReadStateResponse ¶
func (response GetConversationReadState400ApplicationProblemPlusJSONResponse) VisitGetConversationReadStateResponse(w http.ResponseWriter) error
type GetConversationReadState401ApplicationProblemPlusJSONResponse ¶
type GetConversationReadState401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetConversationReadState401ApplicationProblemPlusJSONResponse) VisitGetConversationReadStateResponse ¶
func (response GetConversationReadState401ApplicationProblemPlusJSONResponse) VisitGetConversationReadStateResponse(w http.ResponseWriter) error
type GetConversationReadState404ApplicationProblemPlusJSONResponse ¶
type GetConversationReadState404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetConversationReadState404ApplicationProblemPlusJSONResponse) VisitGetConversationReadStateResponse ¶
func (response GetConversationReadState404ApplicationProblemPlusJSONResponse) VisitGetConversationReadStateResponse(w http.ResponseWriter) error
type GetConversationReadState503ApplicationProblemPlusJSONResponse ¶
type GetConversationReadState503ApplicationProblemPlusJSONResponse struct {
}
func (GetConversationReadState503ApplicationProblemPlusJSONResponse) VisitGetConversationReadStateResponse ¶
func (response GetConversationReadState503ApplicationProblemPlusJSONResponse) VisitGetConversationReadStateResponse(w http.ResponseWriter) error
type GetConversationReadStateRequestObject ¶
type GetConversationReadStateRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetConversationReadStateResponse ¶
type GetConversationReadStateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationReadState
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetConversationReadStateResponse401Headers
}
func ParseGetConversationReadStateResponse ¶
func ParseGetConversationReadStateResponse(rsp *http.Response) (*GetConversationReadStateResponse, error)
ParseGetConversationReadStateResponse parses an HTTP response from a GetConversationReadStateWithResponse call
func (GetConversationReadStateResponse) ContentType ¶
func (r GetConversationReadStateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetConversationReadStateResponse) GetApplicationproblemJSON400 ¶
func (r GetConversationReadStateResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetConversationReadStateResponse) GetApplicationproblemJSON401 ¶
func (r GetConversationReadStateResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetConversationReadStateResponse) GetApplicationproblemJSON404 ¶
func (r GetConversationReadStateResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetConversationReadStateResponse) GetApplicationproblemJSON503 ¶
func (r GetConversationReadStateResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetConversationReadStateResponse) GetBody ¶
func (r GetConversationReadStateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetConversationReadStateResponse) GetJSON200 ¶
func (r GetConversationReadStateResponse) GetJSON200() *ConversationReadState
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetConversationReadStateResponse) Status ¶
func (r GetConversationReadStateResponse) Status() string
Status returns HTTPResponse.Status
func (GetConversationReadStateResponse) StatusCode ¶
func (r GetConversationReadStateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConversationReadStateResponse401Headers ¶
type GetConversationReadStateResponse401Headers struct {
WWWAuthenticate *string
}
GetConversationReadStateResponse401Headers the declared response headers of an HTTP 401 response for GetConversationReadState
type GetConversationReadStateResponseObject ¶
type GetConversationReadStateResponseObject interface {
VisitGetConversationReadStateResponse(w http.ResponseWriter) error
}
type GetConversationRequestObject ¶
type GetConversationRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetConversationResponse ¶
type GetConversationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Conversation
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetConversationResponse401Headers
}
func ParseGetConversationResponse ¶
func ParseGetConversationResponse(rsp *http.Response) (*GetConversationResponse, error)
ParseGetConversationResponse parses an HTTP response from a GetConversationWithResponse call
func (GetConversationResponse) ContentType ¶
func (r GetConversationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetConversationResponse) GetApplicationproblemJSON400 ¶
func (r GetConversationResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetConversationResponse) GetApplicationproblemJSON401 ¶
func (r GetConversationResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetConversationResponse) GetApplicationproblemJSON404 ¶
func (r GetConversationResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetConversationResponse) GetApplicationproblemJSON503 ¶
func (r GetConversationResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetConversationResponse) GetBody ¶
func (r GetConversationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetConversationResponse) GetJSON200 ¶
func (r GetConversationResponse) GetJSON200() *Conversation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetConversationResponse) Status ¶
func (r GetConversationResponse) Status() string
Status returns HTTPResponse.Status
func (GetConversationResponse) StatusCode ¶
func (r GetConversationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConversationResponse401Headers ¶
type GetConversationResponse401Headers struct {
WWWAuthenticate *string
}
GetConversationResponse401Headers the declared response headers of an HTTP 401 response for GetConversation
type GetConversationResponseObject ¶
type GetConversationResponseObject interface {
VisitGetConversationResponse(w http.ResponseWriter) error
}
type GetConversationRetention200JSONResponse ¶
type GetConversationRetention200JSONResponse ConversationRetention
func (GetConversationRetention200JSONResponse) VisitGetConversationRetentionResponse ¶
func (response GetConversationRetention200JSONResponse) VisitGetConversationRetentionResponse(w http.ResponseWriter) error
type GetConversationRetention400ApplicationProblemPlusJSONResponse ¶
type GetConversationRetention400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetConversationRetention400ApplicationProblemPlusJSONResponse) VisitGetConversationRetentionResponse ¶
func (response GetConversationRetention400ApplicationProblemPlusJSONResponse) VisitGetConversationRetentionResponse(w http.ResponseWriter) error
type GetConversationRetention401ApplicationProblemPlusJSONResponse ¶
type GetConversationRetention401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetConversationRetention401ApplicationProblemPlusJSONResponse) VisitGetConversationRetentionResponse ¶
func (response GetConversationRetention401ApplicationProblemPlusJSONResponse) VisitGetConversationRetentionResponse(w http.ResponseWriter) error
type GetConversationRetention404ApplicationProblemPlusJSONResponse ¶
type GetConversationRetention404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetConversationRetention404ApplicationProblemPlusJSONResponse) VisitGetConversationRetentionResponse ¶
func (response GetConversationRetention404ApplicationProblemPlusJSONResponse) VisitGetConversationRetentionResponse(w http.ResponseWriter) error
type GetConversationRetention503ApplicationProblemPlusJSONResponse ¶
type GetConversationRetention503ApplicationProblemPlusJSONResponse struct {
}
func (GetConversationRetention503ApplicationProblemPlusJSONResponse) VisitGetConversationRetentionResponse ¶
func (response GetConversationRetention503ApplicationProblemPlusJSONResponse) VisitGetConversationRetentionResponse(w http.ResponseWriter) error
type GetConversationRetentionRequestObject ¶
type GetConversationRetentionRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetConversationRetentionResponse ¶
type GetConversationRetentionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationRetention
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetConversationRetentionResponse401Headers
}
func ParseGetConversationRetentionResponse ¶
func ParseGetConversationRetentionResponse(rsp *http.Response) (*GetConversationRetentionResponse, error)
ParseGetConversationRetentionResponse parses an HTTP response from a GetConversationRetentionWithResponse call
func (GetConversationRetentionResponse) ContentType ¶
func (r GetConversationRetentionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetConversationRetentionResponse) GetApplicationproblemJSON400 ¶
func (r GetConversationRetentionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetConversationRetentionResponse) GetApplicationproblemJSON401 ¶
func (r GetConversationRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetConversationRetentionResponse) GetApplicationproblemJSON404 ¶
func (r GetConversationRetentionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetConversationRetentionResponse) GetApplicationproblemJSON503 ¶
func (r GetConversationRetentionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetConversationRetentionResponse) GetBody ¶
func (r GetConversationRetentionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetConversationRetentionResponse) GetJSON200 ¶
func (r GetConversationRetentionResponse) GetJSON200() *ConversationRetention
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetConversationRetentionResponse) Status ¶
func (r GetConversationRetentionResponse) Status() string
Status returns HTTPResponse.Status
func (GetConversationRetentionResponse) StatusCode ¶
func (r GetConversationRetentionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConversationRetentionResponse401Headers ¶
type GetConversationRetentionResponse401Headers struct {
WWWAuthenticate *string
}
GetConversationRetentionResponse401Headers the declared response headers of an HTTP 401 response for GetConversationRetention
type GetConversationRetentionResponseObject ¶
type GetConversationRetentionResponseObject interface {
VisitGetConversationRetentionResponse(w http.ResponseWriter) error
}
type GetConversationTyping200JSONResponse ¶
type GetConversationTyping200JSONResponse TypingState
func (GetConversationTyping200JSONResponse) VisitGetConversationTypingResponse ¶
func (response GetConversationTyping200JSONResponse) VisitGetConversationTypingResponse(w http.ResponseWriter) error
type GetConversationTyping404ApplicationProblemPlusJSONResponse ¶
type GetConversationTyping404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetConversationTyping404ApplicationProblemPlusJSONResponse) VisitGetConversationTypingResponse ¶
func (response GetConversationTyping404ApplicationProblemPlusJSONResponse) VisitGetConversationTypingResponse(w http.ResponseWriter) error
type GetConversationTyping409ApplicationProblemPlusJSONResponse ¶
type GetConversationTyping409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (GetConversationTyping409ApplicationProblemPlusJSONResponse) VisitGetConversationTypingResponse ¶
func (response GetConversationTyping409ApplicationProblemPlusJSONResponse) VisitGetConversationTypingResponse(w http.ResponseWriter) error
type GetConversationTyping503ApplicationProblemPlusJSONResponse ¶
type GetConversationTyping503ApplicationProblemPlusJSONResponse struct {
}
func (GetConversationTyping503ApplicationProblemPlusJSONResponse) VisitGetConversationTypingResponse ¶
func (response GetConversationTyping503ApplicationProblemPlusJSONResponse) VisitGetConversationTypingResponse(w http.ResponseWriter) error
type GetConversationTypingRequestObject ¶
type GetConversationTypingRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetConversationTypingResponse ¶
type GetConversationTypingResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TypingState
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
}
func ParseGetConversationTypingResponse ¶
func ParseGetConversationTypingResponse(rsp *http.Response) (*GetConversationTypingResponse, error)
ParseGetConversationTypingResponse parses an HTTP response from a GetConversationTypingWithResponse call
func (GetConversationTypingResponse) ContentType ¶
func (r GetConversationTypingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetConversationTypingResponse) GetApplicationproblemJSON404 ¶
func (r GetConversationTypingResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetConversationTypingResponse) GetApplicationproblemJSON409 ¶
func (r GetConversationTypingResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (GetConversationTypingResponse) GetApplicationproblemJSON503 ¶
func (r GetConversationTypingResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetConversationTypingResponse) GetBody ¶
func (r GetConversationTypingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetConversationTypingResponse) GetJSON200 ¶
func (r GetConversationTypingResponse) GetJSON200() *TypingState
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetConversationTypingResponse) Status ¶
func (r GetConversationTypingResponse) Status() string
Status returns HTTPResponse.Status
func (GetConversationTypingResponse) StatusCode ¶
func (r GetConversationTypingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConversationTypingResponseObject ¶
type GetConversationTypingResponseObject interface {
VisitGetConversationTypingResponse(w http.ResponseWriter) error
}
type GetDownloadRetention200JSONResponse ¶
type GetDownloadRetention200JSONResponse DownloadRetention
func (GetDownloadRetention200JSONResponse) VisitGetDownloadRetentionResponse ¶
func (response GetDownloadRetention200JSONResponse) VisitGetDownloadRetentionResponse(w http.ResponseWriter) error
type GetDownloadRetention400ApplicationProblemPlusJSONResponse ¶
type GetDownloadRetention400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetDownloadRetention400ApplicationProblemPlusJSONResponse) VisitGetDownloadRetentionResponse ¶
func (response GetDownloadRetention400ApplicationProblemPlusJSONResponse) VisitGetDownloadRetentionResponse(w http.ResponseWriter) error
type GetDownloadRetention401ApplicationProblemPlusJSONResponse ¶
type GetDownloadRetention401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetDownloadRetention401ApplicationProblemPlusJSONResponse) VisitGetDownloadRetentionResponse ¶
func (response GetDownloadRetention401ApplicationProblemPlusJSONResponse) VisitGetDownloadRetentionResponse(w http.ResponseWriter) error
type GetDownloadRetention503ApplicationProblemPlusJSONResponse ¶
type GetDownloadRetention503ApplicationProblemPlusJSONResponse struct {
}
func (GetDownloadRetention503ApplicationProblemPlusJSONResponse) VisitGetDownloadRetentionResponse ¶
func (response GetDownloadRetention503ApplicationProblemPlusJSONResponse) VisitGetDownloadRetentionResponse(w http.ResponseWriter) error
type GetDownloadRetentionRequestObject ¶
type GetDownloadRetentionRequestObject struct {
DeviceId ID `json:"deviceId"`
}
type GetDownloadRetentionResponse ¶
type GetDownloadRetentionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DownloadRetention
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetDownloadRetentionResponse401Headers
}
func ParseGetDownloadRetentionResponse ¶
func ParseGetDownloadRetentionResponse(rsp *http.Response) (*GetDownloadRetentionResponse, error)
ParseGetDownloadRetentionResponse parses an HTTP response from a GetDownloadRetentionWithResponse call
func (GetDownloadRetentionResponse) ContentType ¶
func (r GetDownloadRetentionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDownloadRetentionResponse) GetApplicationproblemJSON400 ¶
func (r GetDownloadRetentionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetDownloadRetentionResponse) GetApplicationproblemJSON401 ¶
func (r GetDownloadRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetDownloadRetentionResponse) GetApplicationproblemJSON503 ¶
func (r GetDownloadRetentionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetDownloadRetentionResponse) GetBody ¶
func (r GetDownloadRetentionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDownloadRetentionResponse) GetJSON200 ¶
func (r GetDownloadRetentionResponse) GetJSON200() *DownloadRetention
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDownloadRetentionResponse) Status ¶
func (r GetDownloadRetentionResponse) Status() string
Status returns HTTPResponse.Status
func (GetDownloadRetentionResponse) StatusCode ¶
func (r GetDownloadRetentionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDownloadRetentionResponse401Headers ¶
type GetDownloadRetentionResponse401Headers struct {
WWWAuthenticate *string
}
GetDownloadRetentionResponse401Headers the declared response headers of an HTTP 401 response for GetDownloadRetention
type GetDownloadRetentionResponseObject ¶
type GetDownloadRetentionResponseObject interface {
VisitGetDownloadRetentionResponse(w http.ResponseWriter) error
}
type GetEngine200JSONResponse ¶
type GetEngine200JSONResponse Engine
func (GetEngine200JSONResponse) VisitGetEngineResponse ¶
func (response GetEngine200JSONResponse) VisitGetEngineResponse(w http.ResponseWriter) error
type GetEngine401ApplicationProblemPlusJSONResponse ¶
type GetEngine401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetEngine401ApplicationProblemPlusJSONResponse) VisitGetEngineResponse ¶
func (response GetEngine401ApplicationProblemPlusJSONResponse) VisitGetEngineResponse(w http.ResponseWriter) error
type GetEngine503ApplicationProblemPlusJSONResponse ¶
type GetEngine503ApplicationProblemPlusJSONResponse struct {
}
func (GetEngine503ApplicationProblemPlusJSONResponse) VisitGetEngineResponse ¶
func (response GetEngine503ApplicationProblemPlusJSONResponse) VisitGetEngineResponse(w http.ResponseWriter) error
type GetEngineRequestObject ¶
type GetEngineRequestObject struct {
}
type GetEngineResponse ¶
type GetEngineResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Engine
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetEngineResponse401Headers
}
func ParseGetEngineResponse ¶
func ParseGetEngineResponse(rsp *http.Response) (*GetEngineResponse, error)
ParseGetEngineResponse parses an HTTP response from a GetEngineWithResponse call
func (GetEngineResponse) ContentType ¶
func (r GetEngineResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEngineResponse) GetApplicationproblemJSON401 ¶
func (r GetEngineResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetEngineResponse) GetApplicationproblemJSON503 ¶
func (r GetEngineResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetEngineResponse) GetBody ¶
func (r GetEngineResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEngineResponse) GetJSON200 ¶
func (r GetEngineResponse) GetJSON200() *Engine
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEngineResponse) Status ¶
func (r GetEngineResponse) Status() string
Status returns HTTPResponse.Status
func (GetEngineResponse) StatusCode ¶
func (r GetEngineResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEngineResponse401Headers ¶
type GetEngineResponse401Headers struct {
WWWAuthenticate *string
}
GetEngineResponse401Headers the declared response headers of an HTTP 401 response for GetEngine
type GetEngineResponseObject ¶
type GetEngineResponseObject interface {
VisitGetEngineResponse(w http.ResponseWriter) error
}
type GetGlobalReadReceipts200JSONResponse ¶
type GetGlobalReadReceipts200JSONResponse GlobalReadReceipts
func (GetGlobalReadReceipts200JSONResponse) VisitGetGlobalReadReceiptsResponse ¶
func (response GetGlobalReadReceipts200JSONResponse) VisitGetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type GetGlobalReadReceipts400ApplicationProblemPlusJSONResponse ¶
type GetGlobalReadReceipts400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetGlobalReadReceipts400ApplicationProblemPlusJSONResponse) VisitGetGlobalReadReceiptsResponse ¶
func (response GetGlobalReadReceipts400ApplicationProblemPlusJSONResponse) VisitGetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type GetGlobalReadReceipts401ApplicationProblemPlusJSONResponse ¶
type GetGlobalReadReceipts401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetGlobalReadReceipts401ApplicationProblemPlusJSONResponse) VisitGetGlobalReadReceiptsResponse ¶
func (response GetGlobalReadReceipts401ApplicationProblemPlusJSONResponse) VisitGetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type GetGlobalReadReceipts404ApplicationProblemPlusJSONResponse ¶
type GetGlobalReadReceipts404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetGlobalReadReceipts404ApplicationProblemPlusJSONResponse) VisitGetGlobalReadReceiptsResponse ¶
func (response GetGlobalReadReceipts404ApplicationProblemPlusJSONResponse) VisitGetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type GetGlobalReadReceipts503ApplicationProblemPlusJSONResponse ¶
type GetGlobalReadReceipts503ApplicationProblemPlusJSONResponse struct {
}
func (GetGlobalReadReceipts503ApplicationProblemPlusJSONResponse) VisitGetGlobalReadReceiptsResponse ¶
func (response GetGlobalReadReceipts503ApplicationProblemPlusJSONResponse) VisitGetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type GetGlobalReadReceiptsRequestObject ¶
type GetGlobalReadReceiptsRequestObject struct {
}
type GetGlobalReadReceiptsResponse ¶
type GetGlobalReadReceiptsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GlobalReadReceipts
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetGlobalReadReceiptsResponse401Headers
}
func ParseGetGlobalReadReceiptsResponse ¶
func ParseGetGlobalReadReceiptsResponse(rsp *http.Response) (*GetGlobalReadReceiptsResponse, error)
ParseGetGlobalReadReceiptsResponse parses an HTTP response from a GetGlobalReadReceiptsWithResponse call
func (GetGlobalReadReceiptsResponse) ContentType ¶
func (r GetGlobalReadReceiptsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGlobalReadReceiptsResponse) GetApplicationproblemJSON400 ¶
func (r GetGlobalReadReceiptsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetGlobalReadReceiptsResponse) GetApplicationproblemJSON401 ¶
func (r GetGlobalReadReceiptsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetGlobalReadReceiptsResponse) GetApplicationproblemJSON404 ¶
func (r GetGlobalReadReceiptsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetGlobalReadReceiptsResponse) GetApplicationproblemJSON503 ¶
func (r GetGlobalReadReceiptsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetGlobalReadReceiptsResponse) GetBody ¶
func (r GetGlobalReadReceiptsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGlobalReadReceiptsResponse) GetJSON200 ¶
func (r GetGlobalReadReceiptsResponse) GetJSON200() *GlobalReadReceipts
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetGlobalReadReceiptsResponse) Status ¶
func (r GetGlobalReadReceiptsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGlobalReadReceiptsResponse) StatusCode ¶
func (r GetGlobalReadReceiptsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGlobalReadReceiptsResponse401Headers ¶
type GetGlobalReadReceiptsResponse401Headers struct {
WWWAuthenticate *string
}
GetGlobalReadReceiptsResponse401Headers the declared response headers of an HTTP 401 response for GetGlobalReadReceipts
type GetGlobalReadReceiptsResponseObject ¶
type GetGlobalReadReceiptsResponseObject interface {
VisitGetGlobalReadReceiptsResponse(w http.ResponseWriter) error
}
type GetGlobalRetention200JSONResponse ¶
type GetGlobalRetention200JSONResponse GlobalRetention
func (GetGlobalRetention200JSONResponse) VisitGetGlobalRetentionResponse ¶
func (response GetGlobalRetention200JSONResponse) VisitGetGlobalRetentionResponse(w http.ResponseWriter) error
type GetGlobalRetention400ApplicationProblemPlusJSONResponse ¶
type GetGlobalRetention400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetGlobalRetention400ApplicationProblemPlusJSONResponse) VisitGetGlobalRetentionResponse ¶
func (response GetGlobalRetention400ApplicationProblemPlusJSONResponse) VisitGetGlobalRetentionResponse(w http.ResponseWriter) error
type GetGlobalRetention401ApplicationProblemPlusJSONResponse ¶
type GetGlobalRetention401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetGlobalRetention401ApplicationProblemPlusJSONResponse) VisitGetGlobalRetentionResponse ¶
func (response GetGlobalRetention401ApplicationProblemPlusJSONResponse) VisitGetGlobalRetentionResponse(w http.ResponseWriter) error
type GetGlobalRetention404ApplicationProblemPlusJSONResponse ¶
type GetGlobalRetention404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetGlobalRetention404ApplicationProblemPlusJSONResponse) VisitGetGlobalRetentionResponse ¶
func (response GetGlobalRetention404ApplicationProblemPlusJSONResponse) VisitGetGlobalRetentionResponse(w http.ResponseWriter) error
type GetGlobalRetention503ApplicationProblemPlusJSONResponse ¶
type GetGlobalRetention503ApplicationProblemPlusJSONResponse struct {
}
func (GetGlobalRetention503ApplicationProblemPlusJSONResponse) VisitGetGlobalRetentionResponse ¶
func (response GetGlobalRetention503ApplicationProblemPlusJSONResponse) VisitGetGlobalRetentionResponse(w http.ResponseWriter) error
type GetGlobalRetentionRequestObject ¶
type GetGlobalRetentionRequestObject struct {
}
type GetGlobalRetentionResponse ¶
type GetGlobalRetentionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GlobalRetention
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetGlobalRetentionResponse401Headers
}
func ParseGetGlobalRetentionResponse ¶
func ParseGetGlobalRetentionResponse(rsp *http.Response) (*GetGlobalRetentionResponse, error)
ParseGetGlobalRetentionResponse parses an HTTP response from a GetGlobalRetentionWithResponse call
func (GetGlobalRetentionResponse) ContentType ¶
func (r GetGlobalRetentionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGlobalRetentionResponse) GetApplicationproblemJSON400 ¶
func (r GetGlobalRetentionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetGlobalRetentionResponse) GetApplicationproblemJSON401 ¶
func (r GetGlobalRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetGlobalRetentionResponse) GetApplicationproblemJSON404 ¶
func (r GetGlobalRetentionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetGlobalRetentionResponse) GetApplicationproblemJSON503 ¶
func (r GetGlobalRetentionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetGlobalRetentionResponse) GetBody ¶
func (r GetGlobalRetentionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGlobalRetentionResponse) GetJSON200 ¶
func (r GetGlobalRetentionResponse) GetJSON200() *GlobalRetention
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetGlobalRetentionResponse) Status ¶
func (r GetGlobalRetentionResponse) Status() string
Status returns HTTPResponse.Status
func (GetGlobalRetentionResponse) StatusCode ¶
func (r GetGlobalRetentionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGlobalRetentionResponse401Headers ¶
type GetGlobalRetentionResponse401Headers struct {
WWWAuthenticate *string
}
GetGlobalRetentionResponse401Headers the declared response headers of an HTTP 401 response for GetGlobalRetention
type GetGlobalRetentionResponseObject ¶
type GetGlobalRetentionResponseObject interface {
VisitGetGlobalRetentionResponse(w http.ResponseWriter) error
}
type GetHealth200JSONResponse ¶
type GetHealth200JSONResponse Health
func (GetHealth200JSONResponse) VisitGetHealthResponse ¶
func (response GetHealth200JSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error
type GetHealth401ApplicationProblemPlusJSONResponse ¶
type GetHealth401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetHealth401ApplicationProblemPlusJSONResponse) VisitGetHealthResponse ¶
func (response GetHealth401ApplicationProblemPlusJSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error
type GetHealth503ApplicationProblemPlusJSONResponse ¶
type GetHealth503ApplicationProblemPlusJSONResponse struct {
}
func (GetHealth503ApplicationProblemPlusJSONResponse) VisitGetHealthResponse ¶
func (response GetHealth503ApplicationProblemPlusJSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error
type GetHealthRequestObject ¶
type GetHealthRequestObject struct {
}
type GetHealthResponse ¶
type GetHealthResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Health
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetHealthResponse401Headers
}
func ParseGetHealthResponse ¶
func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)
ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call
func (GetHealthResponse) ContentType ¶
func (r GetHealthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetHealthResponse) GetApplicationproblemJSON401 ¶
func (r GetHealthResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetHealthResponse) GetApplicationproblemJSON503 ¶
func (r GetHealthResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetHealthResponse) GetBody ¶
func (r GetHealthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetHealthResponse) GetJSON200 ¶
func (r GetHealthResponse) GetJSON200() *Health
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHealthResponse) Status ¶
func (r GetHealthResponse) Status() string
Status returns HTTPResponse.Status
func (GetHealthResponse) StatusCode ¶
func (r GetHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHealthResponse401Headers ¶
type GetHealthResponse401Headers struct {
WWWAuthenticate *string
}
GetHealthResponse401Headers the declared response headers of an HTTP 401 response for GetHealth
type GetHealthResponseObject ¶
type GetHealthResponseObject interface {
VisitGetHealthResponse(w http.ResponseWriter) error
}
type GetMediaImage200ImagegifResponse ¶
type GetMediaImage200ImagegifResponse struct {
Body io.Reader
Headers GetMediaImage200ResponseHeaders
ContentLength int64
}
func (GetMediaImage200ImagegifResponse) VisitGetMediaImageResponse ¶
func (response GetMediaImage200ImagegifResponse) VisitGetMediaImageResponse(w http.ResponseWriter) error
type GetMediaImage200ImagejpegResponse ¶
type GetMediaImage200ImagejpegResponse struct {
Body io.Reader
Headers GetMediaImage200ResponseHeaders
ContentLength int64
}
func (GetMediaImage200ImagejpegResponse) VisitGetMediaImageResponse ¶
func (response GetMediaImage200ImagejpegResponse) VisitGetMediaImageResponse(w http.ResponseWriter) error
type GetMediaImage200ImagepngResponse ¶
type GetMediaImage200ImagepngResponse struct {
Body io.Reader
Headers GetMediaImage200ResponseHeaders
ContentLength int64
}
func (GetMediaImage200ImagepngResponse) VisitGetMediaImageResponse ¶
func (response GetMediaImage200ImagepngResponse) VisitGetMediaImageResponse(w http.ResponseWriter) error
type GetMediaImage304Response ¶
type GetMediaImage304Response struct {
}
func (GetMediaImage304Response) VisitGetMediaImageResponse ¶
func (response GetMediaImage304Response) VisitGetMediaImageResponse(w http.ResponseWriter) error
type GetMediaImage400ApplicationProblemPlusJSONResponse ¶
type GetMediaImage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMediaImage400ApplicationProblemPlusJSONResponse) VisitGetMediaImageResponse ¶
func (response GetMediaImage400ApplicationProblemPlusJSONResponse) VisitGetMediaImageResponse(w http.ResponseWriter) error
type GetMediaImage401ApplicationProblemPlusJSONResponse ¶
type GetMediaImage401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMediaImage401ApplicationProblemPlusJSONResponse) VisitGetMediaImageResponse ¶
func (response GetMediaImage401ApplicationProblemPlusJSONResponse) VisitGetMediaImageResponse(w http.ResponseWriter) error
type GetMediaImage404ApplicationProblemPlusJSONResponse ¶
type GetMediaImage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMediaImage404ApplicationProblemPlusJSONResponse) VisitGetMediaImageResponse ¶
func (response GetMediaImage404ApplicationProblemPlusJSONResponse) VisitGetMediaImageResponse(w http.ResponseWriter) error
type GetMediaImage503ApplicationProblemPlusJSONResponse ¶
type GetMediaImage503ApplicationProblemPlusJSONResponse struct {
}
func (GetMediaImage503ApplicationProblemPlusJSONResponse) VisitGetMediaImageResponse ¶
func (response GetMediaImage503ApplicationProblemPlusJSONResponse) VisitGetMediaImageResponse(w http.ResponseWriter) error
type GetMediaImageParams ¶
type GetMediaImageParams struct {
// IfNoneMatch Previously returned image ETag.
IfNoneMatch *string `json:"If-None-Match,omitempty"`
}
GetMediaImageParams defines parameters for GetMediaImage.
type GetMediaImageRequestObject ¶
type GetMediaImageRequestObject struct {
Hash string `json:"hash"`
Params GetMediaImageParams
}
type GetMediaImageResponse ¶
type GetMediaImageResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetMediaImageResponse200Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMediaImageResponse401Headers
}
func ParseGetMediaImageResponse ¶
func ParseGetMediaImageResponse(rsp *http.Response) (*GetMediaImageResponse, error)
ParseGetMediaImageResponse parses an HTTP response from a GetMediaImageWithResponse call
func (GetMediaImageResponse) ContentType ¶
func (r GetMediaImageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMediaImageResponse) GetApplicationproblemJSON400 ¶
func (r GetMediaImageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMediaImageResponse) GetApplicationproblemJSON401 ¶
func (r GetMediaImageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMediaImageResponse) GetApplicationproblemJSON404 ¶
func (r GetMediaImageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMediaImageResponse) GetApplicationproblemJSON503 ¶
func (r GetMediaImageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMediaImageResponse) GetBody ¶
func (r GetMediaImageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMediaImageResponse) Status ¶
func (r GetMediaImageResponse) Status() string
Status returns HTTPResponse.Status
func (GetMediaImageResponse) StatusCode ¶
func (r GetMediaImageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMediaImageResponse200Headers ¶
GetMediaImageResponse200Headers the declared response headers of an HTTP 200 response for GetMediaImage
type GetMediaImageResponse401Headers ¶
type GetMediaImageResponse401Headers struct {
WWWAuthenticate *string
}
GetMediaImageResponse401Headers the declared response headers of an HTTP 401 response for GetMediaImage
type GetMediaImageResponseObject ¶
type GetMediaImageResponseObject interface {
VisitGetMediaImageResponse(w http.ResponseWriter) error
}
type GetMentionCandidates200JSONResponse ¶
type GetMentionCandidates200JSONResponse MentionCandidates
func (GetMentionCandidates200JSONResponse) VisitGetMentionCandidatesResponse ¶
func (response GetMentionCandidates200JSONResponse) VisitGetMentionCandidatesResponse(w http.ResponseWriter) error
type GetMentionCandidates400ApplicationProblemPlusJSONResponse ¶
type GetMentionCandidates400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMentionCandidates400ApplicationProblemPlusJSONResponse) VisitGetMentionCandidatesResponse ¶
func (response GetMentionCandidates400ApplicationProblemPlusJSONResponse) VisitGetMentionCandidatesResponse(w http.ResponseWriter) error
type GetMentionCandidates401ApplicationProblemPlusJSONResponse ¶
type GetMentionCandidates401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMentionCandidates401ApplicationProblemPlusJSONResponse) VisitGetMentionCandidatesResponse ¶
func (response GetMentionCandidates401ApplicationProblemPlusJSONResponse) VisitGetMentionCandidatesResponse(w http.ResponseWriter) error
type GetMentionCandidates404ApplicationProblemPlusJSONResponse ¶
type GetMentionCandidates404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMentionCandidates404ApplicationProblemPlusJSONResponse) VisitGetMentionCandidatesResponse ¶
func (response GetMentionCandidates404ApplicationProblemPlusJSONResponse) VisitGetMentionCandidatesResponse(w http.ResponseWriter) error
type GetMentionCandidates503ApplicationProblemPlusJSONResponse ¶
type GetMentionCandidates503ApplicationProblemPlusJSONResponse struct {
}
func (GetMentionCandidates503ApplicationProblemPlusJSONResponse) VisitGetMentionCandidatesResponse ¶
func (response GetMentionCandidates503ApplicationProblemPlusJSONResponse) VisitGetMentionCandidatesResponse(w http.ResponseWriter) error
type GetMentionCandidatesRequestObject ¶
type GetMentionCandidatesRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetMentionCandidatesResponse ¶
type GetMentionCandidatesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MentionCandidates
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMentionCandidatesResponse401Headers
}
func ParseGetMentionCandidatesResponse ¶
func ParseGetMentionCandidatesResponse(rsp *http.Response) (*GetMentionCandidatesResponse, error)
ParseGetMentionCandidatesResponse parses an HTTP response from a GetMentionCandidatesWithResponse call
func (GetMentionCandidatesResponse) ContentType ¶
func (r GetMentionCandidatesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMentionCandidatesResponse) GetApplicationproblemJSON400 ¶
func (r GetMentionCandidatesResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMentionCandidatesResponse) GetApplicationproblemJSON401 ¶
func (r GetMentionCandidatesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMentionCandidatesResponse) GetApplicationproblemJSON404 ¶
func (r GetMentionCandidatesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMentionCandidatesResponse) GetApplicationproblemJSON503 ¶
func (r GetMentionCandidatesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMentionCandidatesResponse) GetBody ¶
func (r GetMentionCandidatesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMentionCandidatesResponse) GetJSON200 ¶
func (r GetMentionCandidatesResponse) GetJSON200() *MentionCandidates
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMentionCandidatesResponse) Status ¶
func (r GetMentionCandidatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetMentionCandidatesResponse) StatusCode ¶
func (r GetMentionCandidatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMentionCandidatesResponse401Headers ¶
type GetMentionCandidatesResponse401Headers struct {
WWWAuthenticate *string
}
GetMentionCandidatesResponse401Headers the declared response headers of an HTTP 401 response for GetMentionCandidates
type GetMentionCandidatesResponseObject ¶
type GetMentionCandidatesResponseObject interface {
VisitGetMentionCandidatesResponse(w http.ResponseWriter) error
}
type GetMessage200JSONResponse ¶
type GetMessage200JSONResponse Message
func (GetMessage200JSONResponse) VisitGetMessageResponse ¶
func (response GetMessage200JSONResponse) VisitGetMessageResponse(w http.ResponseWriter) error
type GetMessage400ApplicationProblemPlusJSONResponse ¶
type GetMessage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessage400ApplicationProblemPlusJSONResponse) VisitGetMessageResponse ¶
func (response GetMessage400ApplicationProblemPlusJSONResponse) VisitGetMessageResponse(w http.ResponseWriter) error
type GetMessage401ApplicationProblemPlusJSONResponse ¶
type GetMessage401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessage401ApplicationProblemPlusJSONResponse) VisitGetMessageResponse ¶
func (response GetMessage401ApplicationProblemPlusJSONResponse) VisitGetMessageResponse(w http.ResponseWriter) error
type GetMessage404ApplicationProblemPlusJSONResponse ¶
type GetMessage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessage404ApplicationProblemPlusJSONResponse) VisitGetMessageResponse ¶
func (response GetMessage404ApplicationProblemPlusJSONResponse) VisitGetMessageResponse(w http.ResponseWriter) error
type GetMessage503ApplicationProblemPlusJSONResponse ¶
type GetMessage503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessage503ApplicationProblemPlusJSONResponse) VisitGetMessageResponse ¶
func (response GetMessage503ApplicationProblemPlusJSONResponse) VisitGetMessageResponse(w http.ResponseWriter) error
type GetMessageContext200JSONResponse ¶
type GetMessageContext200JSONResponse MessageContext
func (GetMessageContext200JSONResponse) VisitGetMessageContextResponse ¶
func (response GetMessageContext200JSONResponse) VisitGetMessageContextResponse(w http.ResponseWriter) error
type GetMessageContext400ApplicationProblemPlusJSONResponse ¶
type GetMessageContext400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessageContext400ApplicationProblemPlusJSONResponse) VisitGetMessageContextResponse ¶
func (response GetMessageContext400ApplicationProblemPlusJSONResponse) VisitGetMessageContextResponse(w http.ResponseWriter) error
type GetMessageContext401ApplicationProblemPlusJSONResponse ¶
type GetMessageContext401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessageContext401ApplicationProblemPlusJSONResponse) VisitGetMessageContextResponse ¶
func (response GetMessageContext401ApplicationProblemPlusJSONResponse) VisitGetMessageContextResponse(w http.ResponseWriter) error
type GetMessageContext404ApplicationProblemPlusJSONResponse ¶
type GetMessageContext404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessageContext404ApplicationProblemPlusJSONResponse) VisitGetMessageContextResponse ¶
func (response GetMessageContext404ApplicationProblemPlusJSONResponse) VisitGetMessageContextResponse(w http.ResponseWriter) error
type GetMessageContext503ApplicationProblemPlusJSONResponse ¶
type GetMessageContext503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessageContext503ApplicationProblemPlusJSONResponse) VisitGetMessageContextResponse ¶
func (response GetMessageContext503ApplicationProblemPlusJSONResponse) VisitGetMessageContextResponse(w http.ResponseWriter) error
type GetMessageContextParams ¶
type GetMessageContextParams struct {
// Limit Maximum window size, including the target.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetMessageContextParams defines parameters for GetMessageContext.
type GetMessageContextRequestObject ¶
type GetMessageContextRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
MessageId MessageID `json:"messageId"`
Params GetMessageContextParams
}
type GetMessageContextResponse ¶
type GetMessageContextResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageContext
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageContextResponse401Headers
}
func ParseGetMessageContextResponse ¶
func ParseGetMessageContextResponse(rsp *http.Response) (*GetMessageContextResponse, error)
ParseGetMessageContextResponse parses an HTTP response from a GetMessageContextWithResponse call
func (GetMessageContextResponse) ContentType ¶
func (r GetMessageContextResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageContextResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageContextResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageContextResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageContextResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageContextResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageContextResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageContextResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageContextResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageContextResponse) GetBody ¶
func (r GetMessageContextResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageContextResponse) GetJSON200 ¶
func (r GetMessageContextResponse) GetJSON200() *MessageContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageContextResponse) Status ¶
func (r GetMessageContextResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageContextResponse) StatusCode ¶
func (r GetMessageContextResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageContextResponse401Headers ¶
type GetMessageContextResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageContextResponse401Headers the declared response headers of an HTTP 401 response for GetMessageContext
type GetMessageContextResponseObject ¶
type GetMessageContextResponseObject interface {
VisitGetMessageContextResponse(w http.ResponseWriter) error
}
type GetMessageEdit200JSONResponse ¶
type GetMessageEdit200JSONResponse MessageEditCommand
func (GetMessageEdit200JSONResponse) VisitGetMessageEditResponse ¶
func (response GetMessageEdit200JSONResponse) VisitGetMessageEditResponse(w http.ResponseWriter) error
type GetMessageEdit400ApplicationProblemPlusJSONResponse ¶
type GetMessageEdit400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessageEdit400ApplicationProblemPlusJSONResponse) VisitGetMessageEditResponse ¶
func (response GetMessageEdit400ApplicationProblemPlusJSONResponse) VisitGetMessageEditResponse(w http.ResponseWriter) error
type GetMessageEdit401ApplicationProblemPlusJSONResponse ¶
type GetMessageEdit401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessageEdit401ApplicationProblemPlusJSONResponse) VisitGetMessageEditResponse ¶
func (response GetMessageEdit401ApplicationProblemPlusJSONResponse) VisitGetMessageEditResponse(w http.ResponseWriter) error
type GetMessageEdit404ApplicationProblemPlusJSONResponse ¶
type GetMessageEdit404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessageEdit404ApplicationProblemPlusJSONResponse) VisitGetMessageEditResponse ¶
func (response GetMessageEdit404ApplicationProblemPlusJSONResponse) VisitGetMessageEditResponse(w http.ResponseWriter) error
type GetMessageEdit503ApplicationProblemPlusJSONResponse ¶
type GetMessageEdit503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessageEdit503ApplicationProblemPlusJSONResponse) VisitGetMessageEditResponse ¶
func (response GetMessageEdit503ApplicationProblemPlusJSONResponse) VisitGetMessageEditResponse(w http.ResponseWriter) error
type GetMessageEditHistory200JSONResponse ¶
type GetMessageEditHistory200JSONResponse MessageEditHistoryPage
func (GetMessageEditHistory200JSONResponse) VisitGetMessageEditHistoryResponse ¶
func (response GetMessageEditHistory200JSONResponse) VisitGetMessageEditHistoryResponse(w http.ResponseWriter) error
type GetMessageEditHistory400ApplicationProblemPlusJSONResponse ¶
type GetMessageEditHistory400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessageEditHistory400ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse ¶
func (response GetMessageEditHistory400ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse(w http.ResponseWriter) error
type GetMessageEditHistory401ApplicationProblemPlusJSONResponse ¶
type GetMessageEditHistory401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessageEditHistory401ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse ¶
func (response GetMessageEditHistory401ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse(w http.ResponseWriter) error
type GetMessageEditHistory404ApplicationProblemPlusJSONResponse ¶
type GetMessageEditHistory404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessageEditHistory404ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse ¶
func (response GetMessageEditHistory404ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse(w http.ResponseWriter) error
type GetMessageEditHistory409ApplicationProblemPlusJSONResponse ¶
type GetMessageEditHistory409ApplicationProblemPlusJSONResponse Problem
func (GetMessageEditHistory409ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse ¶
func (response GetMessageEditHistory409ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse(w http.ResponseWriter) error
type GetMessageEditHistory503ApplicationProblemPlusJSONResponse ¶
type GetMessageEditHistory503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessageEditHistory503ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse ¶
func (response GetMessageEditHistory503ApplicationProblemPlusJSONResponse) VisitGetMessageEditHistoryResponse(w http.ResponseWriter) error
type GetMessageEditHistoryParams ¶
type GetMessageEditHistoryParams struct {
// IncludeRetracted Explicitly reveal the retained revisions of a retracted message.
IncludeRetracted *bool `form:"includeRetracted,omitempty" json:"includeRetracted,omitempty"`
// Limit Maximum content revisions in this page.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque position bound to the exact retained-history snapshot and owning scopes.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetMessageEditHistoryParams defines parameters for GetMessageEditHistory.
type GetMessageEditHistoryRequestObject ¶
type GetMessageEditHistoryRequestObject struct {
MessageId MessageID `json:"messageId"`
Params GetMessageEditHistoryParams
}
type GetMessageEditHistoryResponse ¶
type GetMessageEditHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageEditHistoryPage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageEditHistoryResponse401Headers
}
func ParseGetMessageEditHistoryResponse ¶
func ParseGetMessageEditHistoryResponse(rsp *http.Response) (*GetMessageEditHistoryResponse, error)
ParseGetMessageEditHistoryResponse parses an HTTP response from a GetMessageEditHistoryWithResponse call
func (GetMessageEditHistoryResponse) ContentType ¶
func (r GetMessageEditHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageEditHistoryResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageEditHistoryResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageEditHistoryResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageEditHistoryResponse) GetApplicationproblemJSON409 ¶
func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON409() *Problem
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (GetMessageEditHistoryResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageEditHistoryResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageEditHistoryResponse) GetBody ¶
func (r GetMessageEditHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageEditHistoryResponse) GetJSON200 ¶
func (r GetMessageEditHistoryResponse) GetJSON200() *MessageEditHistoryPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageEditHistoryResponse) Status ¶
func (r GetMessageEditHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageEditHistoryResponse) StatusCode ¶
func (r GetMessageEditHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageEditHistoryResponse401Headers ¶
type GetMessageEditHistoryResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageEditHistoryResponse401Headers the declared response headers of an HTTP 401 response for GetMessageEditHistory
type GetMessageEditHistoryResponseObject ¶
type GetMessageEditHistoryResponseObject interface {
VisitGetMessageEditHistoryResponse(w http.ResponseWriter) error
}
type GetMessageEditRequestObject ¶
type GetMessageEditRequestObject struct {
EditId ID `json:"editId"`
}
type GetMessageEditResponse ¶
type GetMessageEditResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageEditCommand
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageEditResponse401Headers
}
func ParseGetMessageEditResponse ¶
func ParseGetMessageEditResponse(rsp *http.Response) (*GetMessageEditResponse, error)
ParseGetMessageEditResponse parses an HTTP response from a GetMessageEditWithResponse call
func (GetMessageEditResponse) ContentType ¶
func (r GetMessageEditResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageEditResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageEditResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageEditResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageEditResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageEditResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageEditResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageEditResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageEditResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageEditResponse) GetBody ¶
func (r GetMessageEditResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageEditResponse) GetJSON200 ¶
func (r GetMessageEditResponse) GetJSON200() *MessageEditCommand
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageEditResponse) Status ¶
func (r GetMessageEditResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageEditResponse) StatusCode ¶
func (r GetMessageEditResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageEditResponse401Headers ¶
type GetMessageEditResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageEditResponse401Headers the declared response headers of an HTTP 401 response for GetMessageEdit
type GetMessageEditResponseObject ¶
type GetMessageEditResponseObject interface {
VisitGetMessageEditResponse(w http.ResponseWriter) error
}
type GetMessageEditTarget200JSONResponse ¶
type GetMessageEditTarget200JSONResponse MessageEditTarget
func (GetMessageEditTarget200JSONResponse) VisitGetMessageEditTargetResponse ¶
func (response GetMessageEditTarget200JSONResponse) VisitGetMessageEditTargetResponse(w http.ResponseWriter) error
type GetMessageEditTarget400ApplicationProblemPlusJSONResponse ¶
type GetMessageEditTarget400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessageEditTarget400ApplicationProblemPlusJSONResponse) VisitGetMessageEditTargetResponse ¶
func (response GetMessageEditTarget400ApplicationProblemPlusJSONResponse) VisitGetMessageEditTargetResponse(w http.ResponseWriter) error
type GetMessageEditTarget401ApplicationProblemPlusJSONResponse ¶
type GetMessageEditTarget401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessageEditTarget401ApplicationProblemPlusJSONResponse) VisitGetMessageEditTargetResponse ¶
func (response GetMessageEditTarget401ApplicationProblemPlusJSONResponse) VisitGetMessageEditTargetResponse(w http.ResponseWriter) error
type GetMessageEditTarget404ApplicationProblemPlusJSONResponse ¶
type GetMessageEditTarget404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessageEditTarget404ApplicationProblemPlusJSONResponse) VisitGetMessageEditTargetResponse ¶
func (response GetMessageEditTarget404ApplicationProblemPlusJSONResponse) VisitGetMessageEditTargetResponse(w http.ResponseWriter) error
type GetMessageEditTarget503ApplicationProblemPlusJSONResponse ¶
type GetMessageEditTarget503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessageEditTarget503ApplicationProblemPlusJSONResponse) VisitGetMessageEditTargetResponse ¶
func (response GetMessageEditTarget503ApplicationProblemPlusJSONResponse) VisitGetMessageEditTargetResponse(w http.ResponseWriter) error
type GetMessageEditTargetRequestObject ¶
type GetMessageEditTargetRequestObject struct {
MessageId MessageID `json:"messageId"`
}
type GetMessageEditTargetResponse ¶
type GetMessageEditTargetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageEditTarget
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageEditTargetResponse401Headers
}
func ParseGetMessageEditTargetResponse ¶
func ParseGetMessageEditTargetResponse(rsp *http.Response) (*GetMessageEditTargetResponse, error)
ParseGetMessageEditTargetResponse parses an HTTP response from a GetMessageEditTargetWithResponse call
func (GetMessageEditTargetResponse) ContentType ¶
func (r GetMessageEditTargetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageEditTargetResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageEditTargetResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageEditTargetResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageEditTargetResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageEditTargetResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageEditTargetResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageEditTargetResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageEditTargetResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageEditTargetResponse) GetBody ¶
func (r GetMessageEditTargetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageEditTargetResponse) GetJSON200 ¶
func (r GetMessageEditTargetResponse) GetJSON200() *MessageEditTarget
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageEditTargetResponse) Status ¶
func (r GetMessageEditTargetResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageEditTargetResponse) StatusCode ¶
func (r GetMessageEditTargetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageEditTargetResponse401Headers ¶
type GetMessageEditTargetResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageEditTargetResponse401Headers the declared response headers of an HTTP 401 response for GetMessageEditTarget
type GetMessageEditTargetResponseObject ¶
type GetMessageEditTargetResponseObject interface {
VisitGetMessageEditTargetResponse(w http.ResponseWriter) error
}
type GetMessagePreview200JSONResponse ¶
type GetMessagePreview200JSONResponse MessagePreview
func (GetMessagePreview200JSONResponse) VisitGetMessagePreviewResponse ¶
func (response GetMessagePreview200JSONResponse) VisitGetMessagePreviewResponse(w http.ResponseWriter) error
type GetMessagePreview400ApplicationProblemPlusJSONResponse ¶
type GetMessagePreview400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessagePreview400ApplicationProblemPlusJSONResponse) VisitGetMessagePreviewResponse ¶
func (response GetMessagePreview400ApplicationProblemPlusJSONResponse) VisitGetMessagePreviewResponse(w http.ResponseWriter) error
type GetMessagePreview401ApplicationProblemPlusJSONResponse ¶
type GetMessagePreview401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessagePreview401ApplicationProblemPlusJSONResponse) VisitGetMessagePreviewResponse ¶
func (response GetMessagePreview401ApplicationProblemPlusJSONResponse) VisitGetMessagePreviewResponse(w http.ResponseWriter) error
type GetMessagePreview404ApplicationProblemPlusJSONResponse ¶
type GetMessagePreview404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessagePreview404ApplicationProblemPlusJSONResponse) VisitGetMessagePreviewResponse ¶
func (response GetMessagePreview404ApplicationProblemPlusJSONResponse) VisitGetMessagePreviewResponse(w http.ResponseWriter) error
type GetMessagePreview503ApplicationProblemPlusJSONResponse ¶
type GetMessagePreview503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessagePreview503ApplicationProblemPlusJSONResponse) VisitGetMessagePreviewResponse ¶
func (response GetMessagePreview503ApplicationProblemPlusJSONResponse) VisitGetMessagePreviewResponse(w http.ResponseWriter) error
type GetMessagePreviewRequestObject ¶
type GetMessagePreviewRequestObject struct {
PreviewId ID `json:"previewId"`
}
type GetMessagePreviewResponse ¶
type GetMessagePreviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessagePreview
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessagePreviewResponse401Headers
}
func ParseGetMessagePreviewResponse ¶
func ParseGetMessagePreviewResponse(rsp *http.Response) (*GetMessagePreviewResponse, error)
ParseGetMessagePreviewResponse parses an HTTP response from a GetMessagePreviewWithResponse call
func (GetMessagePreviewResponse) ContentType ¶
func (r GetMessagePreviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessagePreviewResponse) GetApplicationproblemJSON400 ¶
func (r GetMessagePreviewResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessagePreviewResponse) GetApplicationproblemJSON401 ¶
func (r GetMessagePreviewResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessagePreviewResponse) GetApplicationproblemJSON404 ¶
func (r GetMessagePreviewResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessagePreviewResponse) GetApplicationproblemJSON503 ¶
func (r GetMessagePreviewResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessagePreviewResponse) GetBody ¶
func (r GetMessagePreviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessagePreviewResponse) GetJSON200 ¶
func (r GetMessagePreviewResponse) GetJSON200() *MessagePreview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessagePreviewResponse) Status ¶
func (r GetMessagePreviewResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessagePreviewResponse) StatusCode ¶
func (r GetMessagePreviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessagePreviewResponse401Headers ¶
type GetMessagePreviewResponse401Headers struct {
WWWAuthenticate *string
}
GetMessagePreviewResponse401Headers the declared response headers of an HTTP 401 response for GetMessagePreview
type GetMessagePreviewResponseObject ¶
type GetMessagePreviewResponseObject interface {
VisitGetMessagePreviewResponse(w http.ResponseWriter) error
}
type GetMessageReactionCommand200JSONResponse ¶
type GetMessageReactionCommand200JSONResponse MessageReactionCommand
func (GetMessageReactionCommand200JSONResponse) VisitGetMessageReactionCommandResponse ¶
func (response GetMessageReactionCommand200JSONResponse) VisitGetMessageReactionCommandResponse(w http.ResponseWriter) error
type GetMessageReactionCommand400ApplicationProblemPlusJSONResponse ¶
type GetMessageReactionCommand400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessageReactionCommand400ApplicationProblemPlusJSONResponse) VisitGetMessageReactionCommandResponse ¶
func (response GetMessageReactionCommand400ApplicationProblemPlusJSONResponse) VisitGetMessageReactionCommandResponse(w http.ResponseWriter) error
type GetMessageReactionCommand401ApplicationProblemPlusJSONResponse ¶
type GetMessageReactionCommand401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessageReactionCommand401ApplicationProblemPlusJSONResponse) VisitGetMessageReactionCommandResponse ¶
func (response GetMessageReactionCommand401ApplicationProblemPlusJSONResponse) VisitGetMessageReactionCommandResponse(w http.ResponseWriter) error
type GetMessageReactionCommand404ApplicationProblemPlusJSONResponse ¶
type GetMessageReactionCommand404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessageReactionCommand404ApplicationProblemPlusJSONResponse) VisitGetMessageReactionCommandResponse ¶
func (response GetMessageReactionCommand404ApplicationProblemPlusJSONResponse) VisitGetMessageReactionCommandResponse(w http.ResponseWriter) error
type GetMessageReactionCommand503ApplicationProblemPlusJSONResponse ¶
type GetMessageReactionCommand503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessageReactionCommand503ApplicationProblemPlusJSONResponse) VisitGetMessageReactionCommandResponse ¶
func (response GetMessageReactionCommand503ApplicationProblemPlusJSONResponse) VisitGetMessageReactionCommandResponse(w http.ResponseWriter) error
type GetMessageReactionCommandRequestObject ¶
type GetMessageReactionCommandRequestObject struct {
CommandId ID `json:"commandId"`
}
type GetMessageReactionCommandResponse ¶
type GetMessageReactionCommandResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageReactionCommand
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageReactionCommandResponse401Headers
}
func ParseGetMessageReactionCommandResponse ¶
func ParseGetMessageReactionCommandResponse(rsp *http.Response) (*GetMessageReactionCommandResponse, error)
ParseGetMessageReactionCommandResponse parses an HTTP response from a GetMessageReactionCommandWithResponse call
func (GetMessageReactionCommandResponse) ContentType ¶
func (r GetMessageReactionCommandResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageReactionCommandResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageReactionCommandResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageReactionCommandResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageReactionCommandResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageReactionCommandResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageReactionCommandResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageReactionCommandResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageReactionCommandResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageReactionCommandResponse) GetBody ¶
func (r GetMessageReactionCommandResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageReactionCommandResponse) GetJSON200 ¶
func (r GetMessageReactionCommandResponse) GetJSON200() *MessageReactionCommand
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageReactionCommandResponse) Status ¶
func (r GetMessageReactionCommandResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageReactionCommandResponse) StatusCode ¶
func (r GetMessageReactionCommandResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageReactionCommandResponse401Headers ¶
type GetMessageReactionCommandResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageReactionCommandResponse401Headers the declared response headers of an HTTP 401 response for GetMessageReactionCommand
type GetMessageReactionCommandResponseObject ¶
type GetMessageReactionCommandResponseObject interface {
VisitGetMessageReactionCommandResponse(w http.ResponseWriter) error
}
type GetMessageReactions200JSONResponse ¶
type GetMessageReactions200JSONResponse MessageReactions
func (GetMessageReactions200JSONResponse) VisitGetMessageReactionsResponse ¶
func (response GetMessageReactions200JSONResponse) VisitGetMessageReactionsResponse(w http.ResponseWriter) error
type GetMessageReactions400ApplicationProblemPlusJSONResponse ¶
type GetMessageReactions400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessageReactions400ApplicationProblemPlusJSONResponse) VisitGetMessageReactionsResponse ¶
func (response GetMessageReactions400ApplicationProblemPlusJSONResponse) VisitGetMessageReactionsResponse(w http.ResponseWriter) error
type GetMessageReactions401ApplicationProblemPlusJSONResponse ¶
type GetMessageReactions401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessageReactions401ApplicationProblemPlusJSONResponse) VisitGetMessageReactionsResponse ¶
func (response GetMessageReactions401ApplicationProblemPlusJSONResponse) VisitGetMessageReactionsResponse(w http.ResponseWriter) error
type GetMessageReactions404ApplicationProblemPlusJSONResponse ¶
type GetMessageReactions404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessageReactions404ApplicationProblemPlusJSONResponse) VisitGetMessageReactionsResponse ¶
func (response GetMessageReactions404ApplicationProblemPlusJSONResponse) VisitGetMessageReactionsResponse(w http.ResponseWriter) error
type GetMessageReactions503ApplicationProblemPlusJSONResponse ¶
type GetMessageReactions503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessageReactions503ApplicationProblemPlusJSONResponse) VisitGetMessageReactionsResponse ¶
func (response GetMessageReactions503ApplicationProblemPlusJSONResponse) VisitGetMessageReactionsResponse(w http.ResponseWriter) error
type GetMessageReactionsRequestObject ¶
type GetMessageReactionsRequestObject struct {
MessageId MessageID `json:"messageId"`
}
type GetMessageReactionsResponse ¶
type GetMessageReactionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageReactions
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageReactionsResponse401Headers
}
func ParseGetMessageReactionsResponse ¶
func ParseGetMessageReactionsResponse(rsp *http.Response) (*GetMessageReactionsResponse, error)
ParseGetMessageReactionsResponse parses an HTTP response from a GetMessageReactionsWithResponse call
func (GetMessageReactionsResponse) ContentType ¶
func (r GetMessageReactionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageReactionsResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageReactionsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageReactionsResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageReactionsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageReactionsResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageReactionsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageReactionsResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageReactionsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageReactionsResponse) GetBody ¶
func (r GetMessageReactionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageReactionsResponse) GetJSON200 ¶
func (r GetMessageReactionsResponse) GetJSON200() *MessageReactions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageReactionsResponse) Status ¶
func (r GetMessageReactionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageReactionsResponse) StatusCode ¶
func (r GetMessageReactionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageReactionsResponse401Headers ¶
type GetMessageReactionsResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageReactionsResponse401Headers the declared response headers of an HTTP 401 response for GetMessageReactions
type GetMessageReactionsResponseObject ¶
type GetMessageReactionsResponseObject interface {
VisitGetMessageReactionsResponse(w http.ResponseWriter) error
}
type GetMessageRequestObject ¶
type GetMessageRequestObject struct {
MessageId MessageID `json:"messageId"`
}
type GetMessageResponse ¶
type GetMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Message
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageResponse401Headers
}
func ParseGetMessageResponse ¶
func ParseGetMessageResponse(rsp *http.Response) (*GetMessageResponse, error)
ParseGetMessageResponse parses an HTTP response from a GetMessageWithResponse call
func (GetMessageResponse) ContentType ¶
func (r GetMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageResponse) GetBody ¶
func (r GetMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageResponse) GetJSON200 ¶
func (r GetMessageResponse) GetJSON200() *Message
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageResponse) Status ¶
func (r GetMessageResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageResponse) StatusCode ¶
func (r GetMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageResponse401Headers ¶
type GetMessageResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageResponse401Headers the declared response headers of an HTTP 401 response for GetMessage
type GetMessageResponseObject ¶
type GetMessageResponseObject interface {
VisitGetMessageResponse(w http.ResponseWriter) error
}
type GetMessageSenderProfile200JSONResponse ¶
type GetMessageSenderProfile200JSONResponse MessageSenderProfile
func (GetMessageSenderProfile200JSONResponse) VisitGetMessageSenderProfileResponse ¶
func (response GetMessageSenderProfile200JSONResponse) VisitGetMessageSenderProfileResponse(w http.ResponseWriter) error
type GetMessageSenderProfile400ApplicationProblemPlusJSONResponse ¶
type GetMessageSenderProfile400ApplicationProblemPlusJSONResponse Problem
func (GetMessageSenderProfile400ApplicationProblemPlusJSONResponse) VisitGetMessageSenderProfileResponse ¶
func (response GetMessageSenderProfile400ApplicationProblemPlusJSONResponse) VisitGetMessageSenderProfileResponse(w http.ResponseWriter) error
type GetMessageSenderProfile401ApplicationProblemPlusJSONResponse ¶
type GetMessageSenderProfile401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessageSenderProfile401ApplicationProblemPlusJSONResponse) VisitGetMessageSenderProfileResponse ¶
func (response GetMessageSenderProfile401ApplicationProblemPlusJSONResponse) VisitGetMessageSenderProfileResponse(w http.ResponseWriter) error
type GetMessageSenderProfile404ApplicationProblemPlusJSONResponse ¶
type GetMessageSenderProfile404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessageSenderProfile404ApplicationProblemPlusJSONResponse) VisitGetMessageSenderProfileResponse ¶
func (response GetMessageSenderProfile404ApplicationProblemPlusJSONResponse) VisitGetMessageSenderProfileResponse(w http.ResponseWriter) error
type GetMessageSenderProfile503ApplicationProblemPlusJSONResponse ¶
type GetMessageSenderProfile503ApplicationProblemPlusJSONResponse Problem
func (GetMessageSenderProfile503ApplicationProblemPlusJSONResponse) VisitGetMessageSenderProfileResponse ¶
func (response GetMessageSenderProfile503ApplicationProblemPlusJSONResponse) VisitGetMessageSenderProfileResponse(w http.ResponseWriter) error
type GetMessageSenderProfileRequestObject ¶
type GetMessageSenderProfileRequestObject struct {
MessageId MessageID `json:"messageId"`
}
type GetMessageSenderProfileResponse ¶
type GetMessageSenderProfileResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageSenderProfile
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Problem
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Problem
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageSenderProfileResponse401Headers
}
func ParseGetMessageSenderProfileResponse ¶
func ParseGetMessageSenderProfileResponse(rsp *http.Response) (*GetMessageSenderProfileResponse, error)
ParseGetMessageSenderProfileResponse parses an HTTP response from a GetMessageSenderProfileWithResponse call
func (GetMessageSenderProfileResponse) ContentType ¶
func (r GetMessageSenderProfileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageSenderProfileResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageSenderProfileResponse) GetApplicationproblemJSON400() *Problem
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageSenderProfileResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageSenderProfileResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageSenderProfileResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageSenderProfileResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageSenderProfileResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageSenderProfileResponse) GetApplicationproblemJSON503() *Problem
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageSenderProfileResponse) GetBody ¶
func (r GetMessageSenderProfileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageSenderProfileResponse) GetJSON200 ¶
func (r GetMessageSenderProfileResponse) GetJSON200() *MessageSenderProfile
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageSenderProfileResponse) Status ¶
func (r GetMessageSenderProfileResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageSenderProfileResponse) StatusCode ¶
func (r GetMessageSenderProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageSenderProfileResponse401Headers ¶
type GetMessageSenderProfileResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageSenderProfileResponse401Headers the declared response headers of an HTTP 401 response for GetMessageSenderProfile
type GetMessageSenderProfileResponseObject ¶
type GetMessageSenderProfileResponseObject interface {
VisitGetMessageSenderProfileResponse(w http.ResponseWriter) error
}
type GetMessageSourceContext200JSONResponse ¶
type GetMessageSourceContext200JSONResponse MessageSourceContext
func (GetMessageSourceContext200JSONResponse) VisitGetMessageSourceContextResponse ¶
func (response GetMessageSourceContext200JSONResponse) VisitGetMessageSourceContextResponse(w http.ResponseWriter) error
type GetMessageSourceContext400ApplicationProblemPlusJSONResponse ¶
type GetMessageSourceContext400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessageSourceContext400ApplicationProblemPlusJSONResponse) VisitGetMessageSourceContextResponse ¶
func (response GetMessageSourceContext400ApplicationProblemPlusJSONResponse) VisitGetMessageSourceContextResponse(w http.ResponseWriter) error
type GetMessageSourceContext401ApplicationProblemPlusJSONResponse ¶
type GetMessageSourceContext401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessageSourceContext401ApplicationProblemPlusJSONResponse) VisitGetMessageSourceContextResponse ¶
func (response GetMessageSourceContext401ApplicationProblemPlusJSONResponse) VisitGetMessageSourceContextResponse(w http.ResponseWriter) error
type GetMessageSourceContext404ApplicationProblemPlusJSONResponse ¶
type GetMessageSourceContext404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessageSourceContext404ApplicationProblemPlusJSONResponse) VisitGetMessageSourceContextResponse ¶
func (response GetMessageSourceContext404ApplicationProblemPlusJSONResponse) VisitGetMessageSourceContextResponse(w http.ResponseWriter) error
type GetMessageSourceContext503ApplicationProblemPlusJSONResponse ¶
type GetMessageSourceContext503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessageSourceContext503ApplicationProblemPlusJSONResponse) VisitGetMessageSourceContextResponse ¶
func (response GetMessageSourceContext503ApplicationProblemPlusJSONResponse) VisitGetMessageSourceContextResponse(w http.ResponseWriter) error
type GetMessageSourceContextRequestObject ¶
type GetMessageSourceContextRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
MessageId MessageID `json:"messageId"`
}
type GetMessageSourceContextResponse ¶
type GetMessageSourceContextResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageSourceContext
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageSourceContextResponse401Headers
}
func ParseGetMessageSourceContextResponse ¶
func ParseGetMessageSourceContextResponse(rsp *http.Response) (*GetMessageSourceContextResponse, error)
ParseGetMessageSourceContextResponse parses an HTTP response from a GetMessageSourceContextWithResponse call
func (GetMessageSourceContextResponse) ContentType ¶
func (r GetMessageSourceContextResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageSourceContextResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageSourceContextResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageSourceContextResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageSourceContextResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageSourceContextResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageSourceContextResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageSourceContextResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageSourceContextResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageSourceContextResponse) GetBody ¶
func (r GetMessageSourceContextResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageSourceContextResponse) GetJSON200 ¶
func (r GetMessageSourceContextResponse) GetJSON200() *MessageSourceContext
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageSourceContextResponse) Status ¶
func (r GetMessageSourceContextResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageSourceContextResponse) StatusCode ¶
func (r GetMessageSourceContextResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageSourceContextResponse401Headers ¶
type GetMessageSourceContextResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageSourceContextResponse401Headers the declared response headers of an HTTP 401 response for GetMessageSourceContext
type GetMessageSourceContextResponseObject ¶
type GetMessageSourceContextResponseObject interface {
VisitGetMessageSourceContextResponse(w http.ResponseWriter) error
}
type GetMessageStar200JSONResponse ¶
type GetMessageStar200JSONResponse MessageStar
func (GetMessageStar200JSONResponse) VisitGetMessageStarResponse ¶
func (response GetMessageStar200JSONResponse) VisitGetMessageStarResponse(w http.ResponseWriter) error
type GetMessageStar400ApplicationProblemPlusJSONResponse ¶
type GetMessageStar400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetMessageStar400ApplicationProblemPlusJSONResponse) VisitGetMessageStarResponse ¶
func (response GetMessageStar400ApplicationProblemPlusJSONResponse) VisitGetMessageStarResponse(w http.ResponseWriter) error
type GetMessageStar401ApplicationProblemPlusJSONResponse ¶
type GetMessageStar401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetMessageStar401ApplicationProblemPlusJSONResponse) VisitGetMessageStarResponse ¶
func (response GetMessageStar401ApplicationProblemPlusJSONResponse) VisitGetMessageStarResponse(w http.ResponseWriter) error
type GetMessageStar404ApplicationProblemPlusJSONResponse ¶
type GetMessageStar404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetMessageStar404ApplicationProblemPlusJSONResponse) VisitGetMessageStarResponse ¶
func (response GetMessageStar404ApplicationProblemPlusJSONResponse) VisitGetMessageStarResponse(w http.ResponseWriter) error
type GetMessageStar503ApplicationProblemPlusJSONResponse ¶
type GetMessageStar503ApplicationProblemPlusJSONResponse struct {
}
func (GetMessageStar503ApplicationProblemPlusJSONResponse) VisitGetMessageStarResponse ¶
func (response GetMessageStar503ApplicationProblemPlusJSONResponse) VisitGetMessageStarResponse(w http.ResponseWriter) error
type GetMessageStarRequestObject ¶
type GetMessageStarRequestObject struct {
MessageId MessageID `json:"messageId"`
}
type GetMessageStarResponse ¶
type GetMessageStarResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageStar
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetMessageStarResponse401Headers
}
func ParseGetMessageStarResponse ¶
func ParseGetMessageStarResponse(rsp *http.Response) (*GetMessageStarResponse, error)
ParseGetMessageStarResponse parses an HTTP response from a GetMessageStarWithResponse call
func (GetMessageStarResponse) ContentType ¶
func (r GetMessageStarResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMessageStarResponse) GetApplicationproblemJSON400 ¶
func (r GetMessageStarResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetMessageStarResponse) GetApplicationproblemJSON401 ¶
func (r GetMessageStarResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetMessageStarResponse) GetApplicationproblemJSON404 ¶
func (r GetMessageStarResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetMessageStarResponse) GetApplicationproblemJSON503 ¶
func (r GetMessageStarResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetMessageStarResponse) GetBody ¶
func (r GetMessageStarResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMessageStarResponse) GetJSON200 ¶
func (r GetMessageStarResponse) GetJSON200() *MessageStar
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMessageStarResponse) Status ¶
func (r GetMessageStarResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessageStarResponse) StatusCode ¶
func (r GetMessageStarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessageStarResponse401Headers ¶
type GetMessageStarResponse401Headers struct {
WWWAuthenticate *string
}
GetMessageStarResponse401Headers the declared response headers of an HTTP 401 response for GetMessageStar
type GetMessageStarResponseObject ¶
type GetMessageStarResponseObject interface {
VisitGetMessageStarResponse(w http.ResponseWriter) error
}
type GetOmemoDevices200JSONResponse ¶
type GetOmemoDevices200JSONResponse OmemoDevices
func (GetOmemoDevices200JSONResponse) VisitGetOmemoDevicesResponse ¶
func (response GetOmemoDevices200JSONResponse) VisitGetOmemoDevicesResponse(w http.ResponseWriter) error
type GetOmemoDevices400ApplicationProblemPlusJSONResponse ¶
type GetOmemoDevices400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetOmemoDevices400ApplicationProblemPlusJSONResponse) VisitGetOmemoDevicesResponse ¶
func (response GetOmemoDevices400ApplicationProblemPlusJSONResponse) VisitGetOmemoDevicesResponse(w http.ResponseWriter) error
type GetOmemoDevices401ApplicationProblemPlusJSONResponse ¶
type GetOmemoDevices401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetOmemoDevices401ApplicationProblemPlusJSONResponse) VisitGetOmemoDevicesResponse ¶
func (response GetOmemoDevices401ApplicationProblemPlusJSONResponse) VisitGetOmemoDevicesResponse(w http.ResponseWriter) error
type GetOmemoDevices404ApplicationProblemPlusJSONResponse ¶
type GetOmemoDevices404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetOmemoDevices404ApplicationProblemPlusJSONResponse) VisitGetOmemoDevicesResponse ¶
func (response GetOmemoDevices404ApplicationProblemPlusJSONResponse) VisitGetOmemoDevicesResponse(w http.ResponseWriter) error
type GetOmemoDevices503ApplicationProblemPlusJSONResponse ¶
type GetOmemoDevices503ApplicationProblemPlusJSONResponse struct {
}
func (GetOmemoDevices503ApplicationProblemPlusJSONResponse) VisitGetOmemoDevicesResponse ¶
func (response GetOmemoDevices503ApplicationProblemPlusJSONResponse) VisitGetOmemoDevicesResponse(w http.ResponseWriter) error
type GetOmemoDevicesParams ¶
type GetOmemoDevicesParams struct {
// Peer Bare peer JID. Omit to inspect devices of the account itself.
Peer *string `form:"peer,omitempty" json:"peer,omitempty"`
}
GetOmemoDevicesParams defines parameters for GetOmemoDevices.
type GetOmemoDevicesRequestObject ¶
type GetOmemoDevicesRequestObject struct {
AccountId AccountID `json:"accountId"`
Params GetOmemoDevicesParams
}
type GetOmemoDevicesResponse ¶
type GetOmemoDevicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OmemoDevices
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetOmemoDevicesResponse401Headers
}
func ParseGetOmemoDevicesResponse ¶
func ParseGetOmemoDevicesResponse(rsp *http.Response) (*GetOmemoDevicesResponse, error)
ParseGetOmemoDevicesResponse parses an HTTP response from a GetOmemoDevicesWithResponse call
func (GetOmemoDevicesResponse) ContentType ¶
func (r GetOmemoDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOmemoDevicesResponse) GetApplicationproblemJSON400 ¶
func (r GetOmemoDevicesResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetOmemoDevicesResponse) GetApplicationproblemJSON401 ¶
func (r GetOmemoDevicesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetOmemoDevicesResponse) GetApplicationproblemJSON404 ¶
func (r GetOmemoDevicesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetOmemoDevicesResponse) GetApplicationproblemJSON503 ¶
func (r GetOmemoDevicesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetOmemoDevicesResponse) GetBody ¶
func (r GetOmemoDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOmemoDevicesResponse) GetJSON200 ¶
func (r GetOmemoDevicesResponse) GetJSON200() *OmemoDevices
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOmemoDevicesResponse) Status ¶
func (r GetOmemoDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (GetOmemoDevicesResponse) StatusCode ¶
func (r GetOmemoDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOmemoDevicesResponse401Headers ¶
type GetOmemoDevicesResponse401Headers struct {
WWWAuthenticate *string
}
GetOmemoDevicesResponse401Headers the declared response headers of an HTTP 401 response for GetOmemoDevices
type GetOmemoDevicesResponseObject ¶
type GetOmemoDevicesResponseObject interface {
VisitGetOmemoDevicesResponse(w http.ResponseWriter) error
}
type GetOperation200JSONResponse ¶
type GetOperation200JSONResponse Operation
func (GetOperation200JSONResponse) VisitGetOperationResponse ¶
func (response GetOperation200JSONResponse) VisitGetOperationResponse(w http.ResponseWriter) error
type GetOperation400ApplicationProblemPlusJSONResponse ¶
type GetOperation400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetOperation400ApplicationProblemPlusJSONResponse) VisitGetOperationResponse ¶
func (response GetOperation400ApplicationProblemPlusJSONResponse) VisitGetOperationResponse(w http.ResponseWriter) error
type GetOperation401ApplicationProblemPlusJSONResponse ¶
type GetOperation401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetOperation401ApplicationProblemPlusJSONResponse) VisitGetOperationResponse ¶
func (response GetOperation401ApplicationProblemPlusJSONResponse) VisitGetOperationResponse(w http.ResponseWriter) error
type GetOperation404ApplicationProblemPlusJSONResponse ¶
type GetOperation404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetOperation404ApplicationProblemPlusJSONResponse) VisitGetOperationResponse ¶
func (response GetOperation404ApplicationProblemPlusJSONResponse) VisitGetOperationResponse(w http.ResponseWriter) error
type GetOperation503ApplicationProblemPlusJSONResponse ¶
type GetOperation503ApplicationProblemPlusJSONResponse struct {
}
func (GetOperation503ApplicationProblemPlusJSONResponse) VisitGetOperationResponse ¶
func (response GetOperation503ApplicationProblemPlusJSONResponse) VisitGetOperationResponse(w http.ResponseWriter) error
type GetOperationParams ¶
type GetOperationParams struct {
// IncludeAcceptedMessage Include the acceptance snapshot or its expiry status for a send_message receipt. Other receipt kinds never include a message.
IncludeAcceptedMessage *bool `form:"includeAcceptedMessage,omitempty" json:"includeAcceptedMessage,omitempty"`
}
GetOperationParams defines parameters for GetOperation.
type GetOperationRequestObject ¶
type GetOperationRequestObject struct {
OperationId ID `json:"operationId"`
Params GetOperationParams
}
type GetOperationResponse ¶
type GetOperationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Operation
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetOperationResponse401Headers
}
func ParseGetOperationResponse ¶
func ParseGetOperationResponse(rsp *http.Response) (*GetOperationResponse, error)
ParseGetOperationResponse parses an HTTP response from a GetOperationWithResponse call
func (GetOperationResponse) ContentType ¶
func (r GetOperationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOperationResponse) GetApplicationproblemJSON400 ¶
func (r GetOperationResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetOperationResponse) GetApplicationproblemJSON401 ¶
func (r GetOperationResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetOperationResponse) GetApplicationproblemJSON404 ¶
func (r GetOperationResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetOperationResponse) GetApplicationproblemJSON503 ¶
func (r GetOperationResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetOperationResponse) GetBody ¶
func (r GetOperationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOperationResponse) GetJSON200 ¶
func (r GetOperationResponse) GetJSON200() *Operation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOperationResponse) Status ¶
func (r GetOperationResponse) Status() string
Status returns HTTPResponse.Status
func (GetOperationResponse) StatusCode ¶
func (r GetOperationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOperationResponse401Headers ¶
type GetOperationResponse401Headers struct {
WWWAuthenticate *string
}
GetOperationResponse401Headers the declared response headers of an HTTP 401 response for GetOperation
type GetOperationResponseObject ¶
type GetOperationResponseObject interface {
VisitGetOperationResponse(w http.ResponseWriter) error
}
type GetRetractedOriginal200JSONResponse ¶
type GetRetractedOriginal200JSONResponse Message
func (GetRetractedOriginal200JSONResponse) VisitGetRetractedOriginalResponse ¶
func (response GetRetractedOriginal200JSONResponse) VisitGetRetractedOriginalResponse(w http.ResponseWriter) error
type GetRetractedOriginal404ApplicationProblemPlusJSONResponse ¶
type GetRetractedOriginal404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetRetractedOriginal404ApplicationProblemPlusJSONResponse) VisitGetRetractedOriginalResponse ¶
func (response GetRetractedOriginal404ApplicationProblemPlusJSONResponse) VisitGetRetractedOriginalResponse(w http.ResponseWriter) error
type GetRetractedOriginal503ApplicationProblemPlusJSONResponse ¶
type GetRetractedOriginal503ApplicationProblemPlusJSONResponse struct {
}
func (GetRetractedOriginal503ApplicationProblemPlusJSONResponse) VisitGetRetractedOriginalResponse ¶
func (response GetRetractedOriginal503ApplicationProblemPlusJSONResponse) VisitGetRetractedOriginalResponse(w http.ResponseWriter) error
type GetRetractedOriginalRequestObject ¶
type GetRetractedOriginalRequestObject struct {
MessageId MessageID `json:"messageId"`
}
type GetRetractedOriginalResponse ¶
type GetRetractedOriginalResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Message
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
}
func ParseGetRetractedOriginalResponse ¶
func ParseGetRetractedOriginalResponse(rsp *http.Response) (*GetRetractedOriginalResponse, error)
ParseGetRetractedOriginalResponse parses an HTTP response from a GetRetractedOriginalWithResponse call
func (GetRetractedOriginalResponse) ContentType ¶
func (r GetRetractedOriginalResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRetractedOriginalResponse) GetApplicationproblemJSON404 ¶
func (r GetRetractedOriginalResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetRetractedOriginalResponse) GetApplicationproblemJSON503 ¶
func (r GetRetractedOriginalResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetRetractedOriginalResponse) GetBody ¶
func (r GetRetractedOriginalResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRetractedOriginalResponse) GetJSON200 ¶
func (r GetRetractedOriginalResponse) GetJSON200() *Message
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRetractedOriginalResponse) Status ¶
func (r GetRetractedOriginalResponse) Status() string
Status returns HTTPResponse.Status
func (GetRetractedOriginalResponse) StatusCode ¶
func (r GetRetractedOriginalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRetractedOriginalResponseObject ¶
type GetRetractedOriginalResponseObject interface {
VisitGetRetractedOriginalResponse(w http.ResponseWriter) error
}
type GetRoomArchive200JSONResponse ¶
type GetRoomArchive200JSONResponse RoomArchive
func (GetRoomArchive200JSONResponse) VisitGetRoomArchiveResponse ¶
func (response GetRoomArchive200JSONResponse) VisitGetRoomArchiveResponse(w http.ResponseWriter) error
type GetRoomArchive400ApplicationProblemPlusJSONResponse ¶
type GetRoomArchive400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetRoomArchive400ApplicationProblemPlusJSONResponse) VisitGetRoomArchiveResponse ¶
func (response GetRoomArchive400ApplicationProblemPlusJSONResponse) VisitGetRoomArchiveResponse(w http.ResponseWriter) error
type GetRoomArchive401ApplicationProblemPlusJSONResponse ¶
type GetRoomArchive401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetRoomArchive401ApplicationProblemPlusJSONResponse) VisitGetRoomArchiveResponse ¶
func (response GetRoomArchive401ApplicationProblemPlusJSONResponse) VisitGetRoomArchiveResponse(w http.ResponseWriter) error
type GetRoomArchive404ApplicationProblemPlusJSONResponse ¶
type GetRoomArchive404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetRoomArchive404ApplicationProblemPlusJSONResponse) VisitGetRoomArchiveResponse ¶
func (response GetRoomArchive404ApplicationProblemPlusJSONResponse) VisitGetRoomArchiveResponse(w http.ResponseWriter) error
type GetRoomArchive503ApplicationProblemPlusJSONResponse ¶
type GetRoomArchive503ApplicationProblemPlusJSONResponse struct {
}
func (GetRoomArchive503ApplicationProblemPlusJSONResponse) VisitGetRoomArchiveResponse ¶
func (response GetRoomArchive503ApplicationProblemPlusJSONResponse) VisitGetRoomArchiveResponse(w http.ResponseWriter) error
type GetRoomArchiveRequestObject ¶
type GetRoomArchiveRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetRoomArchiveResponse ¶
type GetRoomArchiveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomArchive
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetRoomArchiveResponse401Headers
}
func ParseGetRoomArchiveResponse ¶
func ParseGetRoomArchiveResponse(rsp *http.Response) (*GetRoomArchiveResponse, error)
ParseGetRoomArchiveResponse parses an HTTP response from a GetRoomArchiveWithResponse call
func (GetRoomArchiveResponse) ContentType ¶
func (r GetRoomArchiveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRoomArchiveResponse) GetApplicationproblemJSON400 ¶
func (r GetRoomArchiveResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetRoomArchiveResponse) GetApplicationproblemJSON401 ¶
func (r GetRoomArchiveResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetRoomArchiveResponse) GetApplicationproblemJSON404 ¶
func (r GetRoomArchiveResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetRoomArchiveResponse) GetApplicationproblemJSON503 ¶
func (r GetRoomArchiveResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetRoomArchiveResponse) GetBody ¶
func (r GetRoomArchiveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRoomArchiveResponse) GetJSON200 ¶
func (r GetRoomArchiveResponse) GetJSON200() *RoomArchive
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRoomArchiveResponse) Status ¶
func (r GetRoomArchiveResponse) Status() string
Status returns HTTPResponse.Status
func (GetRoomArchiveResponse) StatusCode ¶
func (r GetRoomArchiveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRoomArchiveResponse401Headers ¶
type GetRoomArchiveResponse401Headers struct {
WWWAuthenticate *string
}
GetRoomArchiveResponse401Headers the declared response headers of an HTTP 401 response for GetRoomArchive
type GetRoomArchiveResponseObject ¶
type GetRoomArchiveResponseObject interface {
VisitGetRoomArchiveResponse(w http.ResponseWriter) error
}
type GetRoomManagement200JSONResponse ¶
type GetRoomManagement200JSONResponse RoomManagement
func (GetRoomManagement200JSONResponse) VisitGetRoomManagementResponse ¶
func (response GetRoomManagement200JSONResponse) VisitGetRoomManagementResponse(w http.ResponseWriter) error
type GetRoomManagement400ApplicationProblemPlusJSONResponse ¶
type GetRoomManagement400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetRoomManagement400ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse ¶
func (response GetRoomManagement400ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse(w http.ResponseWriter) error
type GetRoomManagement401ApplicationProblemPlusJSONResponse ¶
type GetRoomManagement401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetRoomManagement401ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse ¶
func (response GetRoomManagement401ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse(w http.ResponseWriter) error
type GetRoomManagement404ApplicationProblemPlusJSONResponse ¶
type GetRoomManagement404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetRoomManagement404ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse ¶
func (response GetRoomManagement404ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse(w http.ResponseWriter) error
type GetRoomManagement409ApplicationProblemPlusJSONResponse ¶
type GetRoomManagement409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (GetRoomManagement409ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse ¶
func (response GetRoomManagement409ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse(w http.ResponseWriter) error
type GetRoomManagement503ApplicationProblemPlusJSONResponse ¶
type GetRoomManagement503ApplicationProblemPlusJSONResponse struct {
}
func (GetRoomManagement503ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse ¶
func (response GetRoomManagement503ApplicationProblemPlusJSONResponse) VisitGetRoomManagementResponse(w http.ResponseWriter) error
type GetRoomManagementParams ¶
type GetRoomManagementParams struct {
// Affiliation Affiliation list to read from the room.
Affiliation *RoomAffiliation `form:"affiliation,omitempty" json:"affiliation,omitempty"`
// MessageId Check whether this retained message can be moderated in the room.
MessageId *ID `form:"messageId,omitempty" json:"messageId,omitempty"`
}
GetRoomManagementParams defines parameters for GetRoomManagement.
type GetRoomManagementRequestObject ¶
type GetRoomManagementRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params GetRoomManagementParams
}
type GetRoomManagementResponse ¶
type GetRoomManagementResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomManagement
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetRoomManagementResponse401Headers
}
func ParseGetRoomManagementResponse ¶
func ParseGetRoomManagementResponse(rsp *http.Response) (*GetRoomManagementResponse, error)
ParseGetRoomManagementResponse parses an HTTP response from a GetRoomManagementWithResponse call
func (GetRoomManagementResponse) ContentType ¶
func (r GetRoomManagementResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRoomManagementResponse) GetApplicationproblemJSON400 ¶
func (r GetRoomManagementResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetRoomManagementResponse) GetApplicationproblemJSON401 ¶
func (r GetRoomManagementResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetRoomManagementResponse) GetApplicationproblemJSON404 ¶
func (r GetRoomManagementResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetRoomManagementResponse) GetApplicationproblemJSON409 ¶
func (r GetRoomManagementResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (GetRoomManagementResponse) GetApplicationproblemJSON503 ¶
func (r GetRoomManagementResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetRoomManagementResponse) GetBody ¶
func (r GetRoomManagementResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRoomManagementResponse) GetJSON200 ¶
func (r GetRoomManagementResponse) GetJSON200() *RoomManagement
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRoomManagementResponse) Status ¶
func (r GetRoomManagementResponse) Status() string
Status returns HTTPResponse.Status
func (GetRoomManagementResponse) StatusCode ¶
func (r GetRoomManagementResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRoomManagementResponse401Headers ¶
type GetRoomManagementResponse401Headers struct {
WWWAuthenticate *string
}
GetRoomManagementResponse401Headers the declared response headers of an HTTP 401 response for GetRoomManagement
type GetRoomManagementResponseObject ¶
type GetRoomManagementResponseObject interface {
VisitGetRoomManagementResponse(w http.ResponseWriter) error
}
type GetRoomOmemo200JSONResponse ¶
type GetRoomOmemo200JSONResponse RoomOmemo
func (GetRoomOmemo200JSONResponse) VisitGetRoomOmemoResponse ¶
func (response GetRoomOmemo200JSONResponse) VisitGetRoomOmemoResponse(w http.ResponseWriter) error
type GetRoomOmemo401ApplicationProblemPlusJSONResponse ¶
type GetRoomOmemo401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetRoomOmemo401ApplicationProblemPlusJSONResponse) VisitGetRoomOmemoResponse ¶
func (response GetRoomOmemo401ApplicationProblemPlusJSONResponse) VisitGetRoomOmemoResponse(w http.ResponseWriter) error
type GetRoomOmemo404ApplicationProblemPlusJSONResponse ¶
type GetRoomOmemo404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetRoomOmemo404ApplicationProblemPlusJSONResponse) VisitGetRoomOmemoResponse ¶
func (response GetRoomOmemo404ApplicationProblemPlusJSONResponse) VisitGetRoomOmemoResponse(w http.ResponseWriter) error
type GetRoomOmemo503ApplicationProblemPlusJSONResponse ¶
type GetRoomOmemo503ApplicationProblemPlusJSONResponse struct {
}
func (GetRoomOmemo503ApplicationProblemPlusJSONResponse) VisitGetRoomOmemoResponse ¶
func (response GetRoomOmemo503ApplicationProblemPlusJSONResponse) VisitGetRoomOmemoResponse(w http.ResponseWriter) error
type GetRoomOmemoRequestObject ¶
type GetRoomOmemoRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetRoomOmemoResponse ¶
type GetRoomOmemoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomOmemo
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetRoomOmemoResponse401Headers
}
func ParseGetRoomOmemoResponse ¶
func ParseGetRoomOmemoResponse(rsp *http.Response) (*GetRoomOmemoResponse, error)
ParseGetRoomOmemoResponse parses an HTTP response from a GetRoomOmemoWithResponse call
func (GetRoomOmemoResponse) ContentType ¶
func (r GetRoomOmemoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRoomOmemoResponse) GetApplicationproblemJSON401 ¶
func (r GetRoomOmemoResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetRoomOmemoResponse) GetApplicationproblemJSON404 ¶
func (r GetRoomOmemoResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetRoomOmemoResponse) GetApplicationproblemJSON503 ¶
func (r GetRoomOmemoResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetRoomOmemoResponse) GetBody ¶
func (r GetRoomOmemoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRoomOmemoResponse) GetJSON200 ¶
func (r GetRoomOmemoResponse) GetJSON200() *RoomOmemo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRoomOmemoResponse) Status ¶
func (r GetRoomOmemoResponse) Status() string
Status returns HTTPResponse.Status
func (GetRoomOmemoResponse) StatusCode ¶
func (r GetRoomOmemoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRoomOmemoResponse401Headers ¶
type GetRoomOmemoResponse401Headers struct {
WWWAuthenticate *string
}
GetRoomOmemoResponse401Headers the declared response headers of an HTTP 401 response for GetRoomOmemo
type GetRoomOmemoResponseObject ¶
type GetRoomOmemoResponseObject interface {
VisitGetRoomOmemoResponse(w http.ResponseWriter) error
}
type GetRoomParticipants200JSONResponse ¶
type GetRoomParticipants200JSONResponse RoomParticipants
func (GetRoomParticipants200JSONResponse) VisitGetRoomParticipantsResponse ¶
func (response GetRoomParticipants200JSONResponse) VisitGetRoomParticipantsResponse(w http.ResponseWriter) error
type GetRoomParticipants400ApplicationProblemPlusJSONResponse ¶
type GetRoomParticipants400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetRoomParticipants400ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse ¶
func (response GetRoomParticipants400ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse(w http.ResponseWriter) error
type GetRoomParticipants401ApplicationProblemPlusJSONResponse ¶
type GetRoomParticipants401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetRoomParticipants401ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse ¶
func (response GetRoomParticipants401ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse(w http.ResponseWriter) error
type GetRoomParticipants404ApplicationProblemPlusJSONResponse ¶
type GetRoomParticipants404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetRoomParticipants404ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse ¶
func (response GetRoomParticipants404ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse(w http.ResponseWriter) error
type GetRoomParticipants409ApplicationProblemPlusJSONResponse ¶
type GetRoomParticipants409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (GetRoomParticipants409ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse ¶
func (response GetRoomParticipants409ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse(w http.ResponseWriter) error
type GetRoomParticipants503ApplicationProblemPlusJSONResponse ¶
type GetRoomParticipants503ApplicationProblemPlusJSONResponse struct {
}
func (GetRoomParticipants503ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse ¶
func (response GetRoomParticipants503ApplicationProblemPlusJSONResponse) VisitGetRoomParticipantsResponse(w http.ResponseWriter) error
type GetRoomParticipantsRequestObject ¶
type GetRoomParticipantsRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetRoomParticipantsResponse ¶
type GetRoomParticipantsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomParticipants
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetRoomParticipantsResponse401Headers
}
func ParseGetRoomParticipantsResponse ¶
func ParseGetRoomParticipantsResponse(rsp *http.Response) (*GetRoomParticipantsResponse, error)
ParseGetRoomParticipantsResponse parses an HTTP response from a GetRoomParticipantsWithResponse call
func (GetRoomParticipantsResponse) ContentType ¶
func (r GetRoomParticipantsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRoomParticipantsResponse) GetApplicationproblemJSON400 ¶
func (r GetRoomParticipantsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetRoomParticipantsResponse) GetApplicationproblemJSON401 ¶
func (r GetRoomParticipantsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetRoomParticipantsResponse) GetApplicationproblemJSON404 ¶
func (r GetRoomParticipantsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetRoomParticipantsResponse) GetApplicationproblemJSON409 ¶
func (r GetRoomParticipantsResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (GetRoomParticipantsResponse) GetApplicationproblemJSON503 ¶
func (r GetRoomParticipantsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetRoomParticipantsResponse) GetBody ¶
func (r GetRoomParticipantsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRoomParticipantsResponse) GetJSON200 ¶
func (r GetRoomParticipantsResponse) GetJSON200() *RoomParticipants
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRoomParticipantsResponse) Status ¶
func (r GetRoomParticipantsResponse) Status() string
Status returns HTTPResponse.Status
func (GetRoomParticipantsResponse) StatusCode ¶
func (r GetRoomParticipantsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRoomParticipantsResponse401Headers ¶
type GetRoomParticipantsResponse401Headers struct {
WWWAuthenticate *string
}
GetRoomParticipantsResponse401Headers the declared response headers of an HTTP 401 response for GetRoomParticipants
type GetRoomParticipantsResponseObject ¶
type GetRoomParticipantsResponseObject interface {
VisitGetRoomParticipantsResponse(w http.ResponseWriter) error
}
type GetRoomSession200JSONResponse ¶
type GetRoomSession200JSONResponse RoomSession
func (GetRoomSession200JSONResponse) VisitGetRoomSessionResponse ¶
func (response GetRoomSession200JSONResponse) VisitGetRoomSessionResponse(w http.ResponseWriter) error
type GetRoomSession400ApplicationProblemPlusJSONResponse ¶
type GetRoomSession400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetRoomSession400ApplicationProblemPlusJSONResponse) VisitGetRoomSessionResponse ¶
func (response GetRoomSession400ApplicationProblemPlusJSONResponse) VisitGetRoomSessionResponse(w http.ResponseWriter) error
type GetRoomSession401ApplicationProblemPlusJSONResponse ¶
type GetRoomSession401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetRoomSession401ApplicationProblemPlusJSONResponse) VisitGetRoomSessionResponse ¶
func (response GetRoomSession401ApplicationProblemPlusJSONResponse) VisitGetRoomSessionResponse(w http.ResponseWriter) error
type GetRoomSession404ApplicationProblemPlusJSONResponse ¶
type GetRoomSession404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetRoomSession404ApplicationProblemPlusJSONResponse) VisitGetRoomSessionResponse ¶
func (response GetRoomSession404ApplicationProblemPlusJSONResponse) VisitGetRoomSessionResponse(w http.ResponseWriter) error
type GetRoomSession503ApplicationProblemPlusJSONResponse ¶
type GetRoomSession503ApplicationProblemPlusJSONResponse struct {
}
func (GetRoomSession503ApplicationProblemPlusJSONResponse) VisitGetRoomSessionResponse ¶
func (response GetRoomSession503ApplicationProblemPlusJSONResponse) VisitGetRoomSessionResponse(w http.ResponseWriter) error
type GetRoomSessionRequestObject ¶
type GetRoomSessionRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
}
type GetRoomSessionResponse ¶
type GetRoomSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomSession
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetRoomSessionResponse401Headers
}
func ParseGetRoomSessionResponse ¶
func ParseGetRoomSessionResponse(rsp *http.Response) (*GetRoomSessionResponse, error)
ParseGetRoomSessionResponse parses an HTTP response from a GetRoomSessionWithResponse call
func (GetRoomSessionResponse) ContentType ¶
func (r GetRoomSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRoomSessionResponse) GetApplicationproblemJSON400 ¶
func (r GetRoomSessionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetRoomSessionResponse) GetApplicationproblemJSON401 ¶
func (r GetRoomSessionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetRoomSessionResponse) GetApplicationproblemJSON404 ¶
func (r GetRoomSessionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetRoomSessionResponse) GetApplicationproblemJSON503 ¶
func (r GetRoomSessionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetRoomSessionResponse) GetBody ¶
func (r GetRoomSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRoomSessionResponse) GetJSON200 ¶
func (r GetRoomSessionResponse) GetJSON200() *RoomSession
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRoomSessionResponse) Status ¶
func (r GetRoomSessionResponse) Status() string
Status returns HTTPResponse.Status
func (GetRoomSessionResponse) StatusCode ¶
func (r GetRoomSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRoomSessionResponse401Headers ¶
type GetRoomSessionResponse401Headers struct {
WWWAuthenticate *string
}
GetRoomSessionResponse401Headers the declared response headers of an HTTP 401 response for GetRoomSession
type GetRoomSessionResponseObject ¶
type GetRoomSessionResponseObject interface {
VisitGetRoomSessionResponse(w http.ResponseWriter) error
}
type GetSharedContentMedia200ApplicationVndOieVideoIndexPlusJSONResponse ¶
type GetSharedContentMedia200ApplicationVndOieVideoIndexPlusJSONResponse struct {
}
func (GetSharedContentMedia200ApplicationVndOieVideoIndexPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200ApplicationVndOieVideoIndexPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200ApplicationpdfResponse ¶
type GetSharedContentMedia200ApplicationpdfResponse struct {
}
func (GetSharedContentMedia200ApplicationpdfResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200ApplicationpdfResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200AudioaacResponse ¶
type GetSharedContentMedia200AudioaacResponse struct {
}
func (GetSharedContentMedia200AudioaacResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200AudioaacResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200AudioflacResponse ¶
type GetSharedContentMedia200AudioflacResponse struct {
}
func (GetSharedContentMedia200AudioflacResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200AudioflacResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200Audiomp4Response ¶
type GetSharedContentMedia200Audiomp4Response struct {
}
func (GetSharedContentMedia200Audiomp4Response) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200Audiomp4Response) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200AudiompegResponse ¶
type GetSharedContentMedia200AudiompegResponse struct {
}
func (GetSharedContentMedia200AudiompegResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200AudiompegResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200AudiooggResponse ¶
type GetSharedContentMedia200AudiooggResponse struct {
}
func (GetSharedContentMedia200AudiooggResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200AudiooggResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200AudiowavResponse ¶
type GetSharedContentMedia200AudiowavResponse struct {
}
func (GetSharedContentMedia200AudiowavResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200AudiowavResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200AudiowebmResponse ¶
type GetSharedContentMedia200AudiowebmResponse struct {
}
func (GetSharedContentMedia200AudiowebmResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200AudiowebmResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200ResponseHeaders ¶
type GetSharedContentMedia200ResponseHeaders struct {
}
type GetSharedContentMedia200TextResponse ¶
type GetSharedContentMedia200TextResponse struct {
}
func (GetSharedContentMedia200TextResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200TextResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200VideomatroskaResponse ¶
type GetSharedContentMedia200VideomatroskaResponse struct {
}
func (GetSharedContentMedia200VideomatroskaResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200VideomatroskaResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200Videomp4Response ¶
type GetSharedContentMedia200Videomp4Response struct {
}
func (GetSharedContentMedia200Videomp4Response) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200Videomp4Response) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200VideooggResponse ¶
type GetSharedContentMedia200VideooggResponse struct {
}
func (GetSharedContentMedia200VideooggResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200VideooggResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200VideoquicktimeResponse ¶
type GetSharedContentMedia200VideoquicktimeResponse struct {
}
func (GetSharedContentMedia200VideoquicktimeResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200VideoquicktimeResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200VideowebmResponse ¶
type GetSharedContentMedia200VideowebmResponse struct {
}
func (GetSharedContentMedia200VideowebmResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200VideowebmResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200VideoxMatroskaResponse ¶
type GetSharedContentMedia200VideoxMatroskaResponse struct {
}
func (GetSharedContentMedia200VideoxMatroskaResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200VideoxMatroskaResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia200VideoxMsvideoResponse ¶
type GetSharedContentMedia200VideoxMsvideoResponse struct {
}
func (GetSharedContentMedia200VideoxMsvideoResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia200VideoxMsvideoResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206ApplicationpdfResponse ¶
type GetSharedContentMedia206ApplicationpdfResponse struct {
}
func (GetSharedContentMedia206ApplicationpdfResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206ApplicationpdfResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206AudioaacResponse ¶
type GetSharedContentMedia206AudioaacResponse struct {
}
func (GetSharedContentMedia206AudioaacResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206AudioaacResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206AudioflacResponse ¶
type GetSharedContentMedia206AudioflacResponse struct {
}
func (GetSharedContentMedia206AudioflacResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206AudioflacResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206Audiomp4Response ¶
type GetSharedContentMedia206Audiomp4Response struct {
}
func (GetSharedContentMedia206Audiomp4Response) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206Audiomp4Response) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206AudiompegResponse ¶
type GetSharedContentMedia206AudiompegResponse struct {
}
func (GetSharedContentMedia206AudiompegResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206AudiompegResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206AudiooggResponse ¶
type GetSharedContentMedia206AudiooggResponse struct {
}
func (GetSharedContentMedia206AudiooggResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206AudiooggResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206AudiowavResponse ¶
type GetSharedContentMedia206AudiowavResponse struct {
}
func (GetSharedContentMedia206AudiowavResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206AudiowavResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206AudiowebmResponse ¶
type GetSharedContentMedia206AudiowebmResponse struct {
}
func (GetSharedContentMedia206AudiowebmResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206AudiowebmResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206ResponseHeaders ¶
type GetSharedContentMedia206ResponseHeaders struct {
}
type GetSharedContentMedia206TextResponse ¶
type GetSharedContentMedia206TextResponse struct {
}
func (GetSharedContentMedia206TextResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206TextResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206VideomatroskaResponse ¶
type GetSharedContentMedia206VideomatroskaResponse struct {
}
func (GetSharedContentMedia206VideomatroskaResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206VideomatroskaResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206Videomp4Response ¶
type GetSharedContentMedia206Videomp4Response struct {
}
func (GetSharedContentMedia206Videomp4Response) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206Videomp4Response) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206VideooggResponse ¶
type GetSharedContentMedia206VideooggResponse struct {
}
func (GetSharedContentMedia206VideooggResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206VideooggResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206VideoquicktimeResponse ¶
type GetSharedContentMedia206VideoquicktimeResponse struct {
}
func (GetSharedContentMedia206VideoquicktimeResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206VideoquicktimeResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206VideowebmResponse ¶
type GetSharedContentMedia206VideowebmResponse struct {
}
func (GetSharedContentMedia206VideowebmResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206VideowebmResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206VideoxMatroskaResponse ¶
type GetSharedContentMedia206VideoxMatroskaResponse struct {
}
func (GetSharedContentMedia206VideoxMatroskaResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206VideoxMatroskaResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia206VideoxMsvideoResponse ¶
type GetSharedContentMedia206VideoxMsvideoResponse struct {
}
func (GetSharedContentMedia206VideoxMsvideoResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia206VideoxMsvideoResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia400ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia400ApplicationProblemPlusJSONResponse Problem
func (GetSharedContentMedia400ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia400ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia401ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia401ApplicationProblemPlusJSONResponse struct {
}
func (GetSharedContentMedia401ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia401ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia404ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia404ApplicationProblemPlusJSONResponse Problem
func (GetSharedContentMedia404ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia404ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia405ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia405ApplicationProblemPlusJSONResponse struct {
}
func (GetSharedContentMedia405ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia405ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia405ResponseHeaders ¶
type GetSharedContentMedia405ResponseHeaders struct {
}
type GetSharedContentMedia413ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia413ApplicationProblemPlusJSONResponse Problem
func (GetSharedContentMedia413ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia413ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia415ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia415ApplicationProblemPlusJSONResponse Problem
func (GetSharedContentMedia415ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia415ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia416ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia416ApplicationProblemPlusJSONResponse struct {
}
func (GetSharedContentMedia416ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia416ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia416ResponseHeaders ¶
type GetSharedContentMedia416ResponseHeaders struct {
}
type GetSharedContentMedia422ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia422ApplicationProblemPlusJSONResponse Problem
func (GetSharedContentMedia422ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia422ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia502ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia502ApplicationProblemPlusJSONResponse struct {
}
func (GetSharedContentMedia502ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia502ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia502ResponseHeaders ¶
type GetSharedContentMedia502ResponseHeaders struct {
}
type GetSharedContentMedia503ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia503ApplicationProblemPlusJSONResponse Problem
func (GetSharedContentMedia503ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia503ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMedia504ApplicationProblemPlusJSONResponse ¶
type GetSharedContentMedia504ApplicationProblemPlusJSONResponse Problem
func (GetSharedContentMedia504ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse ¶
func (response GetSharedContentMedia504ApplicationProblemPlusJSONResponse) VisitGetSharedContentMediaResponse(w http.ResponseWriter) error
type GetSharedContentMediaParams ¶
type GetSharedContentMediaParams struct {
Download *bool `form:"download,omitempty" json:"download,omitempty"`
Index *bool `form:"index,omitempty" json:"index,omitempty"`
XOieDownloadDevice *ID `json:"X-Oie-Download-Device,omitempty"`
Range *string `json:"Range,omitempty"`
IfRange *string `json:"If-Range,omitempty"`
}
GetSharedContentMediaParams defines parameters for GetSharedContentMedia.
type GetSharedContentMediaRequestObject ¶
type GetSharedContentMediaRequestObject struct {
}
type GetSharedContentMediaResponse ¶
type GetSharedContentMediaResponse struct {
ApplicationvndOieVideoIndexJSON200 *VideoSeekIndex
ApplicationproblemJSON400 *Problem
ApplicationproblemJSON401 *AuthenticationRequired
ApplicationproblemJSON404 *Problem
ApplicationproblemJSON405 *Problem
ApplicationproblemJSON413 *Problem
ApplicationproblemJSON415 *Problem
ApplicationproblemJSON416 *Problem
ApplicationproblemJSON422 *Problem
ApplicationproblemJSON502 *Problem
ApplicationproblemJSON503 *Problem
ApplicationproblemJSON504 *Problem
Headers200 *GetSharedContentMediaResponse200Headers
Headers206 *GetSharedContentMediaResponse206Headers
Headers401 *GetSharedContentMediaResponse401Headers
Headers405 *GetSharedContentMediaResponse405Headers
Headers416 *GetSharedContentMediaResponse416Headers
Headers502 *GetSharedContentMediaResponse502Headers
}
func ParseGetSharedContentMediaResponse ¶
func ParseGetSharedContentMediaResponse(rsp *http.Response) (*GetSharedContentMediaResponse, error)
ParseGetSharedContentMediaResponse parses an HTTP response from a GetSharedContentMediaWithResponse call
func (GetSharedContentMediaResponse) ContentType ¶
func (r GetSharedContentMediaResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSharedContentMediaResponse) GetApplicationproblemJSON400 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON400() *Problem
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON401 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON404 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON404() *Problem
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON405 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON405() *Problem
GetApplicationproblemJSON405 returns the response for an HTTP 405 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON413 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON415 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON416 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON416() *Problem
GetApplicationproblemJSON416 returns the response for an HTTP 416 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON422 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON422() *Problem
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON502 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON502() *Problem
GetApplicationproblemJSON502 returns the response for an HTTP 502 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON503 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON503() *Problem
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationproblemJSON504 ¶
func (r GetSharedContentMediaResponse) GetApplicationproblemJSON504() *Problem
GetApplicationproblemJSON504 returns the response for an HTTP 504 `application/problem+json` response
func (GetSharedContentMediaResponse) GetApplicationvndOieVideoIndexJSON200 ¶
func (r GetSharedContentMediaResponse) GetApplicationvndOieVideoIndexJSON200() *VideoSeekIndex
GetApplicationvndOieVideoIndexJSON200 returns the response for an HTTP 200 `application/vnd.oie.video-index+json` response
func (GetSharedContentMediaResponse) GetBody ¶
func (r GetSharedContentMediaResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSharedContentMediaResponse) Status ¶
func (r GetSharedContentMediaResponse) Status() string
Status returns HTTPResponse.Status
func (GetSharedContentMediaResponse) StatusCode ¶
func (r GetSharedContentMediaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSharedContentMediaResponse200Headers ¶
type GetSharedContentMediaResponse200Headers struct {
}
GetSharedContentMediaResponse200Headers the declared response headers of an HTTP 200 response for GetSharedContentMedia
type GetSharedContentMediaResponse206Headers ¶
type GetSharedContentMediaResponse206Headers struct {
}
GetSharedContentMediaResponse206Headers the declared response headers of an HTTP 206 response for GetSharedContentMedia
type GetSharedContentMediaResponse401Headers ¶
type GetSharedContentMediaResponse401Headers struct {
}
GetSharedContentMediaResponse401Headers the declared response headers of an HTTP 401 response for GetSharedContentMedia
type GetSharedContentMediaResponse405Headers ¶
type GetSharedContentMediaResponse405Headers struct {
}
GetSharedContentMediaResponse405Headers the declared response headers of an HTTP 405 response for GetSharedContentMedia
type GetSharedContentMediaResponse416Headers ¶
type GetSharedContentMediaResponse416Headers struct {
}
GetSharedContentMediaResponse416Headers the declared response headers of an HTTP 416 response for GetSharedContentMedia
type GetSharedContentMediaResponse502Headers ¶
type GetSharedContentMediaResponse502Headers struct {
}
GetSharedContentMediaResponse502Headers the declared response headers of an HTTP 502 response for GetSharedContentMedia
type GetSharedContentMediaResponseObject ¶
type GetSharedContentMediaResponseObject interface {
}
type GetStagedMessageAttachment200ApplicationoctetStreamResponse ¶
type GetStagedMessageAttachment200ApplicationoctetStreamResponse struct {
Body io.Reader
Headers GetStagedMessageAttachment200ResponseHeaders
ContentLength int64
}
func (GetStagedMessageAttachment200ApplicationoctetStreamResponse) VisitGetStagedMessageAttachmentResponse ¶
func (response GetStagedMessageAttachment200ApplicationoctetStreamResponse) VisitGetStagedMessageAttachmentResponse(w http.ResponseWriter) error
type GetStagedMessageAttachment206ApplicationoctetStreamResponse ¶
type GetStagedMessageAttachment206ApplicationoctetStreamResponse struct {
Body io.Reader
Headers GetStagedMessageAttachment206ResponseHeaders
ContentLength int64
}
func (GetStagedMessageAttachment206ApplicationoctetStreamResponse) VisitGetStagedMessageAttachmentResponse ¶
func (response GetStagedMessageAttachment206ApplicationoctetStreamResponse) VisitGetStagedMessageAttachmentResponse(w http.ResponseWriter) error
type GetStagedMessageAttachment206MultipartResponse ¶
type GetStagedMessageAttachment206MultipartResponse struct {
Body func(writer *multipart.Writer) error
Headers GetStagedMessageAttachment206ResponseHeaders
}
func (GetStagedMessageAttachment206MultipartResponse) VisitGetStagedMessageAttachmentResponse ¶
func (response GetStagedMessageAttachment206MultipartResponse) VisitGetStagedMessageAttachmentResponse(w http.ResponseWriter) error
type GetStagedMessageAttachment400ApplicationProblemPlusJSONResponse ¶
type GetStagedMessageAttachment400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetStagedMessageAttachment400ApplicationProblemPlusJSONResponse) VisitGetStagedMessageAttachmentResponse ¶
func (response GetStagedMessageAttachment400ApplicationProblemPlusJSONResponse) VisitGetStagedMessageAttachmentResponse(w http.ResponseWriter) error
type GetStagedMessageAttachment401ApplicationProblemPlusJSONResponse ¶
type GetStagedMessageAttachment401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetStagedMessageAttachment401ApplicationProblemPlusJSONResponse) VisitGetStagedMessageAttachmentResponse ¶
func (response GetStagedMessageAttachment401ApplicationProblemPlusJSONResponse) VisitGetStagedMessageAttachmentResponse(w http.ResponseWriter) error
type GetStagedMessageAttachment404ApplicationProblemPlusJSONResponse ¶
type GetStagedMessageAttachment404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetStagedMessageAttachment404ApplicationProblemPlusJSONResponse) VisitGetStagedMessageAttachmentResponse ¶
func (response GetStagedMessageAttachment404ApplicationProblemPlusJSONResponse) VisitGetStagedMessageAttachmentResponse(w http.ResponseWriter) error
type GetStagedMessageAttachment416ResponseHeaders ¶
type GetStagedMessageAttachment416ResponseHeaders struct {
ContentRange *string
}
type GetStagedMessageAttachment416TextResponse ¶
type GetStagedMessageAttachment416TextResponse struct {
Body string
Headers GetStagedMessageAttachment416ResponseHeaders
}
func (GetStagedMessageAttachment416TextResponse) VisitGetStagedMessageAttachmentResponse ¶
func (response GetStagedMessageAttachment416TextResponse) VisitGetStagedMessageAttachmentResponse(w http.ResponseWriter) error
type GetStagedMessageAttachment503ApplicationProblemPlusJSONResponse ¶
type GetStagedMessageAttachment503ApplicationProblemPlusJSONResponse struct {
}
func (GetStagedMessageAttachment503ApplicationProblemPlusJSONResponse) VisitGetStagedMessageAttachmentResponse ¶
func (response GetStagedMessageAttachment503ApplicationProblemPlusJSONResponse) VisitGetStagedMessageAttachmentResponse(w http.ResponseWriter) error
type GetStagedMessageAttachmentParams ¶
type GetStagedMessageAttachmentParams struct {
// Range Optional byte range for playback and seeking.
Range *string `json:"Range,omitempty"`
}
GetStagedMessageAttachmentParams defines parameters for GetStagedMessageAttachment.
type GetStagedMessageAttachmentRequestObject ¶
type GetStagedMessageAttachmentRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
AttachmentId StagedAttachmentID `json:"attachmentId"`
Params GetStagedMessageAttachmentParams
}
type GetStagedMessageAttachmentResponse ¶
type GetStagedMessageAttachmentResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetStagedMessageAttachmentResponse200Headers
// Headers206 the parsed response headers for an HTTP 206 response
Headers206 *GetStagedMessageAttachmentResponse206Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetStagedMessageAttachmentResponse401Headers
// Headers416 the parsed response headers for an HTTP 416 response
Headers416 *GetStagedMessageAttachmentResponse416Headers
}
func ParseGetStagedMessageAttachmentResponse ¶
func ParseGetStagedMessageAttachmentResponse(rsp *http.Response) (*GetStagedMessageAttachmentResponse, error)
ParseGetStagedMessageAttachmentResponse parses an HTTP response from a GetStagedMessageAttachmentWithResponse call
func (GetStagedMessageAttachmentResponse) ContentType ¶
func (r GetStagedMessageAttachmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStagedMessageAttachmentResponse) GetApplicationproblemJSON400 ¶
func (r GetStagedMessageAttachmentResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetStagedMessageAttachmentResponse) GetApplicationproblemJSON401 ¶
func (r GetStagedMessageAttachmentResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetStagedMessageAttachmentResponse) GetApplicationproblemJSON404 ¶
func (r GetStagedMessageAttachmentResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetStagedMessageAttachmentResponse) GetApplicationproblemJSON503 ¶
func (r GetStagedMessageAttachmentResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetStagedMessageAttachmentResponse) GetBody ¶
func (r GetStagedMessageAttachmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetStagedMessageAttachmentResponse) Status ¶
func (r GetStagedMessageAttachmentResponse) Status() string
Status returns HTTPResponse.Status
func (GetStagedMessageAttachmentResponse) StatusCode ¶
func (r GetStagedMessageAttachmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStagedMessageAttachmentResponse200Headers ¶
type GetStagedMessageAttachmentResponse200Headers struct {
AcceptRanges *string
ContentDisposition string
XOieAttachmentType *string
}
GetStagedMessageAttachmentResponse200Headers the declared response headers of an HTTP 200 response for GetStagedMessageAttachment
type GetStagedMessageAttachmentResponse206Headers ¶
type GetStagedMessageAttachmentResponse206Headers struct {
AcceptRanges *string
ContentDisposition *string
ContentRange *string
XOieAttachmentType *string
}
GetStagedMessageAttachmentResponse206Headers the declared response headers of an HTTP 206 response for GetStagedMessageAttachment
type GetStagedMessageAttachmentResponse401Headers ¶
type GetStagedMessageAttachmentResponse401Headers struct {
WWWAuthenticate *string
}
GetStagedMessageAttachmentResponse401Headers the declared response headers of an HTTP 401 response for GetStagedMessageAttachment
type GetStagedMessageAttachmentResponse416Headers ¶
type GetStagedMessageAttachmentResponse416Headers struct {
ContentRange *string
}
GetStagedMessageAttachmentResponse416Headers the declared response headers of an HTTP 416 response for GetStagedMessageAttachment
type GetStagedMessageAttachmentResponseObject ¶
type GetStagedMessageAttachmentResponseObject interface {
VisitGetStagedMessageAttachmentResponse(w http.ResponseWriter) error
}
type GetVideoThumbnail200JSONResponse ¶
type GetVideoThumbnail200JSONResponse VideoThumbnail
func (GetVideoThumbnail200JSONResponse) VisitGetVideoThumbnailResponse ¶
func (response GetVideoThumbnail200JSONResponse) VisitGetVideoThumbnailResponse(w http.ResponseWriter) error
type GetVideoThumbnail400ApplicationProblemPlusJSONResponse ¶
type GetVideoThumbnail400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (GetVideoThumbnail400ApplicationProblemPlusJSONResponse) VisitGetVideoThumbnailResponse ¶
func (response GetVideoThumbnail400ApplicationProblemPlusJSONResponse) VisitGetVideoThumbnailResponse(w http.ResponseWriter) error
type GetVideoThumbnail401ApplicationProblemPlusJSONResponse ¶
type GetVideoThumbnail401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (GetVideoThumbnail401ApplicationProblemPlusJSONResponse) VisitGetVideoThumbnailResponse ¶
func (response GetVideoThumbnail401ApplicationProblemPlusJSONResponse) VisitGetVideoThumbnailResponse(w http.ResponseWriter) error
type GetVideoThumbnail404ApplicationProblemPlusJSONResponse ¶
type GetVideoThumbnail404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (GetVideoThumbnail404ApplicationProblemPlusJSONResponse) VisitGetVideoThumbnailResponse ¶
func (response GetVideoThumbnail404ApplicationProblemPlusJSONResponse) VisitGetVideoThumbnailResponse(w http.ResponseWriter) error
type GetVideoThumbnail503ApplicationProblemPlusJSONResponse ¶
type GetVideoThumbnail503ApplicationProblemPlusJSONResponse struct {
}
func (GetVideoThumbnail503ApplicationProblemPlusJSONResponse) VisitGetVideoThumbnailResponse ¶
func (response GetVideoThumbnail503ApplicationProblemPlusJSONResponse) VisitGetVideoThumbnailResponse(w http.ResponseWriter) error
type GetVideoThumbnailRequestObject ¶
type GetVideoThumbnailRequestObject struct {
ItemId ID `json:"itemId"`
}
type GetVideoThumbnailResponse ¶
type GetVideoThumbnailResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VideoThumbnail
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *GetVideoThumbnailResponse401Headers
}
func ParseGetVideoThumbnailResponse ¶
func ParseGetVideoThumbnailResponse(rsp *http.Response) (*GetVideoThumbnailResponse, error)
ParseGetVideoThumbnailResponse parses an HTTP response from a GetVideoThumbnailWithResponse call
func (GetVideoThumbnailResponse) ContentType ¶
func (r GetVideoThumbnailResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVideoThumbnailResponse) GetApplicationproblemJSON400 ¶
func (r GetVideoThumbnailResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (GetVideoThumbnailResponse) GetApplicationproblemJSON401 ¶
func (r GetVideoThumbnailResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetVideoThumbnailResponse) GetApplicationproblemJSON404 ¶
func (r GetVideoThumbnailResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetVideoThumbnailResponse) GetApplicationproblemJSON503 ¶
func (r GetVideoThumbnailResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (GetVideoThumbnailResponse) GetBody ¶
func (r GetVideoThumbnailResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVideoThumbnailResponse) GetJSON200 ¶
func (r GetVideoThumbnailResponse) GetJSON200() *VideoThumbnail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVideoThumbnailResponse) Status ¶
func (r GetVideoThumbnailResponse) Status() string
Status returns HTTPResponse.Status
func (GetVideoThumbnailResponse) StatusCode ¶
func (r GetVideoThumbnailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVideoThumbnailResponse401Headers ¶
type GetVideoThumbnailResponse401Headers struct {
WWWAuthenticate *string
}
GetVideoThumbnailResponse401Headers the declared response headers of an HTTP 401 response for GetVideoThumbnail
type GetVideoThumbnailResponseObject ¶
type GetVideoThumbnailResponseObject interface {
VisitGetVideoThumbnailResponse(w http.ResponseWriter) error
}
type GlobalReadReceipts ¶
type GlobalReadReceipts struct {
// Enabled Whether to send read receipts by default. Initially true.
//
// Example: true
Enabled bool `json:"enabled"`
// Revision Example: 0
Revision string `json:"revision"`
}
GlobalReadReceipts Default read receipt setting for all conversations on the engine.
type GlobalRetention ¶
type GlobalRetention struct {
// DirectDays Age in days. Zero means unlimited.
//
// Example: 180
DirectDays RetentionDays `json:"directDays"`
// Revision Compare-and-set token from the most recent retention snapshot.
//
// Example: 1
Revision RetentionRevision `json:"revision"`
// RoomDays Age in days. Zero means unlimited.
//
// Example: 180
RoomDays RetentionDays `json:"roomDays"`
}
GlobalRetention Engine-wide periods for rooms and direct conversations.
type Health ¶
type Health struct {
// Status Example: ready
Status HealthStatus `json:"status"`
}
Health Readiness of the engine store.
Example: {"status":"ready"}
type HealthStatus ¶
type HealthStatus string
HealthStatus Example: ready
const (
HealthStatusReady HealthStatus = "ready"
)
Defines values for HealthStatus.
func (HealthStatus) Valid ¶
func (e HealthStatus) Valid() bool
Valid indicates whether the value is a known member of the HealthStatus enum.
type HistoryPruned ¶
type HistoryPruned struct {
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
MessageIds []ID `json:"messageIds"`
}
HistoryPruned Refresh the conversation and dependent views and remove these IDs from any retained pages. Replayed events can have an empty messageIds array.
type HistoryStatus ¶
type HistoryStatus struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
Conversations int `json:"conversations"`
LastErrorCode *HistoryStatusLastErrorCode `json:"lastErrorCode,omitempty"`
RetainedMessages int `json:"retainedMessages"`
State HistoryStatusState `json:"state"`
UpdatedAt time.Time `json:"updatedAt"`
}
HistoryStatus Last history recovery pass; counts describe this engine's retained records, not total provider history.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversations":3,"retainedMessages":50,"state":"syncing","updatedAt":"2026-11-07T12:00:00Z"}
type HistoryStatusLastErrorCode ¶
type HistoryStatusLastErrorCode string
HistoryStatusLastErrorCode defines model for HistoryStatus.LastErrorCode.
const ( HistoryStatusLastErrorCodeArchiveFailed HistoryStatusLastErrorCode = "archive_failed" HistoryStatusLastErrorCodeDiscoveryFailed HistoryStatusLastErrorCode = "discovery_failed" HistoryStatusLastErrorCodeUnstableArchive HistoryStatusLastErrorCode = "unstable_archive" )
Defines values for HistoryStatusLastErrorCode.
func (HistoryStatusLastErrorCode) Valid ¶
func (e HistoryStatusLastErrorCode) Valid() bool
Valid indicates whether the value is a known member of the HistoryStatusLastErrorCode enum.
type HistoryStatusState ¶
type HistoryStatusState string
HistoryStatusState defines model for HistoryStatus.State.
const ( HistoryStatusStateComplete HistoryStatusState = "complete" HistoryStatusStateError HistoryStatusState = "error" HistoryStatusStateNotStarted HistoryStatusState = "not_started" HistoryStatusStatePartial HistoryStatusState = "partial" HistoryStatusStateSyncing HistoryStatusState = "syncing" HistoryStatusStateUnsupported HistoryStatusState = "unsupported" )
Defines values for HistoryStatusState.
func (HistoryStatusState) Valid ¶
func (e HistoryStatusState) Valid() bool
Valid indicates whether the value is a known member of the HistoryStatusState enum.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ID ¶
type ID = string
ID Canonical lowercase UUIDv7; IDs do not establish causal order.
Example: 019a5df0-0000-7000-8000-000000000001
type Invalid ¶
type Invalid = Problem
Invalid RFC 9457 Problem Details served as application/problem+json. The type URI identifies the problem. The code extension is a stable short identifier for display and localization. The Link response header with rel="help" provides guidance for known problem types. The body includes documentation when the request applies the oie-problem-documentation preference. Responses exclude raw storage errors and credentials.
Example: {"code":"unavailable","documentation":"https://github.com/araihu/oie/blob/main/docs/engine-api-problems.md#unavailable","status":503,"title":"Service Unavailable","type":"urn:oie:problem:unavailable"}
type InvalidApplicationProblemPlusJSONResponse ¶
type InvalidApplicationProblemPlusJSONResponse Problem
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type JoinRoom ¶
type JoinRoom struct {
// ExpectedConversationRevisionId Current conversation revision required when accepting a room invitation.
ExpectedConversationRevisionId *ID `json:"expectedConversationRevisionId,omitempty"`
// ExpectedRevisionId Canonical UUIDv7 of app-owned state; null means no revision has been created.
//
// Example: 019a5df0-0000-7000-8000-000000000004
ExpectedRevisionId *NullableRevisionID `json:"expectedRevisionId"`
// Nickname Optional nickname; the adapter chooses its account default when omitted. No password is accepted in this increment.
Nickname *string `json:"nickname,omitempty"`
// Password Optional replacement password for this room.
Password *string `json:"password,omitempty"`
}
JoinRoom Explicit room-entry command with optimistic intent revision.
Example: {"expectedRevisionId":null}
type JoinRoom200JSONResponse ¶
type JoinRoom200JSONResponse RoomSession
func (JoinRoom200JSONResponse) VisitJoinRoomResponse ¶
func (response JoinRoom200JSONResponse) VisitJoinRoomResponse(w http.ResponseWriter) error
type JoinRoom400ApplicationProblemPlusJSONResponse ¶
type JoinRoom400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (JoinRoom400ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse ¶
func (response JoinRoom400ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse(w http.ResponseWriter) error
type JoinRoom401ApplicationProblemPlusJSONResponse ¶
type JoinRoom401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (JoinRoom401ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse ¶
func (response JoinRoom401ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse(w http.ResponseWriter) error
type JoinRoom404ApplicationProblemPlusJSONResponse ¶
type JoinRoom404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (JoinRoom404ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse ¶
func (response JoinRoom404ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse(w http.ResponseWriter) error
type JoinRoom409ApplicationProblemPlusJSONResponse ¶
type JoinRoom409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (JoinRoom409ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse ¶
func (response JoinRoom409ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse(w http.ResponseWriter) error
type JoinRoom413ApplicationProblemPlusJSONResponse ¶
type JoinRoom413ApplicationProblemPlusJSONResponse Problem
func (JoinRoom413ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse ¶
func (response JoinRoom413ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse(w http.ResponseWriter) error
type JoinRoom415ApplicationProblemPlusJSONResponse ¶
type JoinRoom415ApplicationProblemPlusJSONResponse Problem
func (JoinRoom415ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse ¶
func (response JoinRoom415ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse(w http.ResponseWriter) error
type JoinRoom503ApplicationProblemPlusJSONResponse ¶
type JoinRoom503ApplicationProblemPlusJSONResponse struct {
}
func (JoinRoom503ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse ¶
func (response JoinRoom503ApplicationProblemPlusJSONResponse) VisitJoinRoomResponse(w http.ResponseWriter) error
type JoinRoomJSONRequestBody ¶
type JoinRoomJSONRequestBody = JoinRoom
JoinRoomJSONRequestBody defines body for JoinRoom for application/json ContentType.
type JoinRoomParams ¶
type JoinRoomParams struct {
// IdempotencyKey Stable operation UUID for this join intent.
IdempotencyKey ID `json:"Idempotency-Key"`
}
JoinRoomParams defines parameters for JoinRoom.
type JoinRoomRequestObject ¶
type JoinRoomRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params JoinRoomParams
Body *JoinRoomJSONRequestBody
}
type JoinRoomResponse ¶
type JoinRoomResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomSession
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *JoinRoomResponse401Headers
}
func ParseJoinRoomResponse ¶
func ParseJoinRoomResponse(rsp *http.Response) (*JoinRoomResponse, error)
ParseJoinRoomResponse parses an HTTP response from a JoinRoomWithResponse call
func (JoinRoomResponse) ContentType ¶
func (r JoinRoomResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JoinRoomResponse) GetApplicationproblemJSON400 ¶
func (r JoinRoomResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (JoinRoomResponse) GetApplicationproblemJSON401 ¶
func (r JoinRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (JoinRoomResponse) GetApplicationproblemJSON404 ¶
func (r JoinRoomResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (JoinRoomResponse) GetApplicationproblemJSON409 ¶
func (r JoinRoomResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (JoinRoomResponse) GetApplicationproblemJSON413 ¶
func (r JoinRoomResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (JoinRoomResponse) GetApplicationproblemJSON415 ¶
func (r JoinRoomResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (JoinRoomResponse) GetApplicationproblemJSON503 ¶
func (r JoinRoomResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (JoinRoomResponse) GetBody ¶
func (r JoinRoomResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JoinRoomResponse) GetJSON200 ¶
func (r JoinRoomResponse) GetJSON200() *RoomSession
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JoinRoomResponse) Status ¶
func (r JoinRoomResponse) Status() string
Status returns HTTPResponse.Status
func (JoinRoomResponse) StatusCode ¶
func (r JoinRoomResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JoinRoomResponse401Headers ¶
type JoinRoomResponse401Headers struct {
WWWAuthenticate *string
}
JoinRoomResponse401Headers the declared response headers of an HTTP 401 response for JoinRoom
type JoinRoomResponseObject ¶
type JoinRoomResponseObject interface {
VisitJoinRoomResponse(w http.ResponseWriter) error
}
type LeaveRoom ¶
type LeaveRoom struct {
// ExpectedRevisionId Canonical UUIDv7 of app-owned state; null means no revision has been created.
//
// Example: 019a5df0-0000-7000-8000-000000000004
ExpectedRevisionId *NullableRevisionID `json:"expectedRevisionId"`
}
LeaveRoom Explicit room-exit command preserving retained history and pending work.
Example: {"expectedRevisionId":"019a5df0-0000-7000-8000-000000000003"}
type LeaveRoom200JSONResponse ¶
type LeaveRoom200JSONResponse RoomSession
func (LeaveRoom200JSONResponse) VisitLeaveRoomResponse ¶
func (response LeaveRoom200JSONResponse) VisitLeaveRoomResponse(w http.ResponseWriter) error
type LeaveRoom400ApplicationProblemPlusJSONResponse ¶
type LeaveRoom400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (LeaveRoom400ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse ¶
func (response LeaveRoom400ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse(w http.ResponseWriter) error
type LeaveRoom401ApplicationProblemPlusJSONResponse ¶
type LeaveRoom401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (LeaveRoom401ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse ¶
func (response LeaveRoom401ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse(w http.ResponseWriter) error
type LeaveRoom404ApplicationProblemPlusJSONResponse ¶
type LeaveRoom404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (LeaveRoom404ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse ¶
func (response LeaveRoom404ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse(w http.ResponseWriter) error
type LeaveRoom409ApplicationProblemPlusJSONResponse ¶
type LeaveRoom409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (LeaveRoom409ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse ¶
func (response LeaveRoom409ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse(w http.ResponseWriter) error
type LeaveRoom413ApplicationProblemPlusJSONResponse ¶
type LeaveRoom413ApplicationProblemPlusJSONResponse Problem
func (LeaveRoom413ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse ¶
func (response LeaveRoom413ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse(w http.ResponseWriter) error
type LeaveRoom415ApplicationProblemPlusJSONResponse ¶
type LeaveRoom415ApplicationProblemPlusJSONResponse Problem
func (LeaveRoom415ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse ¶
func (response LeaveRoom415ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse(w http.ResponseWriter) error
type LeaveRoom503ApplicationProblemPlusJSONResponse ¶
type LeaveRoom503ApplicationProblemPlusJSONResponse struct {
}
func (LeaveRoom503ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse ¶
func (response LeaveRoom503ApplicationProblemPlusJSONResponse) VisitLeaveRoomResponse(w http.ResponseWriter) error
type LeaveRoomJSONRequestBody ¶
type LeaveRoomJSONRequestBody = LeaveRoom
LeaveRoomJSONRequestBody defines body for LeaveRoom for application/json ContentType.
type LeaveRoomParams ¶
type LeaveRoomParams struct {
// IdempotencyKey Stable operation UUID for this leave intent.
IdempotencyKey ID `json:"Idempotency-Key"`
}
LeaveRoomParams defines parameters for LeaveRoom.
type LeaveRoomRequestObject ¶
type LeaveRoomRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params LeaveRoomParams
Body *LeaveRoomJSONRequestBody
}
type LeaveRoomResponse ¶
type LeaveRoomResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomSession
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *LeaveRoomResponse401Headers
}
func ParseLeaveRoomResponse ¶
func ParseLeaveRoomResponse(rsp *http.Response) (*LeaveRoomResponse, error)
ParseLeaveRoomResponse parses an HTTP response from a LeaveRoomWithResponse call
func (LeaveRoomResponse) ContentType ¶
func (r LeaveRoomResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LeaveRoomResponse) GetApplicationproblemJSON400 ¶
func (r LeaveRoomResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (LeaveRoomResponse) GetApplicationproblemJSON401 ¶
func (r LeaveRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (LeaveRoomResponse) GetApplicationproblemJSON404 ¶
func (r LeaveRoomResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (LeaveRoomResponse) GetApplicationproblemJSON409 ¶
func (r LeaveRoomResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (LeaveRoomResponse) GetApplicationproblemJSON413 ¶
func (r LeaveRoomResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (LeaveRoomResponse) GetApplicationproblemJSON415 ¶
func (r LeaveRoomResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (LeaveRoomResponse) GetApplicationproblemJSON503 ¶
func (r LeaveRoomResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (LeaveRoomResponse) GetBody ¶
func (r LeaveRoomResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LeaveRoomResponse) GetJSON200 ¶
func (r LeaveRoomResponse) GetJSON200() *RoomSession
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LeaveRoomResponse) Status ¶
func (r LeaveRoomResponse) Status() string
Status returns HTTPResponse.Status
func (LeaveRoomResponse) StatusCode ¶
func (r LeaveRoomResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LeaveRoomResponse401Headers ¶
type LeaveRoomResponse401Headers struct {
WWWAuthenticate *string
}
LeaveRoomResponse401Headers the declared response headers of an HTTP 401 response for LeaveRoom
type LeaveRoomResponseObject ¶
type LeaveRoomResponseObject interface {
VisitLeaveRoomResponse(w http.ResponseWriter) error
}
type ListAccountAvatars200JSONResponse ¶
type ListAccountAvatars200JSONResponse AvatarPage
func (ListAccountAvatars200JSONResponse) VisitListAccountAvatarsResponse ¶
func (response ListAccountAvatars200JSONResponse) VisitListAccountAvatarsResponse(w http.ResponseWriter) error
type ListAccountAvatars400ApplicationProblemPlusJSONResponse ¶
type ListAccountAvatars400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListAccountAvatars400ApplicationProblemPlusJSONResponse) VisitListAccountAvatarsResponse ¶
func (response ListAccountAvatars400ApplicationProblemPlusJSONResponse) VisitListAccountAvatarsResponse(w http.ResponseWriter) error
type ListAccountAvatars401ApplicationProblemPlusJSONResponse ¶
type ListAccountAvatars401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListAccountAvatars401ApplicationProblemPlusJSONResponse) VisitListAccountAvatarsResponse ¶
func (response ListAccountAvatars401ApplicationProblemPlusJSONResponse) VisitListAccountAvatarsResponse(w http.ResponseWriter) error
type ListAccountAvatars404ApplicationProblemPlusJSONResponse ¶
type ListAccountAvatars404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListAccountAvatars404ApplicationProblemPlusJSONResponse) VisitListAccountAvatarsResponse ¶
func (response ListAccountAvatars404ApplicationProblemPlusJSONResponse) VisitListAccountAvatarsResponse(w http.ResponseWriter) error
type ListAccountAvatars503ApplicationProblemPlusJSONResponse ¶
type ListAccountAvatars503ApplicationProblemPlusJSONResponse struct {
}
func (ListAccountAvatars503ApplicationProblemPlusJSONResponse) VisitListAccountAvatarsResponse ¶
func (response ListAccountAvatars503ApplicationProblemPlusJSONResponse) VisitListAccountAvatarsResponse(w http.ResponseWriter) error
type ListAccountAvatarsParams ¶
type ListAccountAvatarsParams struct {
// After Continue after this avatar record UUID.
After *ID `form:"after,omitempty" json:"after,omitempty"`
// Limit Maximum page size.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAccountAvatarsParams defines parameters for ListAccountAvatars.
type ListAccountAvatarsRequestObject ¶
type ListAccountAvatarsRequestObject struct {
AccountId AccountID `json:"accountId"`
Params ListAccountAvatarsParams
}
type ListAccountAvatarsResponse ¶
type ListAccountAvatarsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AvatarPage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListAccountAvatarsResponse401Headers
}
func ParseListAccountAvatarsResponse ¶
func ParseListAccountAvatarsResponse(rsp *http.Response) (*ListAccountAvatarsResponse, error)
ParseListAccountAvatarsResponse parses an HTTP response from a ListAccountAvatarsWithResponse call
func (ListAccountAvatarsResponse) ContentType ¶
func (r ListAccountAvatarsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAccountAvatarsResponse) GetApplicationproblemJSON400 ¶
func (r ListAccountAvatarsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListAccountAvatarsResponse) GetApplicationproblemJSON401 ¶
func (r ListAccountAvatarsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListAccountAvatarsResponse) GetApplicationproblemJSON404 ¶
func (r ListAccountAvatarsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListAccountAvatarsResponse) GetApplicationproblemJSON503 ¶
func (r ListAccountAvatarsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListAccountAvatarsResponse) GetBody ¶
func (r ListAccountAvatarsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAccountAvatarsResponse) GetJSON200 ¶
func (r ListAccountAvatarsResponse) GetJSON200() *AvatarPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAccountAvatarsResponse) Status ¶
func (r ListAccountAvatarsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAccountAvatarsResponse) StatusCode ¶
func (r ListAccountAvatarsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAccountAvatarsResponse401Headers ¶
type ListAccountAvatarsResponse401Headers struct {
WWWAuthenticate *string
}
ListAccountAvatarsResponse401Headers the declared response headers of an HTTP 401 response for ListAccountAvatars
type ListAccountAvatarsResponseObject ¶
type ListAccountAvatarsResponseObject interface {
VisitListAccountAvatarsResponse(w http.ResponseWriter) error
}
type ListAccounts200JSONResponse ¶
type ListAccounts200JSONResponse AccountPage
func (ListAccounts200JSONResponse) VisitListAccountsResponse ¶
func (response ListAccounts200JSONResponse) VisitListAccountsResponse(w http.ResponseWriter) error
type ListAccounts400ApplicationProblemPlusJSONResponse ¶
type ListAccounts400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListAccounts400ApplicationProblemPlusJSONResponse) VisitListAccountsResponse ¶
func (response ListAccounts400ApplicationProblemPlusJSONResponse) VisitListAccountsResponse(w http.ResponseWriter) error
type ListAccounts401ApplicationProblemPlusJSONResponse ¶
type ListAccounts401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListAccounts401ApplicationProblemPlusJSONResponse) VisitListAccountsResponse ¶
func (response ListAccounts401ApplicationProblemPlusJSONResponse) VisitListAccountsResponse(w http.ResponseWriter) error
type ListAccounts503ApplicationProblemPlusJSONResponse ¶
type ListAccounts503ApplicationProblemPlusJSONResponse struct {
}
func (ListAccounts503ApplicationProblemPlusJSONResponse) VisitListAccountsResponse ¶
func (response ListAccounts503ApplicationProblemPlusJSONResponse) VisitListAccountsResponse(w http.ResponseWriter) error
type ListAccountsParams ¶
type ListAccountsParams struct {
// After Continue after this account UUID.
After *ID `form:"after,omitempty" json:"after,omitempty"`
// Limit Maximum page size.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAccountsParams defines parameters for ListAccounts.
type ListAccountsRequestObject ¶
type ListAccountsRequestObject struct {
Params ListAccountsParams
}
type ListAccountsResponse ¶
type ListAccountsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AccountPage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListAccountsResponse401Headers
}
func ParseListAccountsResponse ¶
func ParseListAccountsResponse(rsp *http.Response) (*ListAccountsResponse, error)
ParseListAccountsResponse parses an HTTP response from a ListAccountsWithResponse call
func (ListAccountsResponse) ContentType ¶
func (r ListAccountsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAccountsResponse) GetApplicationproblemJSON400 ¶
func (r ListAccountsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListAccountsResponse) GetApplicationproblemJSON401 ¶
func (r ListAccountsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListAccountsResponse) GetApplicationproblemJSON503 ¶
func (r ListAccountsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListAccountsResponse) GetBody ¶
func (r ListAccountsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAccountsResponse) GetJSON200 ¶
func (r ListAccountsResponse) GetJSON200() *AccountPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAccountsResponse) Status ¶
func (r ListAccountsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAccountsResponse) StatusCode ¶
func (r ListAccountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAccountsResponse401Headers ¶
type ListAccountsResponse401Headers struct {
WWWAuthenticate *string
}
ListAccountsResponse401Headers the declared response headers of an HTTP 401 response for ListAccounts
type ListAccountsResponseObject ¶
type ListAccountsResponseObject interface {
VisitListAccountsResponse(w http.ResponseWriter) error
}
type ListContactRequests200JSONResponse ¶
type ListContactRequests200JSONResponse ContactRequests
func (ListContactRequests200JSONResponse) VisitListContactRequestsResponse ¶
func (response ListContactRequests200JSONResponse) VisitListContactRequestsResponse(w http.ResponseWriter) error
type ListContactRequests404ApplicationProblemPlusJSONResponse ¶
type ListContactRequests404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListContactRequests404ApplicationProblemPlusJSONResponse) VisitListContactRequestsResponse ¶
func (response ListContactRequests404ApplicationProblemPlusJSONResponse) VisitListContactRequestsResponse(w http.ResponseWriter) error
type ListContactRequests503ApplicationProblemPlusJSONResponse ¶
type ListContactRequests503ApplicationProblemPlusJSONResponse struct {
}
func (ListContactRequests503ApplicationProblemPlusJSONResponse) VisitListContactRequestsResponse ¶
func (response ListContactRequests503ApplicationProblemPlusJSONResponse) VisitListContactRequestsResponse(w http.ResponseWriter) error
type ListContactRequestsRequestObject ¶
type ListContactRequestsRequestObject struct {
AccountId AccountID `json:"accountId"`
}
type ListContactRequestsResponse ¶
type ListContactRequestsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ContactRequests
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
}
func ParseListContactRequestsResponse ¶
func ParseListContactRequestsResponse(rsp *http.Response) (*ListContactRequestsResponse, error)
ParseListContactRequestsResponse parses an HTTP response from a ListContactRequestsWithResponse call
func (ListContactRequestsResponse) ContentType ¶
func (r ListContactRequestsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListContactRequestsResponse) GetApplicationproblemJSON404 ¶
func (r ListContactRequestsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListContactRequestsResponse) GetApplicationproblemJSON503 ¶
func (r ListContactRequestsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListContactRequestsResponse) GetBody ¶
func (r ListContactRequestsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListContactRequestsResponse) GetJSON200 ¶
func (r ListContactRequestsResponse) GetJSON200() *ContactRequests
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListContactRequestsResponse) Status ¶
func (r ListContactRequestsResponse) Status() string
Status returns HTTPResponse.Status
func (ListContactRequestsResponse) StatusCode ¶
func (r ListContactRequestsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListContactRequestsResponseObject ¶
type ListContactRequestsResponseObject interface {
VisitListContactRequestsResponse(w http.ResponseWriter) error
}
type ListContacts200JSONResponse ¶
type ListContacts200JSONResponse ContactPage
func (ListContacts200JSONResponse) VisitListContactsResponse ¶
func (response ListContacts200JSONResponse) VisitListContactsResponse(w http.ResponseWriter) error
type ListContacts400ApplicationProblemPlusJSONResponse ¶
type ListContacts400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListContacts400ApplicationProblemPlusJSONResponse) VisitListContactsResponse ¶
func (response ListContacts400ApplicationProblemPlusJSONResponse) VisitListContactsResponse(w http.ResponseWriter) error
type ListContacts401ApplicationProblemPlusJSONResponse ¶
type ListContacts401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListContacts401ApplicationProblemPlusJSONResponse) VisitListContactsResponse ¶
func (response ListContacts401ApplicationProblemPlusJSONResponse) VisitListContactsResponse(w http.ResponseWriter) error
type ListContacts404ApplicationProblemPlusJSONResponse ¶
type ListContacts404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListContacts404ApplicationProblemPlusJSONResponse) VisitListContactsResponse ¶
func (response ListContacts404ApplicationProblemPlusJSONResponse) VisitListContactsResponse(w http.ResponseWriter) error
type ListContacts503ApplicationProblemPlusJSONResponse ¶
type ListContacts503ApplicationProblemPlusJSONResponse struct {
}
func (ListContacts503ApplicationProblemPlusJSONResponse) VisitListContactsResponse ¶
func (response ListContacts503ApplicationProblemPlusJSONResponse) VisitListContactsResponse(w http.ResponseWriter) error
type ListContactsParams ¶
type ListContactsParams struct {
// Q Optional trimmed UTF-8 text, at most 200 Unicode code points. Matches saved name, address, groups and account label.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// AccountId Restrict contacts to one owning account.
AccountId *ID `form:"accountId,omitempty" json:"accountId,omitempty"`
// AccountIds Restrict results to the selected owning accounts before pagination. Mutually exclusive with accountId.
AccountIds *SearchAccountIDs `form:"accountIds,omitempty" json:"accountIds,omitempty"`
// IncludePresence Include current presence observations for contacts subscribed by this account.
IncludePresence *bool `form:"includePresence,omitempty" json:"includePresence,omitempty"`
// Cursor Opaque position bound to the engine, account and trimmed query.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of contacts returned.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListContactsParams defines parameters for ListContacts.
type ListContactsRequestObject ¶
type ListContactsRequestObject struct {
Params ListContactsParams
}
type ListContactsResponse ¶
type ListContactsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ContactPage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListContactsResponse401Headers
}
func ParseListContactsResponse ¶
func ParseListContactsResponse(rsp *http.Response) (*ListContactsResponse, error)
ParseListContactsResponse parses an HTTP response from a ListContactsWithResponse call
func (ListContactsResponse) ContentType ¶
func (r ListContactsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListContactsResponse) GetApplicationproblemJSON400 ¶
func (r ListContactsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListContactsResponse) GetApplicationproblemJSON401 ¶
func (r ListContactsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListContactsResponse) GetApplicationproblemJSON404 ¶
func (r ListContactsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListContactsResponse) GetApplicationproblemJSON503 ¶
func (r ListContactsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListContactsResponse) GetBody ¶
func (r ListContactsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListContactsResponse) GetJSON200 ¶
func (r ListContactsResponse) GetJSON200() *ContactPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListContactsResponse) Status ¶
func (r ListContactsResponse) Status() string
Status returns HTTPResponse.Status
func (ListContactsResponse) StatusCode ¶
func (r ListContactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListContactsResponse401Headers ¶
type ListContactsResponse401Headers struct {
WWWAuthenticate *string
}
ListContactsResponse401Headers the declared response headers of an HTTP 401 response for ListContacts
type ListContactsResponseObject ¶
type ListContactsResponseObject interface {
VisitListContactsResponse(w http.ResponseWriter) error
}
type ListConversationMessageStars200JSONResponse ¶
type ListConversationMessageStars200JSONResponse MessageStarPage
func (ListConversationMessageStars200JSONResponse) VisitListConversationMessageStarsResponse ¶
func (response ListConversationMessageStars200JSONResponse) VisitListConversationMessageStarsResponse(w http.ResponseWriter) error
type ListConversationMessageStars400ApplicationProblemPlusJSONResponse ¶
type ListConversationMessageStars400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListConversationMessageStars400ApplicationProblemPlusJSONResponse) VisitListConversationMessageStarsResponse ¶
func (response ListConversationMessageStars400ApplicationProblemPlusJSONResponse) VisitListConversationMessageStarsResponse(w http.ResponseWriter) error
type ListConversationMessageStars401ApplicationProblemPlusJSONResponse ¶
type ListConversationMessageStars401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListConversationMessageStars401ApplicationProblemPlusJSONResponse) VisitListConversationMessageStarsResponse ¶
func (response ListConversationMessageStars401ApplicationProblemPlusJSONResponse) VisitListConversationMessageStarsResponse(w http.ResponseWriter) error
type ListConversationMessageStars404ApplicationProblemPlusJSONResponse ¶
type ListConversationMessageStars404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListConversationMessageStars404ApplicationProblemPlusJSONResponse) VisitListConversationMessageStarsResponse ¶
func (response ListConversationMessageStars404ApplicationProblemPlusJSONResponse) VisitListConversationMessageStarsResponse(w http.ResponseWriter) error
type ListConversationMessageStars503ApplicationProblemPlusJSONResponse ¶
type ListConversationMessageStars503ApplicationProblemPlusJSONResponse struct {
}
func (ListConversationMessageStars503ApplicationProblemPlusJSONResponse) VisitListConversationMessageStarsResponse ¶
func (response ListConversationMessageStars503ApplicationProblemPlusJSONResponse) VisitListConversationMessageStarsResponse(w http.ResponseWriter) error
type ListConversationMessageStarsParams ¶
type ListConversationMessageStarsParams struct {
// MessageId Source message UUIDs to read, one query parameter per UUID.
MessageId []ID `form:"messageId" json:"messageId"`
}
ListConversationMessageStarsParams defines parameters for ListConversationMessageStars.
type ListConversationMessageStarsRequestObject ¶
type ListConversationMessageStarsRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params ListConversationMessageStarsParams
}
type ListConversationMessageStarsResponse ¶
type ListConversationMessageStarsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageStarPage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListConversationMessageStarsResponse401Headers
}
func ParseListConversationMessageStarsResponse ¶
func ParseListConversationMessageStarsResponse(rsp *http.Response) (*ListConversationMessageStarsResponse, error)
ParseListConversationMessageStarsResponse parses an HTTP response from a ListConversationMessageStarsWithResponse call
func (ListConversationMessageStarsResponse) ContentType ¶
func (r ListConversationMessageStarsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListConversationMessageStarsResponse) GetApplicationproblemJSON400 ¶
func (r ListConversationMessageStarsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListConversationMessageStarsResponse) GetApplicationproblemJSON401 ¶
func (r ListConversationMessageStarsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListConversationMessageStarsResponse) GetApplicationproblemJSON404 ¶
func (r ListConversationMessageStarsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListConversationMessageStarsResponse) GetApplicationproblemJSON503 ¶
func (r ListConversationMessageStarsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListConversationMessageStarsResponse) GetBody ¶
func (r ListConversationMessageStarsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListConversationMessageStarsResponse) GetJSON200 ¶
func (r ListConversationMessageStarsResponse) GetJSON200() *MessageStarPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListConversationMessageStarsResponse) Status ¶
func (r ListConversationMessageStarsResponse) Status() string
Status returns HTTPResponse.Status
func (ListConversationMessageStarsResponse) StatusCode ¶
func (r ListConversationMessageStarsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListConversationMessageStarsResponse401Headers ¶
type ListConversationMessageStarsResponse401Headers struct {
WWWAuthenticate *string
}
ListConversationMessageStarsResponse401Headers the declared response headers of an HTTP 401 response for ListConversationMessageStars
type ListConversationMessageStarsResponseObject ¶
type ListConversationMessageStarsResponseObject interface {
VisitListConversationMessageStarsResponse(w http.ResponseWriter) error
}
type ListConversationPreviews200JSONResponse ¶
type ListConversationPreviews200JSONResponse PreviewPage
func (ListConversationPreviews200JSONResponse) VisitListConversationPreviewsResponse ¶
func (response ListConversationPreviews200JSONResponse) VisitListConversationPreviewsResponse(w http.ResponseWriter) error
type ListConversationPreviews400ApplicationProblemPlusJSONResponse ¶
type ListConversationPreviews400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListConversationPreviews400ApplicationProblemPlusJSONResponse) VisitListConversationPreviewsResponse ¶
func (response ListConversationPreviews400ApplicationProblemPlusJSONResponse) VisitListConversationPreviewsResponse(w http.ResponseWriter) error
type ListConversationPreviews401ApplicationProblemPlusJSONResponse ¶
type ListConversationPreviews401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListConversationPreviews401ApplicationProblemPlusJSONResponse) VisitListConversationPreviewsResponse ¶
func (response ListConversationPreviews401ApplicationProblemPlusJSONResponse) VisitListConversationPreviewsResponse(w http.ResponseWriter) error
type ListConversationPreviews404ApplicationProblemPlusJSONResponse ¶
type ListConversationPreviews404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListConversationPreviews404ApplicationProblemPlusJSONResponse) VisitListConversationPreviewsResponse ¶
func (response ListConversationPreviews404ApplicationProblemPlusJSONResponse) VisitListConversationPreviewsResponse(w http.ResponseWriter) error
type ListConversationPreviews503ApplicationProblemPlusJSONResponse ¶
type ListConversationPreviews503ApplicationProblemPlusJSONResponse struct {
}
func (ListConversationPreviews503ApplicationProblemPlusJSONResponse) VisitListConversationPreviewsResponse ¶
func (response ListConversationPreviews503ApplicationProblemPlusJSONResponse) VisitListConversationPreviewsResponse(w http.ResponseWriter) error
type ListConversationPreviewsParams ¶
type ListConversationPreviewsParams struct {
// MessageId Message UUIDs from this conversation, up to one hundred. Omit for the latest fifty messages.
MessageId *[]ID `form:"messageId,omitempty" json:"messageId,omitempty"`
}
ListConversationPreviewsParams defines parameters for ListConversationPreviews.
type ListConversationPreviewsRequestObject ¶
type ListConversationPreviewsRequestObject struct {
ConversationId ID `json:"conversationId"`
Params ListConversationPreviewsParams
}
type ListConversationPreviewsResponse ¶
type ListConversationPreviewsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreviewPage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListConversationPreviewsResponse401Headers
}
func ParseListConversationPreviewsResponse ¶
func ParseListConversationPreviewsResponse(rsp *http.Response) (*ListConversationPreviewsResponse, error)
ParseListConversationPreviewsResponse parses an HTTP response from a ListConversationPreviewsWithResponse call
func (ListConversationPreviewsResponse) ContentType ¶
func (r ListConversationPreviewsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListConversationPreviewsResponse) GetApplicationproblemJSON400 ¶
func (r ListConversationPreviewsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListConversationPreviewsResponse) GetApplicationproblemJSON401 ¶
func (r ListConversationPreviewsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListConversationPreviewsResponse) GetApplicationproblemJSON404 ¶
func (r ListConversationPreviewsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListConversationPreviewsResponse) GetApplicationproblemJSON503 ¶
func (r ListConversationPreviewsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListConversationPreviewsResponse) GetBody ¶
func (r ListConversationPreviewsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListConversationPreviewsResponse) GetJSON200 ¶
func (r ListConversationPreviewsResponse) GetJSON200() *PreviewPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListConversationPreviewsResponse) Status ¶
func (r ListConversationPreviewsResponse) Status() string
Status returns HTTPResponse.Status
func (ListConversationPreviewsResponse) StatusCode ¶
func (r ListConversationPreviewsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListConversationPreviewsResponse401Headers ¶
type ListConversationPreviewsResponse401Headers struct {
WWWAuthenticate *string
}
ListConversationPreviewsResponse401Headers the declared response headers of an HTTP 401 response for ListConversationPreviews
type ListConversationPreviewsResponseObject ¶
type ListConversationPreviewsResponseObject interface {
VisitListConversationPreviewsResponse(w http.ResponseWriter) error
}
type ListConversationReactions200JSONResponse ¶
type ListConversationReactions200JSONResponse MessageReactionsList
func (ListConversationReactions200JSONResponse) VisitListConversationReactionsResponse ¶
func (response ListConversationReactions200JSONResponse) VisitListConversationReactionsResponse(w http.ResponseWriter) error
type ListConversationReactions400ApplicationProblemPlusJSONResponse ¶
type ListConversationReactions400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListConversationReactions400ApplicationProblemPlusJSONResponse) VisitListConversationReactionsResponse ¶
func (response ListConversationReactions400ApplicationProblemPlusJSONResponse) VisitListConversationReactionsResponse(w http.ResponseWriter) error
type ListConversationReactions401ApplicationProblemPlusJSONResponse ¶
type ListConversationReactions401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListConversationReactions401ApplicationProblemPlusJSONResponse) VisitListConversationReactionsResponse ¶
func (response ListConversationReactions401ApplicationProblemPlusJSONResponse) VisitListConversationReactionsResponse(w http.ResponseWriter) error
type ListConversationReactions404ApplicationProblemPlusJSONResponse ¶
type ListConversationReactions404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListConversationReactions404ApplicationProblemPlusJSONResponse) VisitListConversationReactionsResponse ¶
func (response ListConversationReactions404ApplicationProblemPlusJSONResponse) VisitListConversationReactionsResponse(w http.ResponseWriter) error
type ListConversationReactions503ApplicationProblemPlusJSONResponse ¶
type ListConversationReactions503ApplicationProblemPlusJSONResponse struct {
}
func (ListConversationReactions503ApplicationProblemPlusJSONResponse) VisitListConversationReactionsResponse ¶
func (response ListConversationReactions503ApplicationProblemPlusJSONResponse) VisitListConversationReactionsResponse(w http.ResponseWriter) error
type ListConversationReactionsParams ¶
type ListConversationReactionsParams struct {
// MessageId Message UUIDs in the mounted bounded page.
MessageId []ID `form:"messageId" json:"messageId"`
}
ListConversationReactionsParams defines parameters for ListConversationReactions.
type ListConversationReactionsRequestObject ¶
type ListConversationReactionsRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params ListConversationReactionsParams
}
type ListConversationReactionsResponse ¶
type ListConversationReactionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageReactionsList
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListConversationReactionsResponse401Headers
}
func ParseListConversationReactionsResponse ¶
func ParseListConversationReactionsResponse(rsp *http.Response) (*ListConversationReactionsResponse, error)
ParseListConversationReactionsResponse parses an HTTP response from a ListConversationReactionsWithResponse call
func (ListConversationReactionsResponse) ContentType ¶
func (r ListConversationReactionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListConversationReactionsResponse) GetApplicationproblemJSON400 ¶
func (r ListConversationReactionsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListConversationReactionsResponse) GetApplicationproblemJSON401 ¶
func (r ListConversationReactionsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListConversationReactionsResponse) GetApplicationproblemJSON404 ¶
func (r ListConversationReactionsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListConversationReactionsResponse) GetApplicationproblemJSON503 ¶
func (r ListConversationReactionsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListConversationReactionsResponse) GetBody ¶
func (r ListConversationReactionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListConversationReactionsResponse) GetJSON200 ¶
func (r ListConversationReactionsResponse) GetJSON200() *MessageReactionsList
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListConversationReactionsResponse) Status ¶
func (r ListConversationReactionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListConversationReactionsResponse) StatusCode ¶
func (r ListConversationReactionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListConversationReactionsResponse401Headers ¶
type ListConversationReactionsResponse401Headers struct {
WWWAuthenticate *string
}
ListConversationReactionsResponse401Headers the declared response headers of an HTTP 401 response for ListConversationReactions
type ListConversationReactionsResponseObject ¶
type ListConversationReactionsResponseObject interface {
VisitListConversationReactionsResponse(w http.ResponseWriter) error
}
type ListConversations200JSONResponse ¶
type ListConversations200JSONResponse ConversationPage
func (ListConversations200JSONResponse) VisitListConversationsResponse ¶
func (response ListConversations200JSONResponse) VisitListConversationsResponse(w http.ResponseWriter) error
type ListConversations400ApplicationProblemPlusJSONResponse ¶
type ListConversations400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListConversations400ApplicationProblemPlusJSONResponse) VisitListConversationsResponse ¶
func (response ListConversations400ApplicationProblemPlusJSONResponse) VisitListConversationsResponse(w http.ResponseWriter) error
type ListConversations401ApplicationProblemPlusJSONResponse ¶
type ListConversations401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListConversations401ApplicationProblemPlusJSONResponse) VisitListConversationsResponse ¶
func (response ListConversations401ApplicationProblemPlusJSONResponse) VisitListConversationsResponse(w http.ResponseWriter) error
type ListConversations409ApplicationProblemPlusJSONResponse ¶
type ListConversations409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ListConversations409ApplicationProblemPlusJSONResponse) VisitListConversationsResponse ¶
func (response ListConversations409ApplicationProblemPlusJSONResponse) VisitListConversationsResponse(w http.ResponseWriter) error
type ListConversations503ApplicationProblemPlusJSONResponse ¶
type ListConversations503ApplicationProblemPlusJSONResponse struct {
}
func (ListConversations503ApplicationProblemPlusJSONResponse) VisitListConversationsResponse ¶
func (response ListConversations503ApplicationProblemPlusJSONResponse) VisitListConversationsResponse(w http.ResponseWriter) error
type ListConversationsParams ¶
type ListConversationsParams struct {
// Cursor Opaque nextCursor from the preceding page.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum page size.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// IncludeLatestMessagePageCount Include a bounded estimate of the latest visible message page for each listed conversation.
IncludeLatestMessagePageCount *bool `form:"includeLatestMessagePageCount,omitempty" json:"includeLatestMessagePageCount,omitempty"`
// AccountId Stable accountId reference.
AccountId *ID `form:"accountId,omitempty" json:"accountId,omitempty"`
// AccountIds Restrict results to the selected owning accounts before pagination. Mutually exclusive with accountId.
AccountIds *SearchAccountIDs `form:"accountIds,omitempty" json:"accountIds,omitempty"`
// Q Conversation address/title/latest-preview substring.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// UnreadOnly Only conversations with unread messages.
UnreadOnly *bool `form:"unreadOnly,omitempty" json:"unreadOnly,omitempty"`
// FavoritesOnly Only favorite conversations.
FavoritesOnly *bool `form:"favoritesOnly,omitempty" json:"favoritesOnly,omitempty"`
// Archived Archived state; defaults to false.
Archived *bool `form:"archived,omitempty" json:"archived,omitempty"`
// Kind Conversation kind.
Kind *ListConversationsParamsKind `form:"kind,omitempty" json:"kind,omitempty"`
}
ListConversationsParams defines parameters for ListConversations.
type ListConversationsParamsKind ¶
type ListConversationsParamsKind string
ListConversationsParamsKind defines parameters for ListConversations.
const ( ListConversationsParamsKindDirect ListConversationsParamsKind = "direct" ListConversationsParamsKindRoom ListConversationsParamsKind = "room" )
Defines values for ListConversationsParamsKind.
func (ListConversationsParamsKind) Valid ¶
func (e ListConversationsParamsKind) Valid() bool
Valid indicates whether the value is a known member of the ListConversationsParamsKind enum.
type ListConversationsRequestObject ¶
type ListConversationsRequestObject struct {
Params ListConversationsParams
}
type ListConversationsResponse ¶
type ListConversationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationPage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListConversationsResponse401Headers
}
func ParseListConversationsResponse ¶
func ParseListConversationsResponse(rsp *http.Response) (*ListConversationsResponse, error)
ParseListConversationsResponse parses an HTTP response from a ListConversationsWithResponse call
func (ListConversationsResponse) ContentType ¶
func (r ListConversationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListConversationsResponse) GetApplicationproblemJSON400 ¶
func (r ListConversationsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListConversationsResponse) GetApplicationproblemJSON401 ¶
func (r ListConversationsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListConversationsResponse) GetApplicationproblemJSON409 ¶
func (r ListConversationsResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ListConversationsResponse) GetApplicationproblemJSON503 ¶
func (r ListConversationsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListConversationsResponse) GetBody ¶
func (r ListConversationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListConversationsResponse) GetJSON200 ¶
func (r ListConversationsResponse) GetJSON200() *ConversationPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListConversationsResponse) Status ¶
func (r ListConversationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListConversationsResponse) StatusCode ¶
func (r ListConversationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListConversationsResponse401Headers ¶
type ListConversationsResponse401Headers struct {
WWWAuthenticate *string
}
ListConversationsResponse401Headers the declared response headers of an HTTP 401 response for ListConversations
type ListConversationsResponseObject ¶
type ListConversationsResponseObject interface {
VisitListConversationsResponse(w http.ResponseWriter) error
}
type ListMessages200JSONResponse ¶
type ListMessages200JSONResponse MessagePage
func (ListMessages200JSONResponse) VisitListMessagesResponse ¶
func (response ListMessages200JSONResponse) VisitListMessagesResponse(w http.ResponseWriter) error
type ListMessages400ApplicationProblemPlusJSONResponse ¶
type ListMessages400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListMessages400ApplicationProblemPlusJSONResponse) VisitListMessagesResponse ¶
func (response ListMessages400ApplicationProblemPlusJSONResponse) VisitListMessagesResponse(w http.ResponseWriter) error
type ListMessages401ApplicationProblemPlusJSONResponse ¶
type ListMessages401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListMessages401ApplicationProblemPlusJSONResponse) VisitListMessagesResponse ¶
func (response ListMessages401ApplicationProblemPlusJSONResponse) VisitListMessagesResponse(w http.ResponseWriter) error
type ListMessages404ApplicationProblemPlusJSONResponse ¶
type ListMessages404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListMessages404ApplicationProblemPlusJSONResponse) VisitListMessagesResponse ¶
func (response ListMessages404ApplicationProblemPlusJSONResponse) VisitListMessagesResponse(w http.ResponseWriter) error
type ListMessages503ApplicationProblemPlusJSONResponse ¶
type ListMessages503ApplicationProblemPlusJSONResponse struct {
}
func (ListMessages503ApplicationProblemPlusJSONResponse) VisitListMessagesResponse ¶
func (response ListMessages503ApplicationProblemPlusJSONResponse) VisitListMessagesResponse(w http.ResponseWriter) error
type ListMessagesParams ¶
type ListMessagesParams struct {
// IncludePresentation Include conversation action state and display metadata scoped to the returned messages. Requires a limit of at most 50.
IncludePresentation *bool `form:"includePresentation,omitempty" json:"includePresentation,omitempty"`
// Cursor Retained message UUID anchoring this conversation-scoped page at its current position. A schedule can move to a new position at release. Excludes the anchor. Use the oldest returned item for older and the newest returned item for newer. Required for newer.
Cursor *ID `form:"cursor,omitempty" json:"cursor,omitempty"`
// Direction Chronological direction from the retained cursor. Newer requires a cursor.
Direction *ListMessagesParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// Limit Maximum page size.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListMessagesParams defines parameters for ListMessages.
type ListMessagesParamsDirection ¶
type ListMessagesParamsDirection string
ListMessagesParamsDirection defines parameters for ListMessages.
const ( ListMessagesParamsDirectionNewer ListMessagesParamsDirection = "newer" ListMessagesParamsDirectionOlder ListMessagesParamsDirection = "older" )
Defines values for ListMessagesParamsDirection.
func (ListMessagesParamsDirection) Valid ¶
func (e ListMessagesParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the ListMessagesParamsDirection enum.
type ListMessagesRequestObject ¶
type ListMessagesRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params ListMessagesParams
}
type ListMessagesResponse ¶
type ListMessagesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessagePage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListMessagesResponse401Headers
}
func ParseListMessagesResponse ¶
func ParseListMessagesResponse(rsp *http.Response) (*ListMessagesResponse, error)
ParseListMessagesResponse parses an HTTP response from a ListMessagesWithResponse call
func (ListMessagesResponse) ContentType ¶
func (r ListMessagesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMessagesResponse) GetApplicationproblemJSON400 ¶
func (r ListMessagesResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListMessagesResponse) GetApplicationproblemJSON401 ¶
func (r ListMessagesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListMessagesResponse) GetApplicationproblemJSON404 ¶
func (r ListMessagesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListMessagesResponse) GetApplicationproblemJSON503 ¶
func (r ListMessagesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListMessagesResponse) GetBody ¶
func (r ListMessagesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMessagesResponse) GetJSON200 ¶
func (r ListMessagesResponse) GetJSON200() *MessagePage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMessagesResponse) Status ¶
func (r ListMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (ListMessagesResponse) StatusCode ¶
func (r ListMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMessagesResponse401Headers ¶
type ListMessagesResponse401Headers struct {
WWWAuthenticate *string
}
ListMessagesResponse401Headers the declared response headers of an HTTP 401 response for ListMessages
type ListMessagesResponseObject ¶
type ListMessagesResponseObject interface {
VisitListMessagesResponse(w http.ResponseWriter) error
}
type ListScheduledMessages200JSONResponse ¶
type ListScheduledMessages200JSONResponse ScheduledMessagePage
func (ListScheduledMessages200JSONResponse) VisitListScheduledMessagesResponse ¶
func (response ListScheduledMessages200JSONResponse) VisitListScheduledMessagesResponse(w http.ResponseWriter) error
type ListScheduledMessages400ApplicationProblemPlusJSONResponse ¶
type ListScheduledMessages400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListScheduledMessages400ApplicationProblemPlusJSONResponse) VisitListScheduledMessagesResponse ¶
func (response ListScheduledMessages400ApplicationProblemPlusJSONResponse) VisitListScheduledMessagesResponse(w http.ResponseWriter) error
type ListScheduledMessages401ApplicationProblemPlusJSONResponse ¶
type ListScheduledMessages401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListScheduledMessages401ApplicationProblemPlusJSONResponse) VisitListScheduledMessagesResponse ¶
func (response ListScheduledMessages401ApplicationProblemPlusJSONResponse) VisitListScheduledMessagesResponse(w http.ResponseWriter) error
type ListScheduledMessages404ApplicationProblemPlusJSONResponse ¶
type ListScheduledMessages404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListScheduledMessages404ApplicationProblemPlusJSONResponse) VisitListScheduledMessagesResponse ¶
func (response ListScheduledMessages404ApplicationProblemPlusJSONResponse) VisitListScheduledMessagesResponse(w http.ResponseWriter) error
type ListScheduledMessages503ApplicationProblemPlusJSONResponse ¶
type ListScheduledMessages503ApplicationProblemPlusJSONResponse struct {
}
func (ListScheduledMessages503ApplicationProblemPlusJSONResponse) VisitListScheduledMessagesResponse ¶
func (response ListScheduledMessages503ApplicationProblemPlusJSONResponse) VisitListScheduledMessagesResponse(w http.ResponseWriter) error
type ListScheduledMessagesParams ¶
type ListScheduledMessagesParams struct {
// ConversationId Limit results to one conversation on this engine. Cannot be combined with conversationIds.
ConversationId *ID `form:"conversationId,omitempty" json:"conversationId,omitempty"`
// ConversationIds Limit results to any of the selected conversations on this engine. Cannot be combined with conversationId. Order does not affect results or continuation.
ConversationIds *[]ID `form:"conversationIds,omitempty" json:"conversationIds,omitempty"`
// IncludeDestinations Include one filter option per conversation with pending schedules across the engine, independent of the requested page or conversation filter.
IncludeDestinations *bool `form:"includeDestinations,omitempty" json:"includeDestinations,omitempty"`
// Cursor Opaque continuation bound to this engine and conversation filter.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of scheduled messages in this page.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListScheduledMessagesParams defines parameters for ListScheduledMessages.
type ListScheduledMessagesRequestObject ¶
type ListScheduledMessagesRequestObject struct {
Params ListScheduledMessagesParams
}
type ListScheduledMessagesResponse ¶
type ListScheduledMessagesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ScheduledMessagePage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListScheduledMessagesResponse401Headers
}
func ParseListScheduledMessagesResponse ¶
func ParseListScheduledMessagesResponse(rsp *http.Response) (*ListScheduledMessagesResponse, error)
ParseListScheduledMessagesResponse parses an HTTP response from a ListScheduledMessagesWithResponse call
func (ListScheduledMessagesResponse) ContentType ¶
func (r ListScheduledMessagesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListScheduledMessagesResponse) GetApplicationproblemJSON400 ¶
func (r ListScheduledMessagesResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListScheduledMessagesResponse) GetApplicationproblemJSON401 ¶
func (r ListScheduledMessagesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListScheduledMessagesResponse) GetApplicationproblemJSON404 ¶
func (r ListScheduledMessagesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListScheduledMessagesResponse) GetApplicationproblemJSON503 ¶
func (r ListScheduledMessagesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListScheduledMessagesResponse) GetBody ¶
func (r ListScheduledMessagesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListScheduledMessagesResponse) GetJSON200 ¶
func (r ListScheduledMessagesResponse) GetJSON200() *ScheduledMessagePage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListScheduledMessagesResponse) Status ¶
func (r ListScheduledMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (ListScheduledMessagesResponse) StatusCode ¶
func (r ListScheduledMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListScheduledMessagesResponse401Headers ¶
type ListScheduledMessagesResponse401Headers struct {
WWWAuthenticate *string
}
ListScheduledMessagesResponse401Headers the declared response headers of an HTTP 401 response for ListScheduledMessages
type ListScheduledMessagesResponseObject ¶
type ListScheduledMessagesResponseObject interface {
VisitListScheduledMessagesResponse(w http.ResponseWriter) error
}
type ListSharedContent200JSONResponse ¶
type ListSharedContent200JSONResponse SharedContentPage
func (ListSharedContent200JSONResponse) VisitListSharedContentResponse ¶
func (response ListSharedContent200JSONResponse) VisitListSharedContentResponse(w http.ResponseWriter) error
type ListSharedContent400ApplicationProblemPlusJSONResponse ¶
type ListSharedContent400ApplicationProblemPlusJSONResponse struct {
}
func (ListSharedContent400ApplicationProblemPlusJSONResponse) VisitListSharedContentResponse ¶
func (response ListSharedContent400ApplicationProblemPlusJSONResponse) VisitListSharedContentResponse(w http.ResponseWriter) error
type ListSharedContent401ApplicationProblemPlusJSONResponse ¶
type ListSharedContent401ApplicationProblemPlusJSONResponse struct {
}
func (ListSharedContent401ApplicationProblemPlusJSONResponse) VisitListSharedContentResponse ¶
func (response ListSharedContent401ApplicationProblemPlusJSONResponse) VisitListSharedContentResponse(w http.ResponseWriter) error
type ListSharedContent404ApplicationProblemPlusJSONResponse ¶
type ListSharedContent404ApplicationProblemPlusJSONResponse struct {
}
func (ListSharedContent404ApplicationProblemPlusJSONResponse) VisitListSharedContentResponse ¶
func (response ListSharedContent404ApplicationProblemPlusJSONResponse) VisitListSharedContentResponse(w http.ResponseWriter) error
type ListSharedContent503ApplicationProblemPlusJSONResponse ¶
type ListSharedContent503ApplicationProblemPlusJSONResponse struct {
}
func (ListSharedContent503ApplicationProblemPlusJSONResponse) VisitListSharedContentResponse ¶
func (response ListSharedContent503ApplicationProblemPlusJSONResponse) VisitListSharedContentResponse(w http.ResponseWriter) error
type ListSharedContentParams ¶
type ListSharedContentParams struct {
Type *ListSharedContentParamsType `form:"type,omitempty" json:"type,omitempty"`
AccountId *ID `form:"accountId,omitempty" json:"accountId,omitempty"`
AccountIds *SearchAccountIDs `form:"accountIds,omitempty" json:"accountIds,omitempty"`
ConversationId *ID `form:"conversationId,omitempty" json:"conversationId,omitempty"`
MessageId *[]ID `form:"messageId,omitempty" json:"messageId,omitempty"`
Q *string `form:"q,omitempty" json:"q,omitempty"`
IncludeRetracted *bool `form:"includeRetracted,omitempty" json:"includeRetracted,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
IncludeFirstPageCounts *bool `form:"includeFirstPageCounts,omitempty" json:"includeFirstPageCounts,omitempty"`
IncludeMessageStars *bool `form:"includeMessageStars,omitempty" json:"includeMessageStars,omitempty"`
}
ListSharedContentParams defines parameters for ListSharedContent.
type ListSharedContentParamsType ¶
type ListSharedContentParamsType string
ListSharedContentParamsType defines parameters for ListSharedContent.
const ( )
Defines values for ListSharedContentParamsType.
func (ListSharedContentParamsType) Valid ¶
func (e ListSharedContentParamsType) Valid() bool
Valid indicates whether the value is a known member of the ListSharedContentParamsType enum.
type ListSharedContentRequestObject ¶
type ListSharedContentRequestObject struct {
}
type ListSharedContentResponse ¶
type ListSharedContentResponse struct {
JSON200 *SharedContentPage
ApplicationproblemJSON400 *Invalid
ApplicationproblemJSON401 *AuthenticationRequired
ApplicationproblemJSON404 *NotFound
ApplicationproblemJSON503 *Unavailable
Headers401 *ListSharedContentResponse401Headers
}
func ParseListSharedContentResponse ¶
func ParseListSharedContentResponse(rsp *http.Response) (*ListSharedContentResponse, error)
ParseListSharedContentResponse parses an HTTP response from a ListSharedContentWithResponse call
func (ListSharedContentResponse) ContentType ¶
func (r ListSharedContentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSharedContentResponse) GetApplicationproblemJSON400 ¶
func (r ListSharedContentResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListSharedContentResponse) GetApplicationproblemJSON401 ¶
func (r ListSharedContentResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListSharedContentResponse) GetApplicationproblemJSON404 ¶
func (r ListSharedContentResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListSharedContentResponse) GetApplicationproblemJSON503 ¶
func (r ListSharedContentResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListSharedContentResponse) GetBody ¶
func (r ListSharedContentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSharedContentResponse) GetJSON200 ¶
func (r ListSharedContentResponse) GetJSON200() *SharedContentPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSharedContentResponse) Status ¶
func (r ListSharedContentResponse) Status() string
Status returns HTTPResponse.Status
func (ListSharedContentResponse) StatusCode ¶
func (r ListSharedContentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSharedContentResponse401Headers ¶
type ListSharedContentResponse401Headers struct {
}
ListSharedContentResponse401Headers the declared response headers of an HTTP 401 response for ListSharedContent
type ListSharedContentResponseObject ¶
type ListSharedContentResponseObject interface {
}
type ListStarredMessages200JSONResponse ¶
type ListStarredMessages200JSONResponse StarredMessagePage
func (ListStarredMessages200JSONResponse) VisitListStarredMessagesResponse ¶
func (response ListStarredMessages200JSONResponse) VisitListStarredMessagesResponse(w http.ResponseWriter) error
type ListStarredMessages400ApplicationProblemPlusJSONResponse ¶
type ListStarredMessages400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ListStarredMessages400ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse ¶
func (response ListStarredMessages400ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse(w http.ResponseWriter) error
type ListStarredMessages401ApplicationProblemPlusJSONResponse ¶
type ListStarredMessages401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ListStarredMessages401ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse ¶
func (response ListStarredMessages401ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse(w http.ResponseWriter) error
type ListStarredMessages404ApplicationProblemPlusJSONResponse ¶
type ListStarredMessages404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ListStarredMessages404ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse ¶
func (response ListStarredMessages404ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse(w http.ResponseWriter) error
type ListStarredMessages409ApplicationProblemPlusJSONResponse ¶
type ListStarredMessages409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ListStarredMessages409ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse ¶
func (response ListStarredMessages409ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse(w http.ResponseWriter) error
type ListStarredMessages503ApplicationProblemPlusJSONResponse ¶
type ListStarredMessages503ApplicationProblemPlusJSONResponse struct {
}
func (ListStarredMessages503ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse ¶
func (response ListStarredMessages503ApplicationProblemPlusJSONResponse) VisitListStarredMessagesResponse(w http.ResponseWriter) error
type ListStarredMessagesParams ¶
type ListStarredMessagesParams struct {
// AccountId Optional owning account filter.
AccountId *ID `form:"accountId,omitempty" json:"accountId,omitempty"`
// ConversationId Optional source conversation filter; it must agree with accountId when both are supplied.
ConversationId *ID `form:"conversationId,omitempty" json:"conversationId,omitempty"`
// Q Search current retained message text, sender and source conversation.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Cursor Message UUID from nextCursor; its retained source message must belong to the selected scope.
Cursor *ID `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of starred messages per page.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListStarredMessagesParams defines parameters for ListStarredMessages.
type ListStarredMessagesRequestObject ¶
type ListStarredMessagesRequestObject struct {
Params ListStarredMessagesParams
}
type ListStarredMessagesResponse ¶
type ListStarredMessagesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StarredMessagePage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ListStarredMessagesResponse401Headers
}
func ParseListStarredMessagesResponse ¶
func ParseListStarredMessagesResponse(rsp *http.Response) (*ListStarredMessagesResponse, error)
ParseListStarredMessagesResponse parses an HTTP response from a ListStarredMessagesWithResponse call
func (ListStarredMessagesResponse) ContentType ¶
func (r ListStarredMessagesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStarredMessagesResponse) GetApplicationproblemJSON400 ¶
func (r ListStarredMessagesResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListStarredMessagesResponse) GetApplicationproblemJSON401 ¶
func (r ListStarredMessagesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListStarredMessagesResponse) GetApplicationproblemJSON404 ¶
func (r ListStarredMessagesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ListStarredMessagesResponse) GetApplicationproblemJSON409 ¶
func (r ListStarredMessagesResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ListStarredMessagesResponse) GetApplicationproblemJSON503 ¶
func (r ListStarredMessagesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ListStarredMessagesResponse) GetBody ¶
func (r ListStarredMessagesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListStarredMessagesResponse) GetJSON200 ¶
func (r ListStarredMessagesResponse) GetJSON200() *StarredMessagePage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListStarredMessagesResponse) Status ¶
func (r ListStarredMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (ListStarredMessagesResponse) StatusCode ¶
func (r ListStarredMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStarredMessagesResponse401Headers ¶
type ListStarredMessagesResponse401Headers struct {
WWWAuthenticate *string
}
ListStarredMessagesResponse401Headers the declared response headers of an HTTP 401 response for ListStarredMessages
type ListStarredMessagesResponseObject ¶
type ListStarredMessagesResponseObject interface {
VisitListStarredMessagesResponse(w http.ResponseWriter) error
}
type ManageRoom ¶
type ManageRoom struct {
// Action Room-scoped action subject to current provider permissions.
Action RoomManagementAction `json:"action"`
ExpectedRevision string `json:"expectedRevision"`
// Image Base64-encoded PNG, JPEG, or GIF, up to 512 KiB before encoding. Required for set_avatar only.
//
// Example: iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVR4nGMIseoCAAH+ARmwLUGoAAAAAElFTkSuQmCC
Image *[]byte `json:"image,omitempty"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId *ID `json:"messageId,omitempty"`
// Name New room name for update_details. Omit to keep the current name.
Name *string `json:"name,omitempty"`
// Reason Optional explanation sent to the provider.
Reason *string `json:"reason,omitempty"`
// Target Bare recipient address, opaque occupant ID, or bare affiliation address.
Target *string `json:"target,omitempty"`
// Topic New room topic for update_details. An empty string clears it.
Topic *string `json:"topic,omitempty"`
// Value Name, topic, role or affiliation to set.
Value *string `json:"value,omitempty"`
}
ManageRoom An explicit action scoped to an observed room session.
Example: {"action":"topic","expectedRevision":"7daf1f3c1fb40018de192844ab8180bf","value":"Garden planning"}
type ManageRoom200JSONResponse ¶
type ManageRoom200JSONResponse RoomManagementResult
func (ManageRoom200JSONResponse) VisitManageRoomResponse ¶
func (response ManageRoom200JSONResponse) VisitManageRoomResponse(w http.ResponseWriter) error
type ManageRoom400ApplicationProblemPlusJSONResponse ¶
type ManageRoom400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ManageRoom400ApplicationProblemPlusJSONResponse) VisitManageRoomResponse ¶
func (response ManageRoom400ApplicationProblemPlusJSONResponse) VisitManageRoomResponse(w http.ResponseWriter) error
type ManageRoom401ApplicationProblemPlusJSONResponse ¶
type ManageRoom401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ManageRoom401ApplicationProblemPlusJSONResponse) VisitManageRoomResponse ¶
func (response ManageRoom401ApplicationProblemPlusJSONResponse) VisitManageRoomResponse(w http.ResponseWriter) error
type ManageRoom404ApplicationProblemPlusJSONResponse ¶
type ManageRoom404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (ManageRoom404ApplicationProblemPlusJSONResponse) VisitManageRoomResponse ¶
func (response ManageRoom404ApplicationProblemPlusJSONResponse) VisitManageRoomResponse(w http.ResponseWriter) error
type ManageRoom409ApplicationProblemPlusJSONResponse ¶
type ManageRoom409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ManageRoom409ApplicationProblemPlusJSONResponse) VisitManageRoomResponse ¶
func (response ManageRoom409ApplicationProblemPlusJSONResponse) VisitManageRoomResponse(w http.ResponseWriter) error
type ManageRoom503ApplicationProblemPlusJSONResponse ¶
type ManageRoom503ApplicationProblemPlusJSONResponse struct {
}
func (ManageRoom503ApplicationProblemPlusJSONResponse) VisitManageRoomResponse ¶
func (response ManageRoom503ApplicationProblemPlusJSONResponse) VisitManageRoomResponse(w http.ResponseWriter) error
type ManageRoomJSONRequestBody ¶
type ManageRoomJSONRequestBody = ManageRoom
ManageRoomJSONRequestBody defines body for ManageRoom for application/json ContentType.
type ManageRoomParams ¶
type ManageRoomParams struct {
// IdempotencyKey Stable operation UUID for this request.
IdempotencyKey ID `json:"Idempotency-Key"`
}
ManageRoomParams defines parameters for ManageRoom.
type ManageRoomRequestObject ¶
type ManageRoomRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params ManageRoomParams
Body *ManageRoomJSONRequestBody
}
type ManageRoomResponse ¶
type ManageRoomResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomManagementResult
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ManageRoomResponse401Headers
}
func ParseManageRoomResponse ¶
func ParseManageRoomResponse(rsp *http.Response) (*ManageRoomResponse, error)
ParseManageRoomResponse parses an HTTP response from a ManageRoomWithResponse call
func (ManageRoomResponse) ContentType ¶
func (r ManageRoomResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ManageRoomResponse) GetApplicationproblemJSON400 ¶
func (r ManageRoomResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ManageRoomResponse) GetApplicationproblemJSON401 ¶
func (r ManageRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ManageRoomResponse) GetApplicationproblemJSON404 ¶
func (r ManageRoomResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (ManageRoomResponse) GetApplicationproblemJSON409 ¶
func (r ManageRoomResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ManageRoomResponse) GetApplicationproblemJSON503 ¶
func (r ManageRoomResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ManageRoomResponse) GetBody ¶
func (r ManageRoomResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ManageRoomResponse) GetJSON200 ¶
func (r ManageRoomResponse) GetJSON200() *RoomManagementResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ManageRoomResponse) Status ¶
func (r ManageRoomResponse) Status() string
Status returns HTTPResponse.Status
func (ManageRoomResponse) StatusCode ¶
func (r ManageRoomResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManageRoomResponse401Headers ¶
type ManageRoomResponse401Headers struct {
WWWAuthenticate *string
}
ManageRoomResponse401Headers the declared response headers of an HTTP 401 response for ManageRoom
type ManageRoomResponseObject ¶
type ManageRoomResponseObject interface {
VisitManageRoomResponse(w http.ResponseWriter) error
}
type MarkConversationMessagesRead200JSONResponse ¶
type MarkConversationMessagesRead200JSONResponse ConversationReadState
func (MarkConversationMessagesRead200JSONResponse) VisitMarkConversationMessagesReadResponse ¶
func (response MarkConversationMessagesRead200JSONResponse) VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
type MarkConversationMessagesRead400ApplicationProblemPlusJSONResponse ¶
type MarkConversationMessagesRead400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (MarkConversationMessagesRead400ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse ¶
func (response MarkConversationMessagesRead400ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
type MarkConversationMessagesRead401ApplicationProblemPlusJSONResponse ¶
type MarkConversationMessagesRead401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (MarkConversationMessagesRead401ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse ¶
func (response MarkConversationMessagesRead401ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
type MarkConversationMessagesRead404ApplicationProblemPlusJSONResponse ¶
type MarkConversationMessagesRead404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (MarkConversationMessagesRead404ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse ¶
func (response MarkConversationMessagesRead404ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
type MarkConversationMessagesRead409ApplicationProblemPlusJSONResponse ¶
type MarkConversationMessagesRead409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (MarkConversationMessagesRead409ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse ¶
func (response MarkConversationMessagesRead409ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
type MarkConversationMessagesRead412ApplicationProblemPlusJSONResponse ¶
type MarkConversationMessagesRead412ApplicationProblemPlusJSONResponse Problem
func (MarkConversationMessagesRead412ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse ¶
func (response MarkConversationMessagesRead412ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
type MarkConversationMessagesRead413ApplicationProblemPlusJSONResponse ¶
type MarkConversationMessagesRead413ApplicationProblemPlusJSONResponse Problem
func (MarkConversationMessagesRead413ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse ¶
func (response MarkConversationMessagesRead413ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
type MarkConversationMessagesRead415ApplicationProblemPlusJSONResponse ¶
type MarkConversationMessagesRead415ApplicationProblemPlusJSONResponse Problem
func (MarkConversationMessagesRead415ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse ¶
func (response MarkConversationMessagesRead415ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
type MarkConversationMessagesRead503ApplicationProblemPlusJSONResponse ¶
type MarkConversationMessagesRead503ApplicationProblemPlusJSONResponse struct {
}
func (MarkConversationMessagesRead503ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse ¶
func (response MarkConversationMessagesRead503ApplicationProblemPlusJSONResponse) VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
type MarkConversationMessagesReadJSONRequestBody ¶
type MarkConversationMessagesReadJSONRequestBody = MarkMessagesRead
MarkConversationMessagesReadJSONRequestBody defines body for MarkConversationMessagesRead for application/json ContentType.
type MarkConversationMessagesReadParams ¶
type MarkConversationMessagesReadParams struct {
// IdempotencyKey Stable UUID for this exact read batch, reused after an uncertain response.
IdempotencyKey ID `json:"Idempotency-Key"`
// IfMatch Quoted conversation revision UUID for a read at the latest end of the timeline.
IfMatch *string `json:"If-Match,omitempty"`
}
MarkConversationMessagesReadParams defines parameters for MarkConversationMessagesRead.
type MarkConversationMessagesReadRequestObject ¶
type MarkConversationMessagesReadRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params MarkConversationMessagesReadParams
Body *MarkConversationMessagesReadJSONRequestBody
}
type MarkConversationMessagesReadResponse ¶
type MarkConversationMessagesReadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationReadState
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON412 the response for an HTTP 412 `application/problem+json` response
ApplicationproblemJSON412 *Problem
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *MarkConversationMessagesReadResponse401Headers
}
func ParseMarkConversationMessagesReadResponse ¶
func ParseMarkConversationMessagesReadResponse(rsp *http.Response) (*MarkConversationMessagesReadResponse, error)
ParseMarkConversationMessagesReadResponse parses an HTTP response from a MarkConversationMessagesReadWithResponse call
func (MarkConversationMessagesReadResponse) ContentType ¶
func (r MarkConversationMessagesReadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkConversationMessagesReadResponse) GetApplicationproblemJSON400 ¶
func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (MarkConversationMessagesReadResponse) GetApplicationproblemJSON401 ¶
func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (MarkConversationMessagesReadResponse) GetApplicationproblemJSON404 ¶
func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (MarkConversationMessagesReadResponse) GetApplicationproblemJSON409 ¶
func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (MarkConversationMessagesReadResponse) GetApplicationproblemJSON412 ¶
func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON412() *Problem
GetApplicationproblemJSON412 returns the response for an HTTP 412 `application/problem+json` response
func (MarkConversationMessagesReadResponse) GetApplicationproblemJSON413 ¶
func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (MarkConversationMessagesReadResponse) GetApplicationproblemJSON415 ¶
func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (MarkConversationMessagesReadResponse) GetApplicationproblemJSON503 ¶
func (r MarkConversationMessagesReadResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (MarkConversationMessagesReadResponse) GetBody ¶
func (r MarkConversationMessagesReadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MarkConversationMessagesReadResponse) GetJSON200 ¶
func (r MarkConversationMessagesReadResponse) GetJSON200() *ConversationReadState
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MarkConversationMessagesReadResponse) Status ¶
func (r MarkConversationMessagesReadResponse) Status() string
Status returns HTTPResponse.Status
func (MarkConversationMessagesReadResponse) StatusCode ¶
func (r MarkConversationMessagesReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkConversationMessagesReadResponse401Headers ¶
type MarkConversationMessagesReadResponse401Headers struct {
WWWAuthenticate *string
}
MarkConversationMessagesReadResponse401Headers the declared response headers of an HTTP 401 response for MarkConversationMessagesRead
type MarkConversationMessagesReadResponseObject ¶
type MarkConversationMessagesReadResponseObject interface {
VisitMarkConversationMessagesReadResponse(w http.ResponseWriter) error
}
type MarkMessagesRead ¶
type MarkMessagesRead struct {
// MessageIds Example: ["019a5df0-0000-7000-8000-000000000004"]
MessageIds []ID `json:"messageIds"`
}
MarkMessagesRead Exact message identities observed by the requesting client.
Example: {"messageIds":["019a5df0-0000-7000-8000-000000000004"]}
type MentionCandidate ¶
type MentionCandidate struct {
DisplayName string `json:"displayName"`
// Id Opaque account-and-room-scoped identifier, never a verified personal identity.
Id string `json:"id"`
// InsertText Room nickname prefixed by one at sign. Clients can use the nickname without that prefix and add punctuation outside the selected span.
InsertText string `json:"insertText"`
ReferenceMode MentionCandidateReferenceMode `json:"referenceMode"`
}
MentionCandidate A currently observed room occupant with readable insertion text and effective reference mode.
type MentionCandidateReferenceMode ¶
type MentionCandidateReferenceMode string
MentionCandidateReferenceMode defines model for MentionCandidate.ReferenceMode.
const ( MentionCandidateReferenceModeStructured MentionCandidateReferenceMode = "structured" MentionCandidateReferenceModeText MentionCandidateReferenceMode = "text" )
Defines values for MentionCandidateReferenceMode.
func (MentionCandidateReferenceMode) Valid ¶
func (e MentionCandidateReferenceMode) Valid() bool
Valid indicates whether the value is a known member of the MentionCandidateReferenceMode enum.
type MentionCandidates ¶
type MentionCandidates struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// BareNicknameSpans The engine accepts a selected span containing just the nickname. Omission means only the original at-prefixed span is supported.
//
// Example: true
BareNicknameSpans *bool `json:"bareNicknameSpans,omitempty"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// Items Example: [{"displayName":"Juliet","id":"room@conference.example.org/Juliet","insertText":"@Juliet","referenceMode":"text"}]
Items []MentionCandidate `json:"items"`
// State Example: known
State MentionCandidatesState `json:"state"`
// Truncated Example: false
Truncated bool `json:"truncated"`
}
MentionCandidates Bounded visible-occupant choices without personal protocol identifiers or a completeness claim.
type MentionCandidatesState ¶
type MentionCandidatesState string
MentionCandidatesState Example: known
const ( MentionCandidatesStateKnown MentionCandidatesState = "known" MentionCandidatesStateNotConnected MentionCandidatesState = "not_connected" MentionCandidatesStatePartial MentionCandidatesState = "partial" )
Defines values for MentionCandidatesState.
func (MentionCandidatesState) Valid ¶
func (e MentionCandidatesState) Valid() bool
Valid indicates whether the value is a known member of the MentionCandidatesState enum.
type MentionSelection ¶
type MentionSelection struct {
// Begin Inclusive Unicode code-point offset in authored originalText, before a reply compatibility prefix.
Begin int `json:"begin"`
// End Exclusive Unicode code-point offset. The span must match the candidate's nickname at word boundaries or its original at-prefixed insertText. Composer-added punctuation and spacing are outside the span.
End int `json:"end"`
// ParticipantId Opaque candidate identifier scoped to the sending account and room.
ParticipantId string `json:"participantId"`
}
MentionSelection A user-selected, account-and-room-scoped participant with an authored Unicode text span.
type Message ¶
type Message struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// Attachments Ordered metadata for retained outgoing attachments.
Attachments *[]StagedAttachment `json:"attachments,omitempty"`
// AudioAttachmentUrls Current message audio attachment links advertised by the sender.
AudioAttachmentUrls *[]string `json:"audioAttachmentUrls,omitempty"`
// CanRetract Current provider and ownership evidence permits requesting retraction.
CanRetract *bool `json:"canRetract,omitempty"`
// Composition Accepted authored input for an editable own pending message and its acceptance or mutation snapshots. Reopen the editor from this input. Reply rendering and attachment metadata are exposed on the same Message.
Composition *OutgoingComposition `json:"composition,omitempty"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// CreatedAt UTC timestamp.
CreatedAt time.Time `json:"createdAt"`
// DispatchStarted True once this intent has crossed its first dispatch claim. Queued retries with this flag cannot be edited, rescheduled, cancelled or sent now.
//
// Example: true
DispatchStarted *bool `json:"dispatchStarted,omitempty"`
// Edited True when a validated protocol correction supplies the current content. Omitted means false. Send-state revisions alone do not mark a message edited.
//
// Example: true
Edited *bool `json:"edited,omitempty"`
// EditedAt UTC source timestamp of the selected protocol correction, when edited is true. Receiving or importing an old correction does not give it a new edit timestamp.
EditedAt *time.Time `json:"editedAt,omitempty"`
// ExpectedReplyExcerptSha256 SHA-256 of the exact UTF-8 quote excerpt, at most the first 512 Unicode code points of the displayed source body. Optional on reviewed reply mutations and requires expectedReplyRevisionId. The engine preserves it in the original acceptance when supplied.
//
// Example: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
ExpectedReplyExcerptSha256 *ReplyExcerptSHA256 `json:"expectedReplyExcerptSha256,omitempty"`
// ExpectedReplyRevisionId Source revision explicitly required when the reply was scheduled or the current quote was replaced. Omitted when the caller supplied no review precondition for the current quote.
ExpectedReplyRevisionId *ID `json:"expectedReplyRevisionId,omitempty"`
// Historical True for archive imports. Omitted means false. Clients must not treat these as new unread messages or fresh notifications.
Historical *bool `json:"historical,omitempty"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
IsOwn bool `json:"isOwn"`
// Mentions Frozen selected mentions with Unicode ranges in authored text, excluding any reply compatibility prefix.
Mentions *[]MessageMention `json:"mentions,omitempty"`
// MentionsYou True when the current received room message text mentions the owning account by its observed room nickname. Omitted means false.
MentionsYou *bool `json:"mentionsYou,omitempty"`
// Moderation Verified room moderation of this message. The text and media are omitted from the timeline projection.
//
// Example: {"at":"2026-11-13T15:00:00Z"}
Moderation *MessageModeration `json:"moderation,omitempty"`
// Omemo The message was received through OMEMO or accepted with an immutable OMEMO send intent.
Omemo *bool `json:"omemo,omitempty"`
// OmemoAttachments File names in download order. The engine keeps the key and remote URL.
//
// Example: ["photo.jpg"]
OmemoAttachments *[]string `json:"omemoAttachments,omitempty"`
// OriginalText Exact text of the current retained content revision. Validated incoming corrections retain the logical message UUID and original creation time; prior source bodies remain retained. Copying returns this text without removing formatting or compatibility quoting.
OriginalText string `json:"originalText"`
// Reply A protocol-identified reply projection. It never infers identity from quoted text. Available means exactly one retained target in the same account and conversation matches the validated protocol reference. Unavailable references may retain a bounded compatibility excerpt, but cannot be navigated.
//
// Example: {"available":true,"bodyText":"Great idea!","excerpt":"We should bake a cake.","messageId":"019a5df0-0000-7000-8000-000000000001","senderName":"Bob"}
Reply *MessageReply `json:"reply,omitempty"`
// ReplyToMessageId Canonical target UUID frozen in an outgoing reply intent, including a text-only fallback. It does not imply the original is still available. Reply bodyText preserves the authored response for receipt reconciliation.
ReplyToMessageId *ID `json:"replyToMessageId,omitempty"`
// Retraction Withdrawal time and whether Oiê still has content that can be revealed.
//
// Example: {"at":"2026-11-16T15:00:00Z","originalAvailable":true}
Retraction *MessageRetraction `json:"retraction,omitempty"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
// ScheduledAt Configured earliest dispatch instant in UTC, when retained. A scheduled send remains queued while waiting for that instant or for connectivity. Send now clears this field. createdAt is the original acceptance time.
//
// Example: 2026-11-12T15:30:00Z
ScheduledAt *time.Time `json:"scheduledAt,omitempty"`
// SendState Durable transport evidence.
SendState MessageSendState `json:"sendState"`
// Sender Engine-local source identity. For recovered room messages, this is the room-scoped source with an observed speaker nickname, not a verified personal identity.
//
// Example: {"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}
Sender Sender `json:"sender"`
// TimelineAt UTC position of a released scheduled message in the conversation. Use createdAt when omitted. The original createdAt is preserved.
TimelineAt *time.Time `json:"timelineAt,omitempty"`
// VideoAttachmentUrls Current message video attachment links advertised by the sender.
VideoAttachmentUrls *[]string `json:"videoAttachmentUrls,omitempty"`
}
Message Retained original text and actual send evidence. submitted means the stanza was written to the authenticated stream; it does not prove provider acceptance, recipient delivery, or read state. unknown is not automatically resent.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}}
type MessageContext ¶
type MessageContext struct {
// HasNewer Example: true
HasNewer bool `json:"hasNewer"`
// HasOlder Example: false
HasOlder bool `json:"hasOlder"`
Items []Message `json:"items"`
// RequestedTargetId Present only when the requested retained correction-source UUID resolves to a different canonical targetId. This is an engine-validated alias within this conversation, not a client-supplied replacement target.
RequestedTargetId *ID `json:"requestedTargetId,omitempty"`
// TargetId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
TargetId ID `json:"targetId"`
}
MessageContext Bounded retained timeline window. Neighbor availability is relative to the returned extremes. Validated correction-source aliases resolve to the original logical message UUID returned as targetId. Page outward through listMessages using the oldest item UUID with direction older and the newest item UUID with direction newer. Neighbor flags describe availability beyond these returned extremes.
Example: {"hasNewer":true,"hasOlder":false,"items":[{"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}}],"targetId":"019a5df0-0000-7000-8000-000000000001"}
type MessageEditCommand ¶
type MessageEditCommand struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// CreatedAt Example: 2026-11-09T12:00:00Z
CreatedAt time.Time `json:"createdAt"`
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// LastErrorCode Stable failure or uncertainty code, never a raw provider error.
//
// Example: state_conflict
LastErrorCode *string `json:"lastErrorCode,omitempty"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId ID `json:"messageId"`
// OriginalText Example: Corrected text
OriginalText string `json:"originalText"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
// State Example: queued
State MessageEditCommandState `json:"state"`
// UpdatedAt Example: 2026-11-09T12:00:00Z
UpdatedAt time.Time `json:"updatedAt"`
}
MessageEditCommand Durable correction intent and its actual transmission state, separate from the original message send.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000002","createdAt":"2026-11-09T12:00:00Z","expectedRevisionId":"019a5df0-0000-7000-8000-000000000004","id":"019a5df0-0000-7000-8000-000000000005","messageId":"019a5df0-0000-7000-8000-000000000003","originalText":"Corrected text","revisionId":"019a5df0-0000-7000-8000-000000000006","state":"queued","updatedAt":"2026-11-09T12:00:00Z"}
type MessageEditCommandState ¶
type MessageEditCommandState string
MessageEditCommandState Example: queued
const ( MessageEditCommandStateDispatching MessageEditCommandState = "dispatching" MessageEditCommandStateFailed MessageEditCommandState = "failed" MessageEditCommandStateQueued MessageEditCommandState = "queued" MessageEditCommandStateSubmitted MessageEditCommandState = "submitted" MessageEditCommandStateUnknown MessageEditCommandState = "unknown" )
Defines values for MessageEditCommandState.
func (MessageEditCommandState) Valid ¶
func (e MessageEditCommandState) Valid() bool
Valid indicates whether the value is a known member of the MessageEditCommandState enum.
type MessageEditHistoryItem ¶
type MessageEditHistoryItem struct {
// AttachmentLinks Provider file links retained with this explicitly revealed version.
AttachmentLinks *[]MessageHistoryAttachmentLink `json:"attachmentLinks,omitempty"`
// Attachments Local files retained with this explicitly revealed version.
Attachments *[]StagedAttachment `json:"attachments,omitempty"`
// CreatedAt Observed authored UTC instant; ordering does not establish causality.
//
// Example: 2026-11-09T12:00:00Z
CreatedAt time.Time `json:"createdAt"`
// IsCurrent This is the selected content head, independently of timestamp order.
//
// Example: true
IsCurrent bool `json:"isCurrent"`
// IsOriginal Verified original or ordinary initial source; false for an orphan correction whose earlier source was never observed.
//
// Example: false
IsOriginal bool `json:"isOriginal"`
// OriginalText Exact retained source text including authored Markdown and compatibility fallback.
//
// Example: Corrected text
OriginalText string `json:"originalText"`
// ParentRevisionIds Verified observed content ancestry; omitted ancestors are not inferred.
//
// Example: []
ParentRevisionIds []ID `json:"parentRevisionIds"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
// Sender Engine-local source identity. For recovered room messages, this is the room-scoped source with an observed speaker nickname, not a verified personal identity.
//
// Example: {"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}
Sender Sender `json:"sender"`
// SourceMessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
SourceMessageId ID `json:"sourceMessageId"`
}
MessageEditHistoryItem One immutable observed content version, not a transport-state transition.
type MessageEditHistoryPage ¶
type MessageEditHistoryPage struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// CurrentRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
CurrentRevisionId ID `json:"currentRevisionId"`
// Items Example: []
Items []MessageEditHistoryItem `json:"items"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId ID `json:"messageId"`
// NextCursor Present only when older observed versions remain in the same snapshot.
//
// Example: opaque-history-cursor
NextCursor *string `json:"nextCursor,omitempty"`
// RequestedMessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RequestedMessageId ID `json:"requestedMessageId"`
// Retraction Withdrawal time and whether Oiê still has content that can be revealed.
//
// Example: {"at":"2026-11-16T15:00:00Z","originalAvailable":true}
Retraction *MessageRetraction `json:"retraction,omitempty"`
// Snapshot Digest of scoped content history and selected head; delivery-state changes do not invalidate it.
//
// Example: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Snapshot string `json:"snapshot"`
}
MessageEditHistoryPage A bounded page from an exact snapshot of one canonical message's observed content history.
type MessageEditTarget ¶
type MessageEditTarget struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// CurrentRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
CurrentRevisionId ID `json:"currentRevisionId"`
// Eligible Example: true
Eligible bool `json:"eligible"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId ID `json:"messageId"`
// OriginalText Exact current source text. For an eligible target this is plain text without reply or mention payloads.
//
// Example: Text to correct
OriginalText string `json:"originalText"`
// Reason Stable reason when the target is not currently eligible.
//
// Example: not_latest
Reason *MessageEditTargetReason `json:"reason,omitempty"`
}
MessageEditTarget Current canonical text and advisory eligibility for a distinct sent-message correction.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000002","currentRevisionId":"019a5df0-0000-7000-8000-000000000004","eligible":true,"messageId":"019a5df0-0000-7000-8000-000000000003","originalText":"Text to correct"}
type MessageEditTargetReason ¶
type MessageEditTargetReason string
MessageEditTargetReason Stable reason when the target is not currently eligible.
Example: not_latest
const ( MessageEditTargetReasonEditPending MessageEditTargetReason = "edit_pending" MessageEditTargetReasonForeignSource MessageEditTargetReason = "foreign_source" MessageEditTargetReasonNotLatest MessageEditTargetReason = "not_latest" MessageEditTargetReasonNotOwn MessageEditTargetReason = "not_own" MessageEditTargetReasonNotSubmitted MessageEditTargetReason = "not_submitted" MessageEditTargetReasonSessionChanged MessageEditTargetReason = "session_changed" MessageEditTargetReasonUnsupportedPayload MessageEditTargetReason = "unsupported_payload" )
Defines values for MessageEditTargetReason.
func (MessageEditTargetReason) Valid ¶
func (e MessageEditTargetReason) Valid() bool
Valid indicates whether the value is a known member of the MessageEditTargetReason enum.
type MessageHistoryAttachmentLink ¶
type MessageHistoryAttachmentLink struct {
// FileName Example: recording.ogg
FileName string `json:"fileName"`
// Url Example: https://files.example.test/recording
Url string `json:"url"`
}
MessageHistoryAttachmentLink A provider file link from an explicitly revealed retained message version.
type MessageID ¶
type MessageID = ID
MessageID Canonical lowercase UUIDv7; IDs do not establish causal order.
Example: 019a5df0-0000-7000-8000-000000000001
type MessageMention ¶
type MessageMention struct {
Begin int `json:"begin"`
End int `json:"end"`
ParticipantId string `json:"participantId"`
// ReferenceMode Frozen delivery mode; structured adds adapter-validated protocol metadata while retaining the text.
ReferenceMode MessageMentionReferenceMode `json:"referenceMode"`
}
MessageMention Accepted mention selection with frozen text or structured delivery mode; protocol targets remain private to the engine.
type MessageMentionReferenceMode ¶
type MessageMentionReferenceMode string
MessageMentionReferenceMode Frozen delivery mode; structured adds adapter-validated protocol metadata while retaining the text.
const ( MessageMentionReferenceModeStructured MessageMentionReferenceMode = "structured" MessageMentionReferenceModeText MessageMentionReferenceMode = "text" )
Defines values for MessageMentionReferenceMode.
func (MessageMentionReferenceMode) Valid ¶
func (e MessageMentionReferenceMode) Valid() bool
Valid indicates whether the value is a known member of the MessageMentionReferenceMode enum.
type MessageModeration ¶
MessageModeration Verified room moderation of this message. The text and media are omitted from the timeline projection.
Example: {"at":"2026-11-13T15:00:00Z"}
type MessagePage ¶
type MessagePage struct {
Items []Message `json:"items"`
// NextCursor Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
NextCursor *ID `json:"nextCursor,omitempty"`
// Presentation Optional display and action metadata for one page of up to 50 retained messages. An omitted field means that its state is unknown.
Presentation *MessagePresentation `json:"presentation,omitempty"`
}
MessagePage Visible logical messages newest first by timelineAt or createdAt at UTC millisecond precision and UUID tie-break. Unreleased schedules and scheduled sends cancelled before dispatch are excluded. Validated correction sources are retained as revisions rather than additional timeline items. Use nextCursor for records in the requested direction; render each page in reverse for a chronological timeline. For newer pages, nextCursor is the newest returned UUID, while older pages use the oldest returned UUID.
Example: {"items":[]}
type MessagePresentation ¶
type MessagePresentation struct {
// AvatarHashes Retained profile image hashes for the conversation and its owning account, keyed by address.
//
// Example: {}
AvatarHashes *map[string]string `json:"avatarHashes,omitempty"`
// Capabilities Implementation and discovered feature evidence scoped to one account.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","discovery":{"services":[],"state":"not_connected"},"features":[],"reason":"not_connected","state":"unknown"}
Capabilities *Capabilities `json:"capabilities,omitempty"`
// Details Session-local conversation observations combined with the owning account connection, without changing retained conversation content.
//
// Example: {"accountConnection":{"accountId":"019a5df0-0000-7000-8000-000000000002","state":"connected","updatedAt":"2026-11-08T12:00:00Z"},"accountId":"019a5df0-0000-7000-8000-000000000002","address":"room@conference.example.test","conversationId":"019a5df0-0000-7000-8000-000000000001","features":[],"kind":"room","participants":{"items":[],"scope":"occupants","state":"pending","truncated":false},"roomSession":"not_joined","state":"pending"}
Details *ConversationDetails `json:"details,omitempty"`
// EditTarget Current canonical text and advisory eligibility for a distinct sent-message correction.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000002","currentRevisionId":"019a5df0-0000-7000-8000-000000000004","eligible":true,"messageId":"019a5df0-0000-7000-8000-000000000003","originalText":"Text to correct"}
EditTarget *MessageEditTarget `json:"editTarget,omitempty"`
// Previews Example: []
Previews *[]MessagePreview `json:"previews,omitempty"`
// Reactions Example: []
Reactions *[]MessageReactions `json:"reactions,omitempty"`
// RoomArchive Retained recovery progress for one room. Coverage describes archive pages, not isolated search hits.
RoomArchive *RoomArchive `json:"roomArchive,omitempty"`
// RoomSession Own engine's room intent and observed session, distinct from account connectivity and public occupant discovery.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","active":false,"conversationId":"019a5df0-0000-7000-8000-000000000002","state":"not_joined","updatedAt":"2026-11-08T12:00:00Z"}
RoomSession *RoomSession `json:"roomSession,omitempty"`
// Stars Example: []
Stars *[]MessageStar `json:"stars,omitempty"`
// Videos Example: []
Videos *[]SharedContentItem `json:"videos,omitempty"`
}
MessagePresentation Optional display and action metadata for one page of up to 50 retained messages. An omitted field means that its state is unknown.
type MessagePreview ¶
type MessagePreview struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// Description Plain page description.
Description *string `json:"description,omitempty"`
DownloadState MessagePreviewDownloadState `json:"downloadState"`
// FaviconHash Optional locally cached and normalized site icon. Never a provider URL.
FaviconHash *string `json:"faviconHash,omitempty"`
// FileHash Retained original image digest, computed after complete download.
FileHash *string `json:"fileHash,omitempty"`
FileMimeType *MessagePreviewFileMimeType `json:"fileMimeType,omitempty"`
FileSize *int64 `json:"fileSize,omitempty"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// ImageHash Local static PNG or JPEG thumbnail digest, sized for high-DPI message cards.
ImageHash *string `json:"imageHash,omitempty"`
// Integrity The original was fingerprinted locally. A verified sender digest is indicated by verifiedAlgorithm.
Integrity *MessagePreviewIntegrity `json:"integrity,omitempty"`
Kind MessagePreviewKind `json:"kind"`
// LastErrorCode Stable failure code for localization, without provider error details.
LastErrorCode *string `json:"lastErrorCode,omitempty"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId ID `json:"messageId"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
// SiteName Plain publisher name or hostname.
SiteName *string `json:"siteName,omitempty"`
State MessagePreviewState `json:"state"`
// Title Plain page title or image filename.
Title *string `json:"title,omitempty"`
UpdatedAt time.Time `json:"updatedAt"`
// Url Original public HTTP or HTTPS message URL. Never use this as a browser image source.
Url string `json:"url"`
// VerifiedAlgorithm Supported sender digest algorithm verified for this original.
VerifiedAlgorithm *MessagePreviewVerifiedAlgorithm `json:"verifiedAlgorithm,omitempty"`
}
MessagePreview Source-linked cached metadata. Entity UUID remains stable as enrichment/download revisions change. An absent imageHash means no local thumbnail is available. Image references without a thumbnail require explicit original download before preview/expansion.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","downloadState":"not_downloaded","id":"019a5df0-0000-7000-8000-000000000001","kind":"link","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":"019a5df0-0000-7000-8000-000000000001","siteName":"Example","state":"ready","title":"Shared article","updatedAt":"2026-11-08T12:00:00Z","url":"https://example.com/article"}
type MessagePreviewDownloadState ¶
type MessagePreviewDownloadState string
MessagePreviewDownloadState defines model for MessagePreview.DownloadState.
const ( MessagePreviewDownloadStateDownloading MessagePreviewDownloadState = "downloading" MessagePreviewDownloadStateFailed MessagePreviewDownloadState = "failed" MessagePreviewDownloadStateNotDownloaded MessagePreviewDownloadState = "not_downloaded" MessagePreviewDownloadStateQueued MessagePreviewDownloadState = "queued" MessagePreviewDownloadStateReady MessagePreviewDownloadState = "ready" )
Defines values for MessagePreviewDownloadState.
func (MessagePreviewDownloadState) Valid ¶
func (e MessagePreviewDownloadState) Valid() bool
Valid indicates whether the value is a known member of the MessagePreviewDownloadState enum.
type MessagePreviewFileMimeType ¶
type MessagePreviewFileMimeType string
MessagePreviewFileMimeType defines model for MessagePreview.FileMimeType.
const ( MessagePreviewFileMimeTypeImagegif MessagePreviewFileMimeType = "image/gif" MessagePreviewFileMimeTypeImagejpeg MessagePreviewFileMimeType = "image/jpeg" MessagePreviewFileMimeTypeImagepng MessagePreviewFileMimeType = "image/png" )
Defines values for MessagePreviewFileMimeType.
func (MessagePreviewFileMimeType) Valid ¶
func (e MessagePreviewFileMimeType) Valid() bool
Valid indicates whether the value is a known member of the MessagePreviewFileMimeType enum.
type MessagePreviewIntegrity ¶
type MessagePreviewIntegrity string
MessagePreviewIntegrity The original was fingerprinted locally. A verified sender digest is indicated by verifiedAlgorithm.
const (
ComputedOnly MessagePreviewIntegrity = "computed_only"
)
Defines values for MessagePreviewIntegrity.
func (MessagePreviewIntegrity) Valid ¶
func (e MessagePreviewIntegrity) Valid() bool
Valid indicates whether the value is a known member of the MessagePreviewIntegrity enum.
type MessagePreviewKind ¶
type MessagePreviewKind string
MessagePreviewKind defines model for MessagePreview.Kind.
const ( MessagePreviewKindImage MessagePreviewKind = "image" MessagePreviewKindLink MessagePreviewKind = "link" )
Defines values for MessagePreviewKind.
func (MessagePreviewKind) Valid ¶
func (e MessagePreviewKind) Valid() bool
Valid indicates whether the value is a known member of the MessagePreviewKind enum.
type MessagePreviewState ¶
type MessagePreviewState string
MessagePreviewState defines model for MessagePreview.State.
const ( MessagePreviewStateQueued MessagePreviewState = "queued" MessagePreviewStateReady MessagePreviewState = "ready" )
Defines values for MessagePreviewState.
func (MessagePreviewState) Valid ¶
func (e MessagePreviewState) Valid() bool
Valid indicates whether the value is a known member of the MessagePreviewState enum.
type MessagePreviewVerifiedAlgorithm ¶
type MessagePreviewVerifiedAlgorithm string
MessagePreviewVerifiedAlgorithm Supported sender digest algorithm verified for this original.
const ( Sha256 MessagePreviewVerifiedAlgorithm = "sha-256" Sha512 MessagePreviewVerifiedAlgorithm = "sha-512" )
Defines values for MessagePreviewVerifiedAlgorithm.
func (MessagePreviewVerifiedAlgorithm) Valid ¶
func (e MessagePreviewVerifiedAlgorithm) Valid() bool
Valid indicates whether the value is a known member of the MessagePreviewVerifiedAlgorithm enum.
type MessageReactionCommand ¶
type MessageReactionCommand struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// CreatedAt Example: 2026-11-09T12:00:00Z
CreatedAt time.Time `json:"createdAt"`
// Emojis Complete desired set of at most eight distinct single Unicode emoji graphemes. Empty clears the set.
//
// Example: ["👍"]
Emojis ReactionEmojiSet `json:"emojis"`
// ExpectedOwnRevisionId Observed reaction revision UUID, or null before the first set.
//
// Example: 019a5df0-0000-7000-8000-000000000004
ExpectedOwnRevisionId *NullableReactionRevision `json:"expectedOwnRevisionId"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// LastErrorCode Example: session_changed
LastErrorCode *string `json:"lastErrorCode,omitempty"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId ID `json:"messageId"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
// State Example: queued
State MessageReactionCommandState `json:"state"`
// UpdatedAt Example: 2026-11-09T12:00:00Z
UpdatedAt time.Time `json:"updatedAt"`
}
MessageReactionCommand Durable immutable reaction intent and current transmission evidence.
type MessageReactionCommandState ¶
type MessageReactionCommandState string
MessageReactionCommandState Example: queued
const ( MessageReactionCommandStateDispatching MessageReactionCommandState = "dispatching" MessageReactionCommandStateFailed MessageReactionCommandState = "failed" MessageReactionCommandStateQueued MessageReactionCommandState = "queued" MessageReactionCommandStateSubmitted MessageReactionCommandState = "submitted" MessageReactionCommandStateUnknown MessageReactionCommandState = "unknown" )
Defines values for MessageReactionCommandState.
func (MessageReactionCommandState) Valid ¶
func (e MessageReactionCommandState) Valid() bool
Valid indicates whether the value is a known member of the MessageReactionCommandState enum.
type MessageReactions ¶
type MessageReactions struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// Actors Complete retained actor sets matching the emoji totals. Optional for compatibility with engines before API 0.27; current engines always include it, including an empty array. Empty sets and conflicting observations are omitted.
//
// Example: []
Actors *[]ReactionActor `json:"actors,omitempty"`
// AllowedEmojis Optional advertised allowed choices, independent of the smaller per-message selection limit.
//
// Example: ["👍","❤️"]
AllowedEmojis *[]string `json:"allowedEmojis,omitempty"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// Eligible Example: true
Eligible bool `json:"eligible"`
// Items Example: []
Items []ReactionItem `json:"items"`
// MaxEmojis Effective app and currently observed protocol limit.
//
// Example: 8
MaxEmojis int `json:"maxEmojis"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId ID `json:"messageId"`
// OwnEmojis Complete desired set of at most eight distinct single Unicode emoji graphemes. Empty clears the set.
//
// Example: ["👍"]
OwnEmojis ReactionEmojiSet `json:"ownEmojis"`
// OwnRevisionId Observed reaction revision UUID, or null before the first set.
//
// Example: 019a5df0-0000-7000-8000-000000000004
OwnRevisionId *NullableReactionRevision `json:"ownRevisionId"`
// PendingCommand Durable immutable reaction intent and current transmission evidence.
PendingCommand *MessageReactionCommand `json:"pendingCommand,omitempty"`
// Reason Example: session_changed
Reason *MessageReactionsReason `json:"reason,omitempty"`
// RevisionId Observed reaction revision UUID, or null before the first set.
//
// Example: 019a5df0-0000-7000-8000-000000000004
RevisionId *NullableReactionRevision `json:"revisionId"`
}
MessageReactions Canonical message reaction totals, own set and scoped mutation availability.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000002","eligible":true,"items":[],"maxEmojis":8,"messageId":"019a5df0-0000-7000-8000-000000000003","ownEmojis":[],"ownRevisionId":null,"revisionId":null}
type MessageReactionsList ¶
type MessageReactionsList struct {
Items []MessageReactions `json:"items"`
}
MessageReactionsList Reaction snapshots for a bounded retained conversation page.
Example: {"items":[]}
type MessageReactionsReason ¶
type MessageReactionsReason string
MessageReactionsReason Example: session_changed
const ( MessageReactionsReasonReactionPending MessageReactionsReason = "reaction_pending" MessageReactionsReasonSessionChanged MessageReactionsReason = "session_changed" )
Defines values for MessageReactionsReason.
func (MessageReactionsReason) Valid ¶
func (e MessageReactionsReason) Valid() bool
Valid indicates whether the value is a known member of the MessageReactionsReason enum.
type MessageReply ¶
type MessageReply struct {
// Available Whether a unique retained original is available for navigation.
//
// Example: true
Available bool `json:"available"`
// BodyText Display body after valid protocol-marked Unicode fallback ranges are moved to the quote card. originalText remains unchanged for copying. Malformed or unrecognized fallback ranges remain in the body.
//
// Example: Great idea!
BodyText string `json:"bodyText"`
// Excerpt Plain bounded original body or protocol-marked fallback excerpt. Never provider HTML.
//
// Example: We should bake a cake.
Excerpt string `json:"excerpt"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId *ID `json:"messageId,omitempty"`
// SenderName Observed original sender display name, not proof of a real-world identity.
//
// Example: Bob
SenderName *string `json:"senderName,omitempty"`
}
MessageReply A protocol-identified reply projection. It never infers identity from quoted text. Available means exactly one retained target in the same account and conversation matches the validated protocol reference. Unavailable references may retain a bounded compatibility excerpt, but cannot be navigated.
Example: {"available":true,"bodyText":"Great idea!","excerpt":"We should bake a cake.","messageId":"019a5df0-0000-7000-8000-000000000001","senderName":"Bob"}
type MessageRetraction ¶
type MessageRetraction struct {
At time.Time `json:"at"`
OriginalAvailable bool `json:"originalAvailable"`
}
MessageRetraction Withdrawal time and whether Oiê still has content that can be revealed.
Example: {"at":"2026-11-16T15:00:00Z","originalAvailable":true}
type MessageSearchHit ¶
type MessageSearchHit struct {
// AccountLabel Current owning account label.
AccountLabel string `json:"accountLabel"`
// ConversationAddress Canonical address of the source conversation.
ConversationAddress *string `json:"conversationAddress,omitempty"`
// ConversationTitle Current source conversation title.
ConversationTitle string `json:"conversationTitle"`
// Excerpt Bounded plain text from matching content or metadata. Never HTML; clients must escape it. Earlier content is represented here, rather than by the current message text.
Excerpt string `json:"excerpt"`
// Historical True only for an earlier content revision. Independent of message.historical, which describes archive provenance. Message always contains current canonical content; use its id for navigation.
Historical bool `json:"historical"`
// MatchKind Whether retained text or current associated metadata supplied the match.
MatchKind MessageSearchHitMatchKind `json:"matchKind"`
// MatchedAt UTC creation time of the retained matching content revision.
MatchedAt time.Time `json:"matchedAt"`
// MatchedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MatchedRevisionId ID `json:"matchedRevisionId"`
// Message Retained original text and actual send evidence. submitted means the stanza was written to the authenticated stream; it does not prove provider acceptance, recipient delivery, or read state. unknown is not automatically resent.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}}
Message Message `json:"message"`
// Preview One indexed shared item from the matching current message. Prefer an item matching the query, then cached artwork.
Preview *MessageSearchPreview `json:"preview,omitempty"`
// SenderAddress Owning account address for own messages or peer address for received direct messages. Omitted for other senders.
SenderAddress *string `json:"senderAddress,omitempty"`
// SenderAvatarHash SHA-256 of the retained sender avatar PNG in the owning account, when the sender identity and image are available. Use getAvatarImage to retrieve it.
SenderAvatarHash *string `json:"senderAvatarHash,omitempty"`
}
MessageSearchHit A matching current or verified earlier content revision with current canonical navigation context. Multiple hits for one message occur only with explicit edit history.
type MessageSearchHitMatchKind ¶
type MessageSearchHitMatchKind string
MessageSearchHitMatchKind Whether retained text or current associated metadata supplied the match.
const ( MessageSearchHitMatchKindMetadata MessageSearchHitMatchKind = "metadata" MessageSearchHitMatchKindText MessageSearchHitMatchKind = "text" )
Defines values for MessageSearchHitMatchKind.
func (MessageSearchHitMatchKind) Valid ¶
func (e MessageSearchHitMatchKind) Valid() bool
Valid indicates whether the value is a known member of the MessageSearchHitMatchKind enum.
type MessageSearchPage ¶
type MessageSearchPage struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId *ID `json:"accountId,omitempty"`
// AccountIds Applied account set in ascending UUID order, present when accountIds was supplied.
AccountIds *[]ID `json:"accountIds,omitempty"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId *ID `json:"conversationId,omitempty"`
// IncludeEditHistory Applied earlier-content filter.
IncludeEditHistory bool `json:"includeEditHistory"`
// IncludeRetracted Whether the request included retained retracted content.
IncludeRetracted *bool `json:"includeRetracted,omitempty"`
// Items Current and explicitly requested historical hits in stable chronological keyset order.
Items []MessageSearchHit `json:"items"`
// MetadataIndexing Local source-message indexing progress, scoped by account/conversation but independent of tab/search.
MetadataIndexing SharedContentIndexing `json:"metadataIndexing"`
// NextCursor Opaque cursor for the next matching page, absent at the end.
NextCursor *string `json:"nextCursor,omitempty"`
// Query Search query after trimming surrounding whitespace.
Query string `json:"query"`
}
MessageSearchPage Retained message search results. Message text is immediate; metadata indexing coverage is reported separately.
Example: {"includeEditHistory":false,"items":[],"metadataIndexing":{"indexedMessages":0,"state":"complete","totalMessages":0},"query":"software livre"}
type MessageSearchPreview ¶
type MessageSearchPreview struct {
// FaviconHash Digest of the locally cached site icon for a link. Use getMediaImage to retrieve it.
FaviconHash *string `json:"faviconHash,omitempty"`
// ImageHash Digest of a locally cached thumbnail, or the site icon when it is the only artwork. Use getMediaImage to retrieve it.
ImageHash *string `json:"imageHash,omitempty"`
// Kind Category of the shared item.
Kind MessageSearchPreviewKind `json:"kind"`
// Url Source URL of the item represented by this preview.
Url *string `json:"url,omitempty"`
}
MessageSearchPreview One indexed shared item from the matching current message. Prefer an item matching the query, then cached artwork.
type MessageSearchPreviewKind ¶
type MessageSearchPreviewKind string
MessageSearchPreviewKind Category of the shared item.
const ( MessageSearchPreviewKindAudio MessageSearchPreviewKind = "audio" MessageSearchPreviewKindDocument MessageSearchPreviewKind = "document" MessageSearchPreviewKindImage MessageSearchPreviewKind = "image" MessageSearchPreviewKindLink MessageSearchPreviewKind = "link" MessageSearchPreviewKindVideo MessageSearchPreviewKind = "video" )
Defines values for MessageSearchPreviewKind.
func (MessageSearchPreviewKind) Valid ¶
func (e MessageSearchPreviewKind) Valid() bool
Valid indicates whether the value is a known member of the MessageSearchPreviewKind enum.
type MessageSendState ¶
type MessageSendState string
MessageSendState Durable transport evidence.
const ( MessageSendStateCancelled MessageSendState = "cancelled" MessageSendStateDispatching MessageSendState = "dispatching" MessageSendStateFailed MessageSendState = "failed" MessageSendStateQueued MessageSendState = "queued" MessageSendStateReceived MessageSendState = "received" MessageSendStateSubmitted MessageSendState = "submitted" MessageSendStateUnknown MessageSendState = "unknown" )
Defines values for MessageSendState.
func (MessageSendState) Valid ¶
func (e MessageSendState) Valid() bool
Valid indicates whether the value is a known member of the MessageSendState enum.
type MessageSenderProfile ¶
type MessageSenderProfile struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// FullName Published full name from the known author's profile; plain text, not a verified legal name.
//
// Example: Juliet Example
FullName *string `json:"fullName,omitempty"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId ID `json:"messageId"`
// PersonalAddress Personal user@host disclosed by authenticated protocol evidence for this message's author, never guessed from its nickname or vCard.
//
// Example: juliet@example.test
PersonalAddress *string `json:"personalAddress,omitempty"`
// State Example: not_disclosed
State MessageSenderProfileState `json:"state"`
}
MessageSenderProfile Published profile data for a retained source author. Optional values never imply a verified legal name.
type MessageSenderProfileState ¶
type MessageSenderProfileState string
MessageSenderProfileState Example: not_disclosed
const ( MessageSenderProfileStateKnown MessageSenderProfileState = "known" MessageSenderProfileStateNotConnected MessageSenderProfileState = "not_connected" MessageSenderProfileStateNotDisclosed MessageSenderProfileState = "not_disclosed" MessageSenderProfileStateUnsupported MessageSenderProfileState = "unsupported" )
Defines values for MessageSenderProfileState.
func (MessageSenderProfileState) Valid ¶
func (e MessageSenderProfileState) Valid() bool
Valid indicates whether the value is a known member of the MessageSenderProfileState enum.
type MessageSourceContext ¶
type MessageSourceContext struct {
// Capabilities Implementation and discovered feature evidence scoped to one account.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","discovery":{"services":[],"state":"not_connected"},"features":[],"reason":"not_connected","state":"unknown"}
Capabilities *Capabilities `json:"capabilities,omitempty"`
// Context Bounded retained timeline window. Neighbor availability is relative to the returned extremes. Validated correction-source aliases resolve to the original logical message UUID returned as targetId. Page outward through listMessages using the oldest item UUID with direction older and the newest item UUID with direction newer. Neighbor flags describe availability beyond these returned extremes.
//
// Example: {"hasNewer":true,"hasOlder":false,"items":[{"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}}],"targetId":"019a5df0-0000-7000-8000-000000000001"}
Context MessageContext `json:"context"`
// Conversation One account-scoped conversation. Direct conversations support text sending; saved rooms and authorized room archives are recovered read-only in this increment.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","address":"bob@localhost","archived":false,"favorite":false,"id":"019a5df0-0000-7000-8000-000000000001","kind":"direct","lastMessage":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","title":"bob@localhost","unreadCount":0,"updatedAt":"2026-11-07T12:00:00Z"}
Conversation Conversation `json:"conversation"`
// Details Session-local conversation observations combined with the owning account connection, without changing retained conversation content.
//
// Example: {"accountConnection":{"accountId":"019a5df0-0000-7000-8000-000000000002","state":"connected","updatedAt":"2026-11-08T12:00:00Z"},"accountId":"019a5df0-0000-7000-8000-000000000002","address":"room@conference.example.test","conversationId":"019a5df0-0000-7000-8000-000000000001","features":[],"kind":"room","participants":{"items":[],"scope":"occupants","state":"pending","truncated":false},"roomSession":"not_joined","state":"pending"}
Details *ConversationDetails `json:"details,omitempty"`
// EditTarget Current canonical text and advisory eligibility for a distinct sent-message correction.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000002","currentRevisionId":"019a5df0-0000-7000-8000-000000000004","eligible":true,"messageId":"019a5df0-0000-7000-8000-000000000003","originalText":"Text to correct"}
EditTarget *MessageEditTarget `json:"editTarget,omitempty"`
// Engine Persistent engine identity and event boundary.
//
// Example: {"apiVersion":"0.33.0","eventCursor":"019a5df0-0000-7000-8000-000000000003:1","id":"019a5df0-0000-7000-8000-000000000003","role":"local"}
Engine Engine `json:"engine"`
// Previews Example: []
Previews *[]MessagePreview `json:"previews,omitempty"`
// Reactions Example: []
Reactions *[]MessageReactions `json:"reactions,omitempty"`
// RoomArchive Retained recovery progress for one room. Coverage describes archive pages, not isolated search hits.
RoomArchive *RoomArchive `json:"roomArchive,omitempty"`
// RoomSession Own engine's room intent and observed session, distinct from account connectivity and public occupant discovery.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","active":false,"conversationId":"019a5df0-0000-7000-8000-000000000002","state":"not_joined","updatedAt":"2026-11-08T12:00:00Z"}
RoomSession *RoomSession `json:"roomSession,omitempty"`
// Stars Example: []
Stars *[]MessageStar `json:"stars,omitempty"`
// Videos Example: []
Videos *[]SharedContentItem `json:"videos,omitempty"`
}
MessageSourceContext Bounded navigation snapshot with optional metadata for the returned messages.
type MessageStar ¶
type MessageStar struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId ID `json:"messageId"`
// RevisionId Canonical UUIDv7 of app-owned state; null means no revision has been created.
//
// Example: 019a5df0-0000-7000-8000-000000000004
RevisionId *NullableRevisionID `json:"revisionId"`
// Starred Whether the owner starred the source message, independently of any attachment.
//
// Example: true
Starred bool `json:"starred"`
// UpdatedAt UTC timestamp of the latest star change, null before the first change.
//
// Example: 2026-11-08T12:00:00Z
UpdatedAt *time.Time `json:"updatedAt"`
}
MessageStar App-owned source message star, keyed by messageId with its own revision history. Never a message edit.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000002","conversationId":"019a5df0-0000-7000-8000-000000000003","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":null,"starred":false,"updatedAt":null}
type MessageStarPage ¶
type MessageStarPage struct {
Items []MessageStar `json:"items"`
}
MessageStarPage Bounded states for the requested source message UUIDs, including untouched initial state.
Example: {"items":[{"accountId":"019a5df0-0000-7000-8000-000000000002","conversationId":"019a5df0-0000-7000-8000-000000000003","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":null,"starred":false,"updatedAt":null}]}
type NotFound ¶
type NotFound = Problem
NotFound RFC 9457 Problem Details served as application/problem+json. The type URI identifies the problem. The code extension is a stable short identifier for display and localization. The Link response header with rel="help" provides guidance for known problem types. The body includes documentation when the request applies the oie-problem-documentation preference. Responses exclude raw storage errors and credentials.
Example: {"code":"unavailable","documentation":"https://github.com/araihu/oie/blob/main/docs/engine-api-problems.md#unavailable","status":503,"title":"Service Unavailable","type":"urn:oie:problem:unavailable"}
type NotFoundApplicationProblemPlusJSONResponse ¶
type NotFoundApplicationProblemPlusJSONResponse Problem
type NullableReactionRevision ¶
type NullableReactionRevision = string
NullableReactionRevision Observed reaction revision UUID, or null before the first set.
Example: 019a5df0-0000-7000-8000-000000000004
type NullableRevisionID ¶
type NullableRevisionID = string
NullableRevisionID Canonical UUIDv7 of app-owned state; null means no revision has been created.
Example: 019a5df0-0000-7000-8000-000000000004
type OmemoDecision ¶
type OmemoDecision struct {
// Action Example: encrypt
Action OmemoDecisionAction `json:"action"`
Device *int `json:"device,omitempty"`
Fingerprint *string `json:"fingerprint,omitempty"`
}
OmemoDecision One explicit device or chat encryption decision.
Example: {"action":"encrypt"}
type OmemoDecisionAction ¶
type OmemoDecisionAction string
OmemoDecisionAction Example: encrypt
const ( Distrust OmemoDecisionAction = "distrust" Encrypt OmemoDecisionAction = "encrypt" Plaintext OmemoDecisionAction = "plaintext" Verify OmemoDecisionAction = "verify" )
Defines values for OmemoDecisionAction.
func (OmemoDecisionAction) Valid ¶
func (e OmemoDecisionAction) Valid() bool
Valid indicates whether the value is a known member of the OmemoDecisionAction enum.
type OmemoDevice ¶
type OmemoDevice struct {
Active bool `json:"active"`
Fingerprint string `json:"fingerprint"`
Id int `json:"id"`
// Own Identity of this engine.
Own bool `json:"own"`
Verified bool `json:"verified"`
}
OmemoDevice Public identity of a single device.
Example: {"active":true,"fingerprint":"abcdef01abcdef01abcdef01abcdef01abcdef01abcdef01abcdef01abcdef01","id":42,"own":false,"verified":true}
type OmemoDevices ¶
type OmemoDevices struct {
// Address Bare address of the key owner.
//
// Example: alice@example.org
Address string `json:"address"`
// Devices Known devices in numeric order.
Devices []OmemoDevice `json:"devices"`
// Encrypted Future direct messages require OMEMO.
Encrypted bool `json:"encrypted"`
}
OmemoDevices Public OMEMO keys for an account or direct peer.
Example: {"address":"alice@example.org","devices":[],"encrypted":true}
type OpenConversation ¶
type OpenConversation struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// Address Destination protocol address, normalized by the owning adapter.
Address string `json:"address"`
}
OpenConversation Open or find a direct conversation in a registered account.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","address":"bob@localhost"}
type OpenConversation200JSONResponse ¶
type OpenConversation200JSONResponse Conversation
func (OpenConversation200JSONResponse) VisitOpenConversationResponse ¶
func (response OpenConversation200JSONResponse) VisitOpenConversationResponse(w http.ResponseWriter) error
type OpenConversation201JSONResponse ¶
type OpenConversation201JSONResponse struct {
Body Conversation
Headers OpenConversation201ResponseHeaders
}
func (OpenConversation201JSONResponse) VisitOpenConversationResponse ¶
func (response OpenConversation201JSONResponse) VisitOpenConversationResponse(w http.ResponseWriter) error
type OpenConversation201ResponseHeaders ¶
type OpenConversation201ResponseHeaders struct {
Location *string
}
type OpenConversation400ApplicationProblemPlusJSONResponse ¶
type OpenConversation400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (OpenConversation400ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse ¶
func (response OpenConversation400ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse(w http.ResponseWriter) error
type OpenConversation401ApplicationProblemPlusJSONResponse ¶
type OpenConversation401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (OpenConversation401ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse ¶
func (response OpenConversation401ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse(w http.ResponseWriter) error
type OpenConversation404ApplicationProblemPlusJSONResponse ¶
type OpenConversation404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (OpenConversation404ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse ¶
func (response OpenConversation404ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse(w http.ResponseWriter) error
type OpenConversation409ApplicationProblemPlusJSONResponse ¶
type OpenConversation409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (OpenConversation409ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse ¶
func (response OpenConversation409ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse(w http.ResponseWriter) error
type OpenConversation413ApplicationProblemPlusJSONResponse ¶
type OpenConversation413ApplicationProblemPlusJSONResponse Problem
func (OpenConversation413ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse ¶
func (response OpenConversation413ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse(w http.ResponseWriter) error
type OpenConversation415ApplicationProblemPlusJSONResponse ¶
type OpenConversation415ApplicationProblemPlusJSONResponse Problem
func (OpenConversation415ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse ¶
func (response OpenConversation415ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse(w http.ResponseWriter) error
type OpenConversation503ApplicationProblemPlusJSONResponse ¶
type OpenConversation503ApplicationProblemPlusJSONResponse struct {
}
func (OpenConversation503ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse ¶
func (response OpenConversation503ApplicationProblemPlusJSONResponse) VisitOpenConversationResponse(w http.ResponseWriter) error
type OpenConversationJSONRequestBody ¶
type OpenConversationJSONRequestBody = OpenConversation
OpenConversationJSONRequestBody defines body for OpenConversation for application/json ContentType.
type OpenConversationParams ¶
type OpenConversationParams struct {
// IdempotencyKey Stable Idempotency-Key reference.
IdempotencyKey ID `json:"Idempotency-Key"`
}
OpenConversationParams defines parameters for OpenConversation.
type OpenConversationRequestObject ¶
type OpenConversationRequestObject struct {
Params OpenConversationParams
Body *OpenConversationJSONRequestBody
}
type OpenConversationResponse ¶
type OpenConversationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Conversation
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Conversation
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *OpenConversationResponse201Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *OpenConversationResponse401Headers
}
func ParseOpenConversationResponse ¶
func ParseOpenConversationResponse(rsp *http.Response) (*OpenConversationResponse, error)
ParseOpenConversationResponse parses an HTTP response from a OpenConversationWithResponse call
func (OpenConversationResponse) ContentType ¶
func (r OpenConversationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OpenConversationResponse) GetApplicationproblemJSON400 ¶
func (r OpenConversationResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (OpenConversationResponse) GetApplicationproblemJSON401 ¶
func (r OpenConversationResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (OpenConversationResponse) GetApplicationproblemJSON404 ¶
func (r OpenConversationResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (OpenConversationResponse) GetApplicationproblemJSON409 ¶
func (r OpenConversationResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (OpenConversationResponse) GetApplicationproblemJSON413 ¶
func (r OpenConversationResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (OpenConversationResponse) GetApplicationproblemJSON415 ¶
func (r OpenConversationResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (OpenConversationResponse) GetApplicationproblemJSON503 ¶
func (r OpenConversationResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (OpenConversationResponse) GetBody ¶
func (r OpenConversationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OpenConversationResponse) GetJSON200 ¶
func (r OpenConversationResponse) GetJSON200() *Conversation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OpenConversationResponse) GetJSON201 ¶
func (r OpenConversationResponse) GetJSON201() *Conversation
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (OpenConversationResponse) Status ¶
func (r OpenConversationResponse) Status() string
Status returns HTTPResponse.Status
func (OpenConversationResponse) StatusCode ¶
func (r OpenConversationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OpenConversationResponse201Headers ¶
type OpenConversationResponse201Headers struct {
Location *string
}
OpenConversationResponse201Headers the declared response headers of an HTTP 201 response for OpenConversation
type OpenConversationResponse401Headers ¶
type OpenConversationResponse401Headers struct {
WWWAuthenticate *string
}
OpenConversationResponse401Headers the declared response headers of an HTTP 401 response for OpenConversation
type OpenConversationResponseObject ¶
type OpenConversationResponseObject interface {
VisitOpenConversationResponse(w http.ResponseWriter) error
}
type OpenRoom ¶
type OpenRoom struct {
Action OpenRoomAction `json:"action"`
// Address Bare XMPP room address.
Address string `json:"address"`
// Name Optional published name for a newly created room.
Name *string `json:"name,omitempty"`
// Nickname Optional room nickname. Defaults to the account nickname.
Nickname *string `json:"nickname,omitempty"`
// Password Optional password for joining an existing room. Stored only by the owning engine for rejoin.
Password *string `json:"password,omitempty"`
}
OpenRoom Explicit request to enter an existing room or create a new room at the given address.
Example: {"action":"join","address":"garden@rooms.example.org"}
type OpenRoom202JSONResponse ¶
type OpenRoom202JSONResponse Conversation
func (OpenRoom202JSONResponse) VisitOpenRoomResponse ¶
func (response OpenRoom202JSONResponse) VisitOpenRoomResponse(w http.ResponseWriter) error
type OpenRoom400ApplicationProblemPlusJSONResponse ¶
type OpenRoom400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (OpenRoom400ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse ¶
func (response OpenRoom400ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse(w http.ResponseWriter) error
type OpenRoom401ApplicationProblemPlusJSONResponse ¶
type OpenRoom401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (OpenRoom401ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse ¶
func (response OpenRoom401ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse(w http.ResponseWriter) error
type OpenRoom404ApplicationProblemPlusJSONResponse ¶
type OpenRoom404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (OpenRoom404ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse ¶
func (response OpenRoom404ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse(w http.ResponseWriter) error
type OpenRoom409ApplicationProblemPlusJSONResponse ¶
type OpenRoom409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (OpenRoom409ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse ¶
func (response OpenRoom409ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse(w http.ResponseWriter) error
type OpenRoom413ApplicationProblemPlusJSONResponse ¶
type OpenRoom413ApplicationProblemPlusJSONResponse Problem
func (OpenRoom413ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse ¶
func (response OpenRoom413ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse(w http.ResponseWriter) error
type OpenRoom415ApplicationProblemPlusJSONResponse ¶
type OpenRoom415ApplicationProblemPlusJSONResponse Problem
func (OpenRoom415ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse ¶
func (response OpenRoom415ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse(w http.ResponseWriter) error
type OpenRoom503ApplicationProblemPlusJSONResponse ¶
type OpenRoom503ApplicationProblemPlusJSONResponse struct {
}
func (OpenRoom503ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse ¶
func (response OpenRoom503ApplicationProblemPlusJSONResponse) VisitOpenRoomResponse(w http.ResponseWriter) error
type OpenRoomAction ¶
type OpenRoomAction string
OpenRoomAction defines model for OpenRoom.Action.
const ( Create OpenRoomAction = "create" Join OpenRoomAction = "join" )
Defines values for OpenRoomAction.
func (OpenRoomAction) Valid ¶
func (e OpenRoomAction) Valid() bool
Valid indicates whether the value is a known member of the OpenRoomAction enum.
type OpenRoomJSONRequestBody ¶
type OpenRoomJSONRequestBody = OpenRoom
OpenRoomJSONRequestBody defines body for OpenRoom for application/json ContentType.
type OpenRoomParams ¶
type OpenRoomParams struct {
// IdempotencyKey Stable operation UUID for this request.
IdempotencyKey ID `json:"Idempotency-Key"`
}
OpenRoomParams defines parameters for OpenRoom.
type OpenRoomRequestObject ¶
type OpenRoomRequestObject struct {
AccountId AccountID `json:"accountId"`
Params OpenRoomParams
Body *OpenRoomJSONRequestBody
}
type OpenRoomResponse ¶
type OpenRoomResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *Conversation
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *OpenRoomResponse401Headers
}
func ParseOpenRoomResponse ¶
func ParseOpenRoomResponse(rsp *http.Response) (*OpenRoomResponse, error)
ParseOpenRoomResponse parses an HTTP response from a OpenRoomWithResponse call
func (OpenRoomResponse) ContentType ¶
func (r OpenRoomResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OpenRoomResponse) GetApplicationproblemJSON400 ¶
func (r OpenRoomResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (OpenRoomResponse) GetApplicationproblemJSON401 ¶
func (r OpenRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (OpenRoomResponse) GetApplicationproblemJSON404 ¶
func (r OpenRoomResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (OpenRoomResponse) GetApplicationproblemJSON409 ¶
func (r OpenRoomResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (OpenRoomResponse) GetApplicationproblemJSON413 ¶
func (r OpenRoomResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (OpenRoomResponse) GetApplicationproblemJSON415 ¶
func (r OpenRoomResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (OpenRoomResponse) GetApplicationproblemJSON503 ¶
func (r OpenRoomResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (OpenRoomResponse) GetBody ¶
func (r OpenRoomResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OpenRoomResponse) GetJSON202 ¶
func (r OpenRoomResponse) GetJSON202() *Conversation
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (OpenRoomResponse) Status ¶
func (r OpenRoomResponse) Status() string
Status returns HTTPResponse.Status
func (OpenRoomResponse) StatusCode ¶
func (r OpenRoomResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OpenRoomResponse401Headers ¶
type OpenRoomResponse401Headers struct {
WWWAuthenticate *string
}
OpenRoomResponse401Headers the declared response headers of an HTTP 401 response for OpenRoom
type OpenRoomResponseObject ¶
type OpenRoomResponseObject interface {
VisitOpenRoomResponse(w http.ResponseWriter) error
}
type Operation ¶
type Operation struct {
// AcceptedMessage Immutable original message acceptance, available only when requested for a retained send_message receipt. Read the message resource separately for its current state.
AcceptedMessage *Message `json:"acceptedMessage,omitempty"`
// AcceptedMessageExpired The requested send acceptance snapshot expired. The content-free operation receipt still exists.
AcceptedMessageExpired *bool `json:"acceptedMessageExpired,omitempty"`
CreatedAt time.Time `json:"createdAt"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
Kind OperationKind `json:"kind"`
// ResourceId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ResourceId ID `json:"resourceId"`
Status OperationStatus `json:"status"`
}
Operation Durable receipt used to reconcile repeated mutations.
Example: {"createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000004","kind":"register_account","resourceId":"019a5df0-0000-7000-8000-000000000001","status":"succeeded"}
type OperationKind ¶
type OperationKind string
OperationKind defines model for Operation.Kind.
const ( OperationKindCancelMessage OperationKind = "cancel_message" OperationKindJoinRoom OperationKind = "join_room" OperationKindLeaveRoom OperationKind = "leave_room" OperationKindMarkMessagesRead OperationKind = "mark_messages_read" OperationKindOpenConversation OperationKind = "open_conversation" OperationKindRegisterAccount OperationKind = "register_account" OperationKindSendMessage OperationKind = "send_message" OperationKindSetMessageStar OperationKind = "set_message_star" OperationKindUpdateConversationPreferences OperationKind = "update_conversation_preferences" )
Defines values for OperationKind.
func (OperationKind) Valid ¶
func (e OperationKind) Valid() bool
Valid indicates whether the value is a known member of the OperationKind enum.
type OperationStatus ¶
type OperationStatus string
OperationStatus defines model for Operation.Status.
const (
Succeeded OperationStatus = "succeeded"
)
Defines values for OperationStatus.
func (OperationStatus) Valid ¶
func (e OperationStatus) Valid() bool
Valid indicates whether the value is a known member of the OperationStatus enum.
type OutgoingComposition ¶
type OutgoingComposition struct {
// AttachmentIds Ordered unique IDs of available staged files in the same destination scope.
AttachmentIds *StagedAttachmentIDs `json:"attachmentIds,omitempty"`
Mentions *[]MentionSelection `json:"mentions,omitempty"`
// OriginalText Exact UTF-8 text, including links. Empty or whitespace-only text requires at least one attachment.
OriginalText string `json:"originalText"`
// ReplyToMessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ReplyToMessageId *ID `json:"replyToMessageId,omitempty"`
}
OutgoingComposition Complete authored content in the same form used at initial acceptance. Omit an optional field to clear it when replacing the composition.
Example: {"attachmentIds":["019a5df0-0000-7000-8000-000000000006"],"originalText":"Studio entrance: https://example.org/studio"}
type PendingMessageUpdated ¶
type PendingMessageUpdated = Message
PendingMessageUpdated Retained original text and actual send evidence. submitted means the stanza was written to the authenticated stream; it does not prove provider acceptance, recipient delivery, or read state. unknown is not automatically resent.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}}
type PendingMessageUpdatedJSONResponse ¶
type PendingMessageUpdatedJSONResponse Message
type PresenceObservation ¶
type PresenceObservation struct {
// ObservedAt UTC time this presence was observed, absent for unknown presence.
ObservedAt *time.Time `json:"observedAt,omitempty"`
State PresenceObservationState `json:"state"`
StatusText *string `json:"statusText,omitempty"`
}
PresenceObservation Observed presence from authorized traffic, without active probes or inferred offline state.
type PresenceObservationState ¶
type PresenceObservationState string
PresenceObservationState defines model for PresenceObservation.State.
const ( PresenceObservationStateAvailable PresenceObservationState = "available" PresenceObservationStateAway PresenceObservationState = "away" PresenceObservationStateBusy PresenceObservationState = "busy" PresenceObservationStateChat PresenceObservationState = "chat" PresenceObservationStateExtendedAway PresenceObservationState = "extended_away" PresenceObservationStateUnknown PresenceObservationState = "unknown" )
Defines values for PresenceObservationState.
func (PresenceObservationState) Valid ¶
func (e PresenceObservationState) Valid() bool
Valid indicates whether the value is a known member of the PresenceObservationState enum.
type PreviewPage ¶
type PreviewPage struct {
Items []MessagePreview `json:"items"`
}
PreviewPage At most three preview references for each selected retained message, up to three hundred items.
Example: {"items":[{"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","downloadState":"not_downloaded","id":"019a5df0-0000-7000-8000-000000000001","kind":"link","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":"019a5df0-0000-7000-8000-000000000001","siteName":"Example","state":"ready","title":"Shared article","updatedAt":"2026-11-08T12:00:00Z","url":"https://example.com/article"}]}
type PreviewRoom200JSONResponse ¶
type PreviewRoom200JSONResponse RoomPreview
func (PreviewRoom200JSONResponse) VisitPreviewRoomResponse ¶
func (response PreviewRoom200JSONResponse) VisitPreviewRoomResponse(w http.ResponseWriter) error
type PreviewRoom400ApplicationProblemPlusJSONResponse ¶
type PreviewRoom400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (PreviewRoom400ApplicationProblemPlusJSONResponse) VisitPreviewRoomResponse ¶
func (response PreviewRoom400ApplicationProblemPlusJSONResponse) VisitPreviewRoomResponse(w http.ResponseWriter) error
type PreviewRoom401ApplicationProblemPlusJSONResponse ¶
type PreviewRoom401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (PreviewRoom401ApplicationProblemPlusJSONResponse) VisitPreviewRoomResponse ¶
func (response PreviewRoom401ApplicationProblemPlusJSONResponse) VisitPreviewRoomResponse(w http.ResponseWriter) error
type PreviewRoom404ApplicationProblemPlusJSONResponse ¶
type PreviewRoom404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (PreviewRoom404ApplicationProblemPlusJSONResponse) VisitPreviewRoomResponse ¶
func (response PreviewRoom404ApplicationProblemPlusJSONResponse) VisitPreviewRoomResponse(w http.ResponseWriter) error
type PreviewRoom503ApplicationProblemPlusJSONResponse ¶
type PreviewRoom503ApplicationProblemPlusJSONResponse struct {
}
func (PreviewRoom503ApplicationProblemPlusJSONResponse) VisitPreviewRoomResponse ¶
func (response PreviewRoom503ApplicationProblemPlusJSONResponse) VisitPreviewRoomResponse(w http.ResponseWriter) error
type PreviewRoomParams ¶
type PreviewRoomParams struct {
// Address Bare XMPP room address.
Address string `form:"address" json:"address"`
// DiscoveredServiceOnly Restrict automatic lookups to MUC services advertised by the account server. Other destinations return unavailable without an XMPP request.
DiscoveredServiceOnly *bool `form:"discoveredServiceOnly,omitempty" json:"discoveredServiceOnly,omitempty"`
}
PreviewRoomParams defines parameters for PreviewRoom.
type PreviewRoomRequestObject ¶
type PreviewRoomRequestObject struct {
AccountId AccountID `json:"accountId"`
Params PreviewRoomParams
}
type PreviewRoomResponse ¶
type PreviewRoomResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomPreview
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *PreviewRoomResponse401Headers
}
func ParsePreviewRoomResponse ¶
func ParsePreviewRoomResponse(rsp *http.Response) (*PreviewRoomResponse, error)
ParsePreviewRoomResponse parses an HTTP response from a PreviewRoomWithResponse call
func (PreviewRoomResponse) ContentType ¶
func (r PreviewRoomResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreviewRoomResponse) GetApplicationproblemJSON400 ¶
func (r PreviewRoomResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (PreviewRoomResponse) GetApplicationproblemJSON401 ¶
func (r PreviewRoomResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (PreviewRoomResponse) GetApplicationproblemJSON404 ¶
func (r PreviewRoomResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (PreviewRoomResponse) GetApplicationproblemJSON503 ¶
func (r PreviewRoomResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (PreviewRoomResponse) GetBody ¶
func (r PreviewRoomResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PreviewRoomResponse) GetJSON200 ¶
func (r PreviewRoomResponse) GetJSON200() *RoomPreview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PreviewRoomResponse) Status ¶
func (r PreviewRoomResponse) Status() string
Status returns HTTPResponse.Status
func (PreviewRoomResponse) StatusCode ¶
func (r PreviewRoomResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreviewRoomResponse401Headers ¶
type PreviewRoomResponse401Headers struct {
WWWAuthenticate *string
}
PreviewRoomResponse401Headers the declared response headers of an HTTP 401 response for PreviewRoom
type PreviewRoomResponseObject ¶
type PreviewRoomResponseObject interface {
VisitPreviewRoomResponse(w http.ResponseWriter) error
}
type Problem ¶
type Problem struct {
// Code Oiê extension for the short problem code.
Code ProblemCode `json:"code"`
// CurrentConversation One account-scoped conversation. Direct conversations support text sending; saved rooms and authorized room archives are recovered read-only in this increment.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","address":"bob@localhost","archived":false,"favorite":false,"id":"019a5df0-0000-7000-8000-000000000001","kind":"direct","lastMessage":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","title":"bob@localhost","unreadCount":0,"updatedAt":"2026-11-07T12:00:00Z"}
CurrentConversation *Conversation `json:"currentConversation,omitempty"`
// CurrentMessage Retained original text and actual send evidence. submitted means the stanza was written to the authenticated stream; it does not prove provider acceptance, recipient delivery, or read state. unknown is not automatically resent.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}}
CurrentMessage *Message `json:"currentMessage,omitempty"`
// CurrentRoomSession Own engine's room intent and observed session, distinct from account connectivity and public occupant discovery.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","active":false,"conversationId":"019a5df0-0000-7000-8000-000000000002","state":"not_joined","updatedAt":"2026-11-08T12:00:00Z"}
CurrentRoomSession *RoomSession `json:"currentRoomSession,omitempty"`
// CurrentStar App-owned source message star, keyed by messageId with its own revision history. Never a message edit.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000002","conversationId":"019a5df0-0000-7000-8000-000000000003","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":null,"starred":false,"updatedAt":null}
CurrentStar *MessageStar `json:"currentStar,omitempty"`
// Documentation Absolute HTTPS link to human-readable guidance for this problem type. Included when Prefer requests oie-problem-documentation with no value or an empty quoted value. The URL may change independently of the type URI and code.
Documentation *string `json:"documentation,omitempty"`
// ReplySourceChanged True on a state conflict caused by an unavailable or changed reply source or excerpt when the request included expectedReplyRevisionId.
ReplySourceChanged *bool `json:"replySourceChanged,omitempty"`
// RoomAddressInUse The address has a direct conversation with retained content that cannot be converted to a room.
RoomAddressInUse *bool `json:"roomAddressInUse,omitempty"`
// RoomCreationError Why a new room could not be accepted.
RoomCreationError *ProblemRoomCreationError `json:"roomCreationError,omitempty"`
// Status HTTP status code of this response.
Status int `json:"status"`
// Title Short human-readable summary that is stable for a problem type.
Title string `json:"title"`
// Type Stable absolute problem type URI in the form urn:oie:problem:<code>.
Type string `json:"type"`
}
Problem RFC 9457 Problem Details served as application/problem+json. The type URI identifies the problem. The code extension is a stable short identifier for display and localization. The Link response header with rel="help" provides guidance for known problem types. The body includes documentation when the request applies the oie-problem-documentation preference. Responses exclude raw storage errors and credentials.
Example: {"code":"unavailable","documentation":"https://github.com/araihu/oie/blob/main/docs/engine-api-problems.md#unavailable","status":503,"title":"Service Unavailable","type":"urn:oie:problem:unavailable"}
type ProblemCode ¶
type ProblemCode string
ProblemCode Oiê extension for the short problem code.
const ( ProblemCodeAccountExists ProblemCode = "account_exists" ProblemCodeHistoryChanged ProblemCode = "history_changed" ProblemCodeIdempotencyConflict ProblemCode = "idempotency_conflict" ProblemCodeInvalidCursor ProblemCode = "invalid_cursor" ProblemCodeInvalidRequest ProblemCode = "invalid_request" ProblemCodeMediaBlocked ProblemCode = "media_blocked" ProblemCodeMediaBusy ProblemCode = "media_busy" ProblemCodeMediaFetchFailed ProblemCode = "media_fetch_failed" ProblemCodeMediaTimeout ProblemCode = "media_timeout" ProblemCodeMediaTooLarge ProblemCode = "media_too_large" ProblemCodeMediaUnsupported ProblemCode = "media_unsupported" ProblemCodeNotFound ProblemCode = "not_found" ProblemCodeRangeNotSatisfiable ProblemCode = "range_not_satisfiable" ProblemCodeStateConflict ProblemCode = "state_conflict" )
Defines values for ProblemCode.
func (ProblemCode) Valid ¶
func (e ProblemCode) Valid() bool
Valid indicates whether the value is a known member of the ProblemCode enum.
type ProblemRoomCreationError ¶
type ProblemRoomCreationError string
ProblemRoomCreationError Why a new room could not be accepted.
const ( AlreadyExists ProblemRoomCreationError = "already_exists" InvalidService ProblemRoomCreationError = "invalid_service" )
Defines values for ProblemRoomCreationError.
func (ProblemRoomCreationError) Valid ¶
func (e ProblemRoomCreationError) Valid() bool
Valid indicates whether the value is a known member of the ProblemRoomCreationError enum.
type ReactionActor ¶
type ReactionActor struct {
// Address Protocol-verified actor address or an opaque occupant identifier prefixed with occupant: in a semianonymous room.
//
// Example: alice@example.test
Address string `json:"address"`
// AvatarHash Cached avatar PNG SHA-256 for a verified address in the same account. Omitted for opaque occupants.
//
// Example: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
AvatarHash *string `json:"avatarHash,omitempty"`
// DisplayName Observed room nickname for opaque occupants. For other actors, the active contact name, observed name or address.
//
// Example: Alice
DisplayName string `json:"displayName"`
// Emojis A verified actor's latest nonempty set of distinct emoji graphemes.
//
// Example: ["👍"]
Emojis ReactionActorEmojiSet `json:"emojis"`
// Own Example: true
Own bool `json:"own"`
}
ReactionActor One verified actor's latest nonempty set, with a retained display name and optional cached avatar. Identity is scoped to the snapshot account and conversation. Reading never discovers or links identities.
type ReactionActorEmojiSet ¶
type ReactionActorEmojiSet = []string
ReactionActorEmojiSet A verified actor's latest nonempty set of distinct emoji graphemes.
Example: ["👍"]
type ReactionEmojiSet ¶
type ReactionEmojiSet = []string
ReactionEmojiSet Complete desired set of at most eight distinct single Unicode emoji graphemes. Empty clears the set.
Example: ["👍"]
type ReactionItem ¶
type ReactionItem struct {
// Count Example: 2
Count int `json:"count"`
// Emoji Example: 👍
Emoji string `json:"emoji"`
// Own Example: true
Own bool `json:"own"`
}
ReactionItem One emoji and its count across distinct verified actors.
type RefreshMessagePreview202JSONResponse ¶
type RefreshMessagePreview202JSONResponse MessagePreview
func (RefreshMessagePreview202JSONResponse) VisitRefreshMessagePreviewResponse ¶
func (response RefreshMessagePreview202JSONResponse) VisitRefreshMessagePreviewResponse(w http.ResponseWriter) error
type RefreshMessagePreview400ApplicationProblemPlusJSONResponse ¶
type RefreshMessagePreview400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (RefreshMessagePreview400ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse ¶
func (response RefreshMessagePreview400ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse(w http.ResponseWriter) error
type RefreshMessagePreview401ApplicationProblemPlusJSONResponse ¶
type RefreshMessagePreview401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (RefreshMessagePreview401ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse ¶
func (response RefreshMessagePreview401ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse(w http.ResponseWriter) error
type RefreshMessagePreview404ApplicationProblemPlusJSONResponse ¶
type RefreshMessagePreview404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RefreshMessagePreview404ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse ¶
func (response RefreshMessagePreview404ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse(w http.ResponseWriter) error
type RefreshMessagePreview409ApplicationProblemPlusJSONResponse ¶
type RefreshMessagePreview409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (RefreshMessagePreview409ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse ¶
func (response RefreshMessagePreview409ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse(w http.ResponseWriter) error
type RefreshMessagePreview503ApplicationProblemPlusJSONResponse ¶
type RefreshMessagePreview503ApplicationProblemPlusJSONResponse struct {
}
func (RefreshMessagePreview503ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse ¶
func (response RefreshMessagePreview503ApplicationProblemPlusJSONResponse) VisitRefreshMessagePreviewResponse(w http.ResponseWriter) error
type RefreshMessagePreviewRequestObject ¶
type RefreshMessagePreviewRequestObject struct {
PreviewId ID `json:"previewId"`
}
type RefreshMessagePreviewResponse ¶
type RefreshMessagePreviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *MessagePreview
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *RefreshMessagePreviewResponse401Headers
}
func ParseRefreshMessagePreviewResponse ¶
func ParseRefreshMessagePreviewResponse(rsp *http.Response) (*RefreshMessagePreviewResponse, error)
ParseRefreshMessagePreviewResponse parses an HTTP response from a RefreshMessagePreviewWithResponse call
func (RefreshMessagePreviewResponse) ContentType ¶
func (r RefreshMessagePreviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RefreshMessagePreviewResponse) GetApplicationproblemJSON400 ¶
func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RefreshMessagePreviewResponse) GetApplicationproblemJSON401 ¶
func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RefreshMessagePreviewResponse) GetApplicationproblemJSON404 ¶
func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RefreshMessagePreviewResponse) GetApplicationproblemJSON409 ¶
func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RefreshMessagePreviewResponse) GetApplicationproblemJSON503 ¶
func (r RefreshMessagePreviewResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (RefreshMessagePreviewResponse) GetBody ¶
func (r RefreshMessagePreviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RefreshMessagePreviewResponse) GetJSON202 ¶
func (r RefreshMessagePreviewResponse) GetJSON202() *MessagePreview
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RefreshMessagePreviewResponse) Status ¶
func (r RefreshMessagePreviewResponse) Status() string
Status returns HTTPResponse.Status
func (RefreshMessagePreviewResponse) StatusCode ¶
func (r RefreshMessagePreviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefreshMessagePreviewResponse401Headers ¶
type RefreshMessagePreviewResponse401Headers struct {
WWWAuthenticate *string
}
RefreshMessagePreviewResponse401Headers the declared response headers of an HTTP 401 response for RefreshMessagePreview
type RefreshMessagePreviewResponseObject ¶
type RefreshMessagePreviewResponseObject interface {
VisitRefreshMessagePreviewResponse(w http.ResponseWriter) error
}
type RegisterAccount ¶
type RegisterAccount struct {
Address string `json:"address"`
Label string `json:"label"`
Protocol RegisterAccountProtocol `json:"protocol"`
}
RegisterAccount Account metadata registration, without protocol credentials.
Example: {"address":"alice@localhost","label":"Personal","protocol":"xmpp"}
type RegisterAccount200JSONResponse ¶
type RegisterAccount200JSONResponse struct {
Body Account
Headers RegisterAccount200ResponseHeaders
}
func (RegisterAccount200JSONResponse) VisitRegisterAccountResponse ¶
func (response RegisterAccount200JSONResponse) VisitRegisterAccountResponse(w http.ResponseWriter) error
type RegisterAccount200ResponseHeaders ¶
type RegisterAccount200ResponseHeaders struct {
IdempotencyReplayed *bool
}
type RegisterAccount201JSONResponse ¶
type RegisterAccount201JSONResponse struct {
Body Account
Headers RegisterAccount201ResponseHeaders
}
func (RegisterAccount201JSONResponse) VisitRegisterAccountResponse ¶
func (response RegisterAccount201JSONResponse) VisitRegisterAccountResponse(w http.ResponseWriter) error
type RegisterAccount400ApplicationProblemPlusJSONResponse ¶
type RegisterAccount400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (RegisterAccount400ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse ¶
func (response RegisterAccount400ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse(w http.ResponseWriter) error
type RegisterAccount401ApplicationProblemPlusJSONResponse ¶
type RegisterAccount401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (RegisterAccount401ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse ¶
func (response RegisterAccount401ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse(w http.ResponseWriter) error
type RegisterAccount404ApplicationProblemPlusJSONResponse ¶
type RegisterAccount404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RegisterAccount404ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse ¶
func (response RegisterAccount404ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse(w http.ResponseWriter) error
type RegisterAccount409ApplicationProblemPlusJSONResponse ¶
type RegisterAccount409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (RegisterAccount409ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse ¶
func (response RegisterAccount409ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse(w http.ResponseWriter) error
type RegisterAccount413ApplicationProblemPlusJSONResponse ¶
type RegisterAccount413ApplicationProblemPlusJSONResponse Problem
func (RegisterAccount413ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse ¶
func (response RegisterAccount413ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse(w http.ResponseWriter) error
type RegisterAccount415ApplicationProblemPlusJSONResponse ¶
type RegisterAccount415ApplicationProblemPlusJSONResponse Problem
func (RegisterAccount415ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse ¶
func (response RegisterAccount415ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse(w http.ResponseWriter) error
type RegisterAccount503ApplicationProblemPlusJSONResponse ¶
type RegisterAccount503ApplicationProblemPlusJSONResponse struct {
}
func (RegisterAccount503ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse ¶
func (response RegisterAccount503ApplicationProblemPlusJSONResponse) VisitRegisterAccountResponse(w http.ResponseWriter) error
type RegisterAccountJSONRequestBody ¶
type RegisterAccountJSONRequestBody = RegisterAccount
RegisterAccountJSONRequestBody defines body for RegisterAccount for application/json ContentType.
type RegisterAccountParams ¶
type RegisterAccountParams struct {
// IdempotencyKey Caller-generated UUIDv7, retained for the lifetime of the engine data.
IdempotencyKey ID `json:"Idempotency-Key"`
}
RegisterAccountParams defines parameters for RegisterAccount.
type RegisterAccountProtocol ¶
type RegisterAccountProtocol string
RegisterAccountProtocol defines model for RegisterAccount.Protocol.
const (
RegisterAccountProtocolXmpp RegisterAccountProtocol = "xmpp"
)
Defines values for RegisterAccountProtocol.
func (RegisterAccountProtocol) Valid ¶
func (e RegisterAccountProtocol) Valid() bool
Valid indicates whether the value is a known member of the RegisterAccountProtocol enum.
type RegisterAccountRequestObject ¶
type RegisterAccountRequestObject struct {
Params RegisterAccountParams
Body *RegisterAccountJSONRequestBody
}
type RegisterAccountResponse ¶
type RegisterAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Account
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Account
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *RegisterAccountResponse200Headers
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *RegisterAccountResponse201Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *RegisterAccountResponse401Headers
}
func ParseRegisterAccountResponse ¶
func ParseRegisterAccountResponse(rsp *http.Response) (*RegisterAccountResponse, error)
ParseRegisterAccountResponse parses an HTTP response from a RegisterAccountWithResponse call
func (RegisterAccountResponse) ContentType ¶
func (r RegisterAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RegisterAccountResponse) GetApplicationproblemJSON400 ¶
func (r RegisterAccountResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RegisterAccountResponse) GetApplicationproblemJSON401 ¶
func (r RegisterAccountResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RegisterAccountResponse) GetApplicationproblemJSON404 ¶
func (r RegisterAccountResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RegisterAccountResponse) GetApplicationproblemJSON409 ¶
func (r RegisterAccountResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RegisterAccountResponse) GetApplicationproblemJSON413 ¶
func (r RegisterAccountResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (RegisterAccountResponse) GetApplicationproblemJSON415 ¶
func (r RegisterAccountResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (RegisterAccountResponse) GetApplicationproblemJSON503 ¶
func (r RegisterAccountResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (RegisterAccountResponse) GetBody ¶
func (r RegisterAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RegisterAccountResponse) GetJSON200 ¶
func (r RegisterAccountResponse) GetJSON200() *Account
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RegisterAccountResponse) GetJSON201 ¶
func (r RegisterAccountResponse) GetJSON201() *Account
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (RegisterAccountResponse) Status ¶
func (r RegisterAccountResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterAccountResponse) StatusCode ¶
func (r RegisterAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegisterAccountResponse200Headers ¶
type RegisterAccountResponse200Headers struct {
IdempotencyReplayed *bool
}
RegisterAccountResponse200Headers the declared response headers of an HTTP 200 response for RegisterAccount
type RegisterAccountResponse201Headers ¶
RegisterAccountResponse201Headers the declared response headers of an HTTP 201 response for RegisterAccount
type RegisterAccountResponse401Headers ¶
type RegisterAccountResponse401Headers struct {
WWWAuthenticate *string
}
RegisterAccountResponse401Headers the declared response headers of an HTTP 401 response for RegisterAccount
type RegisterAccountResponseObject ¶
type RegisterAccountResponseObject interface {
VisitRegisterAccountResponse(w http.ResponseWriter) error
}
type RemoveAccount204Response ¶
type RemoveAccount204Response struct {
}
func (RemoveAccount204Response) VisitRemoveAccountResponse ¶
func (response RemoveAccount204Response) VisitRemoveAccountResponse(w http.ResponseWriter) error
type RemoveAccount400ApplicationProblemPlusJSONResponse ¶
type RemoveAccount400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (RemoveAccount400ApplicationProblemPlusJSONResponse) VisitRemoveAccountResponse ¶
func (response RemoveAccount400ApplicationProblemPlusJSONResponse) VisitRemoveAccountResponse(w http.ResponseWriter) error
type RemoveAccount401ApplicationProblemPlusJSONResponse ¶
type RemoveAccount401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (RemoveAccount401ApplicationProblemPlusJSONResponse) VisitRemoveAccountResponse ¶
func (response RemoveAccount401ApplicationProblemPlusJSONResponse) VisitRemoveAccountResponse(w http.ResponseWriter) error
type RemoveAccount503ApplicationProblemPlusJSONResponse ¶
type RemoveAccount503ApplicationProblemPlusJSONResponse struct {
}
func (RemoveAccount503ApplicationProblemPlusJSONResponse) VisitRemoveAccountResponse ¶
func (response RemoveAccount503ApplicationProblemPlusJSONResponse) VisitRemoveAccountResponse(w http.ResponseWriter) error
type RemoveAccountRequestObject ¶
type RemoveAccountRequestObject struct {
AccountId AccountID `json:"accountId"`
}
type RemoveAccountResponse ¶
type RemoveAccountResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *RemoveAccountResponse401Headers
}
func ParseRemoveAccountResponse ¶
func ParseRemoveAccountResponse(rsp *http.Response) (*RemoveAccountResponse, error)
ParseRemoveAccountResponse parses an HTTP response from a RemoveAccountWithResponse call
func (RemoveAccountResponse) ContentType ¶
func (r RemoveAccountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveAccountResponse) GetApplicationproblemJSON400 ¶
func (r RemoveAccountResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RemoveAccountResponse) GetApplicationproblemJSON401 ¶
func (r RemoveAccountResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RemoveAccountResponse) GetApplicationproblemJSON503 ¶
func (r RemoveAccountResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (RemoveAccountResponse) GetBody ¶
func (r RemoveAccountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveAccountResponse) Status ¶
func (r RemoveAccountResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveAccountResponse) StatusCode ¶
func (r RemoveAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveAccountResponse401Headers ¶
type RemoveAccountResponse401Headers struct {
WWWAuthenticate *string
}
RemoveAccountResponse401Headers the declared response headers of an HTTP 401 response for RemoveAccount
type RemoveAccountResponseObject ¶
type RemoveAccountResponseObject interface {
VisitRemoveAccountResponse(w http.ResponseWriter) error
}
type RemoveDirectFromChats ¶
type RemoveDirectFromChats struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
}
RemoveDirectFromChats The account and the direct conversation revision selected for removal.
type RemoveDirectFromChats204Response ¶
type RemoveDirectFromChats204Response struct {
}
func (RemoveDirectFromChats204Response) VisitRemoveDirectFromChatsResponse ¶
func (response RemoveDirectFromChats204Response) VisitRemoveDirectFromChatsResponse(w http.ResponseWriter) error
type RemoveDirectFromChats400ApplicationProblemPlusJSONResponse ¶
type RemoveDirectFromChats400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (RemoveDirectFromChats400ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse ¶
func (response RemoveDirectFromChats400ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse(w http.ResponseWriter) error
type RemoveDirectFromChats401ApplicationProblemPlusJSONResponse ¶
type RemoveDirectFromChats401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (RemoveDirectFromChats401ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse ¶
func (response RemoveDirectFromChats401ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse(w http.ResponseWriter) error
type RemoveDirectFromChats404ApplicationProblemPlusJSONResponse ¶
type RemoveDirectFromChats404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RemoveDirectFromChats404ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse ¶
func (response RemoveDirectFromChats404ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse(w http.ResponseWriter) error
type RemoveDirectFromChats409ApplicationProblemPlusJSONResponse ¶
type RemoveDirectFromChats409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (RemoveDirectFromChats409ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse ¶
func (response RemoveDirectFromChats409ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse(w http.ResponseWriter) error
type RemoveDirectFromChats503ApplicationProblemPlusJSONResponse ¶
type RemoveDirectFromChats503ApplicationProblemPlusJSONResponse struct {
}
func (RemoveDirectFromChats503ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse ¶
func (response RemoveDirectFromChats503ApplicationProblemPlusJSONResponse) VisitRemoveDirectFromChatsResponse(w http.ResponseWriter) error
type RemoveDirectFromChatsJSONRequestBody ¶
type RemoveDirectFromChatsJSONRequestBody = RemoveDirectFromChats
RemoveDirectFromChatsJSONRequestBody defines body for RemoveDirectFromChats for application/json ContentType.
type RemoveDirectFromChatsParams ¶
type RemoveDirectFromChatsParams struct {
// IdempotencyKey Stable operation UUID for the direct conversation removal.
IdempotencyKey ID `json:"Idempotency-Key"`
}
RemoveDirectFromChatsParams defines parameters for RemoveDirectFromChats.
type RemoveDirectFromChatsRequestObject ¶
type RemoveDirectFromChatsRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params RemoveDirectFromChatsParams
Body *RemoveDirectFromChatsJSONRequestBody
}
type RemoveDirectFromChatsResponse ¶
type RemoveDirectFromChatsResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *RemoveDirectFromChatsResponse401Headers
}
func ParseRemoveDirectFromChatsResponse ¶
func ParseRemoveDirectFromChatsResponse(rsp *http.Response) (*RemoveDirectFromChatsResponse, error)
ParseRemoveDirectFromChatsResponse parses an HTTP response from a RemoveDirectFromChatsWithResponse call
func (RemoveDirectFromChatsResponse) ContentType ¶
func (r RemoveDirectFromChatsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveDirectFromChatsResponse) GetApplicationproblemJSON400 ¶
func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RemoveDirectFromChatsResponse) GetApplicationproblemJSON401 ¶
func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RemoveDirectFromChatsResponse) GetApplicationproblemJSON404 ¶
func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RemoveDirectFromChatsResponse) GetApplicationproblemJSON409 ¶
func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RemoveDirectFromChatsResponse) GetApplicationproblemJSON503 ¶
func (r RemoveDirectFromChatsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (RemoveDirectFromChatsResponse) GetBody ¶
func (r RemoveDirectFromChatsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveDirectFromChatsResponse) Status ¶
func (r RemoveDirectFromChatsResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveDirectFromChatsResponse) StatusCode ¶
func (r RemoveDirectFromChatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveDirectFromChatsResponse401Headers ¶
type RemoveDirectFromChatsResponse401Headers struct {
WWWAuthenticate *string
}
RemoveDirectFromChatsResponse401Headers the declared response headers of an HTTP 401 response for RemoveDirectFromChats
type RemoveDirectFromChatsResponseObject ¶
type RemoveDirectFromChatsResponseObject interface {
VisitRemoveDirectFromChatsResponse(w http.ResponseWriter) error
}
type RemoveRoomFromChats ¶
type RemoveRoomFromChats struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
}
RemoveRoomFromChats The account and the room conversation revision selected for removal.
type RemoveRoomFromChats204Response ¶
type RemoveRoomFromChats204Response struct {
}
func (RemoveRoomFromChats204Response) VisitRemoveRoomFromChatsResponse ¶
func (response RemoveRoomFromChats204Response) VisitRemoveRoomFromChatsResponse(w http.ResponseWriter) error
type RemoveRoomFromChats400ApplicationProblemPlusJSONResponse ¶
type RemoveRoomFromChats400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (RemoveRoomFromChats400ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse ¶
func (response RemoveRoomFromChats400ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse(w http.ResponseWriter) error
type RemoveRoomFromChats401ApplicationProblemPlusJSONResponse ¶
type RemoveRoomFromChats401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (RemoveRoomFromChats401ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse ¶
func (response RemoveRoomFromChats401ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse(w http.ResponseWriter) error
type RemoveRoomFromChats404ApplicationProblemPlusJSONResponse ¶
type RemoveRoomFromChats404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RemoveRoomFromChats404ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse ¶
func (response RemoveRoomFromChats404ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse(w http.ResponseWriter) error
type RemoveRoomFromChats409ApplicationProblemPlusJSONResponse ¶
type RemoveRoomFromChats409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (RemoveRoomFromChats409ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse ¶
func (response RemoveRoomFromChats409ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse(w http.ResponseWriter) error
type RemoveRoomFromChats503ApplicationProblemPlusJSONResponse ¶
type RemoveRoomFromChats503ApplicationProblemPlusJSONResponse struct {
}
func (RemoveRoomFromChats503ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse ¶
func (response RemoveRoomFromChats503ApplicationProblemPlusJSONResponse) VisitRemoveRoomFromChatsResponse(w http.ResponseWriter) error
type RemoveRoomFromChatsJSONRequestBody ¶
type RemoveRoomFromChatsJSONRequestBody = RemoveRoomFromChats
RemoveRoomFromChatsJSONRequestBody defines body for RemoveRoomFromChats for application/json ContentType.
type RemoveRoomFromChatsParams ¶
type RemoveRoomFromChatsParams struct {
// IdempotencyKey Stable operation UUID for the removal.
IdempotencyKey ID `json:"Idempotency-Key"`
}
RemoveRoomFromChatsParams defines parameters for RemoveRoomFromChats.
type RemoveRoomFromChatsRequestObject ¶
type RemoveRoomFromChatsRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params RemoveRoomFromChatsParams
Body *RemoveRoomFromChatsJSONRequestBody
}
type RemoveRoomFromChatsResponse ¶
type RemoveRoomFromChatsResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *RemoveRoomFromChatsResponse401Headers
}
func ParseRemoveRoomFromChatsResponse ¶
func ParseRemoveRoomFromChatsResponse(rsp *http.Response) (*RemoveRoomFromChatsResponse, error)
ParseRemoveRoomFromChatsResponse parses an HTTP response from a RemoveRoomFromChatsWithResponse call
func (RemoveRoomFromChatsResponse) ContentType ¶
func (r RemoveRoomFromChatsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveRoomFromChatsResponse) GetApplicationproblemJSON400 ¶
func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RemoveRoomFromChatsResponse) GetApplicationproblemJSON401 ¶
func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RemoveRoomFromChatsResponse) GetApplicationproblemJSON404 ¶
func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RemoveRoomFromChatsResponse) GetApplicationproblemJSON409 ¶
func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RemoveRoomFromChatsResponse) GetApplicationproblemJSON503 ¶
func (r RemoveRoomFromChatsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (RemoveRoomFromChatsResponse) GetBody ¶
func (r RemoveRoomFromChatsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveRoomFromChatsResponse) Status ¶
func (r RemoveRoomFromChatsResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveRoomFromChatsResponse) StatusCode ¶
func (r RemoveRoomFromChatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveRoomFromChatsResponse401Headers ¶
type RemoveRoomFromChatsResponse401Headers struct {
WWWAuthenticate *string
}
RemoveRoomFromChatsResponse401Headers the declared response headers of an HTTP 401 response for RemoveRoomFromChats
type RemoveRoomFromChatsResponseObject ¶
type RemoveRoomFromChatsResponseObject interface {
VisitRemoveRoomFromChatsResponse(w http.ResponseWriter) error
}
type ReplyExcerptSHA256 ¶
type ReplyExcerptSHA256 = string
ReplyExcerptSHA256 SHA-256 of the exact UTF-8 quote excerpt, at most the first 512 Unicode code points of the displayed source body. Optional on reviewed reply mutations and requires expectedReplyRevisionId. The engine preserves it in the original acceptance when supplied.
Example: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestRoomArchive200JSONResponse ¶
type RequestRoomArchive200JSONResponse RoomArchiveResult
func (RequestRoomArchive200JSONResponse) VisitRequestRoomArchiveResponse ¶
func (response RequestRoomArchive200JSONResponse) VisitRequestRoomArchiveResponse(w http.ResponseWriter) error
type RequestRoomArchive400ApplicationProblemPlusJSONResponse ¶
type RequestRoomArchive400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (RequestRoomArchive400ApplicationProblemPlusJSONResponse) VisitRequestRoomArchiveResponse ¶
func (response RequestRoomArchive400ApplicationProblemPlusJSONResponse) VisitRequestRoomArchiveResponse(w http.ResponseWriter) error
type RequestRoomArchive401ApplicationProblemPlusJSONResponse ¶
type RequestRoomArchive401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (RequestRoomArchive401ApplicationProblemPlusJSONResponse) VisitRequestRoomArchiveResponse ¶
func (response RequestRoomArchive401ApplicationProblemPlusJSONResponse) VisitRequestRoomArchiveResponse(w http.ResponseWriter) error
type RequestRoomArchive404ApplicationProblemPlusJSONResponse ¶
type RequestRoomArchive404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RequestRoomArchive404ApplicationProblemPlusJSONResponse) VisitRequestRoomArchiveResponse ¶
func (response RequestRoomArchive404ApplicationProblemPlusJSONResponse) VisitRequestRoomArchiveResponse(w http.ResponseWriter) error
type RequestRoomArchive503ApplicationProblemPlusJSONResponse ¶
type RequestRoomArchive503ApplicationProblemPlusJSONResponse struct {
}
func (RequestRoomArchive503ApplicationProblemPlusJSONResponse) VisitRequestRoomArchiveResponse ¶
func (response RequestRoomArchive503ApplicationProblemPlusJSONResponse) VisitRequestRoomArchiveResponse(w http.ResponseWriter) error
type RequestRoomArchiveJSONRequestBody ¶
type RequestRoomArchiveJSONRequestBody = RoomArchiveRequest
RequestRoomArchiveJSONRequestBody defines body for RequestRoomArchive for application/json ContentType.
type RequestRoomArchiveRequestObject ¶
type RequestRoomArchiveRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Body *RequestRoomArchiveJSONRequestBody
}
type RequestRoomArchiveResponse ¶
type RequestRoomArchiveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomArchiveResult
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *RequestRoomArchiveResponse401Headers
}
func ParseRequestRoomArchiveResponse ¶
func ParseRequestRoomArchiveResponse(rsp *http.Response) (*RequestRoomArchiveResponse, error)
ParseRequestRoomArchiveResponse parses an HTTP response from a RequestRoomArchiveWithResponse call
func (RequestRoomArchiveResponse) ContentType ¶
func (r RequestRoomArchiveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RequestRoomArchiveResponse) GetApplicationproblemJSON400 ¶
func (r RequestRoomArchiveResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RequestRoomArchiveResponse) GetApplicationproblemJSON401 ¶
func (r RequestRoomArchiveResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RequestRoomArchiveResponse) GetApplicationproblemJSON404 ¶
func (r RequestRoomArchiveResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RequestRoomArchiveResponse) GetApplicationproblemJSON503 ¶
func (r RequestRoomArchiveResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (RequestRoomArchiveResponse) GetBody ¶
func (r RequestRoomArchiveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RequestRoomArchiveResponse) GetJSON200 ¶
func (r RequestRoomArchiveResponse) GetJSON200() *RoomArchiveResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RequestRoomArchiveResponse) Status ¶
func (r RequestRoomArchiveResponse) Status() string
Status returns HTTPResponse.Status
func (RequestRoomArchiveResponse) StatusCode ¶
func (r RequestRoomArchiveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestRoomArchiveResponse401Headers ¶
type RequestRoomArchiveResponse401Headers struct {
WWWAuthenticate *string
}
RequestRoomArchiveResponse401Headers the declared response headers of an HTTP 401 response for RequestRoomArchive
type RequestRoomArchiveResponseObject ¶
type RequestRoomArchiveResponseObject interface {
VisitRequestRoomArchiveResponse(w http.ResponseWriter) error
}
type RequestVideoThumbnail200JSONResponse ¶
type RequestVideoThumbnail200JSONResponse VideoThumbnail
func (RequestVideoThumbnail200JSONResponse) VisitRequestVideoThumbnailResponse ¶
func (response RequestVideoThumbnail200JSONResponse) VisitRequestVideoThumbnailResponse(w http.ResponseWriter) error
type RequestVideoThumbnail202JSONResponse ¶
type RequestVideoThumbnail202JSONResponse VideoThumbnail
func (RequestVideoThumbnail202JSONResponse) VisitRequestVideoThumbnailResponse ¶
func (response RequestVideoThumbnail202JSONResponse) VisitRequestVideoThumbnailResponse(w http.ResponseWriter) error
type RequestVideoThumbnail400ApplicationProblemPlusJSONResponse ¶
type RequestVideoThumbnail400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (RequestVideoThumbnail400ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse ¶
func (response RequestVideoThumbnail400ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse(w http.ResponseWriter) error
type RequestVideoThumbnail401ApplicationProblemPlusJSONResponse ¶
type RequestVideoThumbnail401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (RequestVideoThumbnail401ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse ¶
func (response RequestVideoThumbnail401ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse(w http.ResponseWriter) error
type RequestVideoThumbnail404ApplicationProblemPlusJSONResponse ¶
type RequestVideoThumbnail404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RequestVideoThumbnail404ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse ¶
func (response RequestVideoThumbnail404ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse(w http.ResponseWriter) error
type RequestVideoThumbnail409ApplicationProblemPlusJSONResponse ¶
type RequestVideoThumbnail409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (RequestVideoThumbnail409ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse ¶
func (response RequestVideoThumbnail409ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse(w http.ResponseWriter) error
type RequestVideoThumbnail503ApplicationProblemPlusJSONResponse ¶
type RequestVideoThumbnail503ApplicationProblemPlusJSONResponse struct {
}
func (RequestVideoThumbnail503ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse ¶
func (response RequestVideoThumbnail503ApplicationProblemPlusJSONResponse) VisitRequestVideoThumbnailResponse(w http.ResponseWriter) error
type RequestVideoThumbnailRequestObject ¶
type RequestVideoThumbnailRequestObject struct {
ItemId ID `json:"itemId"`
}
type RequestVideoThumbnailResponse ¶
type RequestVideoThumbnailResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VideoThumbnail
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *VideoThumbnail
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *RequestVideoThumbnailResponse401Headers
}
func ParseRequestVideoThumbnailResponse ¶
func ParseRequestVideoThumbnailResponse(rsp *http.Response) (*RequestVideoThumbnailResponse, error)
ParseRequestVideoThumbnailResponse parses an HTTP response from a RequestVideoThumbnailWithResponse call
func (RequestVideoThumbnailResponse) ContentType ¶
func (r RequestVideoThumbnailResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RequestVideoThumbnailResponse) GetApplicationproblemJSON400 ¶
func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RequestVideoThumbnailResponse) GetApplicationproblemJSON401 ¶
func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (RequestVideoThumbnailResponse) GetApplicationproblemJSON404 ¶
func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RequestVideoThumbnailResponse) GetApplicationproblemJSON409 ¶
func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RequestVideoThumbnailResponse) GetApplicationproblemJSON503 ¶
func (r RequestVideoThumbnailResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (RequestVideoThumbnailResponse) GetBody ¶
func (r RequestVideoThumbnailResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RequestVideoThumbnailResponse) GetJSON200 ¶
func (r RequestVideoThumbnailResponse) GetJSON200() *VideoThumbnail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RequestVideoThumbnailResponse) GetJSON202 ¶
func (r RequestVideoThumbnailResponse) GetJSON202() *VideoThumbnail
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (RequestVideoThumbnailResponse) Status ¶
func (r RequestVideoThumbnailResponse) Status() string
Status returns HTTPResponse.Status
func (RequestVideoThumbnailResponse) StatusCode ¶
func (r RequestVideoThumbnailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestVideoThumbnailResponse401Headers ¶
type RequestVideoThumbnailResponse401Headers struct {
WWWAuthenticate *string
}
RequestVideoThumbnailResponse401Headers the declared response headers of an HTTP 401 response for RequestVideoThumbnail
type RequestVideoThumbnailResponseObject ¶
type RequestVideoThumbnailResponseObject interface {
VisitRequestVideoThumbnailResponse(w http.ResponseWriter) error
}
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ResetEngineData204Response ¶
type ResetEngineData204Response struct {
}
func (ResetEngineData204Response) VisitResetEngineDataResponse ¶
func (response ResetEngineData204Response) VisitResetEngineDataResponse(w http.ResponseWriter) error
type ResetEngineData400ApplicationProblemPlusJSONResponse ¶
type ResetEngineData400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ResetEngineData400ApplicationProblemPlusJSONResponse) VisitResetEngineDataResponse ¶
func (response ResetEngineData400ApplicationProblemPlusJSONResponse) VisitResetEngineDataResponse(w http.ResponseWriter) error
type ResetEngineData401ApplicationProblemPlusJSONResponse ¶
type ResetEngineData401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ResetEngineData401ApplicationProblemPlusJSONResponse) VisitResetEngineDataResponse ¶
func (response ResetEngineData401ApplicationProblemPlusJSONResponse) VisitResetEngineDataResponse(w http.ResponseWriter) error
type ResetEngineData409ApplicationProblemPlusJSONResponse ¶
type ResetEngineData409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (ResetEngineData409ApplicationProblemPlusJSONResponse) VisitResetEngineDataResponse ¶
func (response ResetEngineData409ApplicationProblemPlusJSONResponse) VisitResetEngineDataResponse(w http.ResponseWriter) error
type ResetEngineData503ApplicationProblemPlusJSONResponse ¶
type ResetEngineData503ApplicationProblemPlusJSONResponse struct {
}
func (ResetEngineData503ApplicationProblemPlusJSONResponse) VisitResetEngineDataResponse ¶
func (response ResetEngineData503ApplicationProblemPlusJSONResponse) VisitResetEngineDataResponse(w http.ResponseWriter) error
type ResetEngineDataJSONBody ¶
type ResetEngineDataJSONBody struct {
// Confirmation Example: delete
Confirmation ResetEngineDataJSONBodyConfirmation `json:"confirmation"`
// EngineId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
EngineId ID `json:"engineId"`
}
ResetEngineDataJSONBody defines parameters for ResetEngineData.
type ResetEngineDataJSONBodyConfirmation ¶
type ResetEngineDataJSONBodyConfirmation string
ResetEngineDataJSONBodyConfirmation defines parameters for ResetEngineData.
const (
Delete ResetEngineDataJSONBodyConfirmation = "delete"
)
Defines values for ResetEngineDataJSONBodyConfirmation.
func (ResetEngineDataJSONBodyConfirmation) Valid ¶
func (e ResetEngineDataJSONBodyConfirmation) Valid() bool
Valid indicates whether the value is a known member of the ResetEngineDataJSONBodyConfirmation enum.
type ResetEngineDataJSONRequestBody ¶
type ResetEngineDataJSONRequestBody ResetEngineDataJSONBody
ResetEngineDataJSONRequestBody defines body for ResetEngineData for application/json ContentType.
type ResetEngineDataRequestObject ¶
type ResetEngineDataRequestObject struct {
Body *ResetEngineDataJSONRequestBody
}
type ResetEngineDataResponse ¶
type ResetEngineDataResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ResetEngineDataResponse401Headers
}
func ParseResetEngineDataResponse ¶
func ParseResetEngineDataResponse(rsp *http.Response) (*ResetEngineDataResponse, error)
ParseResetEngineDataResponse parses an HTTP response from a ResetEngineDataWithResponse call
func (ResetEngineDataResponse) ContentType ¶
func (r ResetEngineDataResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResetEngineDataResponse) GetApplicationproblemJSON400 ¶
func (r ResetEngineDataResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ResetEngineDataResponse) GetApplicationproblemJSON401 ¶
func (r ResetEngineDataResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ResetEngineDataResponse) GetApplicationproblemJSON409 ¶
func (r ResetEngineDataResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (ResetEngineDataResponse) GetApplicationproblemJSON503 ¶
func (r ResetEngineDataResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ResetEngineDataResponse) GetBody ¶
func (r ResetEngineDataResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResetEngineDataResponse) Status ¶
func (r ResetEngineDataResponse) Status() string
Status returns HTTPResponse.Status
func (ResetEngineDataResponse) StatusCode ¶
func (r ResetEngineDataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetEngineDataResponse401Headers ¶
type ResetEngineDataResponse401Headers struct {
WWWAuthenticate *string
}
ResetEngineDataResponse401Headers the declared response headers of an HTTP 401 response for ResetEngineData
type ResetEngineDataResponseObject ¶
type ResetEngineDataResponseObject interface {
VisitResetEngineDataResponse(w http.ResponseWriter) error
}
type ResolveDraftLinkPreview200JSONResponse ¶
type ResolveDraftLinkPreview200JSONResponse DraftLinkPreview
func (ResolveDraftLinkPreview200JSONResponse) VisitResolveDraftLinkPreviewResponse ¶
func (response ResolveDraftLinkPreview200JSONResponse) VisitResolveDraftLinkPreviewResponse(w http.ResponseWriter) error
type ResolveDraftLinkPreview204Response ¶
type ResolveDraftLinkPreview204Response struct {
}
func (ResolveDraftLinkPreview204Response) VisitResolveDraftLinkPreviewResponse ¶
func (response ResolveDraftLinkPreview204Response) VisitResolveDraftLinkPreviewResponse(w http.ResponseWriter) error
type ResolveDraftLinkPreview400ApplicationProblemPlusJSONResponse ¶
type ResolveDraftLinkPreview400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (ResolveDraftLinkPreview400ApplicationProblemPlusJSONResponse) VisitResolveDraftLinkPreviewResponse ¶
func (response ResolveDraftLinkPreview400ApplicationProblemPlusJSONResponse) VisitResolveDraftLinkPreviewResponse(w http.ResponseWriter) error
type ResolveDraftLinkPreview401ApplicationProblemPlusJSONResponse ¶
type ResolveDraftLinkPreview401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (ResolveDraftLinkPreview401ApplicationProblemPlusJSONResponse) VisitResolveDraftLinkPreviewResponse ¶
func (response ResolveDraftLinkPreview401ApplicationProblemPlusJSONResponse) VisitResolveDraftLinkPreviewResponse(w http.ResponseWriter) error
type ResolveDraftLinkPreview503ApplicationProblemPlusJSONResponse ¶
type ResolveDraftLinkPreview503ApplicationProblemPlusJSONResponse struct {
}
func (ResolveDraftLinkPreview503ApplicationProblemPlusJSONResponse) VisitResolveDraftLinkPreviewResponse ¶
func (response ResolveDraftLinkPreview503ApplicationProblemPlusJSONResponse) VisitResolveDraftLinkPreviewResponse(w http.ResponseWriter) error
type ResolveDraftLinkPreviewJSONRequestBody ¶
type ResolveDraftLinkPreviewJSONRequestBody = DraftLinkPreviewRequest
ResolveDraftLinkPreviewJSONRequestBody defines body for ResolveDraftLinkPreview for application/json ContentType.
type ResolveDraftLinkPreviewRequestObject ¶
type ResolveDraftLinkPreviewRequestObject struct {
Body *ResolveDraftLinkPreviewJSONRequestBody
}
type ResolveDraftLinkPreviewResponse ¶
type ResolveDraftLinkPreviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DraftLinkPreview
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *ResolveDraftLinkPreviewResponse401Headers
}
func ParseResolveDraftLinkPreviewResponse ¶
func ParseResolveDraftLinkPreviewResponse(rsp *http.Response) (*ResolveDraftLinkPreviewResponse, error)
ParseResolveDraftLinkPreviewResponse parses an HTTP response from a ResolveDraftLinkPreviewWithResponse call
func (ResolveDraftLinkPreviewResponse) ContentType ¶
func (r ResolveDraftLinkPreviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResolveDraftLinkPreviewResponse) GetApplicationproblemJSON400 ¶
func (r ResolveDraftLinkPreviewResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ResolveDraftLinkPreviewResponse) GetApplicationproblemJSON401 ¶
func (r ResolveDraftLinkPreviewResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ResolveDraftLinkPreviewResponse) GetApplicationproblemJSON503 ¶
func (r ResolveDraftLinkPreviewResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (ResolveDraftLinkPreviewResponse) GetBody ¶
func (r ResolveDraftLinkPreviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResolveDraftLinkPreviewResponse) GetJSON200 ¶
func (r ResolveDraftLinkPreviewResponse) GetJSON200() *DraftLinkPreview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResolveDraftLinkPreviewResponse) Status ¶
func (r ResolveDraftLinkPreviewResponse) Status() string
Status returns HTTPResponse.Status
func (ResolveDraftLinkPreviewResponse) StatusCode ¶
func (r ResolveDraftLinkPreviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResolveDraftLinkPreviewResponse401Headers ¶
type ResolveDraftLinkPreviewResponse401Headers struct {
WWWAuthenticate *string
}
ResolveDraftLinkPreviewResponse401Headers the declared response headers of an HTTP 401 response for ResolveDraftLinkPreview
type ResolveDraftLinkPreviewResponseObject ¶
type ResolveDraftLinkPreviewResponseObject interface {
VisitResolveDraftLinkPreviewResponse(w http.ResponseWriter) error
}
type RetentionDays ¶
type RetentionDays = int
RetentionDays Age in days. Zero means unlimited.
Example: 180
type RetentionRevision ¶
type RetentionRevision = string
RetentionRevision Compare-and-set token from the most recent retention snapshot.
Example: 1
type RetractMessage ¶
type RetractMessage struct {
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
}
RetractMessage Request retraction for the reviewed retained message revision.
type RetractMessage200JSONResponse ¶
type RetractMessage200JSONResponse Message
func (RetractMessage200JSONResponse) VisitRetractMessageResponse ¶
func (response RetractMessage200JSONResponse) VisitRetractMessageResponse(w http.ResponseWriter) error
type RetractMessage400ApplicationProblemPlusJSONResponse ¶
type RetractMessage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (RetractMessage400ApplicationProblemPlusJSONResponse) VisitRetractMessageResponse ¶
func (response RetractMessage400ApplicationProblemPlusJSONResponse) VisitRetractMessageResponse(w http.ResponseWriter) error
type RetractMessage404ApplicationProblemPlusJSONResponse ¶
type RetractMessage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (RetractMessage404ApplicationProblemPlusJSONResponse) VisitRetractMessageResponse ¶
func (response RetractMessage404ApplicationProblemPlusJSONResponse) VisitRetractMessageResponse(w http.ResponseWriter) error
type RetractMessage409ApplicationProblemPlusJSONResponse ¶
type RetractMessage409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (RetractMessage409ApplicationProblemPlusJSONResponse) VisitRetractMessageResponse ¶
func (response RetractMessage409ApplicationProblemPlusJSONResponse) VisitRetractMessageResponse(w http.ResponseWriter) error
type RetractMessage503ApplicationProblemPlusJSONResponse ¶
type RetractMessage503ApplicationProblemPlusJSONResponse struct {
}
func (RetractMessage503ApplicationProblemPlusJSONResponse) VisitRetractMessageResponse ¶
func (response RetractMessage503ApplicationProblemPlusJSONResponse) VisitRetractMessageResponse(w http.ResponseWriter) error
type RetractMessageJSONRequestBody ¶
type RetractMessageJSONRequestBody = RetractMessage
RetractMessageJSONRequestBody defines body for RetractMessage for application/json ContentType.
type RetractMessageRequestObject ¶
type RetractMessageRequestObject struct {
MessageId MessageID `json:"messageId"`
Body *RetractMessageJSONRequestBody
}
type RetractMessageResponse ¶
type RetractMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Message
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
}
func ParseRetractMessageResponse ¶
func ParseRetractMessageResponse(rsp *http.Response) (*RetractMessageResponse, error)
ParseRetractMessageResponse parses an HTTP response from a RetractMessageWithResponse call
func (RetractMessageResponse) ContentType ¶
func (r RetractMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RetractMessageResponse) GetApplicationproblemJSON400 ¶
func (r RetractMessageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RetractMessageResponse) GetApplicationproblemJSON404 ¶
func (r RetractMessageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (RetractMessageResponse) GetApplicationproblemJSON409 ¶
func (r RetractMessageResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RetractMessageResponse) GetApplicationproblemJSON503 ¶
func (r RetractMessageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (RetractMessageResponse) GetBody ¶
func (r RetractMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RetractMessageResponse) GetJSON200 ¶
func (r RetractMessageResponse) GetJSON200() *Message
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RetractMessageResponse) Status ¶
func (r RetractMessageResponse) Status() string
Status returns HTTPResponse.Status
func (RetractMessageResponse) StatusCode ¶
func (r RetractMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetractMessageResponseObject ¶
type RetractMessageResponseObject interface {
VisitRetractMessageResponse(w http.ResponseWriter) error
}
type RoomAffiliation ¶
type RoomAffiliation string
RoomAffiliation Persistent access level in a room.
const ( RoomAffiliationAdmin RoomAffiliation = "admin" RoomAffiliationMember RoomAffiliation = "member" RoomAffiliationNone RoomAffiliation = "none" RoomAffiliationOutcast RoomAffiliation = "outcast" RoomAffiliationOwner RoomAffiliation = "owner" )
Defines values for RoomAffiliation.
func (RoomAffiliation) Valid ¶
func (e RoomAffiliation) Valid() bool
Valid indicates whether the value is a known member of the RoomAffiliation enum.
type RoomArchive ¶
type RoomArchive struct {
// Availability Example: supported
Availability RoomArchiveAvailability `json:"availability"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// InitialComplete Example: false
InitialComplete bool `json:"initialComplete"`
// Mode Automatic recovery policy for older room history.
//
// Example: gradual
Mode RoomArchiveMode `json:"mode"`
// OlderComplete Example: false
OlderComplete bool `json:"olderComplete"`
// OldestCoveredAt Oldest confirmed boundary of continuous recovered history.
//
// Example: 2026-11-08T12:00:00Z
OldestCoveredAt *time.Time `json:"oldestCoveredAt,omitempty"`
// TextSearch Example: supported
TextSearch RoomArchiveTextSearch `json:"textSearch"`
// WindowEnd Example: 2026-11-08T12:00:00Z
WindowEnd *time.Time `json:"windowEnd,omitempty"`
// WindowStart Example: 2026-11-08T12:00:00Z
WindowStart *time.Time `json:"windowStart,omitempty"`
}
RoomArchive Retained recovery progress for one room. Coverage describes archive pages, not isolated search hits.
type RoomArchiveAvailability ¶
type RoomArchiveAvailability string
RoomArchiveAvailability Example: supported
const ( RoomArchiveAvailabilitySupported RoomArchiveAvailability = "supported" RoomArchiveAvailabilityUnknown RoomArchiveAvailability = "unknown" RoomArchiveAvailabilityUnsupported RoomArchiveAvailability = "unsupported" )
Defines values for RoomArchiveAvailability.
func (RoomArchiveAvailability) Valid ¶
func (e RoomArchiveAvailability) Valid() bool
Valid indicates whether the value is a known member of the RoomArchiveAvailability enum.
type RoomArchiveMode ¶
type RoomArchiveMode string
RoomArchiveMode Automatic recovery policy for older room history.
Example: gradual
const ( Gradual RoomArchiveMode = "gradual" OnDemand RoomArchiveMode = "on_demand" )
Defines values for RoomArchiveMode.
func (RoomArchiveMode) Valid ¶
func (e RoomArchiveMode) Valid() bool
Valid indicates whether the value is a known member of the RoomArchiveMode enum.
type RoomArchiveRequest ¶
type RoomArchiveRequest struct {
// Action Example: focus
Action RoomArchiveRequestAction `json:"action"`
// Cursor Opaque position scoped to this room and search term.
//
// Example: opaque-page-position
Cursor *string `json:"cursor,omitempty"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId *ID `json:"messageId,omitempty"`
// Query Example: conference
Query *string `json:"query,omitempty"`
}
RoomArchiveRequest One user-initiated room archive action.
type RoomArchiveRequestAction ¶
type RoomArchiveRequestAction string
RoomArchiveRequestAction Example: focus
const ( RoomArchiveRequestActionContext RoomArchiveRequestAction = "context" RoomArchiveRequestActionFocus RoomArchiveRequestAction = "focus" RoomArchiveRequestActionOlder RoomArchiveRequestAction = "older" RoomArchiveRequestActionSearch RoomArchiveRequestAction = "search" )
Defines values for RoomArchiveRequestAction.
func (RoomArchiveRequestAction) Valid ¶
func (e RoomArchiveRequestAction) Valid() bool
Valid indicates whether the value is a known member of the RoomArchiveRequestAction enum.
type RoomArchiveResult ¶
type RoomArchiveResult struct {
// Archive Retained recovery progress for one room. Coverage describes archive pages, not isolated search hits.
Archive RoomArchive `json:"archive"`
// Items Example: []
Items []Message `json:"items"`
// NextCursor Next bounded search page for the same room and term.
//
// Example: opaque-page-position
NextCursor *string `json:"nextCursor,omitempty"`
// Outcome Example: stored
Outcome RoomArchiveResultOutcome `json:"outcome"`
}
RoomArchiveResult Outcome of the requested archive operation.
type RoomArchiveResultOutcome ¶
type RoomArchiveResultOutcome string
RoomArchiveResultOutcome Example: stored
const ( RoomArchiveResultOutcomeComplete RoomArchiveResultOutcome = "complete" RoomArchiveResultOutcomeStored RoomArchiveResultOutcome = "stored" RoomArchiveResultOutcomeUnsupported RoomArchiveResultOutcome = "unsupported" )
Defines values for RoomArchiveResultOutcome.
func (RoomArchiveResultOutcome) Valid ¶
func (e RoomArchiveResultOutcome) Valid() bool
Valid indicates whether the value is a known member of the RoomArchiveResultOutcome enum.
type RoomArchiveTextSearch ¶
type RoomArchiveTextSearch string
RoomArchiveTextSearch Example: supported
const ( RoomArchiveTextSearchSupported RoomArchiveTextSearch = "supported" RoomArchiveTextSearchUnknown RoomArchiveTextSearch = "unknown" RoomArchiveTextSearchUnsupported RoomArchiveTextSearch = "unsupported" )
Defines values for RoomArchiveTextSearch.
func (RoomArchiveTextSearch) Valid ¶
func (e RoomArchiveTextSearch) Valid() bool
Valid indicates whether the value is a known member of the RoomArchiveTextSearch enum.
type RoomDirectory ¶
type RoomDirectory struct {
Rooms []RoomDirectoryItem `json:"rooms"`
State RoomDirectoryState `json:"state"`
}
RoomDirectory A bounded listing of public rooms advertised by the selected XMPP services.
Example: {"rooms":[],"state":"known"}
type RoomDirectoryItem ¶
type RoomDirectoryItem struct {
Address string `json:"address"`
Name *string `json:"name,omitempty"`
}
RoomDirectoryItem A public room address and its published display name.
type RoomDirectoryState ¶
type RoomDirectoryState string
RoomDirectoryState defines model for RoomDirectory.State.
const ( RoomDirectoryStateKnown RoomDirectoryState = "known" RoomDirectoryStateNotConnected RoomDirectoryState = "not_connected" RoomDirectoryStatePartial RoomDirectoryState = "partial" )
Defines values for RoomDirectoryState.
func (RoomDirectoryState) Valid ¶
func (e RoomDirectoryState) Valid() bool
Valid indicates whether the value is a known member of the RoomDirectoryState enum.
type RoomManagedOccupant ¶
type RoomManagedOccupant struct {
// Affiliation Persistent access level in a room.
Affiliation RoomAffiliation `json:"affiliation"`
Affiliations []RoomAffiliation `json:"affiliations"`
// AvatarHash Cached profile image when the room disclosed a verified identity to this account.
AvatarHash *string `json:"avatarHash,omitempty"`
// Id Opaque target for this occupant's current presence.
Id string `json:"id"`
Nickname string `json:"nickname"`
// Role Temporary role of a current occupant. None removes the occupant.
Role RoomRole `json:"role"`
Roles []RoomRole `json:"roles"`
// Self The joined account's own occupant. No participant actions apply.
Self *bool `json:"self,omitempty"`
}
RoomManagedOccupant A visible occupant with the actions currently available for that occupant.
type RoomManagement ¶
type RoomManagement struct {
Actions []RoomManagementAction `json:"actions"`
// Affiliations Only addresses returned by the explicitly requested provider list.
Affiliations []string `json:"affiliations"`
// BannedNicknames Room nicknames observed when this account banned participants by their presence, keyed by addresses still returned by the room's ban list.
BannedNicknames *map[string]string `json:"bannedNicknames,omitempty"`
Occupants []RoomManagedOccupant `json:"occupants"`
// Revision Opaque observation revision. Recheck after a room or occupant change.
Revision *string `json:"revision,omitempty"`
State RoomManagementState `json:"state"`
}
RoomManagement Actions and occupants observed in the current joined room session.
Example: {"actions":[],"affiliations":[],"occupants":[],"state":"not_joined"}
type RoomManagementAction ¶
type RoomManagementAction string
RoomManagementAction Room-scoped action subject to current provider permissions.
const ( Affiliation RoomManagementAction = "affiliation" Destroy RoomManagementAction = "destroy" Invite RoomManagementAction = "invite" ModerateMessage RoomManagementAction = "moderate_message" RemoveAvatar RoomManagementAction = "remove_avatar" Rename RoomManagementAction = "rename" Role RoomManagementAction = "role" SetAvatar RoomManagementAction = "set_avatar" Topic RoomManagementAction = "topic" UpdateDetails RoomManagementAction = "update_details" )
Defines values for RoomManagementAction.
func (RoomManagementAction) Valid ¶
func (e RoomManagementAction) Valid() bool
Valid indicates whether the value is a known member of the RoomManagementAction enum.
type RoomManagementResult ¶
type RoomManagementResult struct {
State RoomManagementResultState `json:"state"`
}
RoomManagementResult The recorded result of a room command or its previous attempt.
Example: {"state":"confirmed"}
type RoomManagementResultState ¶
type RoomManagementResultState string
RoomManagementResultState defines model for RoomManagementResult.State.
const ( RoomManagementResultStateConfirmed RoomManagementResultState = "confirmed" RoomManagementResultStateDenied RoomManagementResultState = "denied" RoomManagementResultStateNameConfirmed RoomManagementResultState = "name_confirmed" RoomManagementResultStateStale RoomManagementResultState = "stale" RoomManagementResultStateSubmitted RoomManagementResultState = "submitted" RoomManagementResultStateUnknown RoomManagementResultState = "unknown" RoomManagementResultStateUnsupported RoomManagementResultState = "unsupported" )
Defines values for RoomManagementResultState.
func (RoomManagementResultState) Valid ¶
func (e RoomManagementResultState) Valid() bool
Valid indicates whether the value is a known member of the RoomManagementResultState enum.
type RoomManagementState ¶
type RoomManagementState string
RoomManagementState defines model for RoomManagement.State.
const ( RoomManagementStateAvailable RoomManagementState = "available" RoomManagementStateNotConnected RoomManagementState = "not_connected" RoomManagementStateNotJoined RoomManagementState = "not_joined" )
Defines values for RoomManagementState.
func (RoomManagementState) Valid ¶
func (e RoomManagementState) Valid() bool
Valid indicates whether the value is a known member of the RoomManagementState enum.
type RoomOmemo ¶
type RoomOmemo struct {
// Address Bare room address.
//
// Example: team@rooms.example.org
Address string `json:"address"`
// Eligible The joined room is members-only and non-anonymous.
//
// Example: true
Eligible bool `json:"eligible"`
// Enabled Saved room encryption preference.
//
// Example: true
Enabled bool `json:"enabled"`
// Members Current affiliated account addresses.
//
// Example: ["alice@example.org"]
Members []string `json:"members"`
}
RoomOmemo Room policy, verified configuration and complete affiliation list when available.
Example: {"address":"team@rooms.example.org","eligible":true,"enabled":true,"members":["alice@example.org"]}
type RoomParticipants ¶
type RoomParticipants struct {
// Participants Example: [{"affiliation":"owner","nickname":"Marina","role":"moderator","self":true}]
Participants []RoomSessionParticipant `json:"participants"`
// State Example: available
State RoomParticipantsState `json:"state"`
// Truncated More participants were observed than the session list retains.
//
// Example: true
Truncated bool `json:"truncated"`
}
RoomParticipants Read-only snapshot of occupants observed by this joined account.
type RoomParticipantsState ¶
type RoomParticipantsState string
RoomParticipantsState Example: available
const ( RoomParticipantsStateAvailable RoomParticipantsState = "available" RoomParticipantsStateNotJoined RoomParticipantsState = "not_joined" )
Defines values for RoomParticipantsState.
func (RoomParticipantsState) Valid ¶
func (e RoomParticipantsState) Valid() bool
Valid indicates whether the value is a known member of the RoomParticipantsState enum.
type RoomPreview ¶
type RoomPreview struct {
// Address Canonical bare room address.
Address string `json:"address"`
// AvatarHash Content hash for a validated PNG thumbnail available through the avatar resource.
AvatarHash *string `json:"avatarHash,omitempty"`
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
OccupantCount *int `json:"occupantCount,omitempty"`
State RoomPreviewState `json:"state"`
Topic *string `json:"topic,omitempty"`
}
RoomPreview Published room information available to the selected XMPP account before entry.
Example: {"address":"garden@rooms.example.org","name":"Garden","state":"known"}
type RoomPreviewState ¶
type RoomPreviewState string
RoomPreviewState defines model for RoomPreview.State.
const ( RoomPreviewStateKnown RoomPreviewState = "known" RoomPreviewStateNotConnected RoomPreviewState = "not_connected" RoomPreviewStateNotFound RoomPreviewState = "not_found" )
Defines values for RoomPreviewState.
func (RoomPreviewState) Valid ¶
func (e RoomPreviewState) Valid() bool
Valid indicates whether the value is a known member of the RoomPreviewState enum.
type RoomRole ¶
type RoomRole string
RoomRole Temporary role of a current occupant. None removes the occupant.
type RoomSession ¶
type RoomSession struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// Active This engine has a durable active join intent. False after explicit leave or revoked access.
Active bool `json:"active"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// Creating Creation is pending confirmation from the room service.
Creating *bool `json:"creating,omitempty"`
// CreationError More specific reason when the requested creation could not be confirmed.
CreationError *RoomSessionCreationError `json:"creationError,omitempty"`
// Destroyed The server confirmed the room was deleted.
Destroyed *bool `json:"destroyed,omitempty"`
// IntentId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
IntentId *ID `json:"intentId,omitempty"`
// IntentRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
IntentRevisionId *ID `json:"intentRevisionId,omitempty"`
LastErrorCode *RoomSessionLastErrorCode `json:"lastErrorCode,omitempty"`
// Nickname Selected room nickname when known.
Nickname *string `json:"nickname,omitempty"`
State RoomSessionState `json:"state"`
// Status Account-scoped room status as observed by this engine.
Status *RoomStatus `json:"status,omitempty"`
UpdatedAt time.Time `json:"updatedAt"`
}
RoomSession Own engine's room intent and observed session, distinct from account connectivity and public occupant discovery.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","active":false,"conversationId":"019a5df0-0000-7000-8000-000000000002","state":"not_joined","updatedAt":"2026-11-08T12:00:00Z"}
type RoomSessionCreationError ¶
type RoomSessionCreationError string
RoomSessionCreationError More specific reason when the requested creation could not be confirmed.
const ( CreationFailed RoomSessionCreationError = "creation_failed" RoomExists RoomSessionCreationError = "room_exists" )
Defines values for RoomSessionCreationError.
func (RoomSessionCreationError) Valid ¶
func (e RoomSessionCreationError) Valid() bool
Valid indicates whether the value is a known member of the RoomSessionCreationError enum.
type RoomSessionLastErrorCode ¶
type RoomSessionLastErrorCode string
RoomSessionLastErrorCode defines model for RoomSession.LastErrorCode.
const ( RoomSessionLastErrorCodeForbidden RoomSessionLastErrorCode = "forbidden" RoomSessionLastErrorCodeNicknameConflict RoomSessionLastErrorCode = "nickname_conflict" RoomSessionLastErrorCodeNotAuthorized RoomSessionLastErrorCode = "not_authorized" RoomSessionLastErrorCodeNotConnected RoomSessionLastErrorCode = "not_connected" RoomSessionLastErrorCodeRegistrationRequired RoomSessionLastErrorCode = "registration_required" RoomSessionLastErrorCodeRemoved RoomSessionLastErrorCode = "removed" RoomSessionLastErrorCodeTimeout RoomSessionLastErrorCode = "timeout" RoomSessionLastErrorCodeUnknown RoomSessionLastErrorCode = "unknown" RoomSessionLastErrorCodeUnsupported RoomSessionLastErrorCode = "unsupported" )
Defines values for RoomSessionLastErrorCode.
func (RoomSessionLastErrorCode) Valid ¶
func (e RoomSessionLastErrorCode) Valid() bool
Valid indicates whether the value is a known member of the RoomSessionLastErrorCode enum.
type RoomSessionParticipant ¶
type RoomSessionParticipant struct {
// Affiliation Persistent access level in a room.
Affiliation RoomAffiliation `json:"affiliation"`
// AvatarHash Cached profile image when the room disclosed a verified identity to this account.
AvatarHash *string `json:"avatarHash,omitempty"`
Nickname string `json:"nickname"`
// Role Temporary role of a current occupant. None removes the occupant.
Role RoomRole `json:"role"`
Self *bool `json:"self,omitempty"`
}
RoomSessionParticipant One observed occupant with their room nickname and permissions.
type RoomSessionState ¶
type RoomSessionState string
RoomSessionState defines model for RoomSession.State.
const ( RoomSessionStateFailed RoomSessionState = "failed" RoomSessionStateJoined RoomSessionState = "joined" RoomSessionStateJoining RoomSessionState = "joining" RoomSessionStateNotJoined RoomSessionState = "not_joined" )
Defines values for RoomSessionState.
func (RoomSessionState) Valid ¶
func (e RoomSessionState) Valid() bool
Valid indicates whether the value is a known member of the RoomSessionState enum.
type RoomStatus ¶
type RoomStatus string
RoomStatus Account-scoped room status as observed by this engine.
const ( RoomStatusAccessDenied RoomStatus = "access_denied" RoomStatusCreating RoomStatus = "creating" RoomStatusDestroyed RoomStatus = "destroyed" RoomStatusDisconnected RoomStatus = "disconnected" RoomStatusJoined RoomStatus = "joined" RoomStatusJoining RoomStatus = "joining" RoomStatusNotJoined RoomStatus = "not_joined" )
Defines values for RoomStatus.
func (RoomStatus) Valid ¶
func (e RoomStatus) Valid() bool
Valid indicates whether the value is a known member of the RoomStatus enum.
type ScheduledDestination ¶
type ScheduledDestination struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// Title Example: Alice
Title string `json:"title"`
}
ScheduledDestination A conversation with a pending scheduled message on this engine.
type ScheduledMessageItem ¶
type ScheduledMessageItem struct {
// Conversation One account-scoped conversation. Direct conversations support text sending; saved rooms and authorized room archives are recovered read-only in this increment.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","address":"bob@localhost","archived":false,"favorite":false,"id":"019a5df0-0000-7000-8000-000000000001","kind":"direct","lastMessage":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","title":"bob@localhost","unreadCount":0,"updatedAt":"2026-11-07T12:00:00Z"}
Conversation Conversation `json:"conversation"`
Message Message `json:"message"`
}
ScheduledMessageItem The current queued message, including scheduledAt and composition, and its destination.
type ScheduledMessagePage ¶
type ScheduledMessagePage struct {
// Destinations Returned when includeDestinations is true. Contains one entry per pending destination.
//
// Example: []
Destinations *[]ScheduledDestination `json:"destinations,omitempty"`
// EngineId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
EngineId ID `json:"engineId"`
// Items Example: []
Items []ScheduledMessageItem `json:"items"`
// NextCursor Omitted at the end of the list.
//
// Example: opaque-schedule-cursor
NextCursor *string `json:"nextCursor,omitempty"`
}
ScheduledMessagePage Scheduled messages and their destinations at the selected owning engine.
type ScheduledMutationKey ¶
type ScheduledMutationKey = ID
ScheduledMutationKey Canonical lowercase UUIDv7; IDs do not establish causal order.
Example: 019a5df0-0000-7000-8000-000000000001
type ScheduledSendInstant ¶
ScheduledSendInstant An RFC 3339 instant strictly in the future when the owning engine first accepts it. Supply an explicit offset or Z, with up to nine fractional second digits. The engine normalizes to UTC. Equivalent offsets identify the same instant for idempotency.
Example: 2026-11-12T12:30:00-03:00
type SchedulingBodyTooLarge ¶
type SchedulingBodyTooLarge = Problem
SchedulingBodyTooLarge RFC 9457 Problem Details served as application/problem+json. The type URI identifies the problem. The code extension is a stable short identifier for display and localization. The Link response header with rel="help" provides guidance for known problem types. The body includes documentation when the request applies the oie-problem-documentation preference. Responses exclude raw storage errors and credentials.
Example: {"code":"unavailable","documentation":"https://github.com/araihu/oie/blob/main/docs/engine-api-problems.md#unavailable","status":503,"title":"Service Unavailable","type":"urn:oie:problem:unavailable"}
type SchedulingBodyTooLargeApplicationProblemPlusJSONResponse ¶
type SchedulingBodyTooLargeApplicationProblemPlusJSONResponse Problem
type SchedulingUnsupportedMedia ¶
type SchedulingUnsupportedMedia = Problem
SchedulingUnsupportedMedia RFC 9457 Problem Details served as application/problem+json. The type URI identifies the problem. The code extension is a stable short identifier for display and localization. The Link response header with rel="help" provides guidance for known problem types. The body includes documentation when the request applies the oie-problem-documentation preference. Responses exclude raw storage errors and credentials.
Example: {"code":"unavailable","documentation":"https://github.com/araihu/oie/blob/main/docs/engine-api-problems.md#unavailable","status":503,"title":"Service Unavailable","type":"urn:oie:problem:unavailable"}
type SchedulingUnsupportedMediaApplicationProblemPlusJSONResponse ¶
type SchedulingUnsupportedMediaApplicationProblemPlusJSONResponse Problem
type SearchAccountIDs ¶
type SearchAccountIDs = []ID
SearchAccountIDs defines model for SearchAccountIDs.
type SearchMessages200JSONResponse ¶
type SearchMessages200JSONResponse MessageSearchPage
func (SearchMessages200JSONResponse) VisitSearchMessagesResponse ¶
func (response SearchMessages200JSONResponse) VisitSearchMessagesResponse(w http.ResponseWriter) error
type SearchMessages400ApplicationProblemPlusJSONResponse ¶
type SearchMessages400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SearchMessages400ApplicationProblemPlusJSONResponse) VisitSearchMessagesResponse ¶
func (response SearchMessages400ApplicationProblemPlusJSONResponse) VisitSearchMessagesResponse(w http.ResponseWriter) error
type SearchMessages401ApplicationProblemPlusJSONResponse ¶
type SearchMessages401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SearchMessages401ApplicationProblemPlusJSONResponse) VisitSearchMessagesResponse ¶
func (response SearchMessages401ApplicationProblemPlusJSONResponse) VisitSearchMessagesResponse(w http.ResponseWriter) error
type SearchMessages404ApplicationProblemPlusJSONResponse ¶
type SearchMessages404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SearchMessages404ApplicationProblemPlusJSONResponse) VisitSearchMessagesResponse ¶
func (response SearchMessages404ApplicationProblemPlusJSONResponse) VisitSearchMessagesResponse(w http.ResponseWriter) error
type SearchMessages503ApplicationProblemPlusJSONResponse ¶
type SearchMessages503ApplicationProblemPlusJSONResponse struct {
}
func (SearchMessages503ApplicationProblemPlusJSONResponse) VisitSearchMessagesResponse ¶
func (response SearchMessages503ApplicationProblemPlusJSONResponse) VisitSearchMessagesResponse(w http.ResponseWriter) error
type SearchMessagesParams ¶
type SearchMessagesParams struct {
// Q Trimmed nonblank UTF-8 search text, at most 200 Unicode code points; NUL is invalid.
Q string `form:"q" json:"q"`
// AccountId Restrict to one owning account, or omit for all accounts.
AccountId *ID `form:"accountId,omitempty" json:"accountId,omitempty"`
// AccountIds Restrict results to the selected owning accounts before pagination. Mutually exclusive with accountId.
AccountIds *SearchAccountIDs `form:"accountIds,omitempty" json:"accountIds,omitempty"`
// ConversationId Restrict to one conversation. Its owning account must be included in any supplied account filter.
ConversationId *ID `form:"conversationId,omitempty" json:"conversationId,omitempty"`
// IncludeEditHistory Include retained verified earlier content revisions with explicit historical labels.
IncludeEditHistory *bool `form:"includeEditHistory,omitempty" json:"includeEditHistory,omitempty"`
// IncludeRetracted Include retained content from retracted messages.
IncludeRetracted *bool `form:"includeRetracted,omitempty" json:"includeRetracted,omitempty"`
// Cursor Opaque keyset cursor bound to this engine, trimmed query, account, conversation and history filter. Reuse with changed scope is invalid.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum returned hits. Filtering is applied before this limit.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
SearchMessagesParams defines parameters for SearchMessages.
type SearchMessagesRequestObject ¶
type SearchMessagesRequestObject struct {
Params SearchMessagesParams
}
type SearchMessagesResponse ¶
type SearchMessagesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageSearchPage
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SearchMessagesResponse401Headers
}
func ParseSearchMessagesResponse ¶
func ParseSearchMessagesResponse(rsp *http.Response) (*SearchMessagesResponse, error)
ParseSearchMessagesResponse parses an HTTP response from a SearchMessagesWithResponse call
func (SearchMessagesResponse) ContentType ¶
func (r SearchMessagesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SearchMessagesResponse) GetApplicationproblemJSON400 ¶
func (r SearchMessagesResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SearchMessagesResponse) GetApplicationproblemJSON401 ¶
func (r SearchMessagesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SearchMessagesResponse) GetApplicationproblemJSON404 ¶
func (r SearchMessagesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SearchMessagesResponse) GetApplicationproblemJSON503 ¶
func (r SearchMessagesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SearchMessagesResponse) GetBody ¶
func (r SearchMessagesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SearchMessagesResponse) GetJSON200 ¶
func (r SearchMessagesResponse) GetJSON200() *MessageSearchPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SearchMessagesResponse) Status ¶
func (r SearchMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (SearchMessagesResponse) StatusCode ¶
func (r SearchMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchMessagesResponse401Headers ¶
type SearchMessagesResponse401Headers struct {
WWWAuthenticate *string
}
SearchMessagesResponse401Headers the declared response headers of an HTTP 401 response for SearchMessages
type SearchMessagesResponseObject ¶
type SearchMessagesResponseObject interface {
VisitSearchMessagesResponse(w http.ResponseWriter) error
}
type SendMessage ¶
type SendMessage struct {
// AttachmentIds Ordered unique IDs of available staged files in the same destination scope.
AttachmentIds *StagedAttachmentIDs `json:"attachmentIds,omitempty"`
// ExpectedReplyExcerptSha256 SHA-256 of the exact UTF-8 quote excerpt, at most the first 512 Unicode code points of the displayed source body. Optional on reviewed reply mutations and requires expectedReplyRevisionId. The engine preserves it in the original acceptance when supplied.
//
// Example: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
ExpectedReplyExcerptSha256 *ReplyExcerptSHA256 `json:"expectedReplyExcerptSha256,omitempty"`
// ExpectedReplyRevisionId Reviewed revision of the retained reply source. Requires replyToMessageId and scheduledAt. A changed or unavailable source rejects the new scheduled send before acceptance.
ExpectedReplyRevisionId *ID `json:"expectedReplyRevisionId,omitempty"`
// Mentions Selected room mentions in authored text. Sorted, nonoverlapping spans are part of the immutable send intent and idempotency fingerprint. The engine freezes references before enqueueing; clients cannot submit protocol URIs.
Mentions *[]MentionSelection `json:"mentions,omitempty"`
// OriginalText Exact authored UTF-8 text. Empty or whitespace-only text requires at least one attachment.
OriginalText string `json:"originalText"`
// ReplyToMessageId Retained source UUID in this conversation. Omitted for an ordinary message. Part of the immutable send intent and operation fingerprint.
ReplyToMessageId *ID `json:"replyToMessageId,omitempty"`
// ScheduledAt An RFC 3339 instant strictly in the future when the owning engine first accepts it. Supply an explicit offset or Z, with up to nine fractional second digits. The engine normalizes to UTC. Equivalent offsets identify the same instant for idempotency.
//
// Example: 2026-11-12T12:30:00-03:00
ScheduledAt *ScheduledSendInstant `json:"scheduledAt,omitempty"`
}
SendMessage Authored text and optional reply, mentions and ordered staged attachments. Links are part of the authored text. Reply targets use canonical UUIDs scoped to the destination. The engine freezes reply and mention references before enqueueing. The resulting Message.originalText follows the existing retained body format, including any reply compatibility text. Message.composition contains the editable input for pending sends.
Example: {"originalText":"Hello from Oie!"}
type SendMessage200JSONResponse ¶
type SendMessage200JSONResponse Message
func (SendMessage200JSONResponse) VisitSendMessageResponse ¶
func (response SendMessage200JSONResponse) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessage202JSONResponse ¶
type SendMessage202JSONResponse struct {
Body Message
Headers SendMessage202ResponseHeaders
}
func (SendMessage202JSONResponse) VisitSendMessageResponse ¶
func (response SendMessage202JSONResponse) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessage202ResponseHeaders ¶
type SendMessage202ResponseHeaders struct {
Location *string
}
type SendMessage204Response ¶
type SendMessage204Response struct {
}
func (SendMessage204Response) VisitSendMessageResponse ¶
func (response SendMessage204Response) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessage400ApplicationProblemPlusJSONResponse ¶
type SendMessage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SendMessage400ApplicationProblemPlusJSONResponse) VisitSendMessageResponse ¶
func (response SendMessage400ApplicationProblemPlusJSONResponse) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessage401ApplicationProblemPlusJSONResponse ¶
type SendMessage401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SendMessage401ApplicationProblemPlusJSONResponse) VisitSendMessageResponse ¶
func (response SendMessage401ApplicationProblemPlusJSONResponse) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessage404ApplicationProblemPlusJSONResponse ¶
type SendMessage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SendMessage404ApplicationProblemPlusJSONResponse) VisitSendMessageResponse ¶
func (response SendMessage404ApplicationProblemPlusJSONResponse) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessage409ApplicationProblemPlusJSONResponse ¶
type SendMessage409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SendMessage409ApplicationProblemPlusJSONResponse) VisitSendMessageResponse ¶
func (response SendMessage409ApplicationProblemPlusJSONResponse) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessage413ApplicationProblemPlusJSONResponse ¶
type SendMessage413ApplicationProblemPlusJSONResponse Problem
func (SendMessage413ApplicationProblemPlusJSONResponse) VisitSendMessageResponse ¶
func (response SendMessage413ApplicationProblemPlusJSONResponse) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessage415ApplicationProblemPlusJSONResponse ¶
type SendMessage415ApplicationProblemPlusJSONResponse Problem
func (SendMessage415ApplicationProblemPlusJSONResponse) VisitSendMessageResponse ¶
func (response SendMessage415ApplicationProblemPlusJSONResponse) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessage503ApplicationProblemPlusJSONResponse ¶
type SendMessage503ApplicationProblemPlusJSONResponse struct {
}
func (SendMessage503ApplicationProblemPlusJSONResponse) VisitSendMessageResponse ¶
func (response SendMessage503ApplicationProblemPlusJSONResponse) VisitSendMessageResponse(w http.ResponseWriter) error
type SendMessageJSONRequestBody ¶
type SendMessageJSONRequestBody = SendMessage
SendMessageJSONRequestBody defines body for SendMessage for application/json ContentType.
type SendMessageParams ¶
type SendMessageParams struct {
// IdempotencyKey Stable Idempotency-Key reference.
IdempotencyKey ID `json:"Idempotency-Key"`
// XOieVerifyExpiredSend Verify the exact intent of an expired or withdrawn send receipt. With true, this request has no send side effects.
XOieVerifyExpiredSend *bool `json:"X-Oie-Verify-Expired-Send,omitempty"`
// XOieExpectedConversationKind Conversation kind observed by the caller. A changed kind rejects a new send before acceptance.
XOieExpectedConversationKind *SendMessageParamsXOieExpectedConversationKind `json:"X-Oie-Expected-Conversation-Kind,omitempty"`
}
SendMessageParams defines parameters for SendMessage.
type SendMessageParamsXOieExpectedConversationKind ¶
type SendMessageParamsXOieExpectedConversationKind string
SendMessageParamsXOieExpectedConversationKind defines parameters for SendMessage.
const ( SendMessageParamsXOieExpectedConversationKindDirect SendMessageParamsXOieExpectedConversationKind = "direct" SendMessageParamsXOieExpectedConversationKindRoom SendMessageParamsXOieExpectedConversationKind = "room" )
Defines values for SendMessageParamsXOieExpectedConversationKind.
func (SendMessageParamsXOieExpectedConversationKind) Valid ¶
func (e SendMessageParamsXOieExpectedConversationKind) Valid() bool
Valid indicates whether the value is a known member of the SendMessageParamsXOieExpectedConversationKind enum.
type SendMessageRequestObject ¶
type SendMessageRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params SendMessageParams
Body *SendMessageJSONRequestBody
}
type SendMessageResponse ¶
type SendMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Message
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *Message
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *SendMessageResponse202Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SendMessageResponse401Headers
}
func ParseSendMessageResponse ¶
func ParseSendMessageResponse(rsp *http.Response) (*SendMessageResponse, error)
ParseSendMessageResponse parses an HTTP response from a SendMessageWithResponse call
func (SendMessageResponse) ContentType ¶
func (r SendMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SendMessageResponse) GetApplicationproblemJSON400 ¶
func (r SendMessageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SendMessageResponse) GetApplicationproblemJSON401 ¶
func (r SendMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SendMessageResponse) GetApplicationproblemJSON404 ¶
func (r SendMessageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SendMessageResponse) GetApplicationproblemJSON409 ¶
func (r SendMessageResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SendMessageResponse) GetApplicationproblemJSON413 ¶
func (r SendMessageResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (SendMessageResponse) GetApplicationproblemJSON415 ¶
func (r SendMessageResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (SendMessageResponse) GetApplicationproblemJSON503 ¶
func (r SendMessageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SendMessageResponse) GetBody ¶
func (r SendMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SendMessageResponse) GetJSON200 ¶
func (r SendMessageResponse) GetJSON200() *Message
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SendMessageResponse) GetJSON202 ¶
func (r SendMessageResponse) GetJSON202() *Message
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (SendMessageResponse) Status ¶
func (r SendMessageResponse) Status() string
Status returns HTTPResponse.Status
func (SendMessageResponse) StatusCode ¶
func (r SendMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendMessageResponse202Headers ¶
type SendMessageResponse202Headers struct {
Location *string
}
SendMessageResponse202Headers the declared response headers of an HTTP 202 response for SendMessage
type SendMessageResponse401Headers ¶
type SendMessageResponse401Headers struct {
WWWAuthenticate *string
}
SendMessageResponse401Headers the declared response headers of an HTTP 401 response for SendMessage
type SendMessageResponseObject ¶
type SendMessageResponseObject interface {
VisitSendMessageResponse(w http.ResponseWriter) error
}
type SendScheduledMessageNow ¶
type SendScheduledMessageNow struct {
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
}
SendScheduledMessageNow Revision precondition for making a scheduled message eligible now.
type SendScheduledMessageNow200JSONResponse ¶
type SendScheduledMessageNow200JSONResponse struct {
PendingMessageUpdatedJSONResponse
}
func (SendScheduledMessageNow200JSONResponse) VisitSendScheduledMessageNowResponse ¶
func (response SendScheduledMessageNow200JSONResponse) VisitSendScheduledMessageNowResponse(w http.ResponseWriter) error
type SendScheduledMessageNow400ApplicationProblemPlusJSONResponse ¶
type SendScheduledMessageNow400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SendScheduledMessageNow400ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse ¶
func (response SendScheduledMessageNow400ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse(w http.ResponseWriter) error
type SendScheduledMessageNow401ApplicationProblemPlusJSONResponse ¶
type SendScheduledMessageNow401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SendScheduledMessageNow401ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse ¶
func (response SendScheduledMessageNow401ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse(w http.ResponseWriter) error
type SendScheduledMessageNow404ApplicationProblemPlusJSONResponse ¶
type SendScheduledMessageNow404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SendScheduledMessageNow404ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse ¶
func (response SendScheduledMessageNow404ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse(w http.ResponseWriter) error
type SendScheduledMessageNow409ApplicationProblemPlusJSONResponse ¶
type SendScheduledMessageNow409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SendScheduledMessageNow409ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse ¶
func (response SendScheduledMessageNow409ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse(w http.ResponseWriter) error
type SendScheduledMessageNow413ApplicationProblemPlusJSONResponse ¶
type SendScheduledMessageNow413ApplicationProblemPlusJSONResponse struct {
SchedulingBodyTooLargeApplicationProblemPlusJSONResponse
}
func (SendScheduledMessageNow413ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse ¶
func (response SendScheduledMessageNow413ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse(w http.ResponseWriter) error
type SendScheduledMessageNow415ApplicationProblemPlusJSONResponse ¶
type SendScheduledMessageNow415ApplicationProblemPlusJSONResponse struct {
SchedulingUnsupportedMediaApplicationProblemPlusJSONResponse
}
func (SendScheduledMessageNow415ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse ¶
func (response SendScheduledMessageNow415ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse(w http.ResponseWriter) error
type SendScheduledMessageNow503ApplicationProblemPlusJSONResponse ¶
type SendScheduledMessageNow503ApplicationProblemPlusJSONResponse struct {
}
func (SendScheduledMessageNow503ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse ¶
func (response SendScheduledMessageNow503ApplicationProblemPlusJSONResponse) VisitSendScheduledMessageNowResponse(w http.ResponseWriter) error
type SendScheduledMessageNowJSONRequestBody ¶
type SendScheduledMessageNowJSONRequestBody = SendScheduledMessageNow
SendScheduledMessageNowJSONRequestBody defines body for SendScheduledMessageNow for application/json ContentType.
type SendScheduledMessageNowParams ¶
type SendScheduledMessageNowParams struct {
// IdempotencyKey Stable mutation key. Different input with the same key yields idempotency_conflict.
IdempotencyKey ScheduledMutationKey `json:"Idempotency-Key"`
}
SendScheduledMessageNowParams defines parameters for SendScheduledMessageNow.
type SendScheduledMessageNowRequestObject ¶
type SendScheduledMessageNowRequestObject struct {
MessageId MessageID `json:"messageId"`
Params SendScheduledMessageNowParams
Body *SendScheduledMessageNowJSONRequestBody
}
type SendScheduledMessageNowResponse ¶
type SendScheduledMessageNowResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PendingMessageUpdated
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *SchedulingBodyTooLarge
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *SchedulingUnsupportedMedia
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SendScheduledMessageNowResponse401Headers
}
func ParseSendScheduledMessageNowResponse ¶
func ParseSendScheduledMessageNowResponse(rsp *http.Response) (*SendScheduledMessageNowResponse, error)
ParseSendScheduledMessageNowResponse parses an HTTP response from a SendScheduledMessageNowWithResponse call
func (SendScheduledMessageNowResponse) ContentType ¶
func (r SendScheduledMessageNowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SendScheduledMessageNowResponse) GetApplicationproblemJSON400 ¶
func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SendScheduledMessageNowResponse) GetApplicationproblemJSON401 ¶
func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SendScheduledMessageNowResponse) GetApplicationproblemJSON404 ¶
func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SendScheduledMessageNowResponse) GetApplicationproblemJSON409 ¶
func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SendScheduledMessageNowResponse) GetApplicationproblemJSON413 ¶
func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON413() *SchedulingBodyTooLarge
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (SendScheduledMessageNowResponse) GetApplicationproblemJSON415 ¶
func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON415() *SchedulingUnsupportedMedia
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (SendScheduledMessageNowResponse) GetApplicationproblemJSON503 ¶
func (r SendScheduledMessageNowResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SendScheduledMessageNowResponse) GetBody ¶
func (r SendScheduledMessageNowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SendScheduledMessageNowResponse) GetJSON200 ¶
func (r SendScheduledMessageNowResponse) GetJSON200() *PendingMessageUpdated
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SendScheduledMessageNowResponse) Status ¶
func (r SendScheduledMessageNowResponse) Status() string
Status returns HTTPResponse.Status
func (SendScheduledMessageNowResponse) StatusCode ¶
func (r SendScheduledMessageNowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendScheduledMessageNowResponse401Headers ¶
type SendScheduledMessageNowResponse401Headers struct {
WWWAuthenticate *string
}
SendScheduledMessageNowResponse401Headers the declared response headers of an HTTP 401 response for SendScheduledMessageNow
type SendScheduledMessageNowResponseObject ¶
type SendScheduledMessageNowResponseObject interface {
VisitSendScheduledMessageNowResponse(w http.ResponseWriter) error
}
type Sender ¶
type Sender struct {
// DisplayName Display name, initially a protocol address.
DisplayName string `json:"displayName"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
}
Sender Engine-local source identity. For recovered room messages, this is the room-scoped source with an observed speaker nickname, not a verified personal identity.
Example: {"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}
type ServeMux ¶
type ServeMux interface {
HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
http.Handler
}
ServeMux is an abstraction of http.ServeMux.
type ServerInterface ¶
type ServerInterface interface {
// ListAccounts List registered account metadata
// (GET /api/v1/accounts)
ListAccounts(w http.ResponseWriter, r *http.Request, params ListAccountsParams)
// RegisterAccount Register protocol account metadata
// (POST /api/v1/accounts)
RegisterAccount(w http.ResponseWriter, r *http.Request, params RegisterAccountParams)
// GetAccountUnreadTotals Get unread message totals by account
// (GET /api/v1/accounts/unread-totals)
GetAccountUnreadTotals(w http.ResponseWriter, r *http.Request)
// RemoveAccount Remove an account from Oiê
// (DELETE /api/v1/accounts/{accountId})
RemoveAccount(w http.ResponseWriter, r *http.Request, accountId AccountID)
// GetAccount Read an account
// (GET /api/v1/accounts/{accountId})
GetAccount(w http.ResponseWriter, r *http.Request, accountId AccountID)
// SetAccountAvatar Change the connected account's profile photo
// (PUT /api/v1/accounts/{accountId}/avatar)
SetAccountAvatar(w http.ResponseWriter, r *http.Request, accountId AccountID)
// ListAccountAvatars Read retained profile image metadata
// (GET /api/v1/accounts/{accountId}/avatars)
ListAccountAvatars(w http.ResponseWriter, r *http.Request, accountId AccountID, params ListAccountAvatarsParams)
// GetAccountCapabilities Read account capability evidence
// (GET /api/v1/accounts/{accountId}/capabilities)
GetAccountCapabilities(w http.ResponseWriter, r *http.Request, accountId AccountID)
// GetAccountCommunicationPreferences Read account presence and communication preferences
// (GET /api/v1/accounts/{accountId}/communication-preferences)
GetAccountCommunicationPreferences(w http.ResponseWriter, r *http.Request, accountId AccountID)
// SetAccountCommunicationPreferences Save account presence and communication preferences
// (PUT /api/v1/accounts/{accountId}/communication-preferences)
SetAccountCommunicationPreferences(w http.ResponseWriter, r *http.Request, accountId AccountID)
// DisconnectAccount Disconnect and disable automatic connection
// (DELETE /api/v1/accounts/{accountId}/connection)
DisconnectAccount(w http.ResponseWriter, r *http.Request, accountId AccountID)
// GetAccountConnection Read account connection state
// (GET /api/v1/accounts/{accountId}/connection)
GetAccountConnection(w http.ResponseWriter, r *http.Request, accountId AccountID)
// ConfigureAccountConnection Configure and connect an account
// (PUT /api/v1/accounts/{accountId}/connection)
ConfigureAccountConnection(w http.ResponseWriter, r *http.Request, accountId AccountID)
// ChangeProtocolContact Manage an account's protocol contacts
// (POST /api/v1/accounts/{accountId}/contact-actions)
ChangeProtocolContact(w http.ResponseWriter, r *http.Request, accountId AccountID)
// ListContactRequests List pending contact requests for an account
// (GET /api/v1/accounts/{accountId}/contact-requests)
ListContactRequests(w http.ResponseWriter, r *http.Request, accountId AccountID)
// GetAccountHistory Read account history recovery progress
// (GET /api/v1/accounts/{accountId}/history)
GetAccountHistory(w http.ResponseWriter, r *http.Request, accountId AccountID)
// SetAccountLabel Change the account name shown in Oiê
// (PUT /api/v1/accounts/{accountId}/label)
SetAccountLabel(w http.ResponseWriter, r *http.Request, accountId AccountID)
// GetOmemoDevices Inspect public OMEMO fingerprints
// (GET /api/v1/accounts/{accountId}/omemo)
GetOmemoDevices(w http.ResponseWriter, r *http.Request, accountId AccountID, params GetOmemoDevicesParams)
// SetOmemoDecision Confirm an OMEMO device or change protection for future messages
// (PUT /api/v1/accounts/{accountId}/omemo)
SetOmemoDecision(w http.ResponseWriter, r *http.Request, accountId AccountID, params SetOmemoDecisionParams)
// PreviewRoom Read a room preview using the selected account
// (GET /api/v1/accounts/{accountId}/room-preview)
PreviewRoom(w http.ResponseWriter, r *http.Request, accountId AccountID, params PreviewRoomParams)
// DiscoverRooms List public rooms published by the account's room services
// (GET /api/v1/accounts/{accountId}/rooms)
DiscoverRooms(w http.ResponseWriter, r *http.Request, accountId AccountID, params DiscoverRoomsParams)
// OpenRoom Open and request entry to an XMPP room
// (POST /api/v1/accounts/{accountId}/rooms)
OpenRoom(w http.ResponseWriter, r *http.Request, accountId AccountID, params OpenRoomParams)
// GetAvatarImage Read a cached profile thumbnail
// (GET /api/v1/avatars/{hash})
GetAvatarImage(w http.ResponseWriter, r *http.Request, hash string, params GetAvatarImageParams)
// ListContacts Search saved protocol contacts
// (GET /api/v1/contacts)
ListContacts(w http.ResponseWriter, r *http.Request, params ListContactsParams)
// ListConversations List retained conversations
// (GET /api/v1/conversations)
ListConversations(w http.ResponseWriter, r *http.Request, params ListConversationsParams)
// OpenConversation Open a direct conversation
// (POST /api/v1/conversations)
OpenConversation(w http.ResponseWriter, r *http.Request, params OpenConversationParams)
// GetConversation Read a conversation
// (GET /api/v1/conversations/{conversationId})
GetConversation(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// UpdateConversationPreferences Change conversation preferences, set read status or accept a message request
// (PATCH /api/v1/conversations/{conversationId})
UpdateConversationPreferences(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params UpdateConversationPreferencesParams)
// GetRoomArchive Read room archive recovery settings and progress
// (GET /api/v1/conversations/{conversationId}/archive)
GetRoomArchive(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// SetRoomArchiveMode Set the room archive recovery mode
// (PUT /api/v1/conversations/{conversationId}/archive)
SetRoomArchiveMode(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// RequestRoomArchive Request a bounded room archive read
// (POST /api/v1/conversations/{conversationId}/archive/requests)
RequestRoomArchive(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// GetConversationDetails Read scoped conversation details
// (GET /api/v1/conversations/{conversationId}/details)
GetConversationDetails(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// GetConversationEditTarget Inspect the latest own retained message for keyboard editing
// (GET /api/v1/conversations/{conversationId}/edit-target)
GetConversationEditTarget(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// GetMentionCandidates Read observed room mention candidates
// (GET /api/v1/conversations/{conversationId}/mention-candidates)
GetMentionCandidates(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// ListConversationMessageStars Read star states for displayed messages
// (GET /api/v1/conversations/{conversationId}/message-stars)
ListConversationMessageStars(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params ListConversationMessageStarsParams)
// ListMessages Read retained messages
// (GET /api/v1/conversations/{conversationId}/messages)
ListMessages(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params ListMessagesParams)
// SendMessage Accept an immediate or scheduled message
// (POST /api/v1/conversations/{conversationId}/messages)
SendMessage(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params SendMessageParams)
// GetMessageContext Read a bounded timeline around a retained message
// (GET /api/v1/conversations/{conversationId}/messages/{messageId}/context)
GetMessageContext(w http.ResponseWriter, r *http.Request, conversationId ConversationID, messageId MessageID, params GetMessageContextParams)
// GetMessageSourceContext Read the conversation and presentation data for a retained message jump
// (GET /api/v1/conversations/{conversationId}/messages/{messageId}/source-context)
GetMessageSourceContext(w http.ResponseWriter, r *http.Request, conversationId ConversationID, messageId MessageID)
// GetRoomOmemo Review encryption for a private room
// (GET /api/v1/conversations/{conversationId}/omemo)
GetRoomOmemo(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// SetRoomOmemo Change OMEMO for the room
// (PUT /api/v1/conversations/{conversationId}/omemo)
SetRoomOmemo(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// ListConversationPreviews Read cached message link and image previews
// (GET /api/v1/conversations/{conversationId}/previews)
ListConversationPreviews(w http.ResponseWriter, r *http.Request, conversationId ID, params ListConversationPreviewsParams)
// ListConversationReactions Read bounded reactions for the mounted conversation messages
// (GET /api/v1/conversations/{conversationId}/reactions)
ListConversationReactions(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params ListConversationReactionsParams)
// GetConversationReadReceipts Read conversation read receipt settings
// (GET /api/v1/conversations/{conversationId}/read-receipts)
GetConversationReadReceipts(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// SetConversationReadReceipts Change conversation read receipt settings
// (PUT /api/v1/conversations/{conversationId}/read-receipts)
SetConversationReadReceipts(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// GetConversationReadState Read retained conversation read state
// (GET /api/v1/conversations/{conversationId}/read-state)
GetConversationReadState(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// MarkConversationMessagesRead Mark incoming messages read
// (POST /api/v1/conversations/{conversationId}/read-state)
MarkConversationMessagesRead(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params MarkConversationMessagesReadParams)
// RemoveDirectFromChats Remove a direct conversation from Oiê's chat lists
// (POST /api/v1/conversations/{conversationId}/remove-direct)
RemoveDirectFromChats(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params RemoveDirectFromChatsParams)
// RemoveRoomFromChats Remove a saved room from Oiê's chat lists
// (POST /api/v1/conversations/{conversationId}/remove-room)
RemoveRoomFromChats(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params RemoveRoomFromChatsParams)
// GetConversationRetention Read conversation message retention
// (GET /api/v1/conversations/{conversationId}/retention)
GetConversationRetention(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// SetConversationRetention Change conversation message retention
// (PUT /api/v1/conversations/{conversationId}/retention)
SetConversationRetention(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// GetRoomManagement Read available room management actions
// (GET /api/v1/conversations/{conversationId}/room-management)
GetRoomManagement(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params GetRoomManagementParams)
// ManageRoom Apply a room management action
// (POST /api/v1/conversations/{conversationId}/room-management)
ManageRoom(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params ManageRoomParams)
// GetRoomParticipants Read current room participants
// (GET /api/v1/conversations/{conversationId}/room-participants)
GetRoomParticipants(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// GetRoomSession Read this engine's room session and durable join intent
// (GET /api/v1/conversations/{conversationId}/room-session)
GetRoomSession(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// JoinRoom Explicitly request entry and reconnect recovery for a saved room
// (POST /api/v1/conversations/{conversationId}/room-session)
JoinRoom(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params JoinRoomParams)
// LeaveRoom Leave a room and stop this engine's automatic rejoin
// (POST /api/v1/conversations/{conversationId}/room-session/leave)
LeaveRoom(w http.ResponseWriter, r *http.Request, conversationId ConversationID, params LeaveRoomParams)
// GetStagedMessageAttachment Read retained bytes of an outgoing attachment
// (GET /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId})
GetStagedMessageAttachment(w http.ResponseWriter, r *http.Request, conversationId ConversationID, attachmentId StagedAttachmentID, params GetStagedMessageAttachmentParams)
// StageMessageAttachment Stage a file for an outgoing message
// (PUT /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId})
StageMessageAttachment(w http.ResponseWriter, r *http.Request, conversationId ConversationID, attachmentId StagedAttachmentID)
// GetConversationTyping Read the current typing indicator in an accepted direct conversation
// (GET /api/v1/conversations/{conversationId}/typing)
GetConversationTyping(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// SetConversationTyping Send an expiring typing notification where supported
// (PUT /api/v1/conversations/{conversationId}/typing)
SetConversationTyping(w http.ResponseWriter, r *http.Request, conversationId ConversationID)
// ClearDeviceDownloads Remove originals retained for this device
// (DELETE /api/v1/downloads/{deviceId}/retention)
ClearDeviceDownloads(w http.ResponseWriter, r *http.Request, deviceId ID)
// GetDownloadRetention Read downloaded-file retention for a device
// (GET /api/v1/downloads/{deviceId}/retention)
GetDownloadRetention(w http.ResponseWriter, r *http.Request, deviceId ID)
// SetDownloadRetention Update downloaded-file retention for a device
// (PUT /api/v1/downloads/{deviceId}/retention)
SetDownloadRetention(w http.ResponseWriter, r *http.Request, deviceId ID)
// GetEngine Read the persistent engine identity
// (GET /api/v1/engine)
GetEngine(w http.ResponseWriter, r *http.Request)
// GetGlobalReadReceipts Read engine-wide read receipt settings
// (GET /api/v1/engine/read-receipts)
GetGlobalReadReceipts(w http.ResponseWriter, r *http.Request)
// SetGlobalReadReceipts Change engine-wide read receipt settings
// (PUT /api/v1/engine/read-receipts)
SetGlobalReadReceipts(w http.ResponseWriter, r *http.Request)
// ResetEngineData Delete all data held by this engine
// (POST /api/v1/engine/reset)
ResetEngineData(w http.ResponseWriter, r *http.Request)
// GetGlobalRetention Read engine-wide message retention
// (GET /api/v1/engine/retention)
GetGlobalRetention(w http.ResponseWriter, r *http.Request)
// SetGlobalRetention Change engine-wide message retention
// (PUT /api/v1/engine/retention)
SetGlobalRetention(w http.ResponseWriter, r *http.Request)
// StreamEvents Replay durable changes and follow new events
// (GET /api/v1/events)
StreamEvents(w http.ResponseWriter, r *http.Request, params StreamEventsParams)
// GetHealth Check engine readiness
// (GET /api/v1/health)
GetHealth(w http.ResponseWriter, r *http.Request)
// ResolveDraftLinkPreview Resolve a link preview for a draft
// (POST /api/v1/link-previews)
ResolveDraftLinkPreview(w http.ResponseWriter, r *http.Request)
// GetMediaImage Read a retained preview or original image
// (GET /api/v1/media/{hash})
GetMediaImage(w http.ResponseWriter, r *http.Request, hash string, params GetMediaImageParams)
// GetMessageEdit Reconcile a correction command by its stable UUID
// (GET /api/v1/message-edits/{editId})
GetMessageEdit(w http.ResponseWriter, r *http.Request, editId ID)
// GetMessageReactionCommand Read a durable reaction command receipt
// (GET /api/v1/message-reaction-commands/{commandId})
GetMessageReactionCommand(w http.ResponseWriter, r *http.Request, commandId ID)
// SearchMessages Search retained message text and available metadata
// (GET /api/v1/messages/search)
SearchMessages(w http.ResponseWriter, r *http.Request, params SearchMessagesParams)
// GetMessage Read a retained message
// (GET /api/v1/messages/{messageId})
GetMessage(w http.ResponseWriter, r *http.Request, messageId MessageID)
// CancelMessage Cancel a pending send
// (POST /api/v1/messages/{messageId}/cancel)
CancelMessage(w http.ResponseWriter, r *http.Request, messageId MessageID, params CancelMessageParams)
// GetMessageEditHistory Read observed content revisions of one retained message
// (GET /api/v1/messages/{messageId}/edit-history)
GetMessageEditHistory(w http.ResponseWriter, r *http.Request, messageId MessageID, params GetMessageEditHistoryParams)
// GetMessageEditTarget Inspect eligibility and current content before editing
// (GET /api/v1/messages/{messageId}/edit-target)
GetMessageEditTarget(w http.ResponseWriter, r *http.Request, messageId MessageID)
// EditMessage Accept a durable correction of a sent message
// (POST /api/v1/messages/{messageId}/edits)
EditMessage(w http.ResponseWriter, r *http.Request, messageId MessageID, params EditMessageParams)
// ForwardMessage Forward a retained message to a conversation
// (POST /api/v1/messages/{messageId}/forward)
ForwardMessage(w http.ResponseWriter, r *http.Request, messageId MessageID, params ForwardMessageParams)
// DownloadOmemoAttachment Download an authenticated OMEMO attachment
// (GET /api/v1/messages/{messageId}/omemo-attachments/{index})
DownloadOmemoAttachment(w http.ResponseWriter, r *http.Request, messageId MessageID, index int)
// UpdatePendingMessage Edit or reschedule a pending message
// (PATCH /api/v1/messages/{messageId}/pending)
UpdatePendingMessage(w http.ResponseWriter, r *http.Request, messageId MessageID, params UpdatePendingMessageParams)
// GetMessageReactions Read retained reactions and current own mutation eligibility
// (GET /api/v1/messages/{messageId}/reactions)
GetMessageReactions(w http.ResponseWriter, r *http.Request, messageId MessageID)
// SetMessageReactions Accept a durable replacement of the own reaction set
// (POST /api/v1/messages/{messageId}/reactions)
SetMessageReactions(w http.ResponseWriter, r *http.Request, messageId MessageID, params SetMessageReactionsParams)
// GetRetractedOriginal Reveal retained content of a retracted message
// (GET /api/v1/messages/{messageId}/retracted-original)
GetRetractedOriginal(w http.ResponseWriter, r *http.Request, messageId MessageID)
// RetractMessage Request retraction of an own sent message
// (POST /api/v1/messages/{messageId}/retraction)
RetractMessage(w http.ResponseWriter, r *http.Request, messageId MessageID)
// SendScheduledMessageNow Make a scheduled message eligible immediately
// (POST /api/v1/messages/{messageId}/send-now)
SendScheduledMessageNow(w http.ResponseWriter, r *http.Request, messageId MessageID, params SendScheduledMessageNowParams)
// GetMessageSenderProfile Read the author's available published profile
// (GET /api/v1/messages/{messageId}/sender-profile)
GetMessageSenderProfile(w http.ResponseWriter, r *http.Request, messageId MessageID)
// GetMessageStar Read the source message star
// (GET /api/v1/messages/{messageId}/star)
GetMessageStar(w http.ResponseWriter, r *http.Request, messageId MessageID)
// SetMessageStar Star or unstar a retained source message
// (PUT /api/v1/messages/{messageId}/star)
SetMessageStar(w http.ResponseWriter, r *http.Request, messageId MessageID, params SetMessageStarParams)
// GetOperation Reconcile a mutation after an ambiguous response
// (GET /api/v1/operations/{operationId})
GetOperation(w http.ResponseWriter, r *http.Request, operationId ID, params GetOperationParams)
// GetMessagePreview Read a message preview
// (GET /api/v1/previews/{previewId})
GetMessagePreview(w http.ResponseWriter, r *http.Request, previewId ID)
// DownloadPreviewImage Retain the original image for a preview
// (POST /api/v1/previews/{previewId}/download)
DownloadPreviewImage(w http.ResponseWriter, r *http.Request, previewId ID, params DownloadPreviewImageParams)
// RefreshMessagePreview Refresh cached link metadata
// (POST /api/v1/previews/{previewId}/refresh)
RefreshMessagePreview(w http.ResponseWriter, r *http.Request, previewId ID)
// ListScheduledMessages List scheduled messages across conversations
// (GET /api/v1/scheduled-messages)
ListScheduledMessages(w http.ResponseWriter, r *http.Request, params ListScheduledMessagesParams)
// (GET /api/v1/shared-content)
ListSharedContent(w http.ResponseWriter, r *http.Request, params ListSharedContentParams)
// (GET /api/v1/shared-content/{itemId}/content)
GetSharedContentMedia(w http.ResponseWriter, r *http.Request, itemId ID, params GetSharedContentMediaParams)
// GetVideoThumbnail Read a retained video thumbnail state
// (GET /api/v1/shared-content/{itemId}/thumbnail)
GetVideoThumbnail(w http.ResponseWriter, r *http.Request, itemId ID)
// RequestVideoThumbnail Ensure a cached video thumbnail
// (POST /api/v1/shared-content/{itemId}/thumbnail)
RequestVideoThumbnail(w http.ResponseWriter, r *http.Request, itemId ID)
// ListStarredMessages Browse retained starred messages with their source context
// (GET /api/v1/starred-messages)
ListStarredMessages(w http.ResponseWriter, r *http.Request, params ListStarredMessagesParams)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) CancelMessage ¶
func (siw *ServerInterfaceWrapper) CancelMessage(w http.ResponseWriter, r *http.Request)
CancelMessage operation middleware
func (*ServerInterfaceWrapper) ChangeProtocolContact ¶
func (siw *ServerInterfaceWrapper) ChangeProtocolContact(w http.ResponseWriter, r *http.Request)
ChangeProtocolContact operation middleware
func (*ServerInterfaceWrapper) ClearDeviceDownloads ¶
func (siw *ServerInterfaceWrapper) ClearDeviceDownloads(w http.ResponseWriter, r *http.Request)
ClearDeviceDownloads operation middleware
func (*ServerInterfaceWrapper) ConfigureAccountConnection ¶
func (siw *ServerInterfaceWrapper) ConfigureAccountConnection(w http.ResponseWriter, r *http.Request)
ConfigureAccountConnection operation middleware
func (*ServerInterfaceWrapper) DisconnectAccount ¶
func (siw *ServerInterfaceWrapper) DisconnectAccount(w http.ResponseWriter, r *http.Request)
DisconnectAccount operation middleware
func (*ServerInterfaceWrapper) DiscoverRooms ¶
func (siw *ServerInterfaceWrapper) DiscoverRooms(w http.ResponseWriter, r *http.Request)
DiscoverRooms operation middleware
func (*ServerInterfaceWrapper) DownloadOmemoAttachment ¶
func (siw *ServerInterfaceWrapper) DownloadOmemoAttachment(w http.ResponseWriter, r *http.Request)
DownloadOmemoAttachment operation middleware
func (*ServerInterfaceWrapper) DownloadPreviewImage ¶
func (siw *ServerInterfaceWrapper) DownloadPreviewImage(w http.ResponseWriter, r *http.Request)
DownloadPreviewImage operation middleware
func (*ServerInterfaceWrapper) EditMessage ¶
func (siw *ServerInterfaceWrapper) EditMessage(w http.ResponseWriter, r *http.Request)
EditMessage operation middleware
func (*ServerInterfaceWrapper) ForwardMessage ¶
func (siw *ServerInterfaceWrapper) ForwardMessage(w http.ResponseWriter, r *http.Request)
ForwardMessage operation middleware
func (*ServerInterfaceWrapper) GetAccount ¶
func (siw *ServerInterfaceWrapper) GetAccount(w http.ResponseWriter, r *http.Request)
GetAccount operation middleware
func (*ServerInterfaceWrapper) GetAccountCapabilities ¶
func (siw *ServerInterfaceWrapper) GetAccountCapabilities(w http.ResponseWriter, r *http.Request)
GetAccountCapabilities operation middleware
func (*ServerInterfaceWrapper) GetAccountCommunicationPreferences ¶
func (siw *ServerInterfaceWrapper) GetAccountCommunicationPreferences(w http.ResponseWriter, r *http.Request)
GetAccountCommunicationPreferences operation middleware
func (*ServerInterfaceWrapper) GetAccountConnection ¶
func (siw *ServerInterfaceWrapper) GetAccountConnection(w http.ResponseWriter, r *http.Request)
GetAccountConnection operation middleware
func (*ServerInterfaceWrapper) GetAccountHistory ¶
func (siw *ServerInterfaceWrapper) GetAccountHistory(w http.ResponseWriter, r *http.Request)
GetAccountHistory operation middleware
func (*ServerInterfaceWrapper) GetAccountUnreadTotals ¶
func (siw *ServerInterfaceWrapper) GetAccountUnreadTotals(w http.ResponseWriter, r *http.Request)
GetAccountUnreadTotals operation middleware
func (*ServerInterfaceWrapper) GetAvatarImage ¶
func (siw *ServerInterfaceWrapper) GetAvatarImage(w http.ResponseWriter, r *http.Request)
GetAvatarImage operation middleware
func (*ServerInterfaceWrapper) GetConversation ¶
func (siw *ServerInterfaceWrapper) GetConversation(w http.ResponseWriter, r *http.Request)
GetConversation operation middleware
func (*ServerInterfaceWrapper) GetConversationDetails ¶
func (siw *ServerInterfaceWrapper) GetConversationDetails(w http.ResponseWriter, r *http.Request)
GetConversationDetails operation middleware
func (*ServerInterfaceWrapper) GetConversationEditTarget ¶
func (siw *ServerInterfaceWrapper) GetConversationEditTarget(w http.ResponseWriter, r *http.Request)
GetConversationEditTarget operation middleware
func (*ServerInterfaceWrapper) GetConversationReadReceipts ¶
func (siw *ServerInterfaceWrapper) GetConversationReadReceipts(w http.ResponseWriter, r *http.Request)
GetConversationReadReceipts operation middleware
func (*ServerInterfaceWrapper) GetConversationReadState ¶
func (siw *ServerInterfaceWrapper) GetConversationReadState(w http.ResponseWriter, r *http.Request)
GetConversationReadState operation middleware
func (*ServerInterfaceWrapper) GetConversationRetention ¶
func (siw *ServerInterfaceWrapper) GetConversationRetention(w http.ResponseWriter, r *http.Request)
GetConversationRetention operation middleware
func (*ServerInterfaceWrapper) GetConversationTyping ¶
func (siw *ServerInterfaceWrapper) GetConversationTyping(w http.ResponseWriter, r *http.Request)
GetConversationTyping operation middleware
func (*ServerInterfaceWrapper) GetDownloadRetention ¶
func (siw *ServerInterfaceWrapper) GetDownloadRetention(w http.ResponseWriter, r *http.Request)
GetDownloadRetention operation middleware
func (*ServerInterfaceWrapper) GetEngine ¶
func (siw *ServerInterfaceWrapper) GetEngine(w http.ResponseWriter, r *http.Request)
GetEngine operation middleware
func (*ServerInterfaceWrapper) GetGlobalReadReceipts ¶
func (siw *ServerInterfaceWrapper) GetGlobalReadReceipts(w http.ResponseWriter, r *http.Request)
GetGlobalReadReceipts operation middleware
func (*ServerInterfaceWrapper) GetGlobalRetention ¶
func (siw *ServerInterfaceWrapper) GetGlobalRetention(w http.ResponseWriter, r *http.Request)
GetGlobalRetention operation middleware
func (*ServerInterfaceWrapper) GetHealth ¶
func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request)
GetHealth operation middleware
func (*ServerInterfaceWrapper) GetMediaImage ¶
func (siw *ServerInterfaceWrapper) GetMediaImage(w http.ResponseWriter, r *http.Request)
GetMediaImage operation middleware
func (*ServerInterfaceWrapper) GetMentionCandidates ¶
func (siw *ServerInterfaceWrapper) GetMentionCandidates(w http.ResponseWriter, r *http.Request)
GetMentionCandidates operation middleware
func (*ServerInterfaceWrapper) GetMessage ¶
func (siw *ServerInterfaceWrapper) GetMessage(w http.ResponseWriter, r *http.Request)
GetMessage operation middleware
func (*ServerInterfaceWrapper) GetMessageContext ¶
func (siw *ServerInterfaceWrapper) GetMessageContext(w http.ResponseWriter, r *http.Request)
GetMessageContext operation middleware
func (*ServerInterfaceWrapper) GetMessageEdit ¶
func (siw *ServerInterfaceWrapper) GetMessageEdit(w http.ResponseWriter, r *http.Request)
GetMessageEdit operation middleware
func (*ServerInterfaceWrapper) GetMessageEditHistory ¶
func (siw *ServerInterfaceWrapper) GetMessageEditHistory(w http.ResponseWriter, r *http.Request)
GetMessageEditHistory operation middleware
func (*ServerInterfaceWrapper) GetMessageEditTarget ¶
func (siw *ServerInterfaceWrapper) GetMessageEditTarget(w http.ResponseWriter, r *http.Request)
GetMessageEditTarget operation middleware
func (*ServerInterfaceWrapper) GetMessagePreview ¶
func (siw *ServerInterfaceWrapper) GetMessagePreview(w http.ResponseWriter, r *http.Request)
GetMessagePreview operation middleware
func (*ServerInterfaceWrapper) GetMessageReactionCommand ¶
func (siw *ServerInterfaceWrapper) GetMessageReactionCommand(w http.ResponseWriter, r *http.Request)
GetMessageReactionCommand operation middleware
func (*ServerInterfaceWrapper) GetMessageReactions ¶
func (siw *ServerInterfaceWrapper) GetMessageReactions(w http.ResponseWriter, r *http.Request)
GetMessageReactions operation middleware
func (*ServerInterfaceWrapper) GetMessageSenderProfile ¶
func (siw *ServerInterfaceWrapper) GetMessageSenderProfile(w http.ResponseWriter, r *http.Request)
GetMessageSenderProfile operation middleware
func (*ServerInterfaceWrapper) GetMessageSourceContext ¶
func (siw *ServerInterfaceWrapper) GetMessageSourceContext(w http.ResponseWriter, r *http.Request)
GetMessageSourceContext operation middleware
func (*ServerInterfaceWrapper) GetMessageStar ¶
func (siw *ServerInterfaceWrapper) GetMessageStar(w http.ResponseWriter, r *http.Request)
GetMessageStar operation middleware
func (*ServerInterfaceWrapper) GetOmemoDevices ¶
func (siw *ServerInterfaceWrapper) GetOmemoDevices(w http.ResponseWriter, r *http.Request)
GetOmemoDevices operation middleware
func (*ServerInterfaceWrapper) GetOperation ¶
func (siw *ServerInterfaceWrapper) GetOperation(w http.ResponseWriter, r *http.Request)
GetOperation operation middleware
func (*ServerInterfaceWrapper) GetRetractedOriginal ¶
func (siw *ServerInterfaceWrapper) GetRetractedOriginal(w http.ResponseWriter, r *http.Request)
GetRetractedOriginal operation middleware
func (*ServerInterfaceWrapper) GetRoomArchive ¶
func (siw *ServerInterfaceWrapper) GetRoomArchive(w http.ResponseWriter, r *http.Request)
GetRoomArchive operation middleware
func (*ServerInterfaceWrapper) GetRoomManagement ¶
func (siw *ServerInterfaceWrapper) GetRoomManagement(w http.ResponseWriter, r *http.Request)
GetRoomManagement operation middleware
func (*ServerInterfaceWrapper) GetRoomOmemo ¶
func (siw *ServerInterfaceWrapper) GetRoomOmemo(w http.ResponseWriter, r *http.Request)
GetRoomOmemo operation middleware
func (*ServerInterfaceWrapper) GetRoomParticipants ¶
func (siw *ServerInterfaceWrapper) GetRoomParticipants(w http.ResponseWriter, r *http.Request)
GetRoomParticipants operation middleware
func (*ServerInterfaceWrapper) GetRoomSession ¶
func (siw *ServerInterfaceWrapper) GetRoomSession(w http.ResponseWriter, r *http.Request)
GetRoomSession operation middleware
func (*ServerInterfaceWrapper) GetSharedContentMedia ¶
func (siw *ServerInterfaceWrapper) GetSharedContentMedia(w http.ResponseWriter, r *http.Request)
GetSharedContentMedia operation middleware
func (*ServerInterfaceWrapper) GetStagedMessageAttachment ¶
func (siw *ServerInterfaceWrapper) GetStagedMessageAttachment(w http.ResponseWriter, r *http.Request)
GetStagedMessageAttachment operation middleware
func (*ServerInterfaceWrapper) GetVideoThumbnail ¶
func (siw *ServerInterfaceWrapper) GetVideoThumbnail(w http.ResponseWriter, r *http.Request)
GetVideoThumbnail operation middleware
func (*ServerInterfaceWrapper) JoinRoom ¶
func (siw *ServerInterfaceWrapper) JoinRoom(w http.ResponseWriter, r *http.Request)
JoinRoom operation middleware
func (*ServerInterfaceWrapper) LeaveRoom ¶
func (siw *ServerInterfaceWrapper) LeaveRoom(w http.ResponseWriter, r *http.Request)
LeaveRoom operation middleware
func (*ServerInterfaceWrapper) ListAccountAvatars ¶
func (siw *ServerInterfaceWrapper) ListAccountAvatars(w http.ResponseWriter, r *http.Request)
ListAccountAvatars operation middleware
func (*ServerInterfaceWrapper) ListAccounts ¶
func (siw *ServerInterfaceWrapper) ListAccounts(w http.ResponseWriter, r *http.Request)
ListAccounts operation middleware
func (*ServerInterfaceWrapper) ListContactRequests ¶
func (siw *ServerInterfaceWrapper) ListContactRequests(w http.ResponseWriter, r *http.Request)
ListContactRequests operation middleware
func (*ServerInterfaceWrapper) ListContacts ¶
func (siw *ServerInterfaceWrapper) ListContacts(w http.ResponseWriter, r *http.Request)
ListContacts operation middleware
func (*ServerInterfaceWrapper) ListConversationMessageStars ¶
func (siw *ServerInterfaceWrapper) ListConversationMessageStars(w http.ResponseWriter, r *http.Request)
ListConversationMessageStars operation middleware
func (*ServerInterfaceWrapper) ListConversationPreviews ¶
func (siw *ServerInterfaceWrapper) ListConversationPreviews(w http.ResponseWriter, r *http.Request)
ListConversationPreviews operation middleware
func (*ServerInterfaceWrapper) ListConversationReactions ¶
func (siw *ServerInterfaceWrapper) ListConversationReactions(w http.ResponseWriter, r *http.Request)
ListConversationReactions operation middleware
func (*ServerInterfaceWrapper) ListConversations ¶
func (siw *ServerInterfaceWrapper) ListConversations(w http.ResponseWriter, r *http.Request)
ListConversations operation middleware
func (*ServerInterfaceWrapper) ListMessages ¶
func (siw *ServerInterfaceWrapper) ListMessages(w http.ResponseWriter, r *http.Request)
ListMessages operation middleware
func (*ServerInterfaceWrapper) ListScheduledMessages ¶
func (siw *ServerInterfaceWrapper) ListScheduledMessages(w http.ResponseWriter, r *http.Request)
ListScheduledMessages operation middleware
func (*ServerInterfaceWrapper) ListSharedContent ¶
func (siw *ServerInterfaceWrapper) ListSharedContent(w http.ResponseWriter, r *http.Request)
ListSharedContent operation middleware
func (*ServerInterfaceWrapper) ListStarredMessages ¶
func (siw *ServerInterfaceWrapper) ListStarredMessages(w http.ResponseWriter, r *http.Request)
ListStarredMessages operation middleware
func (*ServerInterfaceWrapper) ManageRoom ¶
func (siw *ServerInterfaceWrapper) ManageRoom(w http.ResponseWriter, r *http.Request)
ManageRoom operation middleware
func (*ServerInterfaceWrapper) MarkConversationMessagesRead ¶
func (siw *ServerInterfaceWrapper) MarkConversationMessagesRead(w http.ResponseWriter, r *http.Request)
MarkConversationMessagesRead operation middleware
func (*ServerInterfaceWrapper) OpenConversation ¶
func (siw *ServerInterfaceWrapper) OpenConversation(w http.ResponseWriter, r *http.Request)
OpenConversation operation middleware
func (*ServerInterfaceWrapper) OpenRoom ¶
func (siw *ServerInterfaceWrapper) OpenRoom(w http.ResponseWriter, r *http.Request)
OpenRoom operation middleware
func (*ServerInterfaceWrapper) PreviewRoom ¶
func (siw *ServerInterfaceWrapper) PreviewRoom(w http.ResponseWriter, r *http.Request)
PreviewRoom operation middleware
func (*ServerInterfaceWrapper) RefreshMessagePreview ¶
func (siw *ServerInterfaceWrapper) RefreshMessagePreview(w http.ResponseWriter, r *http.Request)
RefreshMessagePreview operation middleware
func (*ServerInterfaceWrapper) RegisterAccount ¶
func (siw *ServerInterfaceWrapper) RegisterAccount(w http.ResponseWriter, r *http.Request)
RegisterAccount operation middleware
func (*ServerInterfaceWrapper) RemoveAccount ¶
func (siw *ServerInterfaceWrapper) RemoveAccount(w http.ResponseWriter, r *http.Request)
RemoveAccount operation middleware
func (*ServerInterfaceWrapper) RemoveDirectFromChats ¶
func (siw *ServerInterfaceWrapper) RemoveDirectFromChats(w http.ResponseWriter, r *http.Request)
RemoveDirectFromChats operation middleware
func (*ServerInterfaceWrapper) RemoveRoomFromChats ¶
func (siw *ServerInterfaceWrapper) RemoveRoomFromChats(w http.ResponseWriter, r *http.Request)
RemoveRoomFromChats operation middleware
func (*ServerInterfaceWrapper) RequestRoomArchive ¶
func (siw *ServerInterfaceWrapper) RequestRoomArchive(w http.ResponseWriter, r *http.Request)
RequestRoomArchive operation middleware
func (*ServerInterfaceWrapper) RequestVideoThumbnail ¶
func (siw *ServerInterfaceWrapper) RequestVideoThumbnail(w http.ResponseWriter, r *http.Request)
RequestVideoThumbnail operation middleware
func (*ServerInterfaceWrapper) ResetEngineData ¶
func (siw *ServerInterfaceWrapper) ResetEngineData(w http.ResponseWriter, r *http.Request)
ResetEngineData operation middleware
func (*ServerInterfaceWrapper) ResolveDraftLinkPreview ¶
func (siw *ServerInterfaceWrapper) ResolveDraftLinkPreview(w http.ResponseWriter, r *http.Request)
ResolveDraftLinkPreview operation middleware
func (*ServerInterfaceWrapper) RetractMessage ¶
func (siw *ServerInterfaceWrapper) RetractMessage(w http.ResponseWriter, r *http.Request)
RetractMessage operation middleware
func (*ServerInterfaceWrapper) SearchMessages ¶
func (siw *ServerInterfaceWrapper) SearchMessages(w http.ResponseWriter, r *http.Request)
SearchMessages operation middleware
func (*ServerInterfaceWrapper) SendMessage ¶
func (siw *ServerInterfaceWrapper) SendMessage(w http.ResponseWriter, r *http.Request)
SendMessage operation middleware
func (*ServerInterfaceWrapper) SendScheduledMessageNow ¶
func (siw *ServerInterfaceWrapper) SendScheduledMessageNow(w http.ResponseWriter, r *http.Request)
SendScheduledMessageNow operation middleware
func (*ServerInterfaceWrapper) SetAccountAvatar ¶
func (siw *ServerInterfaceWrapper) SetAccountAvatar(w http.ResponseWriter, r *http.Request)
SetAccountAvatar operation middleware
func (*ServerInterfaceWrapper) SetAccountCommunicationPreferences ¶
func (siw *ServerInterfaceWrapper) SetAccountCommunicationPreferences(w http.ResponseWriter, r *http.Request)
SetAccountCommunicationPreferences operation middleware
func (*ServerInterfaceWrapper) SetAccountLabel ¶
func (siw *ServerInterfaceWrapper) SetAccountLabel(w http.ResponseWriter, r *http.Request)
SetAccountLabel operation middleware
func (*ServerInterfaceWrapper) SetConversationReadReceipts ¶
func (siw *ServerInterfaceWrapper) SetConversationReadReceipts(w http.ResponseWriter, r *http.Request)
SetConversationReadReceipts operation middleware
func (*ServerInterfaceWrapper) SetConversationRetention ¶
func (siw *ServerInterfaceWrapper) SetConversationRetention(w http.ResponseWriter, r *http.Request)
SetConversationRetention operation middleware
func (*ServerInterfaceWrapper) SetConversationTyping ¶
func (siw *ServerInterfaceWrapper) SetConversationTyping(w http.ResponseWriter, r *http.Request)
SetConversationTyping operation middleware
func (*ServerInterfaceWrapper) SetDownloadRetention ¶
func (siw *ServerInterfaceWrapper) SetDownloadRetention(w http.ResponseWriter, r *http.Request)
SetDownloadRetention operation middleware
func (*ServerInterfaceWrapper) SetGlobalReadReceipts ¶
func (siw *ServerInterfaceWrapper) SetGlobalReadReceipts(w http.ResponseWriter, r *http.Request)
SetGlobalReadReceipts operation middleware
func (*ServerInterfaceWrapper) SetGlobalRetention ¶
func (siw *ServerInterfaceWrapper) SetGlobalRetention(w http.ResponseWriter, r *http.Request)
SetGlobalRetention operation middleware
func (*ServerInterfaceWrapper) SetMessageReactions ¶
func (siw *ServerInterfaceWrapper) SetMessageReactions(w http.ResponseWriter, r *http.Request)
SetMessageReactions operation middleware
func (*ServerInterfaceWrapper) SetMessageStar ¶
func (siw *ServerInterfaceWrapper) SetMessageStar(w http.ResponseWriter, r *http.Request)
SetMessageStar operation middleware
func (*ServerInterfaceWrapper) SetOmemoDecision ¶
func (siw *ServerInterfaceWrapper) SetOmemoDecision(w http.ResponseWriter, r *http.Request)
SetOmemoDecision operation middleware
func (*ServerInterfaceWrapper) SetRoomArchiveMode ¶
func (siw *ServerInterfaceWrapper) SetRoomArchiveMode(w http.ResponseWriter, r *http.Request)
SetRoomArchiveMode operation middleware
func (*ServerInterfaceWrapper) SetRoomOmemo ¶
func (siw *ServerInterfaceWrapper) SetRoomOmemo(w http.ResponseWriter, r *http.Request)
SetRoomOmemo operation middleware
func (*ServerInterfaceWrapper) StageMessageAttachment ¶
func (siw *ServerInterfaceWrapper) StageMessageAttachment(w http.ResponseWriter, r *http.Request)
StageMessageAttachment operation middleware
func (*ServerInterfaceWrapper) StreamEvents ¶
func (siw *ServerInterfaceWrapper) StreamEvents(w http.ResponseWriter, r *http.Request)
StreamEvents operation middleware
func (*ServerInterfaceWrapper) UpdateConversationPreferences ¶
func (siw *ServerInterfaceWrapper) UpdateConversationPreferences(w http.ResponseWriter, r *http.Request)
UpdateConversationPreferences operation middleware
func (*ServerInterfaceWrapper) UpdatePendingMessage ¶
func (siw *ServerInterfaceWrapper) UpdatePendingMessage(w http.ResponseWriter, r *http.Request)
UpdatePendingMessage operation middleware
type SetAccountAvatar ¶
type SetAccountAvatar struct {
// Image Base64-encoded PNG, JPEG, or GIF up to 512 KiB before encoding.
//
// Example: iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVR4nGMIseoCAAH+ARmwLUGoAAAAAElFTkSuQmCC
Image []byte `json:"image"`
}
SetAccountAvatar A local image to publish as the connected account’s profile photo.
type SetAccountAvatar204Response ¶
type SetAccountAvatar204Response struct {
}
func (SetAccountAvatar204Response) VisitSetAccountAvatarResponse ¶
func (response SetAccountAvatar204Response) VisitSetAccountAvatarResponse(w http.ResponseWriter) error
type SetAccountAvatar400ApplicationProblemPlusJSONResponse ¶
type SetAccountAvatar400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetAccountAvatar400ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse ¶
func (response SetAccountAvatar400ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse(w http.ResponseWriter) error
type SetAccountAvatar401ApplicationProblemPlusJSONResponse ¶
type SetAccountAvatar401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetAccountAvatar401ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse ¶
func (response SetAccountAvatar401ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse(w http.ResponseWriter) error
type SetAccountAvatar404ApplicationProblemPlusJSONResponse ¶
type SetAccountAvatar404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetAccountAvatar404ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse ¶
func (response SetAccountAvatar404ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse(w http.ResponseWriter) error
type SetAccountAvatar409ApplicationProblemPlusJSONResponse ¶
type SetAccountAvatar409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetAccountAvatar409ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse ¶
func (response SetAccountAvatar409ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse(w http.ResponseWriter) error
type SetAccountAvatar503ApplicationProblemPlusJSONResponse ¶
type SetAccountAvatar503ApplicationProblemPlusJSONResponse struct {
}
func (SetAccountAvatar503ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse ¶
func (response SetAccountAvatar503ApplicationProblemPlusJSONResponse) VisitSetAccountAvatarResponse(w http.ResponseWriter) error
type SetAccountAvatarJSONRequestBody ¶
type SetAccountAvatarJSONRequestBody = SetAccountAvatar
SetAccountAvatarJSONRequestBody defines body for SetAccountAvatar for application/json ContentType.
type SetAccountAvatarRequestObject ¶
type SetAccountAvatarRequestObject struct {
AccountId AccountID `json:"accountId"`
Body *SetAccountAvatarJSONRequestBody
}
type SetAccountAvatarResponse ¶
type SetAccountAvatarResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetAccountAvatarResponse401Headers
}
func ParseSetAccountAvatarResponse ¶
func ParseSetAccountAvatarResponse(rsp *http.Response) (*SetAccountAvatarResponse, error)
ParseSetAccountAvatarResponse parses an HTTP response from a SetAccountAvatarWithResponse call
func (SetAccountAvatarResponse) ContentType ¶
func (r SetAccountAvatarResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetAccountAvatarResponse) GetApplicationproblemJSON400 ¶
func (r SetAccountAvatarResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetAccountAvatarResponse) GetApplicationproblemJSON401 ¶
func (r SetAccountAvatarResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetAccountAvatarResponse) GetApplicationproblemJSON404 ¶
func (r SetAccountAvatarResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetAccountAvatarResponse) GetApplicationproblemJSON409 ¶
func (r SetAccountAvatarResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetAccountAvatarResponse) GetApplicationproblemJSON503 ¶
func (r SetAccountAvatarResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetAccountAvatarResponse) GetBody ¶
func (r SetAccountAvatarResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetAccountAvatarResponse) Status ¶
func (r SetAccountAvatarResponse) Status() string
Status returns HTTPResponse.Status
func (SetAccountAvatarResponse) StatusCode ¶
func (r SetAccountAvatarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetAccountAvatarResponse401Headers ¶
type SetAccountAvatarResponse401Headers struct {
WWWAuthenticate *string
}
SetAccountAvatarResponse401Headers the declared response headers of an HTTP 401 response for SetAccountAvatar
type SetAccountAvatarResponseObject ¶
type SetAccountAvatarResponseObject interface {
VisitSetAccountAvatarResponse(w http.ResponseWriter) error
}
type SetAccountCommunicationPreferences200JSONResponse ¶
type SetAccountCommunicationPreferences200JSONResponse AccountCommunicationPreferences
func (SetAccountCommunicationPreferences200JSONResponse) VisitSetAccountCommunicationPreferencesResponse ¶
func (response SetAccountCommunicationPreferences200JSONResponse) VisitSetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type SetAccountCommunicationPreferences400ApplicationProblemPlusJSONResponse ¶
type SetAccountCommunicationPreferences400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetAccountCommunicationPreferences400ApplicationProblemPlusJSONResponse) VisitSetAccountCommunicationPreferencesResponse ¶
func (response SetAccountCommunicationPreferences400ApplicationProblemPlusJSONResponse) VisitSetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type SetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse ¶
type SetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse) VisitSetAccountCommunicationPreferencesResponse ¶
func (response SetAccountCommunicationPreferences404ApplicationProblemPlusJSONResponse) VisitSetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type SetAccountCommunicationPreferences409ApplicationProblemPlusJSONResponse ¶
type SetAccountCommunicationPreferences409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetAccountCommunicationPreferences409ApplicationProblemPlusJSONResponse) VisitSetAccountCommunicationPreferencesResponse ¶
func (response SetAccountCommunicationPreferences409ApplicationProblemPlusJSONResponse) VisitSetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type SetAccountCommunicationPreferences413Response ¶
type SetAccountCommunicationPreferences413Response struct {
}
func (SetAccountCommunicationPreferences413Response) VisitSetAccountCommunicationPreferencesResponse ¶
func (response SetAccountCommunicationPreferences413Response) VisitSetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type SetAccountCommunicationPreferences415Response ¶
type SetAccountCommunicationPreferences415Response struct {
}
func (SetAccountCommunicationPreferences415Response) VisitSetAccountCommunicationPreferencesResponse ¶
func (response SetAccountCommunicationPreferences415Response) VisitSetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type SetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse ¶
type SetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse struct {
}
func (SetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse) VisitSetAccountCommunicationPreferencesResponse ¶
func (response SetAccountCommunicationPreferences503ApplicationProblemPlusJSONResponse) VisitSetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
type SetAccountCommunicationPreferencesJSONRequestBody ¶
type SetAccountCommunicationPreferencesJSONRequestBody = AccountCommunicationPreferences
SetAccountCommunicationPreferencesJSONRequestBody defines body for SetAccountCommunicationPreferences for application/json ContentType.
type SetAccountCommunicationPreferencesRequestObject ¶
type SetAccountCommunicationPreferencesRequestObject struct {
AccountId AccountID `json:"accountId"`
Body *SetAccountCommunicationPreferencesJSONRequestBody
}
type SetAccountCommunicationPreferencesResponse ¶
type SetAccountCommunicationPreferencesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AccountCommunicationPreferences
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
}
func ParseSetAccountCommunicationPreferencesResponse ¶
func ParseSetAccountCommunicationPreferencesResponse(rsp *http.Response) (*SetAccountCommunicationPreferencesResponse, error)
ParseSetAccountCommunicationPreferencesResponse parses an HTTP response from a SetAccountCommunicationPreferencesWithResponse call
func (SetAccountCommunicationPreferencesResponse) ContentType ¶
func (r SetAccountCommunicationPreferencesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON400 ¶
func (r SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON404 ¶
func (r SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON409 ¶
func (r SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON503 ¶
func (r SetAccountCommunicationPreferencesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetAccountCommunicationPreferencesResponse) GetBody ¶
func (r SetAccountCommunicationPreferencesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetAccountCommunicationPreferencesResponse) GetJSON200 ¶
func (r SetAccountCommunicationPreferencesResponse) GetJSON200() *AccountCommunicationPreferences
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetAccountCommunicationPreferencesResponse) Status ¶
func (r SetAccountCommunicationPreferencesResponse) Status() string
Status returns HTTPResponse.Status
func (SetAccountCommunicationPreferencesResponse) StatusCode ¶
func (r SetAccountCommunicationPreferencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetAccountCommunicationPreferencesResponseObject ¶
type SetAccountCommunicationPreferencesResponseObject interface {
VisitSetAccountCommunicationPreferencesResponse(w http.ResponseWriter) error
}
type SetAccountLabel ¶
type SetAccountLabel struct {
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
// Label The display name in Oiê, up to 120 characters after trimming leading and trailing whitespace.
//
// Example: Personal
Label string `json:"label"`
}
SetAccountLabel A replacement label and the account revision it was based on.
type SetAccountLabel200JSONResponse ¶
type SetAccountLabel200JSONResponse Account
func (SetAccountLabel200JSONResponse) VisitSetAccountLabelResponse ¶
func (response SetAccountLabel200JSONResponse) VisitSetAccountLabelResponse(w http.ResponseWriter) error
type SetAccountLabel400ApplicationProblemPlusJSONResponse ¶
type SetAccountLabel400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetAccountLabel400ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse ¶
func (response SetAccountLabel400ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse(w http.ResponseWriter) error
type SetAccountLabel401ApplicationProblemPlusJSONResponse ¶
type SetAccountLabel401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetAccountLabel401ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse ¶
func (response SetAccountLabel401ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse(w http.ResponseWriter) error
type SetAccountLabel404ApplicationProblemPlusJSONResponse ¶
type SetAccountLabel404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetAccountLabel404ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse ¶
func (response SetAccountLabel404ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse(w http.ResponseWriter) error
type SetAccountLabel409ApplicationProblemPlusJSONResponse ¶
type SetAccountLabel409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetAccountLabel409ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse ¶
func (response SetAccountLabel409ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse(w http.ResponseWriter) error
type SetAccountLabel503ApplicationProblemPlusJSONResponse ¶
type SetAccountLabel503ApplicationProblemPlusJSONResponse struct {
}
func (SetAccountLabel503ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse ¶
func (response SetAccountLabel503ApplicationProblemPlusJSONResponse) VisitSetAccountLabelResponse(w http.ResponseWriter) error
type SetAccountLabelJSONRequestBody ¶
type SetAccountLabelJSONRequestBody = SetAccountLabel
SetAccountLabelJSONRequestBody defines body for SetAccountLabel for application/json ContentType.
type SetAccountLabelRequestObject ¶
type SetAccountLabelRequestObject struct {
AccountId AccountID `json:"accountId"`
Body *SetAccountLabelJSONRequestBody
}
type SetAccountLabelResponse ¶
type SetAccountLabelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Account
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetAccountLabelResponse401Headers
}
func ParseSetAccountLabelResponse ¶
func ParseSetAccountLabelResponse(rsp *http.Response) (*SetAccountLabelResponse, error)
ParseSetAccountLabelResponse parses an HTTP response from a SetAccountLabelWithResponse call
func (SetAccountLabelResponse) ContentType ¶
func (r SetAccountLabelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetAccountLabelResponse) GetApplicationproblemJSON400 ¶
func (r SetAccountLabelResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetAccountLabelResponse) GetApplicationproblemJSON401 ¶
func (r SetAccountLabelResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetAccountLabelResponse) GetApplicationproblemJSON404 ¶
func (r SetAccountLabelResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetAccountLabelResponse) GetApplicationproblemJSON409 ¶
func (r SetAccountLabelResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetAccountLabelResponse) GetApplicationproblemJSON503 ¶
func (r SetAccountLabelResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetAccountLabelResponse) GetBody ¶
func (r SetAccountLabelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetAccountLabelResponse) GetJSON200 ¶
func (r SetAccountLabelResponse) GetJSON200() *Account
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetAccountLabelResponse) Status ¶
func (r SetAccountLabelResponse) Status() string
Status returns HTTPResponse.Status
func (SetAccountLabelResponse) StatusCode ¶
func (r SetAccountLabelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetAccountLabelResponse401Headers ¶
type SetAccountLabelResponse401Headers struct {
WWWAuthenticate *string
}
SetAccountLabelResponse401Headers the declared response headers of an HTTP 401 response for SetAccountLabel
type SetAccountLabelResponseObject ¶
type SetAccountLabelResponseObject interface {
VisitSetAccountLabelResponse(w http.ResponseWriter) error
}
type SetConversationReadReceipts ¶
type SetConversationReadReceipts struct {
// ExpectedRevision Example: 0:0
ExpectedRevision string `json:"expectedRevision"`
// Override Use null to inherit the engine default, true to send, or false to suppress.
//
// Example: true
Override *bool `json:"override"`
}
SetConversationReadReceipts Replace the override or restore inheritance.
type SetConversationReadReceipts200JSONResponse ¶
type SetConversationReadReceipts200JSONResponse ConversationReadReceipts
func (SetConversationReadReceipts200JSONResponse) VisitSetConversationReadReceiptsResponse ¶
func (response SetConversationReadReceipts200JSONResponse) VisitSetConversationReadReceiptsResponse(w http.ResponseWriter) error
type SetConversationReadReceipts400ApplicationProblemPlusJSONResponse ¶
type SetConversationReadReceipts400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetConversationReadReceipts400ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse ¶
func (response SetConversationReadReceipts400ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse(w http.ResponseWriter) error
type SetConversationReadReceipts401ApplicationProblemPlusJSONResponse ¶
type SetConversationReadReceipts401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetConversationReadReceipts401ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse ¶
func (response SetConversationReadReceipts401ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse(w http.ResponseWriter) error
type SetConversationReadReceipts404ApplicationProblemPlusJSONResponse ¶
type SetConversationReadReceipts404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetConversationReadReceipts404ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse ¶
func (response SetConversationReadReceipts404ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse(w http.ResponseWriter) error
type SetConversationReadReceipts409ApplicationProblemPlusJSONResponse ¶
type SetConversationReadReceipts409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetConversationReadReceipts409ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse ¶
func (response SetConversationReadReceipts409ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse(w http.ResponseWriter) error
type SetConversationReadReceipts503ApplicationProblemPlusJSONResponse ¶
type SetConversationReadReceipts503ApplicationProblemPlusJSONResponse struct {
}
func (SetConversationReadReceipts503ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse ¶
func (response SetConversationReadReceipts503ApplicationProblemPlusJSONResponse) VisitSetConversationReadReceiptsResponse(w http.ResponseWriter) error
type SetConversationReadReceiptsJSONRequestBody ¶
type SetConversationReadReceiptsJSONRequestBody = SetConversationReadReceipts
SetConversationReadReceiptsJSONRequestBody defines body for SetConversationReadReceipts for application/json ContentType.
type SetConversationReadReceiptsRequestObject ¶
type SetConversationReadReceiptsRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Body *SetConversationReadReceiptsJSONRequestBody
}
type SetConversationReadReceiptsResponse ¶
type SetConversationReadReceiptsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationReadReceipts
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetConversationReadReceiptsResponse401Headers
}
func ParseSetConversationReadReceiptsResponse ¶
func ParseSetConversationReadReceiptsResponse(rsp *http.Response) (*SetConversationReadReceiptsResponse, error)
ParseSetConversationReadReceiptsResponse parses an HTTP response from a SetConversationReadReceiptsWithResponse call
func (SetConversationReadReceiptsResponse) ContentType ¶
func (r SetConversationReadReceiptsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetConversationReadReceiptsResponse) GetApplicationproblemJSON400 ¶
func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetConversationReadReceiptsResponse) GetApplicationproblemJSON401 ¶
func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetConversationReadReceiptsResponse) GetApplicationproblemJSON404 ¶
func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetConversationReadReceiptsResponse) GetApplicationproblemJSON409 ¶
func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetConversationReadReceiptsResponse) GetApplicationproblemJSON503 ¶
func (r SetConversationReadReceiptsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetConversationReadReceiptsResponse) GetBody ¶
func (r SetConversationReadReceiptsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetConversationReadReceiptsResponse) GetJSON200 ¶
func (r SetConversationReadReceiptsResponse) GetJSON200() *ConversationReadReceipts
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetConversationReadReceiptsResponse) Status ¶
func (r SetConversationReadReceiptsResponse) Status() string
Status returns HTTPResponse.Status
func (SetConversationReadReceiptsResponse) StatusCode ¶
func (r SetConversationReadReceiptsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetConversationReadReceiptsResponse401Headers ¶
type SetConversationReadReceiptsResponse401Headers struct {
WWWAuthenticate *string
}
SetConversationReadReceiptsResponse401Headers the declared response headers of an HTTP 401 response for SetConversationReadReceipts
type SetConversationReadReceiptsResponseObject ¶
type SetConversationReadReceiptsResponseObject interface {
VisitSetConversationReadReceiptsResponse(w http.ResponseWriter) error
}
type SetConversationRetention ¶
type SetConversationRetention struct {
// Days Set null to inherit, zero for unlimited, or a positive period in days.
//
// Example: 90
Days *int `json:"days"`
// ExpectedRevision Compare-and-set token from the most recent retention snapshot.
//
// Example: 1
ExpectedRevision RetentionRevision `json:"expectedRevision"`
}
SetConversationRetention Desired conversation override, guarded by the observed revision.
type SetConversationRetention200JSONResponse ¶
type SetConversationRetention200JSONResponse ConversationRetention
func (SetConversationRetention200JSONResponse) VisitSetConversationRetentionResponse ¶
func (response SetConversationRetention200JSONResponse) VisitSetConversationRetentionResponse(w http.ResponseWriter) error
type SetConversationRetention400ApplicationProblemPlusJSONResponse ¶
type SetConversationRetention400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetConversationRetention400ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse ¶
func (response SetConversationRetention400ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse(w http.ResponseWriter) error
type SetConversationRetention401ApplicationProblemPlusJSONResponse ¶
type SetConversationRetention401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetConversationRetention401ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse ¶
func (response SetConversationRetention401ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse(w http.ResponseWriter) error
type SetConversationRetention404ApplicationProblemPlusJSONResponse ¶
type SetConversationRetention404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetConversationRetention404ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse ¶
func (response SetConversationRetention404ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse(w http.ResponseWriter) error
type SetConversationRetention409ApplicationProblemPlusJSONResponse ¶
type SetConversationRetention409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetConversationRetention409ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse ¶
func (response SetConversationRetention409ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse(w http.ResponseWriter) error
type SetConversationRetention413Response ¶
type SetConversationRetention413Response struct {
}
func (SetConversationRetention413Response) VisitSetConversationRetentionResponse ¶
func (response SetConversationRetention413Response) VisitSetConversationRetentionResponse(w http.ResponseWriter) error
type SetConversationRetention415Response ¶
type SetConversationRetention415Response struct {
}
func (SetConversationRetention415Response) VisitSetConversationRetentionResponse ¶
func (response SetConversationRetention415Response) VisitSetConversationRetentionResponse(w http.ResponseWriter) error
type SetConversationRetention503ApplicationProblemPlusJSONResponse ¶
type SetConversationRetention503ApplicationProblemPlusJSONResponse struct {
}
func (SetConversationRetention503ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse ¶
func (response SetConversationRetention503ApplicationProblemPlusJSONResponse) VisitSetConversationRetentionResponse(w http.ResponseWriter) error
type SetConversationRetentionJSONRequestBody ¶
type SetConversationRetentionJSONRequestBody = SetConversationRetention
SetConversationRetentionJSONRequestBody defines body for SetConversationRetention for application/json ContentType.
type SetConversationRetentionRequestObject ¶
type SetConversationRetentionRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Body *SetConversationRetentionJSONRequestBody
}
type SetConversationRetentionResponse ¶
type SetConversationRetentionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationRetention
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetConversationRetentionResponse401Headers
}
func ParseSetConversationRetentionResponse ¶
func ParseSetConversationRetentionResponse(rsp *http.Response) (*SetConversationRetentionResponse, error)
ParseSetConversationRetentionResponse parses an HTTP response from a SetConversationRetentionWithResponse call
func (SetConversationRetentionResponse) ContentType ¶
func (r SetConversationRetentionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetConversationRetentionResponse) GetApplicationproblemJSON400 ¶
func (r SetConversationRetentionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetConversationRetentionResponse) GetApplicationproblemJSON401 ¶
func (r SetConversationRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetConversationRetentionResponse) GetApplicationproblemJSON404 ¶
func (r SetConversationRetentionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetConversationRetentionResponse) GetApplicationproblemJSON409 ¶
func (r SetConversationRetentionResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetConversationRetentionResponse) GetApplicationproblemJSON503 ¶
func (r SetConversationRetentionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetConversationRetentionResponse) GetBody ¶
func (r SetConversationRetentionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetConversationRetentionResponse) GetJSON200 ¶
func (r SetConversationRetentionResponse) GetJSON200() *ConversationRetention
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetConversationRetentionResponse) Status ¶
func (r SetConversationRetentionResponse) Status() string
Status returns HTTPResponse.Status
func (SetConversationRetentionResponse) StatusCode ¶
func (r SetConversationRetentionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetConversationRetentionResponse401Headers ¶
type SetConversationRetentionResponse401Headers struct {
WWWAuthenticate *string
}
SetConversationRetentionResponse401Headers the declared response headers of an HTTP 401 response for SetConversationRetention
type SetConversationRetentionResponseObject ¶
type SetConversationRetentionResponseObject interface {
VisitSetConversationRetentionResponse(w http.ResponseWriter) error
}
type SetConversationTyping204Response ¶
type SetConversationTyping204Response struct {
}
func (SetConversationTyping204Response) VisitSetConversationTypingResponse ¶
func (response SetConversationTyping204Response) VisitSetConversationTypingResponse(w http.ResponseWriter) error
type SetConversationTyping400ApplicationProblemPlusJSONResponse ¶
type SetConversationTyping400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetConversationTyping400ApplicationProblemPlusJSONResponse) VisitSetConversationTypingResponse ¶
func (response SetConversationTyping400ApplicationProblemPlusJSONResponse) VisitSetConversationTypingResponse(w http.ResponseWriter) error
type SetConversationTyping404ApplicationProblemPlusJSONResponse ¶
type SetConversationTyping404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetConversationTyping404ApplicationProblemPlusJSONResponse) VisitSetConversationTypingResponse ¶
func (response SetConversationTyping404ApplicationProblemPlusJSONResponse) VisitSetConversationTypingResponse(w http.ResponseWriter) error
type SetConversationTyping409ApplicationProblemPlusJSONResponse ¶
type SetConversationTyping409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetConversationTyping409ApplicationProblemPlusJSONResponse) VisitSetConversationTypingResponse ¶
func (response SetConversationTyping409ApplicationProblemPlusJSONResponse) VisitSetConversationTypingResponse(w http.ResponseWriter) error
type SetConversationTyping413Response ¶
type SetConversationTyping413Response struct {
}
func (SetConversationTyping413Response) VisitSetConversationTypingResponse ¶
func (response SetConversationTyping413Response) VisitSetConversationTypingResponse(w http.ResponseWriter) error
type SetConversationTyping415Response ¶
type SetConversationTyping415Response struct {
}
func (SetConversationTyping415Response) VisitSetConversationTypingResponse ¶
func (response SetConversationTyping415Response) VisitSetConversationTypingResponse(w http.ResponseWriter) error
type SetConversationTyping503ApplicationProblemPlusJSONResponse ¶
type SetConversationTyping503ApplicationProblemPlusJSONResponse struct {
}
func (SetConversationTyping503ApplicationProblemPlusJSONResponse) VisitSetConversationTypingResponse ¶
func (response SetConversationTyping503ApplicationProblemPlusJSONResponse) VisitSetConversationTypingResponse(w http.ResponseWriter) error
type SetConversationTypingJSONRequestBody ¶
type SetConversationTypingJSONRequestBody = TypingState
SetConversationTypingJSONRequestBody defines body for SetConversationTyping for application/json ContentType.
type SetConversationTypingRequestObject ¶
type SetConversationTypingRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Body *SetConversationTypingJSONRequestBody
}
type SetConversationTypingResponse ¶
type SetConversationTypingResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
}
func ParseSetConversationTypingResponse ¶
func ParseSetConversationTypingResponse(rsp *http.Response) (*SetConversationTypingResponse, error)
ParseSetConversationTypingResponse parses an HTTP response from a SetConversationTypingWithResponse call
func (SetConversationTypingResponse) ContentType ¶
func (r SetConversationTypingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetConversationTypingResponse) GetApplicationproblemJSON400 ¶
func (r SetConversationTypingResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetConversationTypingResponse) GetApplicationproblemJSON404 ¶
func (r SetConversationTypingResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetConversationTypingResponse) GetApplicationproblemJSON409 ¶
func (r SetConversationTypingResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetConversationTypingResponse) GetApplicationproblemJSON503 ¶
func (r SetConversationTypingResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetConversationTypingResponse) GetBody ¶
func (r SetConversationTypingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetConversationTypingResponse) Status ¶
func (r SetConversationTypingResponse) Status() string
Status returns HTTPResponse.Status
func (SetConversationTypingResponse) StatusCode ¶
func (r SetConversationTypingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetConversationTypingResponseObject ¶
type SetConversationTypingResponseObject interface {
VisitSetConversationTypingResponse(w http.ResponseWriter) error
}
type SetDownloadRetention ¶
type SetDownloadRetention struct {
// Days Age in days before expiry, or zero to keep until explicit deletion.
Days int `json:"days"`
}
SetDownloadRetention Changes the retention period and applies it to existing downloads.
Example: {"days":30}
type SetDownloadRetention200JSONResponse ¶
type SetDownloadRetention200JSONResponse DownloadRetention
func (SetDownloadRetention200JSONResponse) VisitSetDownloadRetentionResponse ¶
func (response SetDownloadRetention200JSONResponse) VisitSetDownloadRetentionResponse(w http.ResponseWriter) error
type SetDownloadRetention400ApplicationProblemPlusJSONResponse ¶
type SetDownloadRetention400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetDownloadRetention400ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse ¶
func (response SetDownloadRetention400ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse(w http.ResponseWriter) error
type SetDownloadRetention401ApplicationProblemPlusJSONResponse ¶
type SetDownloadRetention401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetDownloadRetention401ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse ¶
func (response SetDownloadRetention401ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse(w http.ResponseWriter) error
type SetDownloadRetention413ApplicationProblemPlusJSONResponse ¶
type SetDownloadRetention413ApplicationProblemPlusJSONResponse Problem
func (SetDownloadRetention413ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse ¶
func (response SetDownloadRetention413ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse(w http.ResponseWriter) error
type SetDownloadRetention415ApplicationProblemPlusJSONResponse ¶
type SetDownloadRetention415ApplicationProblemPlusJSONResponse Problem
func (SetDownloadRetention415ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse ¶
func (response SetDownloadRetention415ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse(w http.ResponseWriter) error
type SetDownloadRetention503ApplicationProblemPlusJSONResponse ¶
type SetDownloadRetention503ApplicationProblemPlusJSONResponse struct {
}
func (SetDownloadRetention503ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse ¶
func (response SetDownloadRetention503ApplicationProblemPlusJSONResponse) VisitSetDownloadRetentionResponse(w http.ResponseWriter) error
type SetDownloadRetentionJSONRequestBody ¶
type SetDownloadRetentionJSONRequestBody = SetDownloadRetention
SetDownloadRetentionJSONRequestBody defines body for SetDownloadRetention for application/json ContentType.
type SetDownloadRetentionRequestObject ¶
type SetDownloadRetentionRequestObject struct {
DeviceId ID `json:"deviceId"`
Body *SetDownloadRetentionJSONRequestBody
}
type SetDownloadRetentionResponse ¶
type SetDownloadRetentionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DownloadRetention
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetDownloadRetentionResponse401Headers
}
func ParseSetDownloadRetentionResponse ¶
func ParseSetDownloadRetentionResponse(rsp *http.Response) (*SetDownloadRetentionResponse, error)
ParseSetDownloadRetentionResponse parses an HTTP response from a SetDownloadRetentionWithResponse call
func (SetDownloadRetentionResponse) ContentType ¶
func (r SetDownloadRetentionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetDownloadRetentionResponse) GetApplicationproblemJSON400 ¶
func (r SetDownloadRetentionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetDownloadRetentionResponse) GetApplicationproblemJSON401 ¶
func (r SetDownloadRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetDownloadRetentionResponse) GetApplicationproblemJSON413 ¶
func (r SetDownloadRetentionResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (SetDownloadRetentionResponse) GetApplicationproblemJSON415 ¶
func (r SetDownloadRetentionResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (SetDownloadRetentionResponse) GetApplicationproblemJSON503 ¶
func (r SetDownloadRetentionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetDownloadRetentionResponse) GetBody ¶
func (r SetDownloadRetentionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetDownloadRetentionResponse) GetJSON200 ¶
func (r SetDownloadRetentionResponse) GetJSON200() *DownloadRetention
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetDownloadRetentionResponse) Status ¶
func (r SetDownloadRetentionResponse) Status() string
Status returns HTTPResponse.Status
func (SetDownloadRetentionResponse) StatusCode ¶
func (r SetDownloadRetentionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetDownloadRetentionResponse401Headers ¶
type SetDownloadRetentionResponse401Headers struct {
WWWAuthenticate *string
}
SetDownloadRetentionResponse401Headers the declared response headers of an HTTP 401 response for SetDownloadRetention
type SetDownloadRetentionResponseObject ¶
type SetDownloadRetentionResponseObject interface {
VisitSetDownloadRetentionResponse(w http.ResponseWriter) error
}
type SetGlobalReadReceipts ¶
type SetGlobalReadReceipts struct {
// Enabled Example: true
Enabled bool `json:"enabled"`
// ExpectedRevision Example: 0
ExpectedRevision string `json:"expectedRevision"`
}
SetGlobalReadReceipts Replace the default read receipt setting.
type SetGlobalReadReceipts200JSONResponse ¶
type SetGlobalReadReceipts200JSONResponse GlobalReadReceipts
func (SetGlobalReadReceipts200JSONResponse) VisitSetGlobalReadReceiptsResponse ¶
func (response SetGlobalReadReceipts200JSONResponse) VisitSetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type SetGlobalReadReceipts400ApplicationProblemPlusJSONResponse ¶
type SetGlobalReadReceipts400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetGlobalReadReceipts400ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse ¶
func (response SetGlobalReadReceipts400ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type SetGlobalReadReceipts401ApplicationProblemPlusJSONResponse ¶
type SetGlobalReadReceipts401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetGlobalReadReceipts401ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse ¶
func (response SetGlobalReadReceipts401ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type SetGlobalReadReceipts404ApplicationProblemPlusJSONResponse ¶
type SetGlobalReadReceipts404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetGlobalReadReceipts404ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse ¶
func (response SetGlobalReadReceipts404ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type SetGlobalReadReceipts409ApplicationProblemPlusJSONResponse ¶
type SetGlobalReadReceipts409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetGlobalReadReceipts409ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse ¶
func (response SetGlobalReadReceipts409ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type SetGlobalReadReceipts503ApplicationProblemPlusJSONResponse ¶
type SetGlobalReadReceipts503ApplicationProblemPlusJSONResponse struct {
}
func (SetGlobalReadReceipts503ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse ¶
func (response SetGlobalReadReceipts503ApplicationProblemPlusJSONResponse) VisitSetGlobalReadReceiptsResponse(w http.ResponseWriter) error
type SetGlobalReadReceiptsJSONRequestBody ¶
type SetGlobalReadReceiptsJSONRequestBody = SetGlobalReadReceipts
SetGlobalReadReceiptsJSONRequestBody defines body for SetGlobalReadReceipts for application/json ContentType.
type SetGlobalReadReceiptsRequestObject ¶
type SetGlobalReadReceiptsRequestObject struct {
Body *SetGlobalReadReceiptsJSONRequestBody
}
type SetGlobalReadReceiptsResponse ¶
type SetGlobalReadReceiptsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GlobalReadReceipts
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetGlobalReadReceiptsResponse401Headers
}
func ParseSetGlobalReadReceiptsResponse ¶
func ParseSetGlobalReadReceiptsResponse(rsp *http.Response) (*SetGlobalReadReceiptsResponse, error)
ParseSetGlobalReadReceiptsResponse parses an HTTP response from a SetGlobalReadReceiptsWithResponse call
func (SetGlobalReadReceiptsResponse) ContentType ¶
func (r SetGlobalReadReceiptsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetGlobalReadReceiptsResponse) GetApplicationproblemJSON400 ¶
func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetGlobalReadReceiptsResponse) GetApplicationproblemJSON401 ¶
func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetGlobalReadReceiptsResponse) GetApplicationproblemJSON404 ¶
func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetGlobalReadReceiptsResponse) GetApplicationproblemJSON409 ¶
func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetGlobalReadReceiptsResponse) GetApplicationproblemJSON503 ¶
func (r SetGlobalReadReceiptsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetGlobalReadReceiptsResponse) GetBody ¶
func (r SetGlobalReadReceiptsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetGlobalReadReceiptsResponse) GetJSON200 ¶
func (r SetGlobalReadReceiptsResponse) GetJSON200() *GlobalReadReceipts
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetGlobalReadReceiptsResponse) Status ¶
func (r SetGlobalReadReceiptsResponse) Status() string
Status returns HTTPResponse.Status
func (SetGlobalReadReceiptsResponse) StatusCode ¶
func (r SetGlobalReadReceiptsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetGlobalReadReceiptsResponse401Headers ¶
type SetGlobalReadReceiptsResponse401Headers struct {
WWWAuthenticate *string
}
SetGlobalReadReceiptsResponse401Headers the declared response headers of an HTTP 401 response for SetGlobalReadReceipts
type SetGlobalReadReceiptsResponseObject ¶
type SetGlobalReadReceiptsResponseObject interface {
VisitSetGlobalReadReceiptsResponse(w http.ResponseWriter) error
}
type SetGlobalRetention ¶
type SetGlobalRetention struct {
// DirectDays Age in days. Zero means unlimited.
//
// Example: 180
DirectDays RetentionDays `json:"directDays"`
// ExpectedRevision Compare-and-set token from the most recent retention snapshot.
//
// Example: 1
ExpectedRevision RetentionRevision `json:"expectedRevision"`
// RoomDays Age in days. Zero means unlimited.
//
// Example: 180
RoomDays RetentionDays `json:"roomDays"`
}
SetGlobalRetention Desired engine-wide periods, guarded by the observed revision.
type SetGlobalRetention200JSONResponse ¶
type SetGlobalRetention200JSONResponse GlobalRetention
func (SetGlobalRetention200JSONResponse) VisitSetGlobalRetentionResponse ¶
func (response SetGlobalRetention200JSONResponse) VisitSetGlobalRetentionResponse(w http.ResponseWriter) error
type SetGlobalRetention400ApplicationProblemPlusJSONResponse ¶
type SetGlobalRetention400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetGlobalRetention400ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse ¶
func (response SetGlobalRetention400ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse(w http.ResponseWriter) error
type SetGlobalRetention401ApplicationProblemPlusJSONResponse ¶
type SetGlobalRetention401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetGlobalRetention401ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse ¶
func (response SetGlobalRetention401ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse(w http.ResponseWriter) error
type SetGlobalRetention404ApplicationProblemPlusJSONResponse ¶
type SetGlobalRetention404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetGlobalRetention404ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse ¶
func (response SetGlobalRetention404ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse(w http.ResponseWriter) error
type SetGlobalRetention409ApplicationProblemPlusJSONResponse ¶
type SetGlobalRetention409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetGlobalRetention409ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse ¶
func (response SetGlobalRetention409ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse(w http.ResponseWriter) error
type SetGlobalRetention413Response ¶
type SetGlobalRetention413Response struct {
}
func (SetGlobalRetention413Response) VisitSetGlobalRetentionResponse ¶
func (response SetGlobalRetention413Response) VisitSetGlobalRetentionResponse(w http.ResponseWriter) error
type SetGlobalRetention415Response ¶
type SetGlobalRetention415Response struct {
}
func (SetGlobalRetention415Response) VisitSetGlobalRetentionResponse ¶
func (response SetGlobalRetention415Response) VisitSetGlobalRetentionResponse(w http.ResponseWriter) error
type SetGlobalRetention503ApplicationProblemPlusJSONResponse ¶
type SetGlobalRetention503ApplicationProblemPlusJSONResponse struct {
}
func (SetGlobalRetention503ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse ¶
func (response SetGlobalRetention503ApplicationProblemPlusJSONResponse) VisitSetGlobalRetentionResponse(w http.ResponseWriter) error
type SetGlobalRetentionJSONRequestBody ¶
type SetGlobalRetentionJSONRequestBody = SetGlobalRetention
SetGlobalRetentionJSONRequestBody defines body for SetGlobalRetention for application/json ContentType.
type SetGlobalRetentionRequestObject ¶
type SetGlobalRetentionRequestObject struct {
Body *SetGlobalRetentionJSONRequestBody
}
type SetGlobalRetentionResponse ¶
type SetGlobalRetentionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GlobalRetention
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetGlobalRetentionResponse401Headers
}
func ParseSetGlobalRetentionResponse ¶
func ParseSetGlobalRetentionResponse(rsp *http.Response) (*SetGlobalRetentionResponse, error)
ParseSetGlobalRetentionResponse parses an HTTP response from a SetGlobalRetentionWithResponse call
func (SetGlobalRetentionResponse) ContentType ¶
func (r SetGlobalRetentionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetGlobalRetentionResponse) GetApplicationproblemJSON400 ¶
func (r SetGlobalRetentionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetGlobalRetentionResponse) GetApplicationproblemJSON401 ¶
func (r SetGlobalRetentionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetGlobalRetentionResponse) GetApplicationproblemJSON404 ¶
func (r SetGlobalRetentionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetGlobalRetentionResponse) GetApplicationproblemJSON409 ¶
func (r SetGlobalRetentionResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetGlobalRetentionResponse) GetApplicationproblemJSON503 ¶
func (r SetGlobalRetentionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetGlobalRetentionResponse) GetBody ¶
func (r SetGlobalRetentionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetGlobalRetentionResponse) GetJSON200 ¶
func (r SetGlobalRetentionResponse) GetJSON200() *GlobalRetention
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetGlobalRetentionResponse) Status ¶
func (r SetGlobalRetentionResponse) Status() string
Status returns HTTPResponse.Status
func (SetGlobalRetentionResponse) StatusCode ¶
func (r SetGlobalRetentionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetGlobalRetentionResponse401Headers ¶
type SetGlobalRetentionResponse401Headers struct {
WWWAuthenticate *string
}
SetGlobalRetentionResponse401Headers the declared response headers of an HTTP 401 response for SetGlobalRetention
type SetGlobalRetentionResponseObject ¶
type SetGlobalRetentionResponseObject interface {
VisitSetGlobalRetentionResponse(w http.ResponseWriter) error
}
type SetMessageReactions ¶
type SetMessageReactions struct {
// Emojis Complete desired set of at most eight distinct single Unicode emoji graphemes. Empty clears the set.
//
// Example: ["👍"]
Emojis ReactionEmojiSet `json:"emojis"`
// ExpectedOwnRevisionId Observed reaction revision UUID, or null before the first set.
//
// Example: 019a5df0-0000-7000-8000-000000000004
ExpectedOwnRevisionId *NullableReactionRevision `json:"expectedOwnRevisionId"`
}
SetMessageReactions Complete desired own reaction set guarded by the observed own revision.
Example: {"emojis":["👍"],"expectedOwnRevisionId":null}
type SetMessageReactions200JSONResponse ¶
type SetMessageReactions200JSONResponse MessageReactionCommand
func (SetMessageReactions200JSONResponse) VisitSetMessageReactionsResponse ¶
func (response SetMessageReactions200JSONResponse) VisitSetMessageReactionsResponse(w http.ResponseWriter) error
type SetMessageReactions202JSONResponse ¶
type SetMessageReactions202JSONResponse struct {
Body MessageReactionCommand
Headers SetMessageReactions202ResponseHeaders
}
func (SetMessageReactions202JSONResponse) VisitSetMessageReactionsResponse ¶
func (response SetMessageReactions202JSONResponse) VisitSetMessageReactionsResponse(w http.ResponseWriter) error
type SetMessageReactions202ResponseHeaders ¶
type SetMessageReactions202ResponseHeaders struct {
Location *string
}
type SetMessageReactions400ApplicationProblemPlusJSONResponse ¶
type SetMessageReactions400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetMessageReactions400ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse ¶
func (response SetMessageReactions400ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse(w http.ResponseWriter) error
type SetMessageReactions401ApplicationProblemPlusJSONResponse ¶
type SetMessageReactions401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetMessageReactions401ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse ¶
func (response SetMessageReactions401ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse(w http.ResponseWriter) error
type SetMessageReactions404ApplicationProblemPlusJSONResponse ¶
type SetMessageReactions404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetMessageReactions404ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse ¶
func (response SetMessageReactions404ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse(w http.ResponseWriter) error
type SetMessageReactions409ApplicationProblemPlusJSONResponse ¶
type SetMessageReactions409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetMessageReactions409ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse ¶
func (response SetMessageReactions409ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse(w http.ResponseWriter) error
type SetMessageReactions413ApplicationProblemPlusJSONResponse ¶
type SetMessageReactions413ApplicationProblemPlusJSONResponse Problem
func (SetMessageReactions413ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse ¶
func (response SetMessageReactions413ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse(w http.ResponseWriter) error
type SetMessageReactions415ApplicationProblemPlusJSONResponse ¶
type SetMessageReactions415ApplicationProblemPlusJSONResponse Problem
func (SetMessageReactions415ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse ¶
func (response SetMessageReactions415ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse(w http.ResponseWriter) error
type SetMessageReactions503ApplicationProblemPlusJSONResponse ¶
type SetMessageReactions503ApplicationProblemPlusJSONResponse struct {
}
func (SetMessageReactions503ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse ¶
func (response SetMessageReactions503ApplicationProblemPlusJSONResponse) VisitSetMessageReactionsResponse(w http.ResponseWriter) error
type SetMessageReactionsJSONRequestBody ¶
type SetMessageReactionsJSONRequestBody = SetMessageReactions
SetMessageReactionsJSONRequestBody defines body for SetMessageReactions for application/json ContentType.
type SetMessageReactionsParams ¶
type SetMessageReactionsParams struct {
// IdempotencyKey Stable command UUID retained across retries and receipt lookup.
IdempotencyKey ID `json:"Idempotency-Key"`
}
SetMessageReactionsParams defines parameters for SetMessageReactions.
type SetMessageReactionsRequestObject ¶
type SetMessageReactionsRequestObject struct {
MessageId MessageID `json:"messageId"`
Params SetMessageReactionsParams
Body *SetMessageReactionsJSONRequestBody
}
type SetMessageReactionsResponse ¶
type SetMessageReactionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageReactionCommand
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *MessageReactionCommand
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers202 the parsed response headers for an HTTP 202 response
Headers202 *SetMessageReactionsResponse202Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetMessageReactionsResponse401Headers
}
func ParseSetMessageReactionsResponse ¶
func ParseSetMessageReactionsResponse(rsp *http.Response) (*SetMessageReactionsResponse, error)
ParseSetMessageReactionsResponse parses an HTTP response from a SetMessageReactionsWithResponse call
func (SetMessageReactionsResponse) ContentType ¶
func (r SetMessageReactionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetMessageReactionsResponse) GetApplicationproblemJSON400 ¶
func (r SetMessageReactionsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetMessageReactionsResponse) GetApplicationproblemJSON401 ¶
func (r SetMessageReactionsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetMessageReactionsResponse) GetApplicationproblemJSON404 ¶
func (r SetMessageReactionsResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetMessageReactionsResponse) GetApplicationproblemJSON409 ¶
func (r SetMessageReactionsResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetMessageReactionsResponse) GetApplicationproblemJSON413 ¶
func (r SetMessageReactionsResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (SetMessageReactionsResponse) GetApplicationproblemJSON415 ¶
func (r SetMessageReactionsResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (SetMessageReactionsResponse) GetApplicationproblemJSON503 ¶
func (r SetMessageReactionsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetMessageReactionsResponse) GetBody ¶
func (r SetMessageReactionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetMessageReactionsResponse) GetJSON200 ¶
func (r SetMessageReactionsResponse) GetJSON200() *MessageReactionCommand
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetMessageReactionsResponse) GetJSON202 ¶
func (r SetMessageReactionsResponse) GetJSON202() *MessageReactionCommand
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (SetMessageReactionsResponse) Status ¶
func (r SetMessageReactionsResponse) Status() string
Status returns HTTPResponse.Status
func (SetMessageReactionsResponse) StatusCode ¶
func (r SetMessageReactionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetMessageReactionsResponse202Headers ¶
type SetMessageReactionsResponse202Headers struct {
Location *string
}
SetMessageReactionsResponse202Headers the declared response headers of an HTTP 202 response for SetMessageReactions
type SetMessageReactionsResponse401Headers ¶
type SetMessageReactionsResponse401Headers struct {
WWWAuthenticate *string
}
SetMessageReactionsResponse401Headers the declared response headers of an HTTP 401 response for SetMessageReactions
type SetMessageReactionsResponseObject ¶
type SetMessageReactionsResponseObject interface {
VisitSetMessageReactionsResponse(w http.ResponseWriter) error
}
type SetMessageStar ¶
type SetMessageStar struct {
// ExpectedRevisionId Canonical UUIDv7 of app-owned state; null means no revision has been created.
//
// Example: 019a5df0-0000-7000-8000-000000000004
ExpectedRevisionId *NullableRevisionID `json:"expectedRevisionId"`
// Starred Desired value, never an ambiguous toggle.
Starred bool `json:"starred"`
}
SetMessageStar Desired star state and mandatory optimistic precondition; use a new operation UUID for a new decision.
Example: {"expectedRevisionId":null,"starred":true}
type SetMessageStar200JSONResponse ¶
type SetMessageStar200JSONResponse MessageStar
func (SetMessageStar200JSONResponse) VisitSetMessageStarResponse ¶
func (response SetMessageStar200JSONResponse) VisitSetMessageStarResponse(w http.ResponseWriter) error
type SetMessageStar400ApplicationProblemPlusJSONResponse ¶
type SetMessageStar400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetMessageStar400ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse ¶
func (response SetMessageStar400ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse(w http.ResponseWriter) error
type SetMessageStar401ApplicationProblemPlusJSONResponse ¶
type SetMessageStar401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetMessageStar401ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse ¶
func (response SetMessageStar401ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse(w http.ResponseWriter) error
type SetMessageStar404ApplicationProblemPlusJSONResponse ¶
type SetMessageStar404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetMessageStar404ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse ¶
func (response SetMessageStar404ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse(w http.ResponseWriter) error
type SetMessageStar409ApplicationProblemPlusJSONResponse ¶
type SetMessageStar409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetMessageStar409ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse ¶
func (response SetMessageStar409ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse(w http.ResponseWriter) error
type SetMessageStar413ApplicationProblemPlusJSONResponse ¶
type SetMessageStar413ApplicationProblemPlusJSONResponse Problem
func (SetMessageStar413ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse ¶
func (response SetMessageStar413ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse(w http.ResponseWriter) error
type SetMessageStar415ApplicationProblemPlusJSONResponse ¶
type SetMessageStar415ApplicationProblemPlusJSONResponse Problem
func (SetMessageStar415ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse ¶
func (response SetMessageStar415ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse(w http.ResponseWriter) error
type SetMessageStar503ApplicationProblemPlusJSONResponse ¶
type SetMessageStar503ApplicationProblemPlusJSONResponse struct {
}
func (SetMessageStar503ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse ¶
func (response SetMessageStar503ApplicationProblemPlusJSONResponse) VisitSetMessageStarResponse(w http.ResponseWriter) error
type SetMessageStarJSONRequestBody ¶
type SetMessageStarJSONRequestBody = SetMessageStar
SetMessageStarJSONRequestBody defines body for SetMessageStar for application/json ContentType.
type SetMessageStarParams ¶
type SetMessageStarParams struct {
// IdempotencyKey Stable UUID for this exact star operation, retained across retries.
IdempotencyKey ID `json:"Idempotency-Key"`
}
SetMessageStarParams defines parameters for SetMessageStar.
type SetMessageStarRequestObject ¶
type SetMessageStarRequestObject struct {
MessageId MessageID `json:"messageId"`
Params SetMessageStarParams
Body *SetMessageStarJSONRequestBody
}
type SetMessageStarResponse ¶
type SetMessageStarResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageStar
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetMessageStarResponse401Headers
}
func ParseSetMessageStarResponse ¶
func ParseSetMessageStarResponse(rsp *http.Response) (*SetMessageStarResponse, error)
ParseSetMessageStarResponse parses an HTTP response from a SetMessageStarWithResponse call
func (SetMessageStarResponse) ContentType ¶
func (r SetMessageStarResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetMessageStarResponse) GetApplicationproblemJSON400 ¶
func (r SetMessageStarResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetMessageStarResponse) GetApplicationproblemJSON401 ¶
func (r SetMessageStarResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetMessageStarResponse) GetApplicationproblemJSON404 ¶
func (r SetMessageStarResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetMessageStarResponse) GetApplicationproblemJSON409 ¶
func (r SetMessageStarResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetMessageStarResponse) GetApplicationproblemJSON413 ¶
func (r SetMessageStarResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (SetMessageStarResponse) GetApplicationproblemJSON415 ¶
func (r SetMessageStarResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (SetMessageStarResponse) GetApplicationproblemJSON503 ¶
func (r SetMessageStarResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetMessageStarResponse) GetBody ¶
func (r SetMessageStarResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetMessageStarResponse) GetJSON200 ¶
func (r SetMessageStarResponse) GetJSON200() *MessageStar
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetMessageStarResponse) Status ¶
func (r SetMessageStarResponse) Status() string
Status returns HTTPResponse.Status
func (SetMessageStarResponse) StatusCode ¶
func (r SetMessageStarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetMessageStarResponse401Headers ¶
type SetMessageStarResponse401Headers struct {
WWWAuthenticate *string
}
SetMessageStarResponse401Headers the declared response headers of an HTTP 401 response for SetMessageStar
type SetMessageStarResponseObject ¶
type SetMessageStarResponseObject interface {
VisitSetMessageStarResponse(w http.ResponseWriter) error
}
type SetOmemoDecision204Response ¶
type SetOmemoDecision204Response struct {
}
func (SetOmemoDecision204Response) VisitSetOmemoDecisionResponse ¶
func (response SetOmemoDecision204Response) VisitSetOmemoDecisionResponse(w http.ResponseWriter) error
type SetOmemoDecision400ApplicationProblemPlusJSONResponse ¶
type SetOmemoDecision400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetOmemoDecision400ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse ¶
func (response SetOmemoDecision400ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse(w http.ResponseWriter) error
type SetOmemoDecision401ApplicationProblemPlusJSONResponse ¶
type SetOmemoDecision401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetOmemoDecision401ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse ¶
func (response SetOmemoDecision401ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse(w http.ResponseWriter) error
type SetOmemoDecision404ApplicationProblemPlusJSONResponse ¶
type SetOmemoDecision404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetOmemoDecision404ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse ¶
func (response SetOmemoDecision404ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse(w http.ResponseWriter) error
type SetOmemoDecision409ApplicationProblemPlusJSONResponse ¶
type SetOmemoDecision409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetOmemoDecision409ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse ¶
func (response SetOmemoDecision409ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse(w http.ResponseWriter) error
type SetOmemoDecision503ApplicationProblemPlusJSONResponse ¶
type SetOmemoDecision503ApplicationProblemPlusJSONResponse struct {
}
func (SetOmemoDecision503ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse ¶
func (response SetOmemoDecision503ApplicationProblemPlusJSONResponse) VisitSetOmemoDecisionResponse(w http.ResponseWriter) error
type SetOmemoDecisionJSONRequestBody ¶
type SetOmemoDecisionJSONRequestBody = OmemoDecision
SetOmemoDecisionJSONRequestBody defines body for SetOmemoDecision for application/json ContentType.
type SetOmemoDecisionParams ¶
type SetOmemoDecisionParams struct {
// Peer Bare peer JID. Omit to inspect devices of the account itself.
Peer *string `form:"peer,omitempty" json:"peer,omitempty"`
}
SetOmemoDecisionParams defines parameters for SetOmemoDecision.
type SetOmemoDecisionRequestObject ¶
type SetOmemoDecisionRequestObject struct {
AccountId AccountID `json:"accountId"`
Params SetOmemoDecisionParams
Body *SetOmemoDecisionJSONRequestBody
}
type SetOmemoDecisionResponse ¶
type SetOmemoDecisionResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetOmemoDecisionResponse401Headers
}
func ParseSetOmemoDecisionResponse ¶
func ParseSetOmemoDecisionResponse(rsp *http.Response) (*SetOmemoDecisionResponse, error)
ParseSetOmemoDecisionResponse parses an HTTP response from a SetOmemoDecisionWithResponse call
func (SetOmemoDecisionResponse) ContentType ¶
func (r SetOmemoDecisionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetOmemoDecisionResponse) GetApplicationproblemJSON400 ¶
func (r SetOmemoDecisionResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetOmemoDecisionResponse) GetApplicationproblemJSON401 ¶
func (r SetOmemoDecisionResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetOmemoDecisionResponse) GetApplicationproblemJSON404 ¶
func (r SetOmemoDecisionResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetOmemoDecisionResponse) GetApplicationproblemJSON409 ¶
func (r SetOmemoDecisionResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetOmemoDecisionResponse) GetApplicationproblemJSON503 ¶
func (r SetOmemoDecisionResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetOmemoDecisionResponse) GetBody ¶
func (r SetOmemoDecisionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetOmemoDecisionResponse) Status ¶
func (r SetOmemoDecisionResponse) Status() string
Status returns HTTPResponse.Status
func (SetOmemoDecisionResponse) StatusCode ¶
func (r SetOmemoDecisionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetOmemoDecisionResponse401Headers ¶
type SetOmemoDecisionResponse401Headers struct {
WWWAuthenticate *string
}
SetOmemoDecisionResponse401Headers the declared response headers of an HTTP 401 response for SetOmemoDecision
type SetOmemoDecisionResponseObject ¶
type SetOmemoDecisionResponseObject interface {
VisitSetOmemoDecisionResponse(w http.ResponseWriter) error
}
type SetRoomArchiveMode ¶
type SetRoomArchiveMode struct {
// Mode Automatic recovery policy for older room history.
//
// Example: gradual
Mode RoomArchiveMode `json:"mode"`
}
SetRoomArchiveMode Replacement room recovery preference.
type SetRoomArchiveMode200JSONResponse ¶
type SetRoomArchiveMode200JSONResponse RoomArchive
func (SetRoomArchiveMode200JSONResponse) VisitSetRoomArchiveModeResponse ¶
func (response SetRoomArchiveMode200JSONResponse) VisitSetRoomArchiveModeResponse(w http.ResponseWriter) error
type SetRoomArchiveMode400ApplicationProblemPlusJSONResponse ¶
type SetRoomArchiveMode400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (SetRoomArchiveMode400ApplicationProblemPlusJSONResponse) VisitSetRoomArchiveModeResponse ¶
func (response SetRoomArchiveMode400ApplicationProblemPlusJSONResponse) VisitSetRoomArchiveModeResponse(w http.ResponseWriter) error
type SetRoomArchiveMode401ApplicationProblemPlusJSONResponse ¶
type SetRoomArchiveMode401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetRoomArchiveMode401ApplicationProblemPlusJSONResponse) VisitSetRoomArchiveModeResponse ¶
func (response SetRoomArchiveMode401ApplicationProblemPlusJSONResponse) VisitSetRoomArchiveModeResponse(w http.ResponseWriter) error
type SetRoomArchiveMode404ApplicationProblemPlusJSONResponse ¶
type SetRoomArchiveMode404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetRoomArchiveMode404ApplicationProblemPlusJSONResponse) VisitSetRoomArchiveModeResponse ¶
func (response SetRoomArchiveMode404ApplicationProblemPlusJSONResponse) VisitSetRoomArchiveModeResponse(w http.ResponseWriter) error
type SetRoomArchiveMode503ApplicationProblemPlusJSONResponse ¶
type SetRoomArchiveMode503ApplicationProblemPlusJSONResponse struct {
}
func (SetRoomArchiveMode503ApplicationProblemPlusJSONResponse) VisitSetRoomArchiveModeResponse ¶
func (response SetRoomArchiveMode503ApplicationProblemPlusJSONResponse) VisitSetRoomArchiveModeResponse(w http.ResponseWriter) error
type SetRoomArchiveModeJSONRequestBody ¶
type SetRoomArchiveModeJSONRequestBody = SetRoomArchiveMode
SetRoomArchiveModeJSONRequestBody defines body for SetRoomArchiveMode for application/json ContentType.
type SetRoomArchiveModeRequestObject ¶
type SetRoomArchiveModeRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Body *SetRoomArchiveModeJSONRequestBody
}
type SetRoomArchiveModeResponse ¶
type SetRoomArchiveModeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RoomArchive
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetRoomArchiveModeResponse401Headers
}
func ParseSetRoomArchiveModeResponse ¶
func ParseSetRoomArchiveModeResponse(rsp *http.Response) (*SetRoomArchiveModeResponse, error)
ParseSetRoomArchiveModeResponse parses an HTTP response from a SetRoomArchiveModeWithResponse call
func (SetRoomArchiveModeResponse) ContentType ¶
func (r SetRoomArchiveModeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetRoomArchiveModeResponse) GetApplicationproblemJSON400 ¶
func (r SetRoomArchiveModeResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (SetRoomArchiveModeResponse) GetApplicationproblemJSON401 ¶
func (r SetRoomArchiveModeResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetRoomArchiveModeResponse) GetApplicationproblemJSON404 ¶
func (r SetRoomArchiveModeResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetRoomArchiveModeResponse) GetApplicationproblemJSON503 ¶
func (r SetRoomArchiveModeResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetRoomArchiveModeResponse) GetBody ¶
func (r SetRoomArchiveModeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetRoomArchiveModeResponse) GetJSON200 ¶
func (r SetRoomArchiveModeResponse) GetJSON200() *RoomArchive
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetRoomArchiveModeResponse) Status ¶
func (r SetRoomArchiveModeResponse) Status() string
Status returns HTTPResponse.Status
func (SetRoomArchiveModeResponse) StatusCode ¶
func (r SetRoomArchiveModeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetRoomArchiveModeResponse401Headers ¶
type SetRoomArchiveModeResponse401Headers struct {
WWWAuthenticate *string
}
SetRoomArchiveModeResponse401Headers the declared response headers of an HTTP 401 response for SetRoomArchiveMode
type SetRoomArchiveModeResponseObject ¶
type SetRoomArchiveModeResponseObject interface {
VisitSetRoomArchiveModeResponse(w http.ResponseWriter) error
}
type SetRoomOmemo204Response ¶
type SetRoomOmemo204Response struct {
}
func (SetRoomOmemo204Response) VisitSetRoomOmemoResponse ¶
func (response SetRoomOmemo204Response) VisitSetRoomOmemoResponse(w http.ResponseWriter) error
type SetRoomOmemo401ApplicationProblemPlusJSONResponse ¶
type SetRoomOmemo401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (SetRoomOmemo401ApplicationProblemPlusJSONResponse) VisitSetRoomOmemoResponse ¶
func (response SetRoomOmemo401ApplicationProblemPlusJSONResponse) VisitSetRoomOmemoResponse(w http.ResponseWriter) error
type SetRoomOmemo404ApplicationProblemPlusJSONResponse ¶
type SetRoomOmemo404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (SetRoomOmemo404ApplicationProblemPlusJSONResponse) VisitSetRoomOmemoResponse ¶
func (response SetRoomOmemo404ApplicationProblemPlusJSONResponse) VisitSetRoomOmemoResponse(w http.ResponseWriter) error
type SetRoomOmemo409ApplicationProblemPlusJSONResponse ¶
type SetRoomOmemo409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (SetRoomOmemo409ApplicationProblemPlusJSONResponse) VisitSetRoomOmemoResponse ¶
func (response SetRoomOmemo409ApplicationProblemPlusJSONResponse) VisitSetRoomOmemoResponse(w http.ResponseWriter) error
type SetRoomOmemo503ApplicationProblemPlusJSONResponse ¶
type SetRoomOmemo503ApplicationProblemPlusJSONResponse struct {
}
func (SetRoomOmemo503ApplicationProblemPlusJSONResponse) VisitSetRoomOmemoResponse ¶
func (response SetRoomOmemo503ApplicationProblemPlusJSONResponse) VisitSetRoomOmemoResponse(w http.ResponseWriter) error
type SetRoomOmemoJSONBody ¶
type SetRoomOmemoJSONBody struct {
// Enabled Require OMEMO for new room sends.
//
// Example: true
Enabled bool `json:"enabled"`
}
SetRoomOmemoJSONBody defines parameters for SetRoomOmemo.
type SetRoomOmemoJSONRequestBody ¶
type SetRoomOmemoJSONRequestBody SetRoomOmemoJSONBody
SetRoomOmemoJSONRequestBody defines body for SetRoomOmemo for application/json ContentType.
type SetRoomOmemoRequestObject ¶
type SetRoomOmemoRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Body *SetRoomOmemoJSONRequestBody
}
type SetRoomOmemoResponse ¶
type SetRoomOmemoResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *SetRoomOmemoResponse401Headers
}
func ParseSetRoomOmemoResponse ¶
func ParseSetRoomOmemoResponse(rsp *http.Response) (*SetRoomOmemoResponse, error)
ParseSetRoomOmemoResponse parses an HTTP response from a SetRoomOmemoWithResponse call
func (SetRoomOmemoResponse) ContentType ¶
func (r SetRoomOmemoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetRoomOmemoResponse) GetApplicationproblemJSON401 ¶
func (r SetRoomOmemoResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (SetRoomOmemoResponse) GetApplicationproblemJSON404 ¶
func (r SetRoomOmemoResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (SetRoomOmemoResponse) GetApplicationproblemJSON409 ¶
func (r SetRoomOmemoResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (SetRoomOmemoResponse) GetApplicationproblemJSON503 ¶
func (r SetRoomOmemoResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (SetRoomOmemoResponse) GetBody ¶
func (r SetRoomOmemoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetRoomOmemoResponse) Status ¶
func (r SetRoomOmemoResponse) Status() string
Status returns HTTPResponse.Status
func (SetRoomOmemoResponse) StatusCode ¶
func (r SetRoomOmemoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetRoomOmemoResponse401Headers ¶
type SetRoomOmemoResponse401Headers struct {
WWWAuthenticate *string
}
SetRoomOmemoResponse401Headers the declared response headers of an HTTP 401 response for SetRoomOmemo
type SetRoomOmemoResponseObject ¶
type SetRoomOmemoResponseObject interface {
VisitSetRoomOmemoResponse(w http.ResponseWriter) error
}
type SharedContentFirstPageCounts ¶
type SharedContentFirstPageCounts struct {
}
SharedContentFirstPageCounts Item counts for the three catalog tabs from the same snapshot. Each value is bounded by the requested page size.
Example: {"documents":0,"links":2,"media":50}
type SharedContentIndexing ¶
type SharedContentIndexing struct {
}
SharedContentIndexing Local source-message indexing progress, scoped by account/conversation but independent of tab/search.
type SharedContentIndexingState ¶
type SharedContentIndexingState string
SharedContentIndexingState defines model for SharedContentIndexing.State.
const ( )
Defines values for SharedContentIndexingState.
func (SharedContentIndexingState) Valid ¶
func (e SharedContentIndexingState) Valid() bool
Valid indicates whether the value is a known member of the SharedContentIndexingState enum.
type SharedContentItem ¶
type SharedContentItem struct {
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}}
Message Message `json:"message"`
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","downloadState":"not_downloaded","id":"019a5df0-0000-7000-8000-000000000001","kind":"link","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":"019a5df0-0000-7000-8000-000000000001","siteName":"Example","state":"ready","title":"Shared article","updatedAt":"2026-11-08T12:00:00Z","url":"https://example.com/article"}
Preview *MessagePreview `json:"preview,omitempty"`
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000002","conversationId":"019a5df0-0000-7000-8000-000000000003","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":null,"starred":false,"updatedAt":null}
Star *MessageStar `json:"star,omitempty"`
Thumbnail *VideoThumbnail `json:"thumbnail,omitempty"`
Url string `json:"url"`
}
SharedContentItem One shared URL reference with its exact retained source message and current owning labels.
type SharedContentItemKind ¶
type SharedContentItemKind string
SharedContentItemKind defines model for SharedContentItem.Kind.
const ( )
Defines values for SharedContentItemKind.
func (SharedContentItemKind) Valid ¶
func (e SharedContentItemKind) Valid() bool
Valid indicates whether the value is a known member of the SharedContentItemKind enum.
type SharedContentPage ¶
type SharedContentPage struct {
//
// Example: {"documents":0,"links":2,"media":50}
FirstPageCounts *SharedContentFirstPageCounts `json:"firstPageCounts,omitempty"`
// Indexing Local source-message indexing progress, scoped by account/conversation but independent of tab/search.
}
SharedContentPage Bounded shared-content page. Image previews and originals retain their independent hashes and states.
Example: {"indexing":{"indexedMessages":0,"state":"pending","totalMessages":100},"items":[]}
type StageMessageAttachment200JSONResponse ¶
type StageMessageAttachment200JSONResponse StagedAttachment
func (StageMessageAttachment200JSONResponse) VisitStageMessageAttachmentResponse ¶
func (response StageMessageAttachment200JSONResponse) VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
type StageMessageAttachment201JSONResponse ¶
type StageMessageAttachment201JSONResponse struct {
Body StagedAttachment
Headers StageMessageAttachment201ResponseHeaders
}
func (StageMessageAttachment201JSONResponse) VisitStageMessageAttachmentResponse ¶
func (response StageMessageAttachment201JSONResponse) VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
type StageMessageAttachment201ResponseHeaders ¶
type StageMessageAttachment201ResponseHeaders struct {
Location *string
}
type StageMessageAttachment400ApplicationProblemPlusJSONResponse ¶
type StageMessageAttachment400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (StageMessageAttachment400ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse ¶
func (response StageMessageAttachment400ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
type StageMessageAttachment401ApplicationProblemPlusJSONResponse ¶
type StageMessageAttachment401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (StageMessageAttachment401ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse ¶
func (response StageMessageAttachment401ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
type StageMessageAttachment404ApplicationProblemPlusJSONResponse ¶
type StageMessageAttachment404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (StageMessageAttachment404ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse ¶
func (response StageMessageAttachment404ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
type StageMessageAttachment409ApplicationProblemPlusJSONResponse ¶
type StageMessageAttachment409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (StageMessageAttachment409ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse ¶
func (response StageMessageAttachment409ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
type StageMessageAttachment413ApplicationProblemPlusJSONResponse ¶
type StageMessageAttachment413ApplicationProblemPlusJSONResponse Problem
func (StageMessageAttachment413ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse ¶
func (response StageMessageAttachment413ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
type StageMessageAttachment415ApplicationProblemPlusJSONResponse ¶
type StageMessageAttachment415ApplicationProblemPlusJSONResponse Problem
func (StageMessageAttachment415ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse ¶
func (response StageMessageAttachment415ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
type StageMessageAttachment503ApplicationProblemPlusJSONResponse ¶
type StageMessageAttachment503ApplicationProblemPlusJSONResponse struct {
}
func (StageMessageAttachment503ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse ¶
func (response StageMessageAttachment503ApplicationProblemPlusJSONResponse) VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
type StageMessageAttachmentMultipartBody ¶
type StageMessageAttachmentMultipartBody struct {
// File Example: hello
File openapi_types.File `json:"file"`
}
StageMessageAttachmentMultipartBody defines parameters for StageMessageAttachment.
type StageMessageAttachmentMultipartRequestBody ¶
type StageMessageAttachmentMultipartRequestBody StageMessageAttachmentMultipartBody
StageMessageAttachmentMultipartRequestBody defines body for StageMessageAttachment for multipart/form-data ContentType.
type StageMessageAttachmentRequestObject ¶
type StageMessageAttachmentRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
AttachmentId StagedAttachmentID `json:"attachmentId"`
Body *multipart.Reader
}
type StageMessageAttachmentResponse ¶
type StageMessageAttachmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StagedAttachment
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *StagedAttachment
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *StageMessageAttachmentResponse201Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *StageMessageAttachmentResponse401Headers
}
func ParseStageMessageAttachmentResponse ¶
func ParseStageMessageAttachmentResponse(rsp *http.Response) (*StageMessageAttachmentResponse, error)
ParseStageMessageAttachmentResponse parses an HTTP response from a StageMessageAttachmentWithResponse call
func (StageMessageAttachmentResponse) ContentType ¶
func (r StageMessageAttachmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StageMessageAttachmentResponse) GetApplicationproblemJSON400 ¶
func (r StageMessageAttachmentResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (StageMessageAttachmentResponse) GetApplicationproblemJSON401 ¶
func (r StageMessageAttachmentResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (StageMessageAttachmentResponse) GetApplicationproblemJSON404 ¶
func (r StageMessageAttachmentResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (StageMessageAttachmentResponse) GetApplicationproblemJSON409 ¶
func (r StageMessageAttachmentResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (StageMessageAttachmentResponse) GetApplicationproblemJSON413 ¶
func (r StageMessageAttachmentResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (StageMessageAttachmentResponse) GetApplicationproblemJSON415 ¶
func (r StageMessageAttachmentResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (StageMessageAttachmentResponse) GetApplicationproblemJSON503 ¶
func (r StageMessageAttachmentResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (StageMessageAttachmentResponse) GetBody ¶
func (r StageMessageAttachmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StageMessageAttachmentResponse) GetJSON200 ¶
func (r StageMessageAttachmentResponse) GetJSON200() *StagedAttachment
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StageMessageAttachmentResponse) GetJSON201 ¶
func (r StageMessageAttachmentResponse) GetJSON201() *StagedAttachment
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (StageMessageAttachmentResponse) Status ¶
func (r StageMessageAttachmentResponse) Status() string
Status returns HTTPResponse.Status
func (StageMessageAttachmentResponse) StatusCode ¶
func (r StageMessageAttachmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StageMessageAttachmentResponse201Headers ¶
type StageMessageAttachmentResponse201Headers struct {
Location *string
}
StageMessageAttachmentResponse201Headers the declared response headers of an HTTP 201 response for StageMessageAttachment
type StageMessageAttachmentResponse401Headers ¶
type StageMessageAttachmentResponse401Headers struct {
WWWAuthenticate *string
}
StageMessageAttachmentResponse401Headers the declared response headers of an HTTP 401 response for StageMessageAttachment
type StageMessageAttachmentResponseObject ¶
type StageMessageAttachmentResponseObject interface {
VisitStageMessageAttachmentResponse(w http.ResponseWriter) error
}
type StagedAttachment ¶
type StagedAttachment struct {
// FileName Display filename with no storage path.
//
// Example: notes.txt
FileName string `json:"fileName"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// MediaType Effective content type for presentation.
//
// Example: text/plain
MediaType string `json:"mediaType"`
// Sha256 SHA-256 computed over the complete staged bytes.
//
// Example: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
Sha256 string `json:"sha256"`
// Size Exact number of staged bytes.
//
// Example: 5
Size int64 `json:"size"`
}
StagedAttachment Immutable metadata for locally staged attachment bytes.
Example: {"fileName":"notes.txt","id":"019a5df0-0000-7000-8000-000000000006","mediaType":"text/plain","sha256":"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824","size":5}
type StagedAttachmentID ¶
type StagedAttachmentID = ID
StagedAttachmentID Canonical lowercase UUIDv7; IDs do not establish causal order.
Example: 019a5df0-0000-7000-8000-000000000001
type StagedAttachmentIDs ¶
type StagedAttachmentIDs = []ID
StagedAttachmentIDs Ordered unique IDs of available staged files in the same destination scope.
type StarredMessage ¶
type StarredMessage struct {
// Conversation One account-scoped conversation. Direct conversations support text sending; saved rooms and authorized room archives are recovered read-only in this increment.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","address":"bob@localhost","archived":false,"favorite":false,"id":"019a5df0-0000-7000-8000-000000000001","kind":"direct","lastMessage":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","title":"bob@localhost","unreadCount":0,"updatedAt":"2026-11-07T12:00:00Z"}
Conversation Conversation `json:"conversation"`
// Message Retained original text and actual send evidence. submitted means the stanza was written to the authenticated stream; it does not prove provider acceptance, recipient delivery, or read state. unknown is not automatically resent.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}}
Message Message `json:"message"`
// Star App-owned source message star, keyed by messageId with its own revision history. Never a message edit.
//
// Example: {"accountId":"019a5df0-0000-7000-8000-000000000002","conversationId":"019a5df0-0000-7000-8000-000000000003","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":null,"starred":false,"updatedAt":null}
Star MessageStar `json:"star"`
}
StarredMessage Latest source message and conversation projections with their independent star state.
Example: {"conversation":{"accountId":"019a5df0-0000-7000-8000-000000000001","address":"bob@localhost","archived":false,"favorite":false,"id":"019a5df0-0000-7000-8000-000000000001","kind":"direct","lastMessage":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","title":"bob@localhost","unreadCount":0,"updatedAt":"2026-11-07T12:00:00Z"},"message":{"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}},"star":{"accountId":"019a5df0-0000-7000-8000-000000000002","conversationId":"019a5df0-0000-7000-8000-000000000003","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":"019a5df0-0000-7000-8000-000000000004","starred":true,"updatedAt":"2026-11-08T12:00:00Z"}}
type StarredMessagePage ¶
type StarredMessagePage struct {
Items []StarredMessage `json:"items"`
// NextCursor Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
NextCursor *ID `json:"nextCursor,omitempty"`
}
StarredMessagePage Chronologically paginated current starred messages. Newly starred records can appear on earlier pages.
Example: {"items":[{"conversation":{"accountId":"019a5df0-0000-7000-8000-000000000001","address":"bob@localhost","archived":false,"favorite":false,"id":"019a5df0-0000-7000-8000-000000000001","kind":"direct","lastMessage":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","title":"bob@localhost","unreadCount":0,"updatedAt":"2026-11-07T12:00:00Z"},"message":{"accountId":"019a5df0-0000-7000-8000-000000000001","conversationId":"019a5df0-0000-7000-8000-000000000001","createdAt":"2026-11-07T12:00:00Z","id":"019a5df0-0000-7000-8000-000000000001","isOwn":false,"originalText":"Hello from Oie!","revisionId":"019a5df0-0000-7000-8000-000000000001","sendState":"received","sender":{"displayName":"bob@localhost","id":"019a5df0-0000-7000-8000-000000000001"}},"star":{"accountId":"019a5df0-0000-7000-8000-000000000002","conversationId":"019a5df0-0000-7000-8000-000000000003","messageId":"019a5df0-0000-7000-8000-000000000001","revisionId":"019a5df0-0000-7000-8000-000000000004","starred":true,"updatedAt":"2026-11-08T12:00:00Z"}}]}
type StdHTTPServerOptions ¶
type StdHTTPServerOptions struct {
BaseURL string
BaseRouter ServeMux
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StreamEvents200TexteventStreamResponse ¶
func (StreamEvents200TexteventStreamResponse) VisitStreamEventsResponse ¶
func (response StreamEvents200TexteventStreamResponse) VisitStreamEventsResponse(w http.ResponseWriter) error
type StreamEvents400ApplicationProblemPlusJSONResponse ¶
type StreamEvents400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (StreamEvents400ApplicationProblemPlusJSONResponse) VisitStreamEventsResponse ¶
func (response StreamEvents400ApplicationProblemPlusJSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error
type StreamEvents401ApplicationProblemPlusJSONResponse ¶
type StreamEvents401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (StreamEvents401ApplicationProblemPlusJSONResponse) VisitStreamEventsResponse ¶
func (response StreamEvents401ApplicationProblemPlusJSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error
type StreamEvents409ApplicationProblemPlusJSONResponse ¶
type StreamEvents409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (StreamEvents409ApplicationProblemPlusJSONResponse) VisitStreamEventsResponse ¶
func (response StreamEvents409ApplicationProblemPlusJSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error
type StreamEvents503ApplicationProblemPlusJSONResponse ¶
type StreamEvents503ApplicationProblemPlusJSONResponse struct {
}
func (StreamEvents503ApplicationProblemPlusJSONResponse) VisitStreamEventsResponse ¶
func (response StreamEvents503ApplicationProblemPlusJSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error
type StreamEventsParams ¶
type StreamEventsParams struct {
// LastEventID Previously applied engine-scoped cursor.
LastEventID *string `json:"Last-Event-ID,omitempty"`
}
StreamEventsParams defines parameters for StreamEvents.
type StreamEventsRequestObject ¶
type StreamEventsRequestObject struct {
Params StreamEventsParams
}
type StreamEventsResponse ¶
type StreamEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *StreamEventsResponse401Headers
}
func ParseStreamEventsResponse ¶
func ParseStreamEventsResponse(rsp *http.Response) (*StreamEventsResponse, error)
ParseStreamEventsResponse parses an HTTP response from a StreamEventsWithResponse call
func (StreamEventsResponse) ContentType ¶
func (r StreamEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StreamEventsResponse) GetApplicationproblemJSON400 ¶
func (r StreamEventsResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (StreamEventsResponse) GetApplicationproblemJSON401 ¶
func (r StreamEventsResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (StreamEventsResponse) GetApplicationproblemJSON409 ¶
func (r StreamEventsResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (StreamEventsResponse) GetApplicationproblemJSON503 ¶
func (r StreamEventsResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (StreamEventsResponse) GetBody ¶
func (r StreamEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StreamEventsResponse) Status ¶
func (r StreamEventsResponse) Status() string
Status returns HTTPResponse.Status
func (StreamEventsResponse) StatusCode ¶
func (r StreamEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StreamEventsResponse401Headers ¶
type StreamEventsResponse401Headers struct {
WWWAuthenticate *string
}
StreamEventsResponse401Headers the declared response headers of an HTTP 401 response for StreamEvents
type StreamEventsResponseObject ¶
type StreamEventsResponseObject interface {
VisitStreamEventsResponse(w http.ResponseWriter) error
}
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// ListAccounts List registered account metadata
// (GET /api/v1/accounts)
ListAccounts(ctx context.Context, request ListAccountsRequestObject) (ListAccountsResponseObject, error)
// RegisterAccount Register protocol account metadata
// (POST /api/v1/accounts)
RegisterAccount(ctx context.Context, request RegisterAccountRequestObject) (RegisterAccountResponseObject, error)
// GetAccountUnreadTotals Get unread message totals by account
// (GET /api/v1/accounts/unread-totals)
GetAccountUnreadTotals(ctx context.Context, request GetAccountUnreadTotalsRequestObject) (GetAccountUnreadTotalsResponseObject, error)
// RemoveAccount Remove an account from Oiê
// (DELETE /api/v1/accounts/{accountId})
RemoveAccount(ctx context.Context, request RemoveAccountRequestObject) (RemoveAccountResponseObject, error)
// GetAccount Read an account
// (GET /api/v1/accounts/{accountId})
GetAccount(ctx context.Context, request GetAccountRequestObject) (GetAccountResponseObject, error)
// SetAccountAvatar Change the connected account's profile photo
// (PUT /api/v1/accounts/{accountId}/avatar)
SetAccountAvatar(ctx context.Context, request SetAccountAvatarRequestObject) (SetAccountAvatarResponseObject, error)
// ListAccountAvatars Read retained profile image metadata
// (GET /api/v1/accounts/{accountId}/avatars)
ListAccountAvatars(ctx context.Context, request ListAccountAvatarsRequestObject) (ListAccountAvatarsResponseObject, error)
// GetAccountCapabilities Read account capability evidence
// (GET /api/v1/accounts/{accountId}/capabilities)
GetAccountCapabilities(ctx context.Context, request GetAccountCapabilitiesRequestObject) (GetAccountCapabilitiesResponseObject, error)
// GetAccountCommunicationPreferences Read account presence and communication preferences
// (GET /api/v1/accounts/{accountId}/communication-preferences)
GetAccountCommunicationPreferences(ctx context.Context, request GetAccountCommunicationPreferencesRequestObject) (GetAccountCommunicationPreferencesResponseObject, error)
// SetAccountCommunicationPreferences Save account presence and communication preferences
// (PUT /api/v1/accounts/{accountId}/communication-preferences)
SetAccountCommunicationPreferences(ctx context.Context, request SetAccountCommunicationPreferencesRequestObject) (SetAccountCommunicationPreferencesResponseObject, error)
// DisconnectAccount Disconnect and disable automatic connection
// (DELETE /api/v1/accounts/{accountId}/connection)
DisconnectAccount(ctx context.Context, request DisconnectAccountRequestObject) (DisconnectAccountResponseObject, error)
// GetAccountConnection Read account connection state
// (GET /api/v1/accounts/{accountId}/connection)
GetAccountConnection(ctx context.Context, request GetAccountConnectionRequestObject) (GetAccountConnectionResponseObject, error)
// ConfigureAccountConnection Configure and connect an account
// (PUT /api/v1/accounts/{accountId}/connection)
ConfigureAccountConnection(ctx context.Context, request ConfigureAccountConnectionRequestObject) (ConfigureAccountConnectionResponseObject, error)
// ChangeProtocolContact Manage an account's protocol contacts
// (POST /api/v1/accounts/{accountId}/contact-actions)
ChangeProtocolContact(ctx context.Context, request ChangeProtocolContactRequestObject) (ChangeProtocolContactResponseObject, error)
// ListContactRequests List pending contact requests for an account
// (GET /api/v1/accounts/{accountId}/contact-requests)
ListContactRequests(ctx context.Context, request ListContactRequestsRequestObject) (ListContactRequestsResponseObject, error)
// GetAccountHistory Read account history recovery progress
// (GET /api/v1/accounts/{accountId}/history)
GetAccountHistory(ctx context.Context, request GetAccountHistoryRequestObject) (GetAccountHistoryResponseObject, error)
// SetAccountLabel Change the account name shown in Oiê
// (PUT /api/v1/accounts/{accountId}/label)
SetAccountLabel(ctx context.Context, request SetAccountLabelRequestObject) (SetAccountLabelResponseObject, error)
// GetOmemoDevices Inspect public OMEMO fingerprints
// (GET /api/v1/accounts/{accountId}/omemo)
GetOmemoDevices(ctx context.Context, request GetOmemoDevicesRequestObject) (GetOmemoDevicesResponseObject, error)
// SetOmemoDecision Confirm an OMEMO device or change protection for future messages
// (PUT /api/v1/accounts/{accountId}/omemo)
SetOmemoDecision(ctx context.Context, request SetOmemoDecisionRequestObject) (SetOmemoDecisionResponseObject, error)
// PreviewRoom Read a room preview using the selected account
// (GET /api/v1/accounts/{accountId}/room-preview)
PreviewRoom(ctx context.Context, request PreviewRoomRequestObject) (PreviewRoomResponseObject, error)
// DiscoverRooms List public rooms published by the account's room services
// (GET /api/v1/accounts/{accountId}/rooms)
DiscoverRooms(ctx context.Context, request DiscoverRoomsRequestObject) (DiscoverRoomsResponseObject, error)
// OpenRoom Open and request entry to an XMPP room
// (POST /api/v1/accounts/{accountId}/rooms)
OpenRoom(ctx context.Context, request OpenRoomRequestObject) (OpenRoomResponseObject, error)
// GetAvatarImage Read a cached profile thumbnail
// (GET /api/v1/avatars/{hash})
GetAvatarImage(ctx context.Context, request GetAvatarImageRequestObject) (GetAvatarImageResponseObject, error)
// ListContacts Search saved protocol contacts
// (GET /api/v1/contacts)
ListContacts(ctx context.Context, request ListContactsRequestObject) (ListContactsResponseObject, error)
// ListConversations List retained conversations
// (GET /api/v1/conversations)
ListConversations(ctx context.Context, request ListConversationsRequestObject) (ListConversationsResponseObject, error)
// OpenConversation Open a direct conversation
// (POST /api/v1/conversations)
OpenConversation(ctx context.Context, request OpenConversationRequestObject) (OpenConversationResponseObject, error)
// GetConversation Read a conversation
// (GET /api/v1/conversations/{conversationId})
GetConversation(ctx context.Context, request GetConversationRequestObject) (GetConversationResponseObject, error)
// UpdateConversationPreferences Change conversation preferences, set read status or accept a message request
// (PATCH /api/v1/conversations/{conversationId})
UpdateConversationPreferences(ctx context.Context, request UpdateConversationPreferencesRequestObject) (UpdateConversationPreferencesResponseObject, error)
// GetRoomArchive Read room archive recovery settings and progress
// (GET /api/v1/conversations/{conversationId}/archive)
GetRoomArchive(ctx context.Context, request GetRoomArchiveRequestObject) (GetRoomArchiveResponseObject, error)
// SetRoomArchiveMode Set the room archive recovery mode
// (PUT /api/v1/conversations/{conversationId}/archive)
SetRoomArchiveMode(ctx context.Context, request SetRoomArchiveModeRequestObject) (SetRoomArchiveModeResponseObject, error)
// RequestRoomArchive Request a bounded room archive read
// (POST /api/v1/conversations/{conversationId}/archive/requests)
RequestRoomArchive(ctx context.Context, request RequestRoomArchiveRequestObject) (RequestRoomArchiveResponseObject, error)
// GetConversationDetails Read scoped conversation details
// (GET /api/v1/conversations/{conversationId}/details)
GetConversationDetails(ctx context.Context, request GetConversationDetailsRequestObject) (GetConversationDetailsResponseObject, error)
// GetConversationEditTarget Inspect the latest own retained message for keyboard editing
// (GET /api/v1/conversations/{conversationId}/edit-target)
GetConversationEditTarget(ctx context.Context, request GetConversationEditTargetRequestObject) (GetConversationEditTargetResponseObject, error)
// GetMentionCandidates Read observed room mention candidates
// (GET /api/v1/conversations/{conversationId}/mention-candidates)
GetMentionCandidates(ctx context.Context, request GetMentionCandidatesRequestObject) (GetMentionCandidatesResponseObject, error)
// ListConversationMessageStars Read star states for displayed messages
// (GET /api/v1/conversations/{conversationId}/message-stars)
ListConversationMessageStars(ctx context.Context, request ListConversationMessageStarsRequestObject) (ListConversationMessageStarsResponseObject, error)
// ListMessages Read retained messages
// (GET /api/v1/conversations/{conversationId}/messages)
ListMessages(ctx context.Context, request ListMessagesRequestObject) (ListMessagesResponseObject, error)
// SendMessage Accept an immediate or scheduled message
// (POST /api/v1/conversations/{conversationId}/messages)
SendMessage(ctx context.Context, request SendMessageRequestObject) (SendMessageResponseObject, error)
// GetMessageContext Read a bounded timeline around a retained message
// (GET /api/v1/conversations/{conversationId}/messages/{messageId}/context)
GetMessageContext(ctx context.Context, request GetMessageContextRequestObject) (GetMessageContextResponseObject, error)
// GetMessageSourceContext Read the conversation and presentation data for a retained message jump
// (GET /api/v1/conversations/{conversationId}/messages/{messageId}/source-context)
GetMessageSourceContext(ctx context.Context, request GetMessageSourceContextRequestObject) (GetMessageSourceContextResponseObject, error)
// GetRoomOmemo Review encryption for a private room
// (GET /api/v1/conversations/{conversationId}/omemo)
GetRoomOmemo(ctx context.Context, request GetRoomOmemoRequestObject) (GetRoomOmemoResponseObject, error)
// SetRoomOmemo Change OMEMO for the room
// (PUT /api/v1/conversations/{conversationId}/omemo)
SetRoomOmemo(ctx context.Context, request SetRoomOmemoRequestObject) (SetRoomOmemoResponseObject, error)
// ListConversationPreviews Read cached message link and image previews
// (GET /api/v1/conversations/{conversationId}/previews)
ListConversationPreviews(ctx context.Context, request ListConversationPreviewsRequestObject) (ListConversationPreviewsResponseObject, error)
// ListConversationReactions Read bounded reactions for the mounted conversation messages
// (GET /api/v1/conversations/{conversationId}/reactions)
ListConversationReactions(ctx context.Context, request ListConversationReactionsRequestObject) (ListConversationReactionsResponseObject, error)
// GetConversationReadReceipts Read conversation read receipt settings
// (GET /api/v1/conversations/{conversationId}/read-receipts)
GetConversationReadReceipts(ctx context.Context, request GetConversationReadReceiptsRequestObject) (GetConversationReadReceiptsResponseObject, error)
// SetConversationReadReceipts Change conversation read receipt settings
// (PUT /api/v1/conversations/{conversationId}/read-receipts)
SetConversationReadReceipts(ctx context.Context, request SetConversationReadReceiptsRequestObject) (SetConversationReadReceiptsResponseObject, error)
// GetConversationReadState Read retained conversation read state
// (GET /api/v1/conversations/{conversationId}/read-state)
GetConversationReadState(ctx context.Context, request GetConversationReadStateRequestObject) (GetConversationReadStateResponseObject, error)
// MarkConversationMessagesRead Mark incoming messages read
// (POST /api/v1/conversations/{conversationId}/read-state)
MarkConversationMessagesRead(ctx context.Context, request MarkConversationMessagesReadRequestObject) (MarkConversationMessagesReadResponseObject, error)
// RemoveDirectFromChats Remove a direct conversation from Oiê's chat lists
// (POST /api/v1/conversations/{conversationId}/remove-direct)
RemoveDirectFromChats(ctx context.Context, request RemoveDirectFromChatsRequestObject) (RemoveDirectFromChatsResponseObject, error)
// RemoveRoomFromChats Remove a saved room from Oiê's chat lists
// (POST /api/v1/conversations/{conversationId}/remove-room)
RemoveRoomFromChats(ctx context.Context, request RemoveRoomFromChatsRequestObject) (RemoveRoomFromChatsResponseObject, error)
// GetConversationRetention Read conversation message retention
// (GET /api/v1/conversations/{conversationId}/retention)
GetConversationRetention(ctx context.Context, request GetConversationRetentionRequestObject) (GetConversationRetentionResponseObject, error)
// SetConversationRetention Change conversation message retention
// (PUT /api/v1/conversations/{conversationId}/retention)
SetConversationRetention(ctx context.Context, request SetConversationRetentionRequestObject) (SetConversationRetentionResponseObject, error)
// GetRoomManagement Read available room management actions
// (GET /api/v1/conversations/{conversationId}/room-management)
GetRoomManagement(ctx context.Context, request GetRoomManagementRequestObject) (GetRoomManagementResponseObject, error)
// ManageRoom Apply a room management action
// (POST /api/v1/conversations/{conversationId}/room-management)
ManageRoom(ctx context.Context, request ManageRoomRequestObject) (ManageRoomResponseObject, error)
// GetRoomParticipants Read current room participants
// (GET /api/v1/conversations/{conversationId}/room-participants)
GetRoomParticipants(ctx context.Context, request GetRoomParticipantsRequestObject) (GetRoomParticipantsResponseObject, error)
// GetRoomSession Read this engine's room session and durable join intent
// (GET /api/v1/conversations/{conversationId}/room-session)
GetRoomSession(ctx context.Context, request GetRoomSessionRequestObject) (GetRoomSessionResponseObject, error)
// JoinRoom Explicitly request entry and reconnect recovery for a saved room
// (POST /api/v1/conversations/{conversationId}/room-session)
JoinRoom(ctx context.Context, request JoinRoomRequestObject) (JoinRoomResponseObject, error)
// LeaveRoom Leave a room and stop this engine's automatic rejoin
// (POST /api/v1/conversations/{conversationId}/room-session/leave)
LeaveRoom(ctx context.Context, request LeaveRoomRequestObject) (LeaveRoomResponseObject, error)
// GetStagedMessageAttachment Read retained bytes of an outgoing attachment
// (GET /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId})
GetStagedMessageAttachment(ctx context.Context, request GetStagedMessageAttachmentRequestObject) (GetStagedMessageAttachmentResponseObject, error)
// StageMessageAttachment Stage a file for an outgoing message
// (PUT /api/v1/conversations/{conversationId}/staged-attachments/{attachmentId})
StageMessageAttachment(ctx context.Context, request StageMessageAttachmentRequestObject) (StageMessageAttachmentResponseObject, error)
// GetConversationTyping Read the current typing indicator in an accepted direct conversation
// (GET /api/v1/conversations/{conversationId}/typing)
GetConversationTyping(ctx context.Context, request GetConversationTypingRequestObject) (GetConversationTypingResponseObject, error)
// SetConversationTyping Send an expiring typing notification where supported
// (PUT /api/v1/conversations/{conversationId}/typing)
SetConversationTyping(ctx context.Context, request SetConversationTypingRequestObject) (SetConversationTypingResponseObject, error)
// ClearDeviceDownloads Remove originals retained for this device
// (DELETE /api/v1/downloads/{deviceId}/retention)
ClearDeviceDownloads(ctx context.Context, request ClearDeviceDownloadsRequestObject) (ClearDeviceDownloadsResponseObject, error)
// GetDownloadRetention Read downloaded-file retention for a device
// (GET /api/v1/downloads/{deviceId}/retention)
GetDownloadRetention(ctx context.Context, request GetDownloadRetentionRequestObject) (GetDownloadRetentionResponseObject, error)
// SetDownloadRetention Update downloaded-file retention for a device
// (PUT /api/v1/downloads/{deviceId}/retention)
SetDownloadRetention(ctx context.Context, request SetDownloadRetentionRequestObject) (SetDownloadRetentionResponseObject, error)
// GetEngine Read the persistent engine identity
// (GET /api/v1/engine)
GetEngine(ctx context.Context, request GetEngineRequestObject) (GetEngineResponseObject, error)
// GetGlobalReadReceipts Read engine-wide read receipt settings
// (GET /api/v1/engine/read-receipts)
GetGlobalReadReceipts(ctx context.Context, request GetGlobalReadReceiptsRequestObject) (GetGlobalReadReceiptsResponseObject, error)
// SetGlobalReadReceipts Change engine-wide read receipt settings
// (PUT /api/v1/engine/read-receipts)
SetGlobalReadReceipts(ctx context.Context, request SetGlobalReadReceiptsRequestObject) (SetGlobalReadReceiptsResponseObject, error)
// ResetEngineData Delete all data held by this engine
// (POST /api/v1/engine/reset)
ResetEngineData(ctx context.Context, request ResetEngineDataRequestObject) (ResetEngineDataResponseObject, error)
// GetGlobalRetention Read engine-wide message retention
// (GET /api/v1/engine/retention)
GetGlobalRetention(ctx context.Context, request GetGlobalRetentionRequestObject) (GetGlobalRetentionResponseObject, error)
// SetGlobalRetention Change engine-wide message retention
// (PUT /api/v1/engine/retention)
SetGlobalRetention(ctx context.Context, request SetGlobalRetentionRequestObject) (SetGlobalRetentionResponseObject, error)
// StreamEvents Replay durable changes and follow new events
// (GET /api/v1/events)
StreamEvents(ctx context.Context, request StreamEventsRequestObject) (StreamEventsResponseObject, error)
// GetHealth Check engine readiness
// (GET /api/v1/health)
GetHealth(ctx context.Context, request GetHealthRequestObject) (GetHealthResponseObject, error)
// ResolveDraftLinkPreview Resolve a link preview for a draft
// (POST /api/v1/link-previews)
ResolveDraftLinkPreview(ctx context.Context, request ResolveDraftLinkPreviewRequestObject) (ResolveDraftLinkPreviewResponseObject, error)
// GetMediaImage Read a retained preview or original image
// (GET /api/v1/media/{hash})
GetMediaImage(ctx context.Context, request GetMediaImageRequestObject) (GetMediaImageResponseObject, error)
// GetMessageEdit Reconcile a correction command by its stable UUID
// (GET /api/v1/message-edits/{editId})
GetMessageEdit(ctx context.Context, request GetMessageEditRequestObject) (GetMessageEditResponseObject, error)
// GetMessageReactionCommand Read a durable reaction command receipt
// (GET /api/v1/message-reaction-commands/{commandId})
GetMessageReactionCommand(ctx context.Context, request GetMessageReactionCommandRequestObject) (GetMessageReactionCommandResponseObject, error)
// SearchMessages Search retained message text and available metadata
// (GET /api/v1/messages/search)
SearchMessages(ctx context.Context, request SearchMessagesRequestObject) (SearchMessagesResponseObject, error)
// GetMessage Read a retained message
// (GET /api/v1/messages/{messageId})
GetMessage(ctx context.Context, request GetMessageRequestObject) (GetMessageResponseObject, error)
// CancelMessage Cancel a pending send
// (POST /api/v1/messages/{messageId}/cancel)
CancelMessage(ctx context.Context, request CancelMessageRequestObject) (CancelMessageResponseObject, error)
// GetMessageEditHistory Read observed content revisions of one retained message
// (GET /api/v1/messages/{messageId}/edit-history)
GetMessageEditHistory(ctx context.Context, request GetMessageEditHistoryRequestObject) (GetMessageEditHistoryResponseObject, error)
// GetMessageEditTarget Inspect eligibility and current content before editing
// (GET /api/v1/messages/{messageId}/edit-target)
GetMessageEditTarget(ctx context.Context, request GetMessageEditTargetRequestObject) (GetMessageEditTargetResponseObject, error)
// EditMessage Accept a durable correction of a sent message
// (POST /api/v1/messages/{messageId}/edits)
EditMessage(ctx context.Context, request EditMessageRequestObject) (EditMessageResponseObject, error)
// ForwardMessage Forward a retained message to a conversation
// (POST /api/v1/messages/{messageId}/forward)
ForwardMessage(ctx context.Context, request ForwardMessageRequestObject) (ForwardMessageResponseObject, error)
// DownloadOmemoAttachment Download an authenticated OMEMO attachment
// (GET /api/v1/messages/{messageId}/omemo-attachments/{index})
DownloadOmemoAttachment(ctx context.Context, request DownloadOmemoAttachmentRequestObject) (DownloadOmemoAttachmentResponseObject, error)
// UpdatePendingMessage Edit or reschedule a pending message
// (PATCH /api/v1/messages/{messageId}/pending)
UpdatePendingMessage(ctx context.Context, request UpdatePendingMessageRequestObject) (UpdatePendingMessageResponseObject, error)
// GetMessageReactions Read retained reactions and current own mutation eligibility
// (GET /api/v1/messages/{messageId}/reactions)
GetMessageReactions(ctx context.Context, request GetMessageReactionsRequestObject) (GetMessageReactionsResponseObject, error)
// SetMessageReactions Accept a durable replacement of the own reaction set
// (POST /api/v1/messages/{messageId}/reactions)
SetMessageReactions(ctx context.Context, request SetMessageReactionsRequestObject) (SetMessageReactionsResponseObject, error)
// GetRetractedOriginal Reveal retained content of a retracted message
// (GET /api/v1/messages/{messageId}/retracted-original)
GetRetractedOriginal(ctx context.Context, request GetRetractedOriginalRequestObject) (GetRetractedOriginalResponseObject, error)
// RetractMessage Request retraction of an own sent message
// (POST /api/v1/messages/{messageId}/retraction)
RetractMessage(ctx context.Context, request RetractMessageRequestObject) (RetractMessageResponseObject, error)
// SendScheduledMessageNow Make a scheduled message eligible immediately
// (POST /api/v1/messages/{messageId}/send-now)
SendScheduledMessageNow(ctx context.Context, request SendScheduledMessageNowRequestObject) (SendScheduledMessageNowResponseObject, error)
// GetMessageSenderProfile Read the author's available published profile
// (GET /api/v1/messages/{messageId}/sender-profile)
GetMessageSenderProfile(ctx context.Context, request GetMessageSenderProfileRequestObject) (GetMessageSenderProfileResponseObject, error)
// GetMessageStar Read the source message star
// (GET /api/v1/messages/{messageId}/star)
GetMessageStar(ctx context.Context, request GetMessageStarRequestObject) (GetMessageStarResponseObject, error)
// SetMessageStar Star or unstar a retained source message
// (PUT /api/v1/messages/{messageId}/star)
SetMessageStar(ctx context.Context, request SetMessageStarRequestObject) (SetMessageStarResponseObject, error)
// GetOperation Reconcile a mutation after an ambiguous response
// (GET /api/v1/operations/{operationId})
GetOperation(ctx context.Context, request GetOperationRequestObject) (GetOperationResponseObject, error)
// GetMessagePreview Read a message preview
// (GET /api/v1/previews/{previewId})
GetMessagePreview(ctx context.Context, request GetMessagePreviewRequestObject) (GetMessagePreviewResponseObject, error)
// DownloadPreviewImage Retain the original image for a preview
// (POST /api/v1/previews/{previewId}/download)
DownloadPreviewImage(ctx context.Context, request DownloadPreviewImageRequestObject) (DownloadPreviewImageResponseObject, error)
// RefreshMessagePreview Refresh cached link metadata
// (POST /api/v1/previews/{previewId}/refresh)
RefreshMessagePreview(ctx context.Context, request RefreshMessagePreviewRequestObject) (RefreshMessagePreviewResponseObject, error)
// ListScheduledMessages List scheduled messages across conversations
// (GET /api/v1/scheduled-messages)
ListScheduledMessages(ctx context.Context, request ListScheduledMessagesRequestObject) (ListScheduledMessagesResponseObject, error)
// (GET /api/v1/shared-content)
ListSharedContent(ctx context.Context, request ListSharedContentRequestObject) (ListSharedContentResponseObject, error)
// (GET /api/v1/shared-content/{itemId}/content)
GetSharedContentMedia(ctx context.Context, request GetSharedContentMediaRequestObject) (GetSharedContentMediaResponseObject, error)
// GetVideoThumbnail Read a retained video thumbnail state
// (GET /api/v1/shared-content/{itemId}/thumbnail)
GetVideoThumbnail(ctx context.Context, request GetVideoThumbnailRequestObject) (GetVideoThumbnailResponseObject, error)
// RequestVideoThumbnail Ensure a cached video thumbnail
// (POST /api/v1/shared-content/{itemId}/thumbnail)
RequestVideoThumbnail(ctx context.Context, request RequestVideoThumbnailRequestObject) (RequestVideoThumbnailResponseObject, error)
// ListStarredMessages Browse retained starred messages with their source context
// (GET /api/v1/starred-messages)
ListStarredMessages(ctx context.Context, request ListStarredMessagesRequestObject) (ListStarredMessagesResponseObject, error)
}
StrictServerInterface represents all server handlers.
type SupportState ¶
type SupportState string
SupportState App unsupported means not implemented. Protocol supported means defined by that protocol, independently of Oie implementation. Server supported means observed advertised evidence. not_advertised means the relevant successful query omitted that feature, not a definitive operational denial. scope_dependent needs peer or room evidence. Unknown is never treated as false.
const ( SupportStateNotAdvertised SupportState = "not_advertised" SupportStateNotRequired SupportState = "not_required" SupportStatePartial SupportState = "partial" SupportStateScopeDependent SupportState = "scope_dependent" SupportStateSupported SupportState = "supported" SupportStateUnknown SupportState = "unknown" SupportStateUnsupported SupportState = "unsupported" )
Defines values for SupportState.
func (SupportState) Valid ¶
func (e SupportState) Valid() bool
Valid indicates whether the value is a known member of the SupportState enum.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type TypingState ¶
type TypingState struct {
// Active Whether a participant is currently typing.
Active bool `json:"active"`
}
TypingState Ephemeral composing state for a supported direct conversation.
Example: {"active":true}
type Unavailable ¶
type Unavailable = Problem
Unavailable RFC 9457 Problem Details served as application/problem+json. The type URI identifies the problem. The code extension is a stable short identifier for display and localization. The Link response header with rel="help" provides guidance for known problem types. The body includes documentation when the request applies the oie-problem-documentation preference. Responses exclude raw storage errors and credentials.
Example: {"code":"unavailable","documentation":"https://github.com/araihu/oie/blob/main/docs/engine-api-problems.md#unavailable","status":503,"title":"Service Unavailable","type":"urn:oie:problem:unavailable"}
type UnavailableApplicationProblemPlusJSONResponse ¶
type UnavailableApplicationProblemPlusJSONResponse Problem
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateConversationPreferences ¶
type UpdateConversationPreferences struct {
// AcceptRequest Set to true to accept a pending direct message request. Use this action on its own.
AcceptRequest *bool `json:"acceptRequest,omitempty"`
// AccountId Owning account assertion; a different account is rejected without changing the conversation.
AccountId ID `json:"accountId"`
// Archived Desired archive state. Incoming messages never automatically unarchive a conversation.
Archived *bool `json:"archived,omitempty"`
// ExpectedRevisionId Exact current conversation revision. A stale revision yields state_conflict with currentConversation.
ExpectedRevisionId ID `json:"expectedRevisionId"`
// Favorite Desired conversation favorite state, separate from source-message stars.
Favorite *bool `json:"favorite,omitempty"`
// Read Mark the conversation read, or set a manual unread reminder when false. Use this action on its own.
Read *bool `json:"read,omitempty"`
}
UpdateConversationPreferences App-owned conversation change with a current conversation revision precondition.
Example: {"accountId":"019a5df0-0000-7000-8000-000000000001","expectedRevisionId":"019a5df0-0000-7000-8000-000000000002","favorite":true}
type UpdateConversationPreferences200JSONResponse ¶
type UpdateConversationPreferences200JSONResponse struct {
Body Conversation
Headers UpdateConversationPreferences200ResponseHeaders
}
func (UpdateConversationPreferences200JSONResponse) VisitUpdateConversationPreferencesResponse ¶
func (response UpdateConversationPreferences200JSONResponse) VisitUpdateConversationPreferencesResponse(w http.ResponseWriter) error
type UpdateConversationPreferences200ResponseHeaders ¶
type UpdateConversationPreferences200ResponseHeaders struct {
IdempotencyReplayed *bool
}
type UpdateConversationPreferences400ApplicationProblemPlusJSONResponse ¶
type UpdateConversationPreferences400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (UpdateConversationPreferences400ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse ¶
func (response UpdateConversationPreferences400ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse(w http.ResponseWriter) error
type UpdateConversationPreferences401ApplicationProblemPlusJSONResponse ¶
type UpdateConversationPreferences401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (UpdateConversationPreferences401ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse ¶
func (response UpdateConversationPreferences401ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse(w http.ResponseWriter) error
type UpdateConversationPreferences404ApplicationProblemPlusJSONResponse ¶
type UpdateConversationPreferences404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdateConversationPreferences404ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse ¶
func (response UpdateConversationPreferences404ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse(w http.ResponseWriter) error
type UpdateConversationPreferences409ApplicationProblemPlusJSONResponse ¶
type UpdateConversationPreferences409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdateConversationPreferences409ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse ¶
func (response UpdateConversationPreferences409ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse(w http.ResponseWriter) error
type UpdateConversationPreferences413ApplicationProblemPlusJSONResponse ¶
type UpdateConversationPreferences413ApplicationProblemPlusJSONResponse Problem
func (UpdateConversationPreferences413ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse ¶
func (response UpdateConversationPreferences413ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse(w http.ResponseWriter) error
type UpdateConversationPreferences415ApplicationProblemPlusJSONResponse ¶
type UpdateConversationPreferences415ApplicationProblemPlusJSONResponse Problem
func (UpdateConversationPreferences415ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse ¶
func (response UpdateConversationPreferences415ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse(w http.ResponseWriter) error
type UpdateConversationPreferences503ApplicationProblemPlusJSONResponse ¶
type UpdateConversationPreferences503ApplicationProblemPlusJSONResponse struct {
}
func (UpdateConversationPreferences503ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse ¶
func (response UpdateConversationPreferences503ApplicationProblemPlusJSONResponse) VisitUpdateConversationPreferencesResponse(w http.ResponseWriter) error
type UpdateConversationPreferencesJSONRequestBody ¶
type UpdateConversationPreferencesJSONRequestBody = UpdateConversationPreferences
UpdateConversationPreferencesJSONRequestBody defines body for UpdateConversationPreferences for application/json ContentType.
type UpdateConversationPreferencesParams ¶
type UpdateConversationPreferencesParams struct {
// IdempotencyKey Durable key bound to this exact preference change and precondition.
IdempotencyKey ID `json:"Idempotency-Key"`
}
UpdateConversationPreferencesParams defines parameters for UpdateConversationPreferences.
type UpdateConversationPreferencesRequestObject ¶
type UpdateConversationPreferencesRequestObject struct {
ConversationId ConversationID `json:"conversationId"`
Params UpdateConversationPreferencesParams
Body *UpdateConversationPreferencesJSONRequestBody
}
type UpdateConversationPreferencesResponse ¶
type UpdateConversationPreferencesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Conversation
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *Problem
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *UpdateConversationPreferencesResponse200Headers
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *UpdateConversationPreferencesResponse401Headers
}
func ParseUpdateConversationPreferencesResponse ¶
func ParseUpdateConversationPreferencesResponse(rsp *http.Response) (*UpdateConversationPreferencesResponse, error)
ParseUpdateConversationPreferencesResponse parses an HTTP response from a UpdateConversationPreferencesWithResponse call
func (UpdateConversationPreferencesResponse) ContentType ¶
func (r UpdateConversationPreferencesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateConversationPreferencesResponse) GetApplicationproblemJSON400 ¶
func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdateConversationPreferencesResponse) GetApplicationproblemJSON401 ¶
func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdateConversationPreferencesResponse) GetApplicationproblemJSON404 ¶
func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdateConversationPreferencesResponse) GetApplicationproblemJSON409 ¶
func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (UpdateConversationPreferencesResponse) GetApplicationproblemJSON413 ¶
func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON413() *Problem
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (UpdateConversationPreferencesResponse) GetApplicationproblemJSON415 ¶
func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON415() *Problem
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (UpdateConversationPreferencesResponse) GetApplicationproblemJSON503 ¶
func (r UpdateConversationPreferencesResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (UpdateConversationPreferencesResponse) GetBody ¶
func (r UpdateConversationPreferencesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateConversationPreferencesResponse) GetJSON200 ¶
func (r UpdateConversationPreferencesResponse) GetJSON200() *Conversation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateConversationPreferencesResponse) Status ¶
func (r UpdateConversationPreferencesResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateConversationPreferencesResponse) StatusCode ¶
func (r UpdateConversationPreferencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateConversationPreferencesResponse200Headers ¶
type UpdateConversationPreferencesResponse200Headers struct {
IdempotencyReplayed *bool
}
UpdateConversationPreferencesResponse200Headers the declared response headers of an HTTP 200 response for UpdateConversationPreferences
type UpdateConversationPreferencesResponse401Headers ¶
type UpdateConversationPreferencesResponse401Headers struct {
WWWAuthenticate *string
}
UpdateConversationPreferencesResponse401Headers the declared response headers of an HTTP 401 response for UpdateConversationPreferences
type UpdateConversationPreferencesResponseObject ¶
type UpdateConversationPreferencesResponseObject interface {
VisitUpdateConversationPreferencesResponse(w http.ResponseWriter) error
}
type UpdatePendingMessage ¶
type UpdatePendingMessage struct {
// Composition Complete authored content in the same form used at initial acceptance. Omit an optional field to clear it when replacing the composition.
//
// Example: {"attachmentIds":["019a5df0-0000-7000-8000-000000000006"],"originalText":"Studio entrance: https://example.org/studio"}
Composition *OutgoingComposition `json:"composition,omitempty"`
// ExpectedReplyExcerptSha256 SHA-256 of the exact UTF-8 quote excerpt, at most the first 512 Unicode code points of the displayed source body. Optional on reviewed reply mutations and requires expectedReplyRevisionId. The engine preserves it in the original acceptance when supplied.
//
// Example: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
ExpectedReplyExcerptSha256 *ReplyExcerptSHA256 `json:"expectedReplyExcerptSha256,omitempty"`
// ExpectedReplyRevisionId Requires a replacement composition with a reply target. Freezes the selected source at this reviewed revision, including when the target UUID is unchanged. A changed or unavailable source rejects the edit with state_conflict and replySourceChanged set to true.
ExpectedReplyRevisionId *ID `json:"expectedReplyRevisionId,omitempty"`
// ExpectedRevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ExpectedRevisionId ID `json:"expectedRevisionId"`
// ScheduledAt An RFC 3339 instant strictly in the future when the owning engine first accepts it. Supply an explicit offset or Z, with up to nine fractional second digits. The engine normalizes to UTC. Equivalent offsets identify the same instant for idempotency.
//
// Example: 2026-11-12T12:30:00-03:00
ScheduledAt *ScheduledSendInstant `json:"scheduledAt,omitempty"`
}
UpdatePendingMessage Supply composition, scheduledAt or both. Each omitted top-level field retains its current value. Null is invalid. Replacing the composition creates a pending revision without a sent-message correction. The frozen reply is preserved when the target is unchanged and no reply precondition is supplied. Use sendScheduledMessageNow to make an existing schedule eligible now.
Example: {"composition":{"attachmentIds":["019a5df0-0000-7000-8000-000000000006"],"originalText":""},"expectedRevisionId":"019a5df0-0000-7000-8000-000000000002","scheduledAt":"2026-11-12T12:30:00-03:00"}
type UpdatePendingMessage200JSONResponse ¶
type UpdatePendingMessage200JSONResponse struct {
PendingMessageUpdatedJSONResponse
}
func (UpdatePendingMessage200JSONResponse) VisitUpdatePendingMessageResponse ¶
func (response UpdatePendingMessage200JSONResponse) VisitUpdatePendingMessageResponse(w http.ResponseWriter) error
type UpdatePendingMessage400ApplicationProblemPlusJSONResponse ¶
type UpdatePendingMessage400ApplicationProblemPlusJSONResponse struct {
InvalidApplicationProblemPlusJSONResponse
}
func (UpdatePendingMessage400ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse ¶
func (response UpdatePendingMessage400ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse(w http.ResponseWriter) error
type UpdatePendingMessage401ApplicationProblemPlusJSONResponse ¶
type UpdatePendingMessage401ApplicationProblemPlusJSONResponse struct {
AuthenticationRequiredApplicationProblemPlusJSONResponse
}
func (UpdatePendingMessage401ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse ¶
func (response UpdatePendingMessage401ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse(w http.ResponseWriter) error
type UpdatePendingMessage404ApplicationProblemPlusJSONResponse ¶
type UpdatePendingMessage404ApplicationProblemPlusJSONResponse struct {
NotFoundApplicationProblemPlusJSONResponse
}
func (UpdatePendingMessage404ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse ¶
func (response UpdatePendingMessage404ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse(w http.ResponseWriter) error
type UpdatePendingMessage409ApplicationProblemPlusJSONResponse ¶
type UpdatePendingMessage409ApplicationProblemPlusJSONResponse struct {
ConflictApplicationProblemPlusJSONResponse
}
func (UpdatePendingMessage409ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse ¶
func (response UpdatePendingMessage409ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse(w http.ResponseWriter) error
type UpdatePendingMessage413ApplicationProblemPlusJSONResponse ¶
type UpdatePendingMessage413ApplicationProblemPlusJSONResponse struct {
SchedulingBodyTooLargeApplicationProblemPlusJSONResponse
}
func (UpdatePendingMessage413ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse ¶
func (response UpdatePendingMessage413ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse(w http.ResponseWriter) error
type UpdatePendingMessage415ApplicationProblemPlusJSONResponse ¶
type UpdatePendingMessage415ApplicationProblemPlusJSONResponse struct {
SchedulingUnsupportedMediaApplicationProblemPlusJSONResponse
}
func (UpdatePendingMessage415ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse ¶
func (response UpdatePendingMessage415ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse(w http.ResponseWriter) error
type UpdatePendingMessage503ApplicationProblemPlusJSONResponse ¶
type UpdatePendingMessage503ApplicationProblemPlusJSONResponse struct {
}
func (UpdatePendingMessage503ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse ¶
func (response UpdatePendingMessage503ApplicationProblemPlusJSONResponse) VisitUpdatePendingMessageResponse(w http.ResponseWriter) error
type UpdatePendingMessageJSONRequestBody ¶
type UpdatePendingMessageJSONRequestBody = UpdatePendingMessage
UpdatePendingMessageJSONRequestBody defines body for UpdatePendingMessage for application/json ContentType.
type UpdatePendingMessageParams ¶
type UpdatePendingMessageParams struct {
// IdempotencyKey Stable mutation key. Different input with the same key yields idempotency_conflict.
IdempotencyKey ScheduledMutationKey `json:"Idempotency-Key"`
}
UpdatePendingMessageParams defines parameters for UpdatePendingMessage.
type UpdatePendingMessageRequestObject ¶
type UpdatePendingMessageRequestObject struct {
MessageId MessageID `json:"messageId"`
Params UpdatePendingMessageParams
Body *UpdatePendingMessageJSONRequestBody
}
type UpdatePendingMessageResponse ¶
type UpdatePendingMessageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PendingMessageUpdated
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Invalid
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *AuthenticationRequired
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *NotFound
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Conflict
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *SchedulingBodyTooLarge
// ApplicationproblemJSON415 the response for an HTTP 415 `application/problem+json` response
ApplicationproblemJSON415 *SchedulingUnsupportedMedia
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Unavailable
// Headers401 the parsed response headers for an HTTP 401 response
Headers401 *UpdatePendingMessageResponse401Headers
}
func ParseUpdatePendingMessageResponse ¶
func ParseUpdatePendingMessageResponse(rsp *http.Response) (*UpdatePendingMessageResponse, error)
ParseUpdatePendingMessageResponse parses an HTTP response from a UpdatePendingMessageWithResponse call
func (UpdatePendingMessageResponse) ContentType ¶
func (r UpdatePendingMessageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdatePendingMessageResponse) GetApplicationproblemJSON400 ¶
func (r UpdatePendingMessageResponse) GetApplicationproblemJSON400() *Invalid
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (UpdatePendingMessageResponse) GetApplicationproblemJSON401 ¶
func (r UpdatePendingMessageResponse) GetApplicationproblemJSON401() *AuthenticationRequired
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (UpdatePendingMessageResponse) GetApplicationproblemJSON404 ¶
func (r UpdatePendingMessageResponse) GetApplicationproblemJSON404() *NotFound
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (UpdatePendingMessageResponse) GetApplicationproblemJSON409 ¶
func (r UpdatePendingMessageResponse) GetApplicationproblemJSON409() *Conflict
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (UpdatePendingMessageResponse) GetApplicationproblemJSON413 ¶
func (r UpdatePendingMessageResponse) GetApplicationproblemJSON413() *SchedulingBodyTooLarge
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (UpdatePendingMessageResponse) GetApplicationproblemJSON415 ¶
func (r UpdatePendingMessageResponse) GetApplicationproblemJSON415() *SchedulingUnsupportedMedia
GetApplicationproblemJSON415 returns the response for an HTTP 415 `application/problem+json` response
func (UpdatePendingMessageResponse) GetApplicationproblemJSON503 ¶
func (r UpdatePendingMessageResponse) GetApplicationproblemJSON503() *Unavailable
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (UpdatePendingMessageResponse) GetBody ¶
func (r UpdatePendingMessageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdatePendingMessageResponse) GetJSON200 ¶
func (r UpdatePendingMessageResponse) GetJSON200() *PendingMessageUpdated
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdatePendingMessageResponse) Status ¶
func (r UpdatePendingMessageResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePendingMessageResponse) StatusCode ¶
func (r UpdatePendingMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePendingMessageResponse401Headers ¶
type UpdatePendingMessageResponse401Headers struct {
WWWAuthenticate *string
}
UpdatePendingMessageResponse401Headers the declared response headers of an HTTP 401 response for UpdatePendingMessage
type UpdatePendingMessageResponseObject ¶
type UpdatePendingMessageResponseObject interface {
VisitUpdatePendingMessageResponse(w http.ResponseWriter) error
}
type VideoSeekIndex ¶
type VideoSeekIndex struct {
// Codecs Codec identifiers for the original audio and video tracks.
//
// Example: avc1.640028
Codecs string `json:"codecs"`
// InitLength Number of initialization bytes at the start of the file.
//
// Example: 1408
InitLength int64 `json:"initLength"`
// Segments Ordered time and length for each original fragment.
//
// Example: [{"duration":4,"length":750000}]
Segments []struct {
// Duration Playback duration of this fragment in seconds.
//
// Example: 4
Duration float64 `json:"duration"`
// Length Byte count of this fragment.
//
// Example: 750000
Length int64 `json:"length"`
} `json:"segments"`
// Size Size of the complete original in bytes.
//
// Example: 751408
Size int64 `json:"size"`
}
VideoSeekIndex Byte ranges for the original fragmented MP4. Every fragment follows the previous range without gaps.
type VideoThumbnail ¶
type VideoThumbnail struct {
// AccountId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
AccountId ID `json:"accountId"`
// ConversationId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
ConversationId ID `json:"conversationId"`
// Id Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
Id ID `json:"id"`
// ImageHash Local normalized PNG or JPEG digest for a ready thumbnail.
//
// Example: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
ImageHash *string `json:"imageHash,omitempty"`
// Kind Example: video
Kind VideoThumbnailKind `json:"kind"`
// LastErrorCode Stable failure key. Failed extraction is retried only on explicit request.
//
// Example: frame_unavailable
LastErrorCode *string `json:"lastErrorCode,omitempty"`
// MessageId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
MessageId ID `json:"messageId"`
// RevisionId Canonical lowercase UUIDv7; IDs do not establish causal order.
//
// Example: 019a5df0-0000-7000-8000-000000000001
RevisionId ID `json:"revisionId"`
//
// Example: 019a5df0-0000-7000-8000-000000000001
SharedContentId ID `json:"sharedContentId"`
// State Example: queued
State VideoThumbnailState `json:"state"`
// UpdatedAt Example: 2026-11-08T12:00:00Z
UpdatedAt time.Time `json:"updatedAt"`
// Url Retained source reference for identity checks, never an image source.
//
// Example: https://files.example/clip.mp4
Url string `json:"url"`
}
VideoThumbnail Cached frame metadata for one canonical retained video reference. A ready imageHash is a normalized static thumbnail; original video bytes are never retained by this operation.
type VideoThumbnailKind ¶
type VideoThumbnailKind string
VideoThumbnailKind Example: video
const (
VideoThumbnailKindVideo VideoThumbnailKind = "video"
)
Defines values for VideoThumbnailKind.
func (VideoThumbnailKind) Valid ¶
func (e VideoThumbnailKind) Valid() bool
Valid indicates whether the value is a known member of the VideoThumbnailKind enum.
type VideoThumbnailState ¶
type VideoThumbnailState string
VideoThumbnailState Example: queued
const ( VideoThumbnailStateNotRequested VideoThumbnailState = "not_requested" VideoThumbnailStateQueued VideoThumbnailState = "queued" VideoThumbnailStateReady VideoThumbnailState = "ready" )
Defines values for VideoThumbnailState.
func (VideoThumbnailState) Valid ¶
func (e VideoThumbnailState) Valid() bool
Valid indicates whether the value is a known member of the VideoThumbnailState enum.