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.chat 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() *i2b83a2ceeab943bd126344d4961986baca1f5c2d7e197a8c33b745afd956263d.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 in a chat. This method supports federation. To list chat 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 chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
func (*MessagesRequestBuilder) Delta ¶
func (m *MessagesRequestBuilder) Delta() *i766f7f1cafee313a5043b56f899c270cf9aa1d0ff1c4203a2b426a91926e3845.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 in a chat. This method supports federation. To list chat 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 chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
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 in a chat. This method supports federation. To list chat 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.