joinedteamchannelmessagereply

package
v0.20241009.1142232 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/joinedteamchannelmessagereply Documentation

The joinedteamchannelmessagereply SDK allows for interaction with Microsoft Graph users (API Version stable).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/joinedteamchannelmessagereply"

Client Initialization

client := joinedteamchannelmessagereply.NewJoinedTeamChannelMessageReplyClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: JoinedTeamChannelMessageReplyClient.CreateJoinedTeamChannelMessageReply

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageID("userId", "teamId", "channelId", "chatMessageId")

payload := joinedteamchannelmessagereply.ChatMessage{
	// ...
}


read, err := client.CreateJoinedTeamChannelMessageReply(ctx, id, payload, joinedteamchannelmessagereply.DefaultCreateJoinedTeamChannelMessageReplyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: JoinedTeamChannelMessageReplyClient.CreateJoinedTeamChannelMessageReplySoftDelete

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageIdReplyID("userId", "teamId", "channelId", "chatMessageId", "chatMessageId1")

read, err := client.CreateJoinedTeamChannelMessageReplySoftDelete(ctx, id, joinedteamchannelmessagereply.DefaultCreateJoinedTeamChannelMessageReplySoftDeleteOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: JoinedTeamChannelMessageReplyClient.CreateJoinedTeamChannelMessageReplyUndoSoftDelete

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageIdReplyID("userId", "teamId", "channelId", "chatMessageId", "chatMessageId1")

read, err := client.CreateJoinedTeamChannelMessageReplyUndoSoftDelete(ctx, id, joinedteamchannelmessagereply.DefaultCreateJoinedTeamChannelMessageReplyUndoSoftDeleteOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: JoinedTeamChannelMessageReplyClient.DeleteJoinedTeamChannelMessageReply

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageIdReplyID("userId", "teamId", "channelId", "chatMessageId", "chatMessageId1")

read, err := client.DeleteJoinedTeamChannelMessageReply(ctx, id, joinedteamchannelmessagereply.DefaultDeleteJoinedTeamChannelMessageReplyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: JoinedTeamChannelMessageReplyClient.GetJoinedTeamChannelMessageRepliesCount

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageID("userId", "teamId", "channelId", "chatMessageId")

read, err := client.GetJoinedTeamChannelMessageRepliesCount(ctx, id, joinedteamchannelmessagereply.DefaultGetJoinedTeamChannelMessageRepliesCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: JoinedTeamChannelMessageReplyClient.GetJoinedTeamChannelMessageReply

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageIdReplyID("userId", "teamId", "channelId", "chatMessageId", "chatMessageId1")

read, err := client.GetJoinedTeamChannelMessageReply(ctx, id, joinedteamchannelmessagereply.DefaultGetJoinedTeamChannelMessageReplyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: JoinedTeamChannelMessageReplyClient.ListJoinedTeamChannelMessageReplies

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageID("userId", "teamId", "channelId", "chatMessageId")

// alternatively `client.ListJoinedTeamChannelMessageReplies(ctx, id, joinedteamchannelmessagereply.DefaultListJoinedTeamChannelMessageRepliesOperationOptions())` can be used to do batched pagination
items, err := client.ListJoinedTeamChannelMessageRepliesComplete(ctx, id, joinedteamchannelmessagereply.DefaultListJoinedTeamChannelMessageRepliesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: JoinedTeamChannelMessageReplyClient.SetJoinedTeamChannelMessageReplyReaction

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageIdReplyID("userId", "teamId", "channelId", "chatMessageId", "chatMessageId1")

payload := joinedteamchannelmessagereply.SetJoinedTeamChannelMessageReplyReactionRequest{
	// ...
}


read, err := client.SetJoinedTeamChannelMessageReplyReaction(ctx, id, payload, joinedteamchannelmessagereply.DefaultSetJoinedTeamChannelMessageReplyReactionOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: JoinedTeamChannelMessageReplyClient.UnsetJoinedTeamChannelMessageReplyReaction

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageIdReplyID("userId", "teamId", "channelId", "chatMessageId", "chatMessageId1")

payload := joinedteamchannelmessagereply.UnsetJoinedTeamChannelMessageReplyReactionRequest{
	// ...
}


read, err := client.UnsetJoinedTeamChannelMessageReplyReaction(ctx, id, payload, joinedteamchannelmessagereply.DefaultUnsetJoinedTeamChannelMessageReplyReactionOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: JoinedTeamChannelMessageReplyClient.UpdateJoinedTeamChannelMessageReply

ctx := context.TODO()
id := joinedteamchannelmessagereply.NewUserIdJoinedTeamIdChannelIdMessageIdReplyID("userId", "teamId", "channelId", "chatMessageId", "chatMessageId1")

payload := joinedteamchannelmessagereply.ChatMessage{
	// ...
}


read, err := client.UpdateJoinedTeamChannelMessageReply(ctx, id, payload, joinedteamchannelmessagereply.DefaultUpdateJoinedTeamChannelMessageReplyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatMessageOperationPredicate

type ChatMessageOperationPredicate struct {
}

func (ChatMessageOperationPredicate) Matches

type CreateJoinedTeamChannelMessageReplyOperationOptions

type CreateJoinedTeamChannelMessageReplyOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateJoinedTeamChannelMessageReplyOperationOptions

func DefaultCreateJoinedTeamChannelMessageReplyOperationOptions() CreateJoinedTeamChannelMessageReplyOperationOptions

func (CreateJoinedTeamChannelMessageReplyOperationOptions) ToHeaders

func (CreateJoinedTeamChannelMessageReplyOperationOptions) ToOData

func (CreateJoinedTeamChannelMessageReplyOperationOptions) ToQuery

type CreateJoinedTeamChannelMessageReplyOperationResponse

type CreateJoinedTeamChannelMessageReplyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.ChatMessage
}

type CreateJoinedTeamChannelMessageReplySoftDeleteOperationOptions

type CreateJoinedTeamChannelMessageReplySoftDeleteOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateJoinedTeamChannelMessageReplySoftDeleteOperationOptions) ToHeaders

func (CreateJoinedTeamChannelMessageReplySoftDeleteOperationOptions) ToOData

func (CreateJoinedTeamChannelMessageReplySoftDeleteOperationOptions) ToQuery

type CreateJoinedTeamChannelMessageReplySoftDeleteOperationResponse

type CreateJoinedTeamChannelMessageReplySoftDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateJoinedTeamChannelMessageReplyUndoSoftDeleteOperationOptions

type CreateJoinedTeamChannelMessageReplyUndoSoftDeleteOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateJoinedTeamChannelMessageReplyUndoSoftDeleteOperationOptions) ToHeaders

func (CreateJoinedTeamChannelMessageReplyUndoSoftDeleteOperationOptions) ToOData

func (CreateJoinedTeamChannelMessageReplyUndoSoftDeleteOperationOptions) ToQuery

type CreateJoinedTeamChannelMessageReplyUndoSoftDeleteOperationResponse

type CreateJoinedTeamChannelMessageReplyUndoSoftDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteJoinedTeamChannelMessageReplyOperationOptions

type DeleteJoinedTeamChannelMessageReplyOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteJoinedTeamChannelMessageReplyOperationOptions

func DefaultDeleteJoinedTeamChannelMessageReplyOperationOptions() DeleteJoinedTeamChannelMessageReplyOperationOptions

func (DeleteJoinedTeamChannelMessageReplyOperationOptions) ToHeaders

func (DeleteJoinedTeamChannelMessageReplyOperationOptions) ToOData

func (DeleteJoinedTeamChannelMessageReplyOperationOptions) ToQuery

type DeleteJoinedTeamChannelMessageReplyOperationResponse

type DeleteJoinedTeamChannelMessageReplyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetJoinedTeamChannelMessageRepliesCountOperationOptions

type GetJoinedTeamChannelMessageRepliesCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func (GetJoinedTeamChannelMessageRepliesCountOperationOptions) ToHeaders

func (GetJoinedTeamChannelMessageRepliesCountOperationOptions) ToOData

func (GetJoinedTeamChannelMessageRepliesCountOperationOptions) ToQuery

type GetJoinedTeamChannelMessageRepliesCountOperationResponse

type GetJoinedTeamChannelMessageRepliesCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type GetJoinedTeamChannelMessageReplyOperationOptions

type GetJoinedTeamChannelMessageReplyOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetJoinedTeamChannelMessageReplyOperationOptions

func DefaultGetJoinedTeamChannelMessageReplyOperationOptions() GetJoinedTeamChannelMessageReplyOperationOptions

func (GetJoinedTeamChannelMessageReplyOperationOptions) ToHeaders

func (GetJoinedTeamChannelMessageReplyOperationOptions) ToOData

func (GetJoinedTeamChannelMessageReplyOperationOptions) ToQuery

type GetJoinedTeamChannelMessageReplyOperationResponse

type GetJoinedTeamChannelMessageReplyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.ChatMessage
}

type JoinedTeamChannelMessageReplyClient

type JoinedTeamChannelMessageReplyClient struct {
	Client *msgraph.Client
}

func NewJoinedTeamChannelMessageReplyClientWithBaseURI

func NewJoinedTeamChannelMessageReplyClientWithBaseURI(sdkApi sdkEnv.Api) (*JoinedTeamChannelMessageReplyClient, error)

func (JoinedTeamChannelMessageReplyClient) CreateJoinedTeamChannelMessageReply

CreateJoinedTeamChannelMessageReply - Create new navigation property to replies for users

func (JoinedTeamChannelMessageReplyClient) CreateJoinedTeamChannelMessageReplySoftDelete

CreateJoinedTeamChannelMessageReplySoftDelete - Invoke action softDelete. Delete a single chatMessage or a chat message reply in a channel or a chat.

func (JoinedTeamChannelMessageReplyClient) CreateJoinedTeamChannelMessageReplyUndoSoftDelete

CreateJoinedTeamChannelMessageReplyUndoSoftDelete - Invoke action undoSoftDelete. Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat.

func (JoinedTeamChannelMessageReplyClient) DeleteJoinedTeamChannelMessageReply

DeleteJoinedTeamChannelMessageReply - Delete navigation property replies for users

func (JoinedTeamChannelMessageReplyClient) GetJoinedTeamChannelMessageRepliesCount

GetJoinedTeamChannelMessageRepliesCount - Get the number of the resource

func (JoinedTeamChannelMessageReplyClient) GetJoinedTeamChannelMessageReply

GetJoinedTeamChannelMessageReply - Get replies from users. Replies for a specified message. Supports $expand for channel messages.

func (JoinedTeamChannelMessageReplyClient) ListJoinedTeamChannelMessageReplies

ListJoinedTeamChannelMessageReplies - Get replies from users. Replies for a specified message. Supports $expand for channel messages.

func (JoinedTeamChannelMessageReplyClient) ListJoinedTeamChannelMessageRepliesComplete

ListJoinedTeamChannelMessageRepliesComplete retrieves all the results into a single object

func (JoinedTeamChannelMessageReplyClient) ListJoinedTeamChannelMessageRepliesCompleteMatchingPredicate

ListJoinedTeamChannelMessageRepliesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (JoinedTeamChannelMessageReplyClient) SetJoinedTeamChannelMessageReplyReaction

SetJoinedTeamChannelMessageReplyReaction - Invoke action setReaction

func (JoinedTeamChannelMessageReplyClient) UnsetJoinedTeamChannelMessageReplyReaction

UnsetJoinedTeamChannelMessageReplyReaction - Invoke action unsetReaction

func (JoinedTeamChannelMessageReplyClient) UpdateJoinedTeamChannelMessageReply

UpdateJoinedTeamChannelMessageReply - Update the navigation property replies in users

type ListJoinedTeamChannelMessageRepliesCompleteResult

type ListJoinedTeamChannelMessageRepliesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.ChatMessage
}

type ListJoinedTeamChannelMessageRepliesCustomPager

type ListJoinedTeamChannelMessageRepliesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ListJoinedTeamChannelMessageRepliesOperationOptions

type ListJoinedTeamChannelMessageRepliesOperationOptions 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 DefaultListJoinedTeamChannelMessageRepliesOperationOptions

func DefaultListJoinedTeamChannelMessageRepliesOperationOptions() ListJoinedTeamChannelMessageRepliesOperationOptions

func (ListJoinedTeamChannelMessageRepliesOperationOptions) ToHeaders

func (ListJoinedTeamChannelMessageRepliesOperationOptions) ToOData

func (ListJoinedTeamChannelMessageRepliesOperationOptions) ToQuery

type ListJoinedTeamChannelMessageRepliesOperationResponse

type ListJoinedTeamChannelMessageRepliesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.ChatMessage
}

type SetJoinedTeamChannelMessageReplyReactionOperationOptions

type SetJoinedTeamChannelMessageReplyReactionOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (SetJoinedTeamChannelMessageReplyReactionOperationOptions) ToHeaders

func (SetJoinedTeamChannelMessageReplyReactionOperationOptions) ToOData

func (SetJoinedTeamChannelMessageReplyReactionOperationOptions) ToQuery

type SetJoinedTeamChannelMessageReplyReactionOperationResponse

type SetJoinedTeamChannelMessageReplyReactionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type SetJoinedTeamChannelMessageReplyReactionRequest

type SetJoinedTeamChannelMessageReplyReactionRequest struct {
	ReactionType nullable.Type[string] `json:"reactionType,omitempty"`
}

type UnsetJoinedTeamChannelMessageReplyReactionOperationOptions

type UnsetJoinedTeamChannelMessageReplyReactionOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (UnsetJoinedTeamChannelMessageReplyReactionOperationOptions) ToHeaders

func (UnsetJoinedTeamChannelMessageReplyReactionOperationOptions) ToOData

func (UnsetJoinedTeamChannelMessageReplyReactionOperationOptions) ToQuery

type UnsetJoinedTeamChannelMessageReplyReactionOperationResponse

type UnsetJoinedTeamChannelMessageReplyReactionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UnsetJoinedTeamChannelMessageReplyReactionRequest

type UnsetJoinedTeamChannelMessageReplyReactionRequest struct {
	ReactionType nullable.Type[string] `json:"reactionType,omitempty"`
}

type UpdateJoinedTeamChannelMessageReplyOperationOptions

type UpdateJoinedTeamChannelMessageReplyOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateJoinedTeamChannelMessageReplyOperationOptions

func DefaultUpdateJoinedTeamChannelMessageReplyOperationOptions() UpdateJoinedTeamChannelMessageReplyOperationOptions

func (UpdateJoinedTeamChannelMessageReplyOperationOptions) ToHeaders

func (UpdateJoinedTeamChannelMessageReplyOperationOptions) ToOData

func (UpdateJoinedTeamChannelMessageReplyOperationOptions) ToQuery

type UpdateJoinedTeamChannelMessageReplyOperationResponse

type UpdateJoinedTeamChannelMessageReplyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL