InputSticker class
A sticker to be added to a sticker set.
- Inheritance
- Available Extensions
Constructors
-
InputSticker({required InputFile sticker, required String emojis, MaskPosition? mask_position, required List<
String> keywords, int? extra, int? clientId}) - A sticker to be added to a sticker set
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- emojis ↔ String
-
String with 1-20 emoji corresponding to the sticker.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
keywords
↔ List<
String> -
List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker.
read / write
- mask_position ↔ MaskPosition?
-
Position where the mask is placed; pass null if not specified.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sticker ↔ InputFile
-
File with the sticker; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side..
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) → InputSticker? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"inputSticker"