StoryViewer class

Represents a viewer of a story.

Inheritance
Available Extensions

Constructors

StoryViewer({required int user_id, required int view_date, BlockList? block_list, ReactionType? chosen_reaction_type, int? extra, int? clientId})
Represents a viewer of a story

Properties

block_list ↔ BlockList?
Block list to which the user is added; may be null if none.
read / write
chosen_reaction_type ↔ ReactionType?
Type of the reaction that was chosen by the user; may be null if none.
read / write
clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
user_id ↔ int
User identifier of the viewer.
read / write
view_date ↔ int
Approximate point in time (Unix timestamp) when the story was viewed.
read / write

Methods

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

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) → StoryViewer?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"storyViewer"