type property

String? type
getter/setter pair

The type of message, this will always be present, it determines the contents of the message as well as which fields will be present. Possible string values are:

  • "invalidType"
  • "textMessageEvent"
  • "tombstone"
  • "fanFundingEvent"
  • "chatEndedEvent"
  • "sponsorOnlyModeStartedEvent"
  • "sponsorOnlyModeEndedEvent"
  • "newSponsorEvent"
  • "memberMilestoneChatEvent"
  • "membershipGiftingEvent"
  • "giftMembershipReceivedEvent"
  • "messageDeletedEvent"
  • "messageRetractedEvent"
  • "userBannedEvent"
  • "superChatEvent"
  • "superStickerEvent"
  • "pollEvent"

Implementation

core.String? type;