Class LiveChatMessageSnippet
Inheritance
System.Object
LiveChatMessageSnippet
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 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
Declaration
[JsonProperty("authorChannelId")]
public virtual string AuthorChannelId { get; set; }
Property Value
Type |
Description |
System.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 |
System.String |
|
ETag
Declaration
public virtual string ETag { get; set; }
Property Value
Type |
Description |
System.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
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 |
System.Nullable<System.Boolean> |
|
LiveChatId
Declaration
[JsonProperty("liveChatId")]
public virtual string LiveChatId { get; set; }
Property Value
Type |
Description |
System.String |
|
MessageDeletedDetails
Declaration
[JsonProperty("messageDeletedDetails")]
public virtual LiveChatMessageDeletedDetails MessageDeletedDetails { get; set; }
Property Value
MessageRetractedDetails
Declaration
[JsonProperty("messageRetractedDetails")]
public virtual LiveChatMessageRetractedDetails MessageRetractedDetails { get; set; }
Property Value
PublishedAt
The date and time when the message was orignally published. The value is specified in ISO 8601
format.
Declaration
[JsonProperty("publishedAt")]
public virtual string PublishedAt { get; set; }
Property Value
Type |
Description |
System.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
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
Type |
Description |
System.String |
|
UserBannedDetails
Declaration
[JsonProperty("userBannedDetails")]
public virtual LiveChatUserBannedMessageDetails UserBannedDetails { get; set; }
Property Value
Implements