Documentation ¶
Index ¶
- type ChatClient
- func (c ChatClient) CreateChat(ctx context.Context, input beta.Chat, options CreateChatOperationOptions) (result CreateChatOperationResponse, err error)
- func (c ChatClient) DeleteChat(ctx context.Context, id beta.MeChatId, options DeleteChatOperationOptions) (result DeleteChatOperationResponse, err error)
- func (c ChatClient) GetChat(ctx context.Context, id beta.MeChatId, options GetChatOperationOptions) (result GetChatOperationResponse, err error)
- func (c ChatClient) GetChatsCount(ctx context.Context, options GetChatsCountOperationOptions) (result GetChatsCountOperationResponse, err error)
- func (c ChatClient) HideChatForUser(ctx context.Context, id beta.MeChatId, input HideChatForUserRequest, ...) (result HideChatForUserOperationResponse, err error)
- func (c ChatClient) ListChats(ctx context.Context, options ListChatsOperationOptions) (result ListChatsOperationResponse, err error)
- func (c ChatClient) ListChatsComplete(ctx context.Context, options ListChatsOperationOptions) (ListChatsCompleteResult, error)
- func (c ChatClient) ListChatsCompleteMatchingPredicate(ctx context.Context, options ListChatsOperationOptions, ...) (result ListChatsCompleteResult, err error)
- func (c ChatClient) MarkChatReadForUser(ctx context.Context, id beta.MeChatId, input MarkChatReadForUserRequest, ...) (result MarkChatReadForUserOperationResponse, err error)
- func (c ChatClient) MarkChatUnreadForUser(ctx context.Context, id beta.MeChatId, input MarkChatUnreadForUserRequest, ...) (result MarkChatUnreadForUserOperationResponse, err error)
- func (c ChatClient) RemoveChatAllAccessForUser(ctx context.Context, id beta.MeChatId, input RemoveChatAllAccessForUserRequest, ...) (result RemoveChatAllAccessForUserOperationResponse, err error)
- func (c ChatClient) SendChatActivityNotification(ctx context.Context, id beta.MeChatId, ...) (result SendChatActivityNotificationOperationResponse, err error)
- func (c ChatClient) UnhideChatForUser(ctx context.Context, id beta.MeChatId, input UnhideChatForUserRequest, ...) (result UnhideChatForUserOperationResponse, err error)
- func (c ChatClient) UpdateChat(ctx context.Context, id beta.MeChatId, input beta.Chat, ...) (result UpdateChatOperationResponse, err error)
- type ChatOperationPredicate
- type CreateChatOperationOptions
- type CreateChatOperationResponse
- type DeleteChatOperationOptions
- type DeleteChatOperationResponse
- type GetChatOperationOptions
- type GetChatOperationResponse
- type GetChatsCountOperationOptions
- type GetChatsCountOperationResponse
- type HideChatForUserOperationOptions
- type HideChatForUserOperationResponse
- type HideChatForUserRequest
- type ListChatsCompleteResult
- type ListChatsCustomPager
- type ListChatsOperationOptions
- type ListChatsOperationResponse
- type MarkChatReadForUserOperationOptions
- type MarkChatReadForUserOperationResponse
- type MarkChatReadForUserRequest
- type MarkChatUnreadForUserOperationOptions
- type MarkChatUnreadForUserOperationResponse
- type MarkChatUnreadForUserRequest
- type RemoveChatAllAccessForUserOperationOptions
- type RemoveChatAllAccessForUserOperationResponse
- type RemoveChatAllAccessForUserRequest
- type SendChatActivityNotificationOperationOptions
- type SendChatActivityNotificationOperationResponse
- type SendChatActivityNotificationRequest
- type UnhideChatForUserOperationOptions
- type UnhideChatForUserOperationResponse
- type UnhideChatForUserRequest
- type UpdateChatOperationOptions
- type UpdateChatOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatClient ¶
func NewChatClientWithBaseURI ¶
func NewChatClientWithBaseURI(sdkApi sdkEnv.Api) (*ChatClient, error)
func (ChatClient) CreateChat ¶
func (c ChatClient) CreateChat(ctx context.Context, input beta.Chat, options CreateChatOperationOptions) (result CreateChatOperationResponse, err error)
CreateChat - Create new navigation property to chats for me
func (ChatClient) DeleteChat ¶
func (c ChatClient) DeleteChat(ctx context.Context, id beta.MeChatId, options DeleteChatOperationOptions) (result DeleteChatOperationResponse, err error)
DeleteChat - Delete navigation property chats for me
func (ChatClient) GetChat ¶
func (c ChatClient) GetChat(ctx context.Context, id beta.MeChatId, options GetChatOperationOptions) (result GetChatOperationResponse, err error)
GetChat - Get chats from me
func (ChatClient) GetChatsCount ¶
func (c ChatClient) GetChatsCount(ctx context.Context, options GetChatsCountOperationOptions) (result GetChatsCountOperationResponse, err error)
GetChatsCount - Get the number of the resource
func (ChatClient) HideChatForUser ¶
func (c ChatClient) HideChatForUser(ctx context.Context, id beta.MeChatId, input HideChatForUserRequest, options HideChatForUserOperationOptions) (result HideChatForUserOperationResponse, err error)
HideChatForUser - Invoke action hideForUser. Hide a chat for a user.
func (ChatClient) ListChats ¶
func (c ChatClient) ListChats(ctx context.Context, options ListChatsOperationOptions) (result ListChatsOperationResponse, err error)
ListChats - Get chats from me
func (ChatClient) ListChatsComplete ¶
func (c ChatClient) ListChatsComplete(ctx context.Context, options ListChatsOperationOptions) (ListChatsCompleteResult, error)
ListChatsComplete retrieves all the results into a single object
func (ChatClient) ListChatsCompleteMatchingPredicate ¶
func (c ChatClient) ListChatsCompleteMatchingPredicate(ctx context.Context, options ListChatsOperationOptions, predicate ChatOperationPredicate) (result ListChatsCompleteResult, err error)
ListChatsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ChatClient) MarkChatReadForUser ¶
func (c ChatClient) MarkChatReadForUser(ctx context.Context, id beta.MeChatId, input MarkChatReadForUserRequest, options MarkChatReadForUserOperationOptions) (result MarkChatReadForUserOperationResponse, err error)
MarkChatReadForUser - Invoke action markChatReadForUser. Mark a chat as read for a user.
func (ChatClient) MarkChatUnreadForUser ¶
func (c ChatClient) MarkChatUnreadForUser(ctx context.Context, id beta.MeChatId, input MarkChatUnreadForUserRequest, options MarkChatUnreadForUserOperationOptions) (result MarkChatUnreadForUserOperationResponse, err error)
MarkChatUnreadForUser - Invoke action markChatUnreadForUser. Mark a chat as unread for a user.
func (ChatClient) RemoveChatAllAccessForUser ¶
func (c ChatClient) RemoveChatAllAccessForUser(ctx context.Context, id beta.MeChatId, input RemoveChatAllAccessForUserRequest, options RemoveChatAllAccessForUserOperationOptions) (result RemoveChatAllAccessForUserOperationResponse, err error)
RemoveChatAllAccessForUser - Invoke action removeAllAccessForUser. Remove access to a chat for a user.
func (ChatClient) SendChatActivityNotification ¶
func (c ChatClient) SendChatActivityNotification(ctx context.Context, id beta.MeChatId, input SendChatActivityNotificationRequest, options SendChatActivityNotificationOperationOptions) (result SendChatActivityNotificationOperationResponse, err error)
SendChatActivityNotification - Invoke action sendActivityNotification. Send an activity feed notification in the scope of a chat. For more information, see sending Teams activity notifications.
func (ChatClient) UnhideChatForUser ¶
func (c ChatClient) UnhideChatForUser(ctx context.Context, id beta.MeChatId, input UnhideChatForUserRequest, options UnhideChatForUserOperationOptions) (result UnhideChatForUserOperationResponse, err error)
UnhideChatForUser - Invoke action unhideForUser. Unhide a chat for a user.
func (ChatClient) UpdateChat ¶
func (c ChatClient) UpdateChat(ctx context.Context, id beta.MeChatId, input beta.Chat, options UpdateChatOperationOptions) (result UpdateChatOperationResponse, err error)
UpdateChat - Update the navigation property chats in me
type ChatOperationPredicate ¶
type ChatOperationPredicate struct { }
type CreateChatOperationOptions ¶
type CreateChatOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateChatOperationOptions ¶
func DefaultCreateChatOperationOptions() CreateChatOperationOptions
func (CreateChatOperationOptions) ToHeaders ¶
func (o CreateChatOperationOptions) ToHeaders() *client.Headers
func (CreateChatOperationOptions) ToOData ¶
func (o CreateChatOperationOptions) ToOData() *odata.Query
func (CreateChatOperationOptions) ToQuery ¶
func (o CreateChatOperationOptions) ToQuery() *client.QueryParams
type DeleteChatOperationOptions ¶
type DeleteChatOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteChatOperationOptions ¶
func DefaultDeleteChatOperationOptions() DeleteChatOperationOptions
func (DeleteChatOperationOptions) ToHeaders ¶
func (o DeleteChatOperationOptions) ToHeaders() *client.Headers
func (DeleteChatOperationOptions) ToOData ¶
func (o DeleteChatOperationOptions) ToOData() *odata.Query
func (DeleteChatOperationOptions) ToQuery ¶
func (o DeleteChatOperationOptions) ToQuery() *client.QueryParams
type GetChatOperationOptions ¶
type GetChatOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetChatOperationOptions ¶
func DefaultGetChatOperationOptions() GetChatOperationOptions
func (GetChatOperationOptions) ToHeaders ¶
func (o GetChatOperationOptions) ToHeaders() *client.Headers
func (GetChatOperationOptions) ToOData ¶
func (o GetChatOperationOptions) ToOData() *odata.Query
func (GetChatOperationOptions) ToQuery ¶
func (o GetChatOperationOptions) ToQuery() *client.QueryParams
type GetChatsCountOperationOptions ¶
type GetChatsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetChatsCountOperationOptions ¶
func DefaultGetChatsCountOperationOptions() GetChatsCountOperationOptions
func (GetChatsCountOperationOptions) ToHeaders ¶
func (o GetChatsCountOperationOptions) ToHeaders() *client.Headers
func (GetChatsCountOperationOptions) ToOData ¶
func (o GetChatsCountOperationOptions) ToOData() *odata.Query
func (GetChatsCountOperationOptions) ToQuery ¶
func (o GetChatsCountOperationOptions) ToQuery() *client.QueryParams
type HideChatForUserOperationOptions ¶
type HideChatForUserOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultHideChatForUserOperationOptions ¶
func DefaultHideChatForUserOperationOptions() HideChatForUserOperationOptions
func (HideChatForUserOperationOptions) ToHeaders ¶
func (o HideChatForUserOperationOptions) ToHeaders() *client.Headers
func (HideChatForUserOperationOptions) ToOData ¶
func (o HideChatForUserOperationOptions) ToOData() *odata.Query
func (HideChatForUserOperationOptions) ToQuery ¶
func (o HideChatForUserOperationOptions) ToQuery() *client.QueryParams
type HideChatForUserRequest ¶
type HideChatForUserRequest struct { TenantId nullable.Type[string] `json:"tenantId,omitempty"` User *beta.TeamworkUserIdentity `json:"user,omitempty"` }
type ListChatsCompleteResult ¶
type ListChatsCustomPager ¶
func (*ListChatsCustomPager) NextPageLink ¶
func (p *ListChatsCustomPager) NextPageLink() *odata.Link
type ListChatsOperationOptions ¶
type ListChatsOperationOptions 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 DefaultListChatsOperationOptions ¶
func DefaultListChatsOperationOptions() ListChatsOperationOptions
func (ListChatsOperationOptions) ToHeaders ¶
func (o ListChatsOperationOptions) ToHeaders() *client.Headers
func (ListChatsOperationOptions) ToOData ¶
func (o ListChatsOperationOptions) ToOData() *odata.Query
func (ListChatsOperationOptions) ToQuery ¶
func (o ListChatsOperationOptions) ToQuery() *client.QueryParams
type MarkChatReadForUserOperationOptions ¶
type MarkChatReadForUserOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultMarkChatReadForUserOperationOptions ¶
func DefaultMarkChatReadForUserOperationOptions() MarkChatReadForUserOperationOptions
func (MarkChatReadForUserOperationOptions) ToHeaders ¶
func (o MarkChatReadForUserOperationOptions) ToHeaders() *client.Headers
func (MarkChatReadForUserOperationOptions) ToOData ¶
func (o MarkChatReadForUserOperationOptions) ToOData() *odata.Query
func (MarkChatReadForUserOperationOptions) ToQuery ¶
func (o MarkChatReadForUserOperationOptions) ToQuery() *client.QueryParams
type MarkChatReadForUserRequest ¶
type MarkChatReadForUserRequest struct { TenantId nullable.Type[string] `json:"tenantId,omitempty"` User *beta.TeamworkUserIdentity `json:"user,omitempty"` }
type MarkChatUnreadForUserOperationOptions ¶
type MarkChatUnreadForUserOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultMarkChatUnreadForUserOperationOptions ¶
func DefaultMarkChatUnreadForUserOperationOptions() MarkChatUnreadForUserOperationOptions
func (MarkChatUnreadForUserOperationOptions) ToHeaders ¶
func (o MarkChatUnreadForUserOperationOptions) ToHeaders() *client.Headers
func (MarkChatUnreadForUserOperationOptions) ToOData ¶
func (o MarkChatUnreadForUserOperationOptions) ToOData() *odata.Query
func (MarkChatUnreadForUserOperationOptions) ToQuery ¶
func (o MarkChatUnreadForUserOperationOptions) ToQuery() *client.QueryParams
type RemoveChatAllAccessForUserOperationOptions ¶
type RemoveChatAllAccessForUserOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveChatAllAccessForUserOperationOptions ¶
func DefaultRemoveChatAllAccessForUserOperationOptions() RemoveChatAllAccessForUserOperationOptions
func (RemoveChatAllAccessForUserOperationOptions) ToHeaders ¶
func (o RemoveChatAllAccessForUserOperationOptions) ToHeaders() *client.Headers
func (RemoveChatAllAccessForUserOperationOptions) ToOData ¶
func (o RemoveChatAllAccessForUserOperationOptions) ToOData() *odata.Query
func (RemoveChatAllAccessForUserOperationOptions) ToQuery ¶
func (o RemoveChatAllAccessForUserOperationOptions) ToQuery() *client.QueryParams
type RemoveChatAllAccessForUserRequest ¶
type RemoveChatAllAccessForUserRequest struct {
User *beta.TeamworkUserIdentity `json:"user,omitempty"`
}
type SendChatActivityNotificationOperationOptions ¶
type SendChatActivityNotificationOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSendChatActivityNotificationOperationOptions ¶
func DefaultSendChatActivityNotificationOperationOptions() SendChatActivityNotificationOperationOptions
func (SendChatActivityNotificationOperationOptions) ToHeaders ¶
func (o SendChatActivityNotificationOperationOptions) ToHeaders() *client.Headers
func (SendChatActivityNotificationOperationOptions) ToOData ¶
func (o SendChatActivityNotificationOperationOptions) ToOData() *odata.Query
func (SendChatActivityNotificationOperationOptions) ToQuery ¶
func (o SendChatActivityNotificationOperationOptions) ToQuery() *client.QueryParams
type SendChatActivityNotificationRequest ¶
type SendChatActivityNotificationRequest struct { ActivityType nullable.Type[string] `json:"activityType,omitempty"` ChainId nullable.Type[int64] `json:"chainId,omitempty"` PreviewText *beta.ItemBody `json:"previewText,omitempty"` Recipient *beta.TeamworkNotificationRecipient `json:"recipient,omitempty"` TeamsAppId nullable.Type[string] `json:"teamsAppId,omitempty"` TemplateParameters *[]beta.KeyValuePair `json:"templateParameters,omitempty"` Topic *beta.TeamworkActivityTopic `json:"topic,omitempty"` }
type UnhideChatForUserOperationOptions ¶
type UnhideChatForUserOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUnhideChatForUserOperationOptions ¶
func DefaultUnhideChatForUserOperationOptions() UnhideChatForUserOperationOptions
func (UnhideChatForUserOperationOptions) ToHeaders ¶
func (o UnhideChatForUserOperationOptions) ToHeaders() *client.Headers
func (UnhideChatForUserOperationOptions) ToOData ¶
func (o UnhideChatForUserOperationOptions) ToOData() *odata.Query
func (UnhideChatForUserOperationOptions) ToQuery ¶
func (o UnhideChatForUserOperationOptions) ToQuery() *client.QueryParams
type UnhideChatForUserRequest ¶
type UnhideChatForUserRequest struct { TenantId nullable.Type[string] `json:"tenantId,omitempty"` User *beta.TeamworkUserIdentity `json:"user,omitempty"` }
type UpdateChatOperationOptions ¶
type UpdateChatOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateChatOperationOptions ¶
func DefaultUpdateChatOperationOptions() UpdateChatOperationOptions
func (UpdateChatOperationOptions) ToHeaders ¶
func (o UpdateChatOperationOptions) ToHeaders() *client.Headers
func (UpdateChatOperationOptions) ToOData ¶
func (o UpdateChatOperationOptions) ToOData() *odata.Query
func (UpdateChatOperationOptions) ToQuery ¶
func (o UpdateChatOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createchat.go
- method_deletechat.go
- method_getchat.go
- method_getchatscount.go
- method_hidechatforuser.go
- method_listchats.go
- method_markchatreadforuser.go
- method_markchatunreadforuser.go
- method_removechatallaccessforuser.go
- method_sendchatactivitynotification.go
- method_unhidechatforuser.go
- method_updatechat.go
- model_hidechatforuserrequest.go
- model_markchatreadforuserrequest.go
- model_markchatunreadforuserrequest.go
- model_removechatallaccessforuserrequest.go
- model_sendchatactivitynotificationrequest.go
- model_unhidechatforuserrequest.go
- predicates.go
- version.go