GetStickers class final
Returns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords. If the query is non-empty, then favorite, recently used or trending stickers may also be returned
Returns Stickers.
- Inheritance
-
- Object
- TdFunction<
Stickers> - GetStickers
Constructors
- GetStickers({required StickerType stickerType, required String query, required int limit, required int chatId})
-
Returns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords. If the query is non-empty, then favorite, recently used or trending stickers may also be returned
const
Properties
- canBeCalledSynchronously → bool
-
Whether TDLib documents this request as callable through
td_execute.no setterinherited - chatId → int
-
Chat identifier for which to return stickers. Available custom emoji stickers may be different for different chats
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int
-
The maximum number of stickers to be returned
final
- query → String
-
Search query; a space-separated list of emoji or a keyword prefix. If empty, returns all known installed stickers
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stickerType → StickerType
-
Type of the stickers to return
final
Methods
-
copyWith(
{StickerType? stickerType, String? query, int? limit, int? chatId}) → GetStickers -
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.