Documentation ¶
Index ¶
- type CreateJoinedTeamPrimaryChannelArchiveOperationOptions
- type CreateJoinedTeamPrimaryChannelArchiveOperationResponse
- type CreateJoinedTeamPrimaryChannelArchiveRequest
- type CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions
- type CreateJoinedTeamPrimaryChannelCompleteMigrationOperationResponse
- type CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions
- type CreateJoinedTeamPrimaryChannelUnarchiveOperationResponse
- type DeleteJoinedTeamPrimaryChannelOperationOptions
- type DeleteJoinedTeamPrimaryChannelOperationResponse
- type GetJoinedTeamPrimaryChannelOperationOptions
- type GetJoinedTeamPrimaryChannelOperationResponse
- type JoinedTeamPrimaryChannelClient
- func (c JoinedTeamPrimaryChannelClient) CreateJoinedTeamPrimaryChannelArchive(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result CreateJoinedTeamPrimaryChannelArchiveOperationResponse, err error)
- func (c JoinedTeamPrimaryChannelClient) CreateJoinedTeamPrimaryChannelCompleteMigration(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result CreateJoinedTeamPrimaryChannelCompleteMigrationOperationResponse, ...)
- func (c JoinedTeamPrimaryChannelClient) CreateJoinedTeamPrimaryChannelUnarchive(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result CreateJoinedTeamPrimaryChannelUnarchiveOperationResponse, err error)
- func (c JoinedTeamPrimaryChannelClient) DeleteJoinedTeamPrimaryChannel(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result DeleteJoinedTeamPrimaryChannelOperationResponse, err error)
- func (c JoinedTeamPrimaryChannelClient) GetJoinedTeamPrimaryChannel(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result GetJoinedTeamPrimaryChannelOperationResponse, err error)
- func (c JoinedTeamPrimaryChannelClient) ProvisionJoinedTeamPrimaryChannelEmail(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result ProvisionJoinedTeamPrimaryChannelEmailOperationResponse, err error)
- func (c JoinedTeamPrimaryChannelClient) RemoveJoinedTeamPrimaryChannelEmail(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result RemoveJoinedTeamPrimaryChannelEmailOperationResponse, err error)
- func (c JoinedTeamPrimaryChannelClient) UpdateJoinedTeamPrimaryChannel(ctx context.Context, id stable.UserIdJoinedTeamId, input stable.Channel, ...) (result UpdateJoinedTeamPrimaryChannelOperationResponse, err error)
- type ProvisionJoinedTeamPrimaryChannelEmailOperationOptions
- type ProvisionJoinedTeamPrimaryChannelEmailOperationResponse
- type RemoveJoinedTeamPrimaryChannelEmailOperationOptions
- type RemoveJoinedTeamPrimaryChannelEmailOperationResponse
- type UpdateJoinedTeamPrimaryChannelOperationOptions
- type UpdateJoinedTeamPrimaryChannelOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateJoinedTeamPrimaryChannelArchiveOperationOptions ¶
type CreateJoinedTeamPrimaryChannelArchiveOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateJoinedTeamPrimaryChannelArchiveOperationOptions ¶
func DefaultCreateJoinedTeamPrimaryChannelArchiveOperationOptions() CreateJoinedTeamPrimaryChannelArchiveOperationOptions
func (CreateJoinedTeamPrimaryChannelArchiveOperationOptions) ToHeaders ¶
func (o CreateJoinedTeamPrimaryChannelArchiveOperationOptions) ToHeaders() *client.Headers
func (CreateJoinedTeamPrimaryChannelArchiveOperationOptions) ToOData ¶
func (o CreateJoinedTeamPrimaryChannelArchiveOperationOptions) ToOData() *odata.Query
func (CreateJoinedTeamPrimaryChannelArchiveOperationOptions) ToQuery ¶
func (o CreateJoinedTeamPrimaryChannelArchiveOperationOptions) ToQuery() *client.QueryParams
type CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions ¶
type CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions ¶
func DefaultCreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions() CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions
func (CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions) ToHeaders ¶
func (o CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions) ToHeaders() *client.Headers
func (CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions) ToOData ¶
func (o CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions) ToOData() *odata.Query
func (CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions) ToQuery ¶
func (o CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions) ToQuery() *client.QueryParams
type CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions ¶
type CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateJoinedTeamPrimaryChannelUnarchiveOperationOptions ¶
func DefaultCreateJoinedTeamPrimaryChannelUnarchiveOperationOptions() CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions
func (CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions) ToHeaders ¶
func (o CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions) ToHeaders() *client.Headers
func (CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions) ToOData ¶
func (o CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions) ToOData() *odata.Query
func (CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions) ToQuery ¶
func (o CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions) ToQuery() *client.QueryParams
type DeleteJoinedTeamPrimaryChannelOperationOptions ¶
type DeleteJoinedTeamPrimaryChannelOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteJoinedTeamPrimaryChannelOperationOptions ¶
func DefaultDeleteJoinedTeamPrimaryChannelOperationOptions() DeleteJoinedTeamPrimaryChannelOperationOptions
func (DeleteJoinedTeamPrimaryChannelOperationOptions) ToHeaders ¶
func (o DeleteJoinedTeamPrimaryChannelOperationOptions) ToHeaders() *client.Headers
func (DeleteJoinedTeamPrimaryChannelOperationOptions) ToOData ¶
func (o DeleteJoinedTeamPrimaryChannelOperationOptions) ToOData() *odata.Query
func (DeleteJoinedTeamPrimaryChannelOperationOptions) ToQuery ¶
func (o DeleteJoinedTeamPrimaryChannelOperationOptions) ToQuery() *client.QueryParams
type GetJoinedTeamPrimaryChannelOperationOptions ¶
type GetJoinedTeamPrimaryChannelOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetJoinedTeamPrimaryChannelOperationOptions ¶
func DefaultGetJoinedTeamPrimaryChannelOperationOptions() GetJoinedTeamPrimaryChannelOperationOptions
func (GetJoinedTeamPrimaryChannelOperationOptions) ToHeaders ¶
func (o GetJoinedTeamPrimaryChannelOperationOptions) ToHeaders() *client.Headers
func (GetJoinedTeamPrimaryChannelOperationOptions) ToOData ¶
func (o GetJoinedTeamPrimaryChannelOperationOptions) ToOData() *odata.Query
func (GetJoinedTeamPrimaryChannelOperationOptions) ToQuery ¶
func (o GetJoinedTeamPrimaryChannelOperationOptions) ToQuery() *client.QueryParams
type JoinedTeamPrimaryChannelClient ¶
func NewJoinedTeamPrimaryChannelClientWithBaseURI ¶
func NewJoinedTeamPrimaryChannelClientWithBaseURI(sdkApi sdkEnv.Api) (*JoinedTeamPrimaryChannelClient, error)
func (JoinedTeamPrimaryChannelClient) CreateJoinedTeamPrimaryChannelArchive ¶
func (c JoinedTeamPrimaryChannelClient) CreateJoinedTeamPrimaryChannelArchive(ctx context.Context, id stable.UserIdJoinedTeamId, input CreateJoinedTeamPrimaryChannelArchiveRequest, options CreateJoinedTeamPrimaryChannelArchiveOperationOptions) (result CreateJoinedTeamPrimaryChannelArchiveOperationResponse, err error)
CreateJoinedTeamPrimaryChannelArchive - Invoke action archive. Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.
func (JoinedTeamPrimaryChannelClient) CreateJoinedTeamPrimaryChannelCompleteMigration ¶
func (c JoinedTeamPrimaryChannelClient) CreateJoinedTeamPrimaryChannelCompleteMigration(ctx context.Context, id stable.UserIdJoinedTeamId, options CreateJoinedTeamPrimaryChannelCompleteMigrationOperationOptions) (result CreateJoinedTeamPrimaryChannelCompleteMigrationOperationResponse, err error)
CreateJoinedTeamPrimaryChannelCompleteMigration - Invoke action completeMigration. Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response.
func (JoinedTeamPrimaryChannelClient) CreateJoinedTeamPrimaryChannelUnarchive ¶
func (c JoinedTeamPrimaryChannelClient) CreateJoinedTeamPrimaryChannelUnarchive(ctx context.Context, id stable.UserIdJoinedTeamId, options CreateJoinedTeamPrimaryChannelUnarchiveOperationOptions) (result CreateJoinedTeamPrimaryChannelUnarchiveOperationResponse, err error)
CreateJoinedTeamPrimaryChannelUnarchive - Invoke action unarchive. Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.
func (JoinedTeamPrimaryChannelClient) DeleteJoinedTeamPrimaryChannel ¶
func (c JoinedTeamPrimaryChannelClient) DeleteJoinedTeamPrimaryChannel(ctx context.Context, id stable.UserIdJoinedTeamId, options DeleteJoinedTeamPrimaryChannelOperationOptions) (result DeleteJoinedTeamPrimaryChannelOperationResponse, err error)
DeleteJoinedTeamPrimaryChannel - Delete navigation property primaryChannel for users
func (JoinedTeamPrimaryChannelClient) GetJoinedTeamPrimaryChannel ¶
func (c JoinedTeamPrimaryChannelClient) GetJoinedTeamPrimaryChannel(ctx context.Context, id stable.UserIdJoinedTeamId, options GetJoinedTeamPrimaryChannelOperationOptions) (result GetJoinedTeamPrimaryChannelOperationResponse, err error)
GetJoinedTeamPrimaryChannel - Get primaryChannel from users. The general channel for the team.
func (JoinedTeamPrimaryChannelClient) ProvisionJoinedTeamPrimaryChannelEmail ¶
func (c JoinedTeamPrimaryChannelClient) ProvisionJoinedTeamPrimaryChannelEmail(ctx context.Context, id stable.UserIdJoinedTeamId, options ProvisionJoinedTeamPrimaryChannelEmailOperationOptions) (result ProvisionJoinedTeamPrimaryChannelEmailOperationResponse, err error)
ProvisionJoinedTeamPrimaryChannelEmail - Invoke action provisionEmail. Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method.
func (JoinedTeamPrimaryChannelClient) RemoveJoinedTeamPrimaryChannelEmail ¶
func (c JoinedTeamPrimaryChannelClient) RemoveJoinedTeamPrimaryChannelEmail(ctx context.Context, id stable.UserIdJoinedTeamId, options RemoveJoinedTeamPrimaryChannelEmailOperationOptions) (result RemoveJoinedTeamPrimaryChannelEmailOperationResponse, err error)
RemoveJoinedTeamPrimaryChannelEmail - Invoke action removeEmail. Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client.
func (JoinedTeamPrimaryChannelClient) UpdateJoinedTeamPrimaryChannel ¶
func (c JoinedTeamPrimaryChannelClient) UpdateJoinedTeamPrimaryChannel(ctx context.Context, id stable.UserIdJoinedTeamId, input stable.Channel, options UpdateJoinedTeamPrimaryChannelOperationOptions) (result UpdateJoinedTeamPrimaryChannelOperationResponse, err error)
UpdateJoinedTeamPrimaryChannel - Update the navigation property primaryChannel in users
type ProvisionJoinedTeamPrimaryChannelEmailOperationOptions ¶
type ProvisionJoinedTeamPrimaryChannelEmailOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultProvisionJoinedTeamPrimaryChannelEmailOperationOptions ¶
func DefaultProvisionJoinedTeamPrimaryChannelEmailOperationOptions() ProvisionJoinedTeamPrimaryChannelEmailOperationOptions
func (ProvisionJoinedTeamPrimaryChannelEmailOperationOptions) ToHeaders ¶
func (o ProvisionJoinedTeamPrimaryChannelEmailOperationOptions) ToHeaders() *client.Headers
func (ProvisionJoinedTeamPrimaryChannelEmailOperationOptions) ToOData ¶
func (o ProvisionJoinedTeamPrimaryChannelEmailOperationOptions) ToOData() *odata.Query
func (ProvisionJoinedTeamPrimaryChannelEmailOperationOptions) ToQuery ¶
func (o ProvisionJoinedTeamPrimaryChannelEmailOperationOptions) ToQuery() *client.QueryParams
type RemoveJoinedTeamPrimaryChannelEmailOperationOptions ¶
type RemoveJoinedTeamPrimaryChannelEmailOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveJoinedTeamPrimaryChannelEmailOperationOptions ¶
func DefaultRemoveJoinedTeamPrimaryChannelEmailOperationOptions() RemoveJoinedTeamPrimaryChannelEmailOperationOptions
func (RemoveJoinedTeamPrimaryChannelEmailOperationOptions) ToHeaders ¶
func (o RemoveJoinedTeamPrimaryChannelEmailOperationOptions) ToHeaders() *client.Headers
func (RemoveJoinedTeamPrimaryChannelEmailOperationOptions) ToOData ¶
func (o RemoveJoinedTeamPrimaryChannelEmailOperationOptions) ToOData() *odata.Query
func (RemoveJoinedTeamPrimaryChannelEmailOperationOptions) ToQuery ¶
func (o RemoveJoinedTeamPrimaryChannelEmailOperationOptions) ToQuery() *client.QueryParams
type UpdateJoinedTeamPrimaryChannelOperationOptions ¶
type UpdateJoinedTeamPrimaryChannelOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateJoinedTeamPrimaryChannelOperationOptions ¶
func DefaultUpdateJoinedTeamPrimaryChannelOperationOptions() UpdateJoinedTeamPrimaryChannelOperationOptions
func (UpdateJoinedTeamPrimaryChannelOperationOptions) ToHeaders ¶
func (o UpdateJoinedTeamPrimaryChannelOperationOptions) ToHeaders() *client.Headers
func (UpdateJoinedTeamPrimaryChannelOperationOptions) ToOData ¶
func (o UpdateJoinedTeamPrimaryChannelOperationOptions) ToOData() *odata.Query
func (UpdateJoinedTeamPrimaryChannelOperationOptions) ToQuery ¶
func (o UpdateJoinedTeamPrimaryChannelOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createjoinedteamprimarychannelarchive.go
- method_createjoinedteamprimarychannelcompletemigration.go
- method_createjoinedteamprimarychannelunarchive.go
- method_deletejoinedteamprimarychannel.go
- method_getjoinedteamprimarychannel.go
- method_provisionjoinedteamprimarychannelemail.go
- method_removejoinedteamprimarychannelemail.go
- method_updatejoinedteamprimarychannel.go
- model_createjoinedteamprimarychannelarchiverequest.go
- version.go