class Google::Apis::YoutubeV3::LiveChatMessageSnippet
Attributes
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. Corresponds to the JSON property `displayMessage` @return [String]
Details about the funding event, this is only set if the type is ' fanFundingEvent'. Corresponds to the JSON property `fanFundingEventDetails` @return [Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails]
Whether the message has display content that should be displayed to users. Corresponds to the JSON property `hasDisplayContent` @return [Boolean]
Whether the message has display content that should be displayed to users. Corresponds to the JSON property `hasDisplayContent` @return [Boolean]
Corresponds to the JSON property `liveChatId` @return [String]
Corresponds to the JSON property `messageDeletedDetails` @return [Google::Apis::YoutubeV3::LiveChatMessageDeletedDetails]
Corresponds to the JSON property `messageRetractedDetails` @return [Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails]
The date and time when the message was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. Corresponds to the JSON property `publishedAt` @return [DateTime]
Details about the text message, this is only set if the type is ' textMessageEvent'. Corresponds to the JSON property `textMessageDetails` @return [Google::Apis::YoutubeV3::LiveChatTextMessageDetails]
The type of message, this will always be present, it determines the contents of the message as well as which fields will be present. Corresponds to the JSON property `type` @return [String]
Corresponds to the JSON property `userBannedDetails` @return [Google::Apis::YoutubeV3::LiveChatUserBannedMessageDetails]
Public Class Methods
# File generated/google/apis/youtube_v3/classes.rb, line 4541 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 4546 def update!(**args) @author_channel_id = args[:author_channel_id] if args.key?(:author_channel_id) @display_message = args[:display_message] if args.key?(:display_message) @fan_funding_event_details = args[:fan_funding_event_details] if args.key?(:fan_funding_event_details) @has_display_content = args[:has_display_content] if args.key?(:has_display_content) @live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id) @message_deleted_details = args[:message_deleted_details] if args.key?(:message_deleted_details) @message_retracted_details = args[:message_retracted_details] if args.key?(:message_retracted_details) @published_at = args[:published_at] if args.key?(:published_at) @text_message_details = args[:text_message_details] if args.key?(:text_message_details) @type = args[:type] if args.key?(:type) @user_banned_details = args[:user_banned_details] if args.key?(:user_banned_details) end