Class RepliesRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.teams.item.channels.item.messages.item.replies.RepliesRequestBuilder
@Generated("com.microsoft.kiota")
public class RepliesRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the replies property of the microsoft.graph.chatMessage entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassList all the replies to a message in a channel of a team.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionRepliesRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRepliesRequestBuilderand sets the default values.RepliesRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRepliesRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyChatMessageId1(String chatMessageId1) Provides operations to manage the replies property of the microsoft.graph.chatMessage entity.count()Provides operations to count the resources in the collection.delta()Provides operations to call the delta method.get()List all the replies to a message in a channel of a team.get(Consumer<RepliesRequestBuilder.GetRequestConfiguration> requestConfiguration) List all the replies to a message in a channel of a team.post(ChatMessage body) Create a new reply to a chatMessage in a specified channel.post(ChatMessage body, Consumer<RepliesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new reply to a chatMessage in a specified channel.com.microsoft.kiota.RequestInformationList all the replies to a message in a channel of a team.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<RepliesRequestBuilder.GetRequestConfiguration> requestConfiguration) List all the replies to a message in a channel of a team.com.microsoft.kiota.RequestInformationCreate a new reply to a chatMessage in a specified channel.com.microsoft.kiota.RequestInformationtoPostRequestInformation(ChatMessage body, Consumer<RepliesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new reply to a chatMessage in a specified channel.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
RepliesRequestBuilder
public RepliesRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRepliesRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
RepliesRequestBuilder
public RepliesRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newRepliesRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
delta
Provides operations to call the delta method.- Returns:
- a
DeltaRequestBuilder
-
byChatMessageId1
Provides operations to manage the replies property of the microsoft.graph.chatMessage entity.- Parameters:
chatMessageId1- The unique identifier of chatMessage- Returns:
- a
ChatMessageItemRequestBuilder
-
get
List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message.- Returns:
- a
ChatMessageCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public ChatMessageCollectionResponse get(@Nullable Consumer<RepliesRequestBuilder.GetRequestConfiguration> requestConfiguration) List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ChatMessageCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
Create a new reply to a chatMessage in a specified channel.- Parameters:
body- The request body- Returns:
- a
ChatMessage - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public ChatMessage post(@Nonnull ChatMessage body, @Nullable Consumer<RepliesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new reply to a chatMessage in a specified channel.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ChatMessage - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<RepliesRequestBuilder.GetRequestConfiguration> requestConfiguration) List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull ChatMessage body) Create a new reply to a chatMessage in a specified channel.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull ChatMessage body, @Nullable Consumer<RepliesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new reply to a chatMessage in a specified channel.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
RepliesRequestBuilder
-