CreateNewStickerSet class
Creates a new sticker set. Returns the newly created sticker set.
Returns StickerSet.
- Inheritance
- Available Extensions
Constructors
-
CreateNewStickerSet({required int user_id, required String title, required String name, required StickerFormat sticker_format, required StickerType sticker_type, required bool needs_repainting, required List<
InputSticker> stickers, required String source, int? extra, int? clientId}) - Creates a new sticker set. Returns the newly created sticker set
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- 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.read / write - needs_repainting ↔ bool
-
Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- source ↔ String
-
Source of the sticker set; may be empty if unknown.
read / write
- 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<
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.
read / write
- title ↔ String
-
Sticker set title; 1-64 characters.
read / write
- user_id ↔ int
-
Sticker set owner; ignored for regular users.
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) → CreateNewStickerSet? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"createNewStickerSet"