LiveChatMessageListResponse class Null safety

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

Constructors

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

Properties

etag String
The Etag of this resource.
final
hashCode int
The hash code for this object.
read-only, inherited
items List<LiveChatMessage>
A list of live chat messages. Each item in the list is a liveChatMessage resource.
final
kind String
Identifies the API resource's type. The value will be youtube#liveChatMessageListResponse.
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.
final
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.
final
pollingIntervalMillis int?
The amount of time, in milliseconds, that the client should wait before polling again for new live chat messages.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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