class Google::Apis::YoutubeV3::LiveChatMessage

A liveChatMessage resource represents a chat message in a YouTube Live Chat.

Attributes

author_details[RW]

The authorDetails object contains basic details about the user that posted this message. Corresponds to the JSON property `authorDetails` @return [Google::Apis::YoutubeV3::LiveChatMessageAuthorDetails]

etag[RW]

Etag of this resource. Corresponds to the JSON property `etag` @return [String]

id[RW]

The ID that YouTube assigns to uniquely identify the message. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “youtube# liveChatMessage”. Corresponds to the JSON property `kind` @return [String]

snippet[RW]

Next ID: 31 Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::LiveChatMessageSnippet]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 4128
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 4133
def update!(**args)
  @author_details = args[:author_details] if args.key?(:author_details)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @snippet = args[:snippet] if args.key?(:snippet)
end