GetTrendingStickerSets class final
Returns a list of trending sticker sets. For optimal performance, the number of returned sticker sets is chosen by TDLib
Returns TrendingStickerSets.
- Inheritance
-
- Object
- TdFunction<
TrendingStickerSets> - GetTrendingStickerSets
Constructors
- GetTrendingStickerSets({required StickerType stickerType, required int offset, required int limit})
-
Returns a list of trending sticker sets. For optimal performance, the number of returned sticker sets is chosen by TDLib
const
Properties
- canBeCalledSynchronously → bool
-
Whether TDLib documents this request as callable through
td_execute.no setterinherited - 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 -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib function name, e.g.
getMe.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Converts this request to TDLib JSON, tagged with
extraif given.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.