StickerSetInfo class
Represents short information about a sticker set
Constructors
-
StickerSetInfo({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, int32? size, vector<Sticker> ? covers}) -
StickerSetInfo.fromMap(Map<
String, dynamic> map)
Properties
- client_id ↔ int?
-
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
-
covers
↔ vector<
Sticker> ? -
Up to the first 5 stickers from the set, depending on the context. If the application needs more stickers the full sticker set needs to be requested
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
- size ↔ int32?
-
Total number of stickers in the set
getter/setter pair
- 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
- 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
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
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