Sticker class

Describes a sticker.

Inheritance
Available Extensions

Constructors

Sticker({required int64 id, required int64 set_id, required int width, required int height, required String emoji, required StickerFormat format, required StickerFullType full_type, required List<ClosedVectorPath> outline, Thumbnail? thumbnail, required File sticker, int? extra, int? clientId})
Describes a sticker

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
emoji String
Emoji corresponding to the sticker.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
format StickerFormat
Sticker format.
read / write
full_type StickerFullType
Sticker's full type.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
height int
Sticker height; as defined by the sender.
read / write
id int64
Unique sticker identifier within the set; 0 if none. ; string representation of int, use int.parse
read / write
outline List<ClosedVectorPath>
Sticker's outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
set_id int64
Identifier of the sticker set to which the sticker belongs; 0 if none. ; string representation of int, use int.parse
read / write
sticker File
File containing the sticker.
read / write
thumbnail Thumbnail?
Sticker thumbnail in WEBP or JPEG format; may be null.
read / write
width int
Sticker width; as defined by the sender.
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) Sticker?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"sticker"