Sticker class
Describes a sticker
Constructors
-
Sticker({String? extra, int? client_id, int64? set_id, int32? width, int32? height, string? emoji, StickerFormat? format, StickerFullType? full_type, vector<
ClosedVectorPath> ? outline, Thumbnail? thumbnail, File? sticker}) -
Sticker.fromMap(Map<
String, dynamic> map)
Properties
- client_id ↔ int?
-
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
- emoji ↔ string?
-
Emoji corresponding to the sticker
getter/setter pair
- extra ↔ String?
-
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
- format ↔ StickerFormat?
-
Sticker format
getter/setter pair
- full_type ↔ StickerFullType?
-
Sticker's full type
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ int32?
-
Sticker height; as defined by the sender
getter/setter pair
-
outline
↔ vector<
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
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- set_id ↔ int64?
-
The identifier of the sticker set to which the sticker belongs; 0 if none
getter/setter pair
- sticker ↔ File?
-
File containing the sticker
getter/setter pair
- tdType → String
-
JSON object type; maps to the field @type.
no setteroverride
- thumbnail ↔ Thumbnail?
-
Sticker thumbnail in WEBP or JPEG format; may be null
getter/setter pair
- width ↔ int32?
-
Sticker width; as defined by the sender
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{dynamic skipNulls = true}) → String -
Serialize a Td instance to a JSON string.
If
skipNullsistruethe fields with null values are not serialized.inherited -
toMap(
{dynamic skipNulls = true}) → Map< String, dynamic> -
Create a Map from a Td instance.
override
-
toString(
{dynamic skipNulls = false}) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited