StickerSet class

This object represents a sticker set.

https://core.telegram.org/bots/api#stickerset

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

StickerSet({String? name, String? title, bool? isAnimated, bool? containsMasks, List<Sticker>? stickers, PhotoSize? thumb})
StickerSet.fromJson(Map<String, dynamic> json)
factory

Properties

containsMasks ↔ bool?
True, if the sticker set contains masks.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isAnimated ↔ bool?
True, if the sticker set contains animated stickers.
getter/setter pair
name ↔ String?
Sticker set name.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stickers ↔ List<Sticker>?
List of all set stickers.
getter/setter pair
thumb ↔ PhotoSize?
Optional. Sticker set thumbnail in the .WEBP or .TGS format.
getter/setter pair
title ↔ String?
Sticker set title.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited