LiveChatMessageListResponse class

A liveChatMessage resource represents a chat message in a YouTube live chat. The resource can contain details about several types of messages, including a newly posted text message or fan funding event.

The live chat feature is enabled by default for live broadcasts and is available while the live event is active. (After the event ends, live chat is no longer available for that event.)

Annotations
  • @JsonSerializable()

Constructors

LiveChatMessageListResponse({required String kind, required String etag, String? nextPageToken, int? pollingIntervalMillis, DateTime? offlineAt, required PageInfo? pageInfo, List<LiveChatMessage>? liveChatMessageItems})
LiveChatMessageListResponse.fromJson(Map<String, dynamic> json)
factory

Properties

etag String
The Etag of this resource.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
items List<LiveChatMessage>
no setter
kind String
Identifies the API resource's type. The value will be youtube#searchListResponse.
finalinherited
liveChatMessageItems List<LiveChatMessage>?
A list of live chat messages. Each item in the list is a liveChatMessage resource.
final
nextPageToken String?
The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
finalinherited
offlineAt DateTime?
The date and time when the underlying live stream went offline. This property is only present if the stream is already offline. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
final
pageInfo → PageInfo?
The pageInfo object encapsulates paging information for the result set.
finalinherited
pollingIntervalMillis int?
The amount of time, in milliseconds, that the client should wait before polling again for new live chat messages.
final
prevPageToken String?
The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited