StickerSet class

Represents a sticker set

Inheritance

Constructors

StickerSet({String? extra, int? client_id, int64? id, string? title, string? name, Thumbnail? thumbnail, vector<ClosedVectorPath>? thumbnail_outline, Bool? is_installed, Bool? is_archived, Bool? is_official, StickerFormat? sticker_format, StickerType? sticker_type, Bool? is_viewed, vector<Sticker>? stickers, vector<Emojis>? emojis})
StickerSet.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
emojis vector<Emojis>?
A list of emoji corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object
getter/setter pair
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id int64?
Identifier of the sticker set
getter/setter pair
is_archived Bool?
True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously
getter/setter pair
is_installed Bool?
True, if the sticker set has been installed by the current user
getter/setter pair
is_official Bool?
True, if the sticker set is official
getter/setter pair
is_viewed Bool?
True for already viewed trending sticker sets
getter/setter pair
name string?
Name of the sticker set
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sticker_format StickerFormat?
Format of the stickers in the set
getter/setter pair
sticker_type StickerType?
Type of the stickers in the set
getter/setter pair
stickers vector<Sticker>?
List of stickers in this set
getter/setter pair
tdType String
JSON object type; maps to the field @type.
no setteroverride
thumbnail Thumbnail?
Sticker set thumbnail in WEBP, TGS, or WEBM format with width and height 100; may be null. The file can be downloaded only before the thumbnail is changed
getter/setter pair
thumbnail_outline vector<ClosedVectorPath>?
Sticker set thumbnail'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
title string?
Title of the sticker set
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 skipNulls is true the 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