Show / Hide Table of Contents

Class LiveChatMessageSnippet

Next ID: 34

Inheritance
object
LiveChatMessageSnippet
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.YouTube.v3.Data
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
Type Description
string

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
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

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
Type Description
LiveChatFanFundingEventDetails

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
Type Description
LiveChatGiftMembershipReceivedDetails

HasDisplayContent

Whether the message has display content that should be displayed to users.

Declaration
[JsonProperty("hasDisplayContent")]
public virtual bool? HasDisplayContent { get; set; }
Property Value
Type Description
bool?

LiveChatId

Declaration
[JsonProperty("liveChatId")]
public virtual string LiveChatId { get; set; }
Property Value
Type Description
string

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
Type Description
LiveChatMemberMilestoneChatDetails

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
Type Description
LiveChatMembershipGiftingDetails

MessageDeletedDetails

Declaration
[JsonProperty("messageDeletedDetails")]
public virtual LiveChatMessageDeletedDetails MessageDeletedDetails { get; set; }
Property Value
Type Description
LiveChatMessageDeletedDetails

MessageRetractedDetails

Declaration
[JsonProperty("messageRetractedDetails")]
public virtual LiveChatMessageRetractedDetails MessageRetractedDetails { get; set; }
Property Value
Type Description
LiveChatMessageRetractedDetails

NewSponsorDetails

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
Type Description
LiveChatNewSponsorDetails

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
Type Description
LiveChatPollDetails

PublishedAt

DateTime representation of PublishedAtRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishedAtDateTimeOffset instead.")]
public virtual DateTime? PublishedAt { get; set; }
Property Value
Type Description
DateTime?

PublishedAtDateTimeOffset

DateTimeOffset representation of PublishedAtRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? PublishedAtDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

PublishedAtRaw

The date and time when the message was orignally published.

Declaration
[JsonProperty("publishedAt")]
public virtual string PublishedAtRaw { get; set; }
Property Value
Type Description
string

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
Type Description
LiveChatSuperChatDetails

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
Type Description
LiveChatSuperStickerDetails

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 Description
LiveChatTextMessageDetails

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
Type Description
string

UserBannedDetails

Declaration
[JsonProperty("userBannedDetails")]
public virtual LiveChatUserBannedMessageDetails UserBannedDetails { get; set; }
Property Value
Type Description
LiveChatUserBannedMessageDetails

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX