AddRecentSticker class
Manually adds a new sticker to the list of recently used stickers. The new sticker is added to the top of the list. If the sticker was already in the list, it is removed from the list first..
Returns Stickers.
- Inheritance
- Available Extensions
Constructors
- AddRecentSticker({required bool is_attached, required InputFile sticker, int? extra, int? clientId})
- Manually adds a new sticker to the list of recently used stickers. The new sticker is added to the top of the list. If the sticker was already in the list, it is removed from the list first.
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
- is_attached ↔ bool
-
Pass true to add the sticker to the list of stickers recently attached to photo or video files; pass false to add the sticker to the list of recently sent stickers.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sticker ↔ InputFile
-
Sticker file to add.
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) → AddRecentSticker? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"addRecentSticker"