Documentation ¶
Index ¶
- type ChatMessageClient
- func (c ChatMessageClient) CreateChatMessage(ctx context.Context, id beta.UserIdChatId, input beta.ChatMessage, ...) (result CreateChatMessageOperationResponse, err error)
- func (c ChatMessageClient) CreateChatMessageSoftDelete(ctx context.Context, id beta.UserIdChatIdMessageId, ...) (result CreateChatMessageSoftDeleteOperationResponse, err error)
- func (c ChatMessageClient) CreateChatMessageUndoSoftDelete(ctx context.Context, id beta.UserIdChatIdMessageId, ...) (result CreateChatMessageUndoSoftDeleteOperationResponse, err error)
- func (c ChatMessageClient) DeleteChatMessage(ctx context.Context, id beta.UserIdChatIdMessageId, ...) (result DeleteChatMessageOperationResponse, err error)
- func (c ChatMessageClient) GetChatMessage(ctx context.Context, id beta.UserIdChatIdMessageId, ...) (result GetChatMessageOperationResponse, err error)
- func (c ChatMessageClient) GetChatMessagesCount(ctx context.Context, id beta.UserIdChatId, ...) (result GetChatMessagesCountOperationResponse, err error)
- func (c ChatMessageClient) ListChatMessages(ctx context.Context, id beta.UserIdChatId, ...) (result ListChatMessagesOperationResponse, err error)
- func (c ChatMessageClient) ListChatMessagesComplete(ctx context.Context, id beta.UserIdChatId, ...) (ListChatMessagesCompleteResult, error)
- func (c ChatMessageClient) ListChatMessagesCompleteMatchingPredicate(ctx context.Context, id beta.UserIdChatId, ...) (result ListChatMessagesCompleteResult, err error)
- func (c ChatMessageClient) SetChatMessageReaction(ctx context.Context, id beta.UserIdChatIdMessageId, ...) (result SetChatMessageReactionOperationResponse, err error)
- func (c ChatMessageClient) UnsetChatMessageReaction(ctx context.Context, id beta.UserIdChatIdMessageId, ...) (result UnsetChatMessageReactionOperationResponse, err error)
- func (c ChatMessageClient) UpdateChatMessage(ctx context.Context, id beta.UserIdChatIdMessageId, input beta.ChatMessage, ...) (result UpdateChatMessageOperationResponse, err error)
- type ChatMessageOperationPredicate
- type CreateChatMessageOperationOptions
- type CreateChatMessageOperationResponse
- type CreateChatMessageSoftDeleteOperationOptions
- type CreateChatMessageSoftDeleteOperationResponse
- type CreateChatMessageUndoSoftDeleteOperationOptions
- type CreateChatMessageUndoSoftDeleteOperationResponse
- type DeleteChatMessageOperationOptions
- type DeleteChatMessageOperationResponse
- type GetChatMessageOperationOptions
- type GetChatMessageOperationResponse
- type GetChatMessagesCountOperationOptions
- type GetChatMessagesCountOperationResponse
- type ListChatMessagesCompleteResult
- type ListChatMessagesCustomPager
- type ListChatMessagesOperationOptions
- type ListChatMessagesOperationResponse
- type SetChatMessageReactionOperationOptions
- type SetChatMessageReactionOperationResponse
- type SetChatMessageReactionRequest
- type UnsetChatMessageReactionOperationOptions
- type UnsetChatMessageReactionOperationResponse
- type UnsetChatMessageReactionRequest
- type UpdateChatMessageOperationOptions
- type UpdateChatMessageOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatMessageClient ¶
func NewChatMessageClientWithBaseURI ¶
func NewChatMessageClientWithBaseURI(sdkApi sdkEnv.Api) (*ChatMessageClient, error)
func (ChatMessageClient) CreateChatMessage ¶
func (c ChatMessageClient) CreateChatMessage(ctx context.Context, id beta.UserIdChatId, input beta.ChatMessage, options CreateChatMessageOperationOptions) (result CreateChatMessageOperationResponse, err error)
CreateChatMessage - Create new navigation property to messages for users
func (ChatMessageClient) CreateChatMessageSoftDelete ¶
func (c ChatMessageClient) CreateChatMessageSoftDelete(ctx context.Context, id beta.UserIdChatIdMessageId, options CreateChatMessageSoftDeleteOperationOptions) (result CreateChatMessageSoftDeleteOperationResponse, err error)
CreateChatMessageSoftDelete - Invoke action softDelete. Delete a single chatMessage or a chat message reply in a channel or a chat.
func (ChatMessageClient) CreateChatMessageUndoSoftDelete ¶
func (c ChatMessageClient) CreateChatMessageUndoSoftDelete(ctx context.Context, id beta.UserIdChatIdMessageId, options CreateChatMessageUndoSoftDeleteOperationOptions) (result CreateChatMessageUndoSoftDeleteOperationResponse, err error)
CreateChatMessageUndoSoftDelete - Invoke action undoSoftDelete. Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat.
func (ChatMessageClient) DeleteChatMessage ¶
func (c ChatMessageClient) DeleteChatMessage(ctx context.Context, id beta.UserIdChatIdMessageId, options DeleteChatMessageOperationOptions) (result DeleteChatMessageOperationResponse, err error)
DeleteChatMessage - Delete navigation property messages for users
func (ChatMessageClient) GetChatMessage ¶
func (c ChatMessageClient) GetChatMessage(ctx context.Context, id beta.UserIdChatIdMessageId, options GetChatMessageOperationOptions) (result GetChatMessageOperationResponse, err error)
GetChatMessage - Get messages from users. A collection of all the messages in the chat. Nullable.
func (ChatMessageClient) GetChatMessagesCount ¶
func (c ChatMessageClient) GetChatMessagesCount(ctx context.Context, id beta.UserIdChatId, options GetChatMessagesCountOperationOptions) (result GetChatMessagesCountOperationResponse, err error)
GetChatMessagesCount - Get the number of the resource
func (ChatMessageClient) ListChatMessages ¶
func (c ChatMessageClient) ListChatMessages(ctx context.Context, id beta.UserIdChatId, options ListChatMessagesOperationOptions) (result ListChatMessagesOperationResponse, err error)
ListChatMessages - Get messages from users. A collection of all the messages in the chat. Nullable.
func (ChatMessageClient) ListChatMessagesComplete ¶
func (c ChatMessageClient) ListChatMessagesComplete(ctx context.Context, id beta.UserIdChatId, options ListChatMessagesOperationOptions) (ListChatMessagesCompleteResult, error)
ListChatMessagesComplete retrieves all the results into a single object
func (ChatMessageClient) ListChatMessagesCompleteMatchingPredicate ¶
func (c ChatMessageClient) ListChatMessagesCompleteMatchingPredicate(ctx context.Context, id beta.UserIdChatId, options ListChatMessagesOperationOptions, predicate ChatMessageOperationPredicate) (result ListChatMessagesCompleteResult, err error)
ListChatMessagesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ChatMessageClient) SetChatMessageReaction ¶
func (c ChatMessageClient) SetChatMessageReaction(ctx context.Context, id beta.UserIdChatIdMessageId, input SetChatMessageReactionRequest, options SetChatMessageReactionOperationOptions) (result SetChatMessageReactionOperationResponse, err error)
SetChatMessageReaction - Invoke action setReaction
func (ChatMessageClient) UnsetChatMessageReaction ¶
func (c ChatMessageClient) UnsetChatMessageReaction(ctx context.Context, id beta.UserIdChatIdMessageId, input UnsetChatMessageReactionRequest, options UnsetChatMessageReactionOperationOptions) (result UnsetChatMessageReactionOperationResponse, err error)
UnsetChatMessageReaction - Invoke action unsetReaction
func (ChatMessageClient) UpdateChatMessage ¶
func (c ChatMessageClient) UpdateChatMessage(ctx context.Context, id beta.UserIdChatIdMessageId, input beta.ChatMessage, options UpdateChatMessageOperationOptions) (result UpdateChatMessageOperationResponse, err error)
UpdateChatMessage - Update the navigation property messages in users
type ChatMessageOperationPredicate ¶
type ChatMessageOperationPredicate struct { }
func (ChatMessageOperationPredicate) Matches ¶
func (p ChatMessageOperationPredicate) Matches(input beta.ChatMessage) bool
type CreateChatMessageOperationOptions ¶
type CreateChatMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateChatMessageOperationOptions ¶
func DefaultCreateChatMessageOperationOptions() CreateChatMessageOperationOptions
func (CreateChatMessageOperationOptions) ToHeaders ¶
func (o CreateChatMessageOperationOptions) ToHeaders() *client.Headers
func (CreateChatMessageOperationOptions) ToOData ¶
func (o CreateChatMessageOperationOptions) ToOData() *odata.Query
func (CreateChatMessageOperationOptions) ToQuery ¶
func (o CreateChatMessageOperationOptions) ToQuery() *client.QueryParams
type CreateChatMessageSoftDeleteOperationOptions ¶
type CreateChatMessageSoftDeleteOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateChatMessageSoftDeleteOperationOptions ¶
func DefaultCreateChatMessageSoftDeleteOperationOptions() CreateChatMessageSoftDeleteOperationOptions
func (CreateChatMessageSoftDeleteOperationOptions) ToHeaders ¶
func (o CreateChatMessageSoftDeleteOperationOptions) ToHeaders() *client.Headers
func (CreateChatMessageSoftDeleteOperationOptions) ToOData ¶
func (o CreateChatMessageSoftDeleteOperationOptions) ToOData() *odata.Query
func (CreateChatMessageSoftDeleteOperationOptions) ToQuery ¶
func (o CreateChatMessageSoftDeleteOperationOptions) ToQuery() *client.QueryParams
type CreateChatMessageUndoSoftDeleteOperationOptions ¶
type CreateChatMessageUndoSoftDeleteOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateChatMessageUndoSoftDeleteOperationOptions ¶
func DefaultCreateChatMessageUndoSoftDeleteOperationOptions() CreateChatMessageUndoSoftDeleteOperationOptions
func (CreateChatMessageUndoSoftDeleteOperationOptions) ToHeaders ¶
func (o CreateChatMessageUndoSoftDeleteOperationOptions) ToHeaders() *client.Headers
func (CreateChatMessageUndoSoftDeleteOperationOptions) ToOData ¶
func (o CreateChatMessageUndoSoftDeleteOperationOptions) ToOData() *odata.Query
func (CreateChatMessageUndoSoftDeleteOperationOptions) ToQuery ¶
func (o CreateChatMessageUndoSoftDeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteChatMessageOperationOptions ¶
type DeleteChatMessageOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteChatMessageOperationOptions ¶
func DefaultDeleteChatMessageOperationOptions() DeleteChatMessageOperationOptions
func (DeleteChatMessageOperationOptions) ToHeaders ¶
func (o DeleteChatMessageOperationOptions) ToHeaders() *client.Headers
func (DeleteChatMessageOperationOptions) ToOData ¶
func (o DeleteChatMessageOperationOptions) ToOData() *odata.Query
func (DeleteChatMessageOperationOptions) ToQuery ¶
func (o DeleteChatMessageOperationOptions) ToQuery() *client.QueryParams
type GetChatMessageOperationOptions ¶
type GetChatMessageOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetChatMessageOperationOptions ¶
func DefaultGetChatMessageOperationOptions() GetChatMessageOperationOptions
func (GetChatMessageOperationOptions) ToHeaders ¶
func (o GetChatMessageOperationOptions) ToHeaders() *client.Headers
func (GetChatMessageOperationOptions) ToOData ¶
func (o GetChatMessageOperationOptions) ToOData() *odata.Query
func (GetChatMessageOperationOptions) ToQuery ¶
func (o GetChatMessageOperationOptions) ToQuery() *client.QueryParams
type GetChatMessagesCountOperationOptions ¶
type GetChatMessagesCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetChatMessagesCountOperationOptions ¶
func DefaultGetChatMessagesCountOperationOptions() GetChatMessagesCountOperationOptions
func (GetChatMessagesCountOperationOptions) ToHeaders ¶
func (o GetChatMessagesCountOperationOptions) ToHeaders() *client.Headers
func (GetChatMessagesCountOperationOptions) ToOData ¶
func (o GetChatMessagesCountOperationOptions) ToOData() *odata.Query
func (GetChatMessagesCountOperationOptions) ToQuery ¶
func (o GetChatMessagesCountOperationOptions) ToQuery() *client.QueryParams
type ListChatMessagesCompleteResult ¶
type ListChatMessagesCompleteResult struct { LatestHttpResponse *http.Response Items []beta.ChatMessage }
type ListChatMessagesCustomPager ¶
func (*ListChatMessagesCustomPager) NextPageLink ¶
func (p *ListChatMessagesCustomPager) NextPageLink() *odata.Link
type ListChatMessagesOperationOptions ¶
type ListChatMessagesOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListChatMessagesOperationOptions ¶
func DefaultListChatMessagesOperationOptions() ListChatMessagesOperationOptions
func (ListChatMessagesOperationOptions) ToHeaders ¶
func (o ListChatMessagesOperationOptions) ToHeaders() *client.Headers
func (ListChatMessagesOperationOptions) ToOData ¶
func (o ListChatMessagesOperationOptions) ToOData() *odata.Query
func (ListChatMessagesOperationOptions) ToQuery ¶
func (o ListChatMessagesOperationOptions) ToQuery() *client.QueryParams
type SetChatMessageReactionOperationOptions ¶
type SetChatMessageReactionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetChatMessageReactionOperationOptions ¶
func DefaultSetChatMessageReactionOperationOptions() SetChatMessageReactionOperationOptions
func (SetChatMessageReactionOperationOptions) ToHeaders ¶
func (o SetChatMessageReactionOperationOptions) ToHeaders() *client.Headers
func (SetChatMessageReactionOperationOptions) ToOData ¶
func (o SetChatMessageReactionOperationOptions) ToOData() *odata.Query
func (SetChatMessageReactionOperationOptions) ToQuery ¶
func (o SetChatMessageReactionOperationOptions) ToQuery() *client.QueryParams
type UnsetChatMessageReactionOperationOptions ¶
type UnsetChatMessageReactionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUnsetChatMessageReactionOperationOptions ¶
func DefaultUnsetChatMessageReactionOperationOptions() UnsetChatMessageReactionOperationOptions
func (UnsetChatMessageReactionOperationOptions) ToHeaders ¶
func (o UnsetChatMessageReactionOperationOptions) ToHeaders() *client.Headers
func (UnsetChatMessageReactionOperationOptions) ToOData ¶
func (o UnsetChatMessageReactionOperationOptions) ToOData() *odata.Query
func (UnsetChatMessageReactionOperationOptions) ToQuery ¶
func (o UnsetChatMessageReactionOperationOptions) ToQuery() *client.QueryParams
type UpdateChatMessageOperationOptions ¶
type UpdateChatMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateChatMessageOperationOptions ¶
func DefaultUpdateChatMessageOperationOptions() UpdateChatMessageOperationOptions
func (UpdateChatMessageOperationOptions) ToHeaders ¶
func (o UpdateChatMessageOperationOptions) ToHeaders() *client.Headers
func (UpdateChatMessageOperationOptions) ToOData ¶
func (o UpdateChatMessageOperationOptions) ToOData() *odata.Query
func (UpdateChatMessageOperationOptions) ToQuery ¶
func (o UpdateChatMessageOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createchatmessage.go
- method_createchatmessagesoftdelete.go
- method_createchatmessageundosoftdelete.go
- method_deletechatmessage.go
- method_getchatmessage.go
- method_getchatmessagescount.go
- method_listchatmessages.go
- method_setchatmessagereaction.go
- method_unsetchatmessagereaction.go
- method_updatechatmessage.go
- model_setchatmessagereactionrequest.go
- model_unsetchatmessagereactionrequest.go
- predicates.go
- version.go