google_api_you_tube v0.4.0 GoogleApi.YouTube.V3.Model.SuperChatEventSnippet View Source

Attributes

  • amountMicros (String.t): The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000. Defaults to: null.
  • channelId (String.t): Channel id where the event occurred. Defaults to: null.
  • commentText (String.t): The text contents of the comment left by the user. Defaults to: null.
  • createdAt (DateTime.t): The date and time when the event occurred. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. Defaults to: null.
  • currency (String.t): The currency in which the purchase was made. ISO 4217. Defaults to: null.
  • displayString (String.t): A rendered string that displays the purchase amount and currency (e.g., "$1.00"). The string is rendered for the given language. Defaults to: null.
  • isSuperChatForGood (boolean()): True if this event is a Super Chat for Good purchase. Defaults to: null.
  • isSuperStickerEvent (boolean()): True if this event is a Super Sticker event. Defaults to: null.
  • messageType (integer()): The tier for the paid message, which is based on the amount of money spent to purchase the message. Defaults to: null.
  • nonprofit (Nonprofit): If this event is a Super Chat for Good purchase, this field will contain information about the charity the purchase is donated to. Defaults to: null.
  • superStickerMetadata (SuperStickerMetadata): If this event is a Super Sticker event, this field will contain metadata about the Super Sticker. Defaults to: null.
  • supporterDetails (ChannelProfileDetails): Details about the supporter. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.YouTube.V3.Model.SuperChatEventSnippet{
  amountMicros: any(),
  channelId: any(),
  commentText: any(),
  createdAt: DateTime.t(),
  currency: any(),
  displayString: any(),
  isSuperChatForGood: any(),
  isSuperStickerEvent: any(),
  messageType: any(),
  nonprofit: GoogleApi.YouTube.V3.Model.Nonprofit.t(),
  superStickerMetadata: GoogleApi.YouTube.V3.Model.SuperStickerMetadata.t(),
  supporterDetails: GoogleApi.YouTube.V3.Model.ChannelProfileDetails.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.