LiveChatMessageSnippet class
Next ID: 34
Constructors
- LiveChatMessageSnippet({String? authorChannelId, String? displayMessage, LiveChatFanFundingEventDetails? fanFundingEventDetails, LiveChatGiftMembershipReceivedDetails? giftMembershipReceivedDetails, bool? hasDisplayContent, String? liveChatId, LiveChatMemberMilestoneChatDetails? memberMilestoneChatDetails, LiveChatMembershipGiftingDetails? membershipGiftingDetails, LiveChatMessageDeletedDetails? messageDeletedDetails, LiveChatMessageRetractedDetails? messageRetractedDetails, LiveChatNewSponsorDetails? newSponsorDetails, LiveChatPollDetails? pollDetails, DateTime? publishedAt, LiveChatSuperChatDetails? superChatDetails, LiveChatSuperStickerDetails? superStickerDetails, LiveChatTextMessageDetails? textMessageDetails, String? type, LiveChatUserBannedMessageDetails? userBannedDetails})
- LiveChatMessageSnippet.fromJson(Map json_)
Properties
-
The ID of the user that authored this message, this field is not always
filled.
getter/setter pair
- displayMessage ↔ String?
-
Contains a string that can be displayed to the user.
getter/setter pair
- fanFundingEventDetails ↔ LiveChatFanFundingEventDetails?
-
Details about the funding event, this is only set if the type is
'fanFundingEvent'.
getter/setter pair
- giftMembershipReceivedDetails ↔ LiveChatGiftMembershipReceivedDetails?
-
Details about the Gift Membership Received event, this is only set if the
type is 'giftMembershipReceivedEvent'.
getter/setter pair
- hasDisplayContent ↔ bool?
-
Whether the message has display content that should be displayed to users.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- liveChatId ↔ String?
-
getter/setter pair
- memberMilestoneChatDetails ↔ LiveChatMemberMilestoneChatDetails?
-
Details about the Member Milestone Chat event, this is only set if the
type is 'memberMilestoneChatEvent'.
getter/setter pair
- membershipGiftingDetails ↔ LiveChatMembershipGiftingDetails?
-
Details about the Membership Gifting event, this is only set if the type
is 'membershipGiftingEvent'.
getter/setter pair
- messageDeletedDetails ↔ LiveChatMessageDeletedDetails?
-
getter/setter pair
- messageRetractedDetails ↔ LiveChatMessageRetractedDetails?
-
getter/setter pair
- newSponsorDetails ↔ LiveChatNewSponsorDetails?
-
Details about the New Member Announcement event, this is only set if the
type is 'newSponsorEvent'.
getter/setter pair
- pollDetails ↔ LiveChatPollDetails?
-
Details about the poll event, this is only set if the type is 'pollEvent'.
getter/setter pair
- publishedAt ↔ DateTime?
-
The date and time when the message was orignally published.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- superChatDetails ↔ LiveChatSuperChatDetails?
-
Details about the Super Chat event, this is only set if the type is
'superChatEvent'.
getter/setter pair
- superStickerDetails ↔ LiveChatSuperStickerDetails?
-
Details about the Super Sticker event, this is only set if the type is
'superStickerEvent'.
getter/setter pair
- textMessageDetails ↔ LiveChatTextMessageDetails?
-
Details about the text message, this is only set if the type is
'textMessageEvent'.
getter/setter pair
- type ↔ String?
-
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:
getter/setter pair
- userBannedDetails ↔ LiveChatUserBannedMessageDetails?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited