StickerSet class

Represents a sticker set.

Inheritance
Available Extensions

Constructors

StickerSet({required int64 id, required String title, required String name, Thumbnail? thumbnail, required List<ClosedVectorPath> thumbnail_outline, required bool is_installed, required bool is_archived, required bool is_official, required StickerFormat sticker_format, required StickerType sticker_type, required bool is_viewed, required List<Sticker> stickers, required List<List<String>> emojis, int? extra, int? clientId})
Represents a sticker set

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
emojis List<List<String>>
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.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
id int64
Identifier of the sticker set. ; string representation of int, use int.parse
read / write
is_archived bool
True, if the sticker set has been archived. A sticker set can't be installed and archived simultaneously.
read / write
is_installed bool
True, if the sticker set has been installed by the current user.
read / write
is_official bool
True, if the sticker set is official.
read / write
is_viewed bool
True for already viewed trending sticker sets.
read / write
name String
Name of the sticker set.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sticker_format StickerFormat
Format of the stickers in the set.
read / write
sticker_type StickerType
Type of the stickers in the set.
read / write
stickers List<Sticker>
List of stickers in this set.
read / write
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.
read / write
thumbnail_outline List<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.
read / write
title String
Title of the sticker set.
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) StickerSet?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"stickerSet"