Klasse ChatMessage

java.lang.Object
com.github.twitch4j.helix.domain.ChatMessage

public class ChatMessage extends Object
  • Konstruktordetails

  • Methodendetails

    • builder

      public static ChatMessage.ChatMessageBuilder builder()
    • toBuilder

      public ChatMessage.ChatMessageBuilder toBuilder()
    • withBroadcasterId

      public ChatMessage withBroadcasterId(@NotNull @NotNull String broadcasterId)
      The ID of the broadcaster whose chat room the message will be sent to.
      Gibt zurück:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withSenderId

      public ChatMessage withSenderId(@NotNull @NotNull String 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).

      Gibt zurück:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withMessage

      public ChatMessage withMessage(@NotNull @NotNull String message)
      The message to send.

      The message is limited to a maximum of 500 characters.

      Gibt zurück:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withReplyParentMessageId

      public ChatMessage withReplyParentMessageId(@Nullable @Nullable String replyParentMessageId)
      The ID of the chat message being replied to, if any.
      Gibt zurück:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • getBroadcasterId

      @NotNull public @NotNull String getBroadcasterId()
      The ID of the broadcaster whose chat room the message will be sent to.
    • getSenderId

      @NotNull public @NotNull String getSenderId()
      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).

    • getMessage

      @NotNull public @NotNull String getMessage()
      The message to send.

      The message is limited to a maximum of 500 characters.

    • getReplyParentMessageId

      @Nullable public @Nullable String getReplyParentMessageId()
      The ID of the chat message being replied to, if any.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object