google_api_you_tube v0.4.0 GoogleApi.YouTube.V3.Model.LiveChatMessageSnippet View Source
Attributes
- authorChannelId (String.t): The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase Defaults to:
null
. - displayMessage (String.t): Contains a string that can be displayed to the user. If this field is not present the message is silent, at the moment only messages of type TOMBSTONE and CHAT_ENDED_EVENT are silent. Defaults to:
null
. - fanFundingEventDetails (LiveChatFanFundingEventDetails): Details about the funding event, this is only set if the type is 'fanFundingEvent'. Defaults to:
null
. - hasDisplayContent (boolean()): Whether the message has display content that should be displayed to users. Defaults to:
null
. - liveChatId (String.t): Defaults to:
null
. - messageDeletedDetails (LiveChatMessageDeletedDetails): Defaults to:
null
. - messageRetractedDetails (LiveChatMessageRetractedDetails): Defaults to:
null
. - pollClosedDetails (LiveChatPollClosedDetails): Defaults to:
null
. - pollEditedDetails (LiveChatPollEditedDetails): Defaults to:
null
. - pollOpenedDetails (LiveChatPollOpenedDetails): Defaults to:
null
. - pollVotedDetails (LiveChatPollVotedDetails): Defaults to:
null
. - publishedAt (DateTime.t): The date and time when the message was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. Defaults to:
null
. - superChatDetails (LiveChatSuperChatDetails): Details about the Super Chat event, this is only set if the type is 'superChatEvent'. Defaults to:
null
. - superStickerDetails (LiveChatSuperStickerDetails): Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'. Defaults to:
null
. - textMessageDetails (LiveChatTextMessageDetails): Details about the text message, this is only set if the type is 'textMessageEvent'. Defaults to:
null
. type (String.t): The type of message, this will always be present, it determines the contents of the message as well as which fields will be present. Defaults to:
null
.- Enum - one of [chatEndedEvent, fanFundingEvent, messageDeletedEvent, messageRetractedEvent, newSponsorEvent, pollClosedEvent, pollEditedEvent, pollOpenedEvent, pollVotedEvent, sponsorOnlyModeEndedEvent, sponsorOnlyModeStartedEvent, superChatEvent, superStickerEvent, textMessageEvent, tombstone, userBannedEvent]
- userBannedDetails (LiveChatUserBannedMessageDetails): Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.YouTube.V3.Model.LiveChatMessageSnippet{
authorChannelId: any(),
displayMessage: any(),
fanFundingEventDetails:
GoogleApi.YouTube.V3.Model.LiveChatFanFundingEventDetails.t(),
hasDisplayContent: any(),
liveChatId: any(),
messageDeletedDetails:
GoogleApi.YouTube.V3.Model.LiveChatMessageDeletedDetails.t(),
messageRetractedDetails:
GoogleApi.YouTube.V3.Model.LiveChatMessageRetractedDetails.t(),
pollClosedDetails: GoogleApi.YouTube.V3.Model.LiveChatPollClosedDetails.t(),
pollEditedDetails: GoogleApi.YouTube.V3.Model.LiveChatPollEditedDetails.t(),
pollOpenedDetails: GoogleApi.YouTube.V3.Model.LiveChatPollOpenedDetails.t(),
pollVotedDetails: GoogleApi.YouTube.V3.Model.LiveChatPollVotedDetails.t(),
publishedAt: DateTime.t(),
superChatDetails: GoogleApi.YouTube.V3.Model.LiveChatSuperChatDetails.t(),
superStickerDetails:
GoogleApi.YouTube.V3.Model.LiveChatSuperStickerDetails.t(),
textMessageDetails: GoogleApi.YouTube.V3.Model.LiveChatTextMessageDetails.t(),
type: any(),
userBannedDetails:
GoogleApi.YouTube.V3.Model.LiveChatUserBannedMessageDetails.t()
}
t() :: %GoogleApi.YouTube.V3.Model.LiveChatMessageSnippet{ authorChannelId: any(), displayMessage: any(), fanFundingEventDetails: GoogleApi.YouTube.V3.Model.LiveChatFanFundingEventDetails.t(), hasDisplayContent: any(), liveChatId: any(), messageDeletedDetails: GoogleApi.YouTube.V3.Model.LiveChatMessageDeletedDetails.t(), messageRetractedDetails: GoogleApi.YouTube.V3.Model.LiveChatMessageRetractedDetails.t(), pollClosedDetails: GoogleApi.YouTube.V3.Model.LiveChatPollClosedDetails.t(), pollEditedDetails: GoogleApi.YouTube.V3.Model.LiveChatPollEditedDetails.t(), pollOpenedDetails: GoogleApi.YouTube.V3.Model.LiveChatPollOpenedDetails.t(), pollVotedDetails: GoogleApi.YouTube.V3.Model.LiveChatPollVotedDetails.t(), publishedAt: DateTime.t(), superChatDetails: GoogleApi.YouTube.V3.Model.LiveChatSuperChatDetails.t(), superStickerDetails: GoogleApi.YouTube.V3.Model.LiveChatSuperStickerDetails.t(), textMessageDetails: GoogleApi.YouTube.V3.Model.LiveChatTextMessageDetails.t(), type: any(), userBannedDetails: GoogleApi.YouTube.V3.Model.LiveChatUserBannedMessageDetails.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.