ChatActiveStories class final

Describes active stories posted by a chat

Inheritance

Constructors

ChatActiveStories({required int chatId, StoryList? list, required int order, required int maxReadStoryId, required List<StoryInfo> stories, dynamic extra, int? clientId})
Describes active stories posted by a chat
const
ChatActiveStories.fromJson(Map<String, dynamic> json)
Parses a ChatActiveStories from TDLib JSON.
factory

Properties

chatId → int
Identifier of the chat that posted the stories
final
clientId → int?
Identifier of the TDLib client that sent this object.
final
extra → dynamic
"@extra" of the request this object answers.
final
hashCode → int
The hash code for this object.
no setterinherited
list → StoryList?
Identifier of the story list in which the stories are shown; may be null if the stories aren't shown in a story list
final
maxReadStoryId → int
Identifier of the last read active story
final
order → int
A parameter used to determine order of the stories in the story list; 0 if the stories doesn't need to be shown in the story list. Stories must be sorted by the pair (order, story_sender_chat_id) in descending order
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stories → List<StoryInfo>
Basic information about the stories; use getStory to get full information about the stories. The stories are in a chronological order (i.e., in order of increasing story identifiers)
final

Methods

copyWith({int? chatId, StoryList? list()?, int? order, int? maxReadStoryId, List<StoryInfo>? stories, dynamic extra, int? clientId}) → ChatActiveStories
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
TDLib type name.