CreateNewStickerSet class

Creates a new sticker set. Returns the newly created sticker set

Inheritance

Constructors

CreateNewStickerSet({String? extra, int? client_id, int53? user_id, string? title, string? name, StickerType? sticker_type, vector<InputSticker>? stickers, string? source})
CreateNewStickerSet.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
name string?
Sticker set name. Can contain only English letters, digits and underscores. Must end with "by (<bot_username> is case insensitive) for bots; 1-64 characters
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source string?
Source of the sticker set; may be empty if unknown
getter/setter pair
sticker_type StickerType?
Type of the stickers in the set
getter/setter pair
stickers vector<InputSticker>?
List of stickers to be added to the set; must be non-empty. All stickers must have the same format. For TGS stickers, uploadStickerFile must be used before the sticker is shown
getter/setter pair
tdReturnType String
The return type as String for this function. Currently not used.
no setteroverride
tdType String
JSON object type; maps to the field @type.
no setteroverride
title string?
Sticker set title; 1-64 characters
getter/setter pair
user_id int53?
Sticker set owner; ignored for regular users
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