GetTrendingStickerSets class final

GetTrendingStickerSets (getTrendingStickerSets) - TDLib function

Returns a list of trending sticker sets. For optimal performance, the number of returned sticker sets is chosen by TDLib.

  • stickerType: Type of the sticker sets to return.
  • offset: The offset from which to return the sticker sets; must be non-negative.
  • limit: The maximum number of sticker sets to be returned; up to 100. For optimal performance, the number of returned sticker sets is chosen by TDLib and can be smaller than the specified limit, even if the end of the list has not been reached.

TrendingStickerSets is returned on completion.

Inheritance

Constructors

GetTrendingStickerSets({required StickerType stickerType, required int offset, required int limit})
GetTrendingStickerSets (getTrendingStickerSets) - TDLib function
const

Properties

currentObjectId → String
TDLib object type for current class instance
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
limit → int
The maximum number of sticker sets to be returned; up to 100. For optimal performance, the number of returned sticker sets is chosen by TDLib and can be smaller than the specified limit, even if the end of the list has not been reached
final
offset → int
The offset from which to return the sticker sets; must be non-negative
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stickerType → StickerType
Type of the sticker sets to return
final

Methods

copyWith({StickerType? stickerType, int? offset, int? limit}) → GetTrendingStickerSets
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) → 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