Documentation ¶
Index ¶
- type MessagesRequestBuilder
- func (m *MessagesRequestBuilder) Count() ...
- func (m *MessagesRequestBuilder) CreateGetRequestInformation(ctx context.Context, ...) (...)
- func (m *MessagesRequestBuilder) CreatePostRequestInformation(ctx context.Context, ...) (...)
- func (m *MessagesRequestBuilder) Delta() ...
- func (m *MessagesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *MessagesRequestBuilder) Post(ctx context.Context, ...) (...)
- type MessagesRequestBuilderGetQueryParameters
- type MessagesRequestBuilderGetRequestConfiguration
- type MessagesRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessagesRequestBuilder ¶
type MessagesRequestBuilder struct {
// contains filtered or unexported fields
}
MessagesRequestBuilder provides operations to manage the messages property of the microsoft.graph.channel entity.
func NewMessagesRequestBuilder ¶
func NewMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MessagesRequestBuilder
NewMessagesRequestBuilder instantiates a new MessagesRequestBuilder and sets the default values.
func NewMessagesRequestBuilderInternal ¶
func NewMessagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *MessagesRequestBuilder
NewMessagesRequestBuilderInternal instantiates a new MessagesRequestBuilder and sets the default values.
func (*MessagesRequestBuilder) Count ¶
func (m *MessagesRequestBuilder) Count() *ie5fc0e83e28b53ac5cbea567da7c55191be0cb5b4e98f4350bc8e866608327df.CountRequestBuilder
Count provides operations to count the resources in the collection.
func (*MessagesRequestBuilder) CreateGetRequestInformation ¶
func (m *MessagesRequestBuilder) CreateGetRequestInformation(ctx context.Context, requestConfiguration *MessagesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the **tenantId** property on the channel).
func (*MessagesRequestBuilder) CreatePostRequestInformation ¶
func (m *MessagesRequestBuilder) CreatePostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *MessagesRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation send a new chatMessage in the specified channel or a chat.
func (*MessagesRequestBuilder) Delta ¶
func (m *MessagesRequestBuilder) Delta() *i1d4b77ad0a564147454c8ad4ea7d9c191dc2df7c6d9f3f84369562473763d7e0.DeltaRequestBuilder
Delta provides operations to call the delta method.
func (*MessagesRequestBuilder) Get ¶
func (m *MessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *MessagesRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable, error)
Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the **tenantId** property on the channel).
func (*MessagesRequestBuilder) Post ¶
func (m *MessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *MessagesRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error)
Post send a new chatMessage in the specified channel or a chat.
type MessagesRequestBuilderGetQueryParameters ¶
type MessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // Expand related entities Expand []string `uriparametername:"%24expand"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned Select []string `uriparametername:"%24select"` // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // Show only the first n items Top *int32 `uriparametername:"%24top"` }
MessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the **tenantId** property on the channel).
type MessagesRequestBuilderGetRequestConfiguration ¶ added in v0.22.0
type MessagesRequestBuilderGetRequestConfiguration struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *MessagesRequestBuilderGetQueryParameters }
MessagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type MessagesRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type MessagesRequestBuilderPostRequestConfiguration struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
MessagesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.