GoogleApi.YouTube.V3.Model.SuperChatEventSnippet (google_api_you_tube v0.54.0)

View Source

Attributes

  • amountMicros (type: String.t, default: nil) - The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000.
  • channelId (type: String.t, default: nil) - Channel id where the event occurred.
  • commentText (type: String.t, default: nil) - The text contents of the comment left by the user.
  • createdAt (type: DateTime.t, default: nil) - The date and time when the event occurred.
  • currency (type: String.t, default: nil) - The currency in which the purchase was made. ISO 4217.
  • displayString (type: String.t, default: nil) - A rendered string that displays the purchase amount and currency (e.g., "$1.00"). The string is rendered for the given language.
  • isSuperStickerEvent (type: boolean(), default: nil) - True if this event is a Super Sticker event.
  • messageType (type: integer(), default: nil) - The tier for the paid message, which is based on the amount of money spent to purchase the message.
  • superStickerMetadata (type: GoogleApi.YouTube.V3.Model.SuperStickerMetadata.t, default: nil) - If this event is a Super Sticker event, this field will contain metadata about the Super Sticker.
  • supporterDetails (type: GoogleApi.YouTube.V3.Model.ChannelProfileDetails.t, default: nil) - Details about the supporter.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.SuperChatEventSnippet{
  amountMicros: String.t() | nil,
  channelId: String.t() | nil,
  commentText: String.t() | nil,
  createdAt: DateTime.t() | nil,
  currency: String.t() | nil,
  displayString: String.t() | nil,
  isSuperStickerEvent: boolean() | nil,
  messageType: integer() | nil,
  superStickerMetadata:
    GoogleApi.YouTube.V3.Model.SuperStickerMetadata.t() | nil,
  supporterDetails: GoogleApi.YouTube.V3.Model.ChannelProfileDetails.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.