Class LiveChatMessageSnippet
Inheritance
LiveChatMessageSnippet
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class LiveChatMessageSnippet : IDirectResponseSchema
Properties
AuthorChannelId
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 memberMilestoneChatEvent - the member that sent the message membershipGiftingEvent -
the user that made the purchase giftMembershipReceivedEvent - the user that received the gift membership
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 superStickerEvent - the user that made the purchase pollEvent - the user that created the poll
Declaration
[JsonProperty("authorChannelId")]
public virtual string AuthorChannelId { get; set; }
Property Value
DisplayMessage
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.
Declaration
[JsonProperty("displayMessage")]
public virtual string DisplayMessage { get; set; }
Property Value
ETag
Declaration
public virtual string ETag { get; set; }
Property Value
FanFundingEventDetails
Details about the funding event, this is only set if the type is 'fanFundingEvent'.
Declaration
[JsonProperty("fanFundingEventDetails")]
public virtual LiveChatFanFundingEventDetails FanFundingEventDetails { get; set; }
Property Value
GiftMembershipReceivedDetails
Details about the Gift Membership Received event, this is only set if the type is
'giftMembershipReceivedEvent'.
Declaration
[JsonProperty("giftMembershipReceivedDetails")]
public virtual LiveChatGiftMembershipReceivedDetails GiftMembershipReceivedDetails { get; set; }
Property Value
HasDisplayContent
Whether the message has display content that should be displayed to users.
Declaration
[JsonProperty("hasDisplayContent")]
public virtual bool? HasDisplayContent { get; set; }
Property Value
LiveChatId
Declaration
[JsonProperty("liveChatId")]
public virtual string LiveChatId { get; set; }
Property Value
MemberMilestoneChatDetails
Details about the Member Milestone Chat event, this is only set if the type is 'memberMilestoneChatEvent'.
Declaration
[JsonProperty("memberMilestoneChatDetails")]
public virtual LiveChatMemberMilestoneChatDetails MemberMilestoneChatDetails { get; set; }
Property Value
MembershipGiftingDetails
Details about the Membership Gifting event, this is only set if the type is 'membershipGiftingEvent'.
Declaration
[JsonProperty("membershipGiftingDetails")]
public virtual LiveChatMembershipGiftingDetails MembershipGiftingDetails { get; set; }
Property Value
MessageDeletedDetails
Declaration
[JsonProperty("messageDeletedDetails")]
public virtual LiveChatMessageDeletedDetails MessageDeletedDetails { get; set; }
Property Value
MessageRetractedDetails
Declaration
[JsonProperty("messageRetractedDetails")]
public virtual LiveChatMessageRetractedDetails MessageRetractedDetails { get; set; }
Property Value
Details about the New Member Announcement event, this is only set if the type is 'newSponsorEvent'. Please
note that "member" is the new term for "sponsor".
Declaration
[JsonProperty("newSponsorDetails")]
public virtual LiveChatNewSponsorDetails NewSponsorDetails { get; set; }
Property Value
PollDetails
Details about the poll event, this is only set if the type is 'pollEvent'.
Declaration
[JsonProperty("pollDetails")]
public virtual LiveChatPollDetails PollDetails { get; set; }
Property Value
PublishedAt
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishedAtDateTimeOffset instead.")]
public virtual DateTime? PublishedAt { get; set; }
Property Value
PublishedAtDateTimeOffset
Declaration
[JsonIgnore]
public virtual DateTimeOffset? PublishedAtDateTimeOffset { get; set; }
Property Value
PublishedAtRaw
The date and time when the message was orignally published.
Declaration
[JsonProperty("publishedAt")]
public virtual string PublishedAtRaw { get; set; }
Property Value
SuperChatDetails
Details about the Super Chat event, this is only set if the type is 'superChatEvent'.
Declaration
[JsonProperty("superChatDetails")]
public virtual LiveChatSuperChatDetails SuperChatDetails { get; set; }
Property Value
SuperStickerDetails
Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'.
Declaration
[JsonProperty("superStickerDetails")]
public virtual LiveChatSuperStickerDetails SuperStickerDetails { get; set; }
Property Value
TextMessageDetails
Details about the text message, this is only set if the type is 'textMessageEvent'.
Declaration
[JsonProperty("textMessageDetails")]
public virtual LiveChatTextMessageDetails TextMessageDetails { get; set; }
Property Value
Type
The type of message, this will always be present, it determines the contents of the message as well as which
fields will be present.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
UserBannedDetails
Declaration
[JsonProperty("userBannedDetails")]
public virtual LiveChatUserBannedMessageDetails UserBannedDetails { get; set; }
Property Value
Implements