java.lang.Object
com.github.twitch4j.eventsub.domain.chat.Fragment

public class Fragment extends Object
  • Constructor Details

    • Fragment

      public Fragment()
  • Method Details

    • getCheermote

      @Nullable public @Nullable Cheermote getCheermote()
      Optional: Metadata pertaining to the cheermote.
    • getEmote

      @Nullable public @Nullable Emote getEmote()
      Optional: Metadata pertaining to the emote.
    • getMention

      @Nullable public @Nullable Mention getMention()
      Optional: Metadata pertaining to the mention.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      @NotNull public @NotNull Fragment.Type getType()
      The type of message fragment.
    • getText

      @NotNull public @NotNull String getText()
      Message text in fragment.