Package com.github.twitch4j.helix.domain
Class ChatMessage.ChatMessageBuilder
java.lang.Object
com.github.twitch4j.helix.domain.ChatMessage.ChatMessageBuilder
- Enclosing class:
- ChatMessage
-
Method Summary
Modifier and TypeMethodDescriptionbroadcasterId
(@NotNull String broadcasterId) The ID of the broadcaster whose chat room the message will be sent to.build()
The message to send.replyParentMessageId
(@Nullable String replyParentMessageId) The ID of the chat message being replied to, if any.The ID of the user sending the message.toString()
-
Method Details
-
broadcasterId
The ID of the broadcaster whose chat room the message will be sent to.- Returns:
this
.
-
senderId
The ID of the user sending the message.This ID must match the user ID in the user access token (if not using an app access token).
- Returns:
this
.
-
message
The message to send.The message is limited to a maximum of 500 characters.
- Returns:
this
.
-
replyParentMessageId
public ChatMessage.ChatMessageBuilder replyParentMessageId(@Nullable @Nullable String replyParentMessageId) The ID of the chat message being replied to, if any.- Returns:
this
.
-
build
-
toString
-