GetStoryViewers class
Returns viewers of a story. The method can be called only for stories posted on behalf of the current user.
Returns StoryViewers.
- Inheritance
- Available Extensions
Constructors
- GetStoryViewers({required int story_id, required String query, required bool only_contacts, required bool prefer_with_reaction, required String offset, required int limit, int? extra, int? clientId})
- Returns viewers of a story. The method can be called only for stories posted on behalf of the current user
Properties
- 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
- limit ↔ int
-
The maximum number of story viewers to return.
read / write
- offset ↔ String
-
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
read / write
- only_contacts ↔ bool
-
Pass true to get only contacts; pass false to get all relevant viewers.
read / write
- prefer_with_reaction ↔ bool
-
Pass true to get viewers with reaction first; pass false to get viewers sorted just by view_date.
read / write
- query ↔ String
-
Query to search for in names and usernames of the viewers; may be empty to get all relevant viewers.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- story_id ↔ int
-
Story identifier.
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) → GetStoryViewers? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"getStoryViewers"