StoryInteractions class final
StoryInteractions (storyInteractions) - basic class
Represents a list of interactions with a story.
- totalCount: Approximate total number of interactions found.
- totalForwardCount: Approximate total number of found forwards and reposts; always 0 for chat stories.
- totalReactionCount: Approximate total number of found reactions; always 0 for chat stories.
- interactions: List of story interactions.
- nextOffset: The offset for the next request. If empty, then there are no more results.
Constructors
-
StoryInteractions({required int totalCount, required int totalForwardCount, required int totalReactionCount, required List<
StoryInteraction> interactions, required String nextOffset, dynamic extra, int? clientId}) -
StoryInteractions (storyInteractions) - basic class
const
-
StoryInteractions.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- clientId → int?
-
clientId client identifier
final
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- extra → dynamic
-
extra callback sign
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interactions
→ List<
StoryInteraction> -
List of story interactions
final
- nextOffset → String
-
The offset for the next request. If empty, then there are no more results
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalCount → int
-
Approximate total number of interactions found
final
- totalForwardCount → int
-
Approximate total number of found forwards and reposts; always 0 for chat stories
final
- totalReactionCount → int
-
Approximate total number of found reactions; always 0 for chat stories
final
Methods
-
copyWith(
{int? totalCount, int? totalForwardCount, int? totalReactionCount, List< StoryInteraction> ? interactions, String? nextOffset, dynamic extra, int? clientId}) → StoryInteractions - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type