UploadStickerFile class

Uploads a file with a sticker; returns the uploaded file.

Returns File.

Inheritance
Available Extensions

Constructors

UploadStickerFile({required int user_id, required StickerFormat sticker_format, required InputFile sticker, int? extra, int? clientId})
Uploads a file with a sticker; returns the uploaded file

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
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
sticker ↔ InputFile
File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side..
read / write
sticker_format ↔ StickerFormat
Sticker format.
read / write
user_id ↔ int
Sticker file 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) → UploadStickerFile?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"uploadStickerFile"