Package com.microsoft.graph.requests
Class ChatRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Chat>
com.microsoft.graph.requests.ChatRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
The class for the Chat Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionChatRequestBuilder
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Chat -
Method Summary
Modifier and TypeMethodDescriptionbuildRequest
(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest
(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionshideForUser
(ChatHideForUserParameterSet parameters) Gets a builder to execute the methodGets a request builder for the TeamsAppInstallation collectioninstalledApps
(String id) Gets a request builder for the TeamsAppInstallation itemGets the request builder for ChatMessageInfoGets a builder to execute the methodGets a builder to execute the methodmembers()
Gets a request builder for the ConversationMember collectionGets a request builder for the ConversationMember itemmessages()
Gets a request builder for the ChatMessage collectionGets a request builder for the ChatMessage itemGets a request builder for the PinnedChatMessageInfo collectionpinnedMessages
(String id) Gets a request builder for the PinnedChatMessageInfo itemGets a builder to execute the methodtabs()
Gets a request builder for the TeamsTab collectionGets a request builder for the TeamsTab itemunhideForUser
(ChatUnhideForUserParameterSet parameters) Gets a builder to execute the methodMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
ChatRequestBuilder
public ChatRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Chat- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public ChatRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions
- the options for this request- Returns:
- the ChatRequest instance
-
buildRequest
@Nonnull public ChatRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions
- the options for this request- Returns:
- the ChatRequest instance
-
installedApps
Gets a request builder for the TeamsAppInstallation collection- Returns:
- the collection request builder
-
installedApps
Gets a request builder for the TeamsAppInstallation item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
lastMessagePreview
Gets the request builder for ChatMessageInfo- Returns:
- the ChatMessageInfoRequestBuilder instance
-
members
Gets a request builder for the ConversationMember collection- Returns:
- the collection request builder
-
members
Gets a request builder for the ConversationMember item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
messages
Gets a request builder for the ChatMessage collection- Returns:
- the collection request builder
-
messages
Gets a request builder for the ChatMessage item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
pinnedMessages
Gets a request builder for the PinnedChatMessageInfo collection- Returns:
- the collection request builder
-
pinnedMessages
Gets a request builder for the PinnedChatMessageInfo item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
tabs
Gets a request builder for the TeamsTab collection- Returns:
- the collection request builder
-
tabs
Gets a request builder for the TeamsTab item- Parameters:
id
- the item identifier- Returns:
- the request builder
-
sendActivityNotification
@Nonnull public ChatSendActivityNotificationRequestBuilder sendActivityNotification(@Nonnull ChatSendActivityNotificationParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-
hideForUser
@Nonnull public ChatHideForUserRequestBuilder hideForUser(@Nonnull ChatHideForUserParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-
markChatReadForUser
@Nonnull public ChatMarkChatReadForUserRequestBuilder markChatReadForUser(@Nonnull ChatMarkChatReadForUserParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-
markChatUnreadForUser
@Nonnull public ChatMarkChatUnreadForUserRequestBuilder markChatUnreadForUser(@Nonnull ChatMarkChatUnreadForUserParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-
unhideForUser
@Nonnull public ChatUnhideForUserRequestBuilder unhideForUser(@Nonnull ChatUnhideForUserParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-