class Google::Apis::YoutubeV3::SuperChatEventSnippet
Attributes
The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000. Corresponds to the JSON property `amountMicros` @return [Fixnum]
Channel
id where the event occurred. Corresponds to the JSON property `channelId` @return [String]
The text contents of the comment left by the user. Corresponds to the JSON property `commentText` @return [String]
The date and time when the event occurred. Corresponds to the JSON property `createdAt` @return [DateTime]
The currency in which the purchase was made. ISO 4217. Corresponds to the JSON property `currency` @return [String]
A rendered string that displays the purchase amount and currency (e.g., “$1.00” ). The string is rendered for the given language. Corresponds to the JSON property `displayString` @return [String]
True if this event is a Super Sticker event. Corresponds to the JSON property `isSuperStickerEvent` @return [Boolean]
True if this event is a Super Sticker event. Corresponds to the JSON property `isSuperStickerEvent` @return [Boolean]
The tier for the paid message, which is based on the amount of money spent to purchase the message. Corresponds to the JSON property `messageType` @return [Fixnum]
If this event is a Super Sticker event, this field will contain metadata about the Super Sticker. Corresponds to the JSON property `superStickerMetadata` @return [Google::Apis::YoutubeV3::SuperStickerMetadata]
Details about the supporter. Corresponds to the JSON property `supporterDetails` @return [Google::Apis::YoutubeV3::ChannelProfileDetails]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 6787 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 6792 def update!(**args) @amount_micros = args[:amount_micros] if args.key?(:amount_micros) @channel_id = args[:channel_id] if args.key?(:channel_id) @comment_text = args[:comment_text] if args.key?(:comment_text) @created_at = args[:created_at] if args.key?(:created_at) @currency = args[:currency] if args.key?(:currency) @display_string = args[:display_string] if args.key?(:display_string) @is_super_sticker_event = args[:is_super_sticker_event] if args.key?(:is_super_sticker_event) @message_type = args[:message_type] if args.key?(:message_type) @super_sticker_metadata = args[:super_sticker_metadata] if args.key?(:super_sticker_metadata) @supporter_details = args[:supporter_details] if args.key?(:supporter_details) end