UploadStickerFile class final

UploadStickerFile (uploadStickerFile) - TDLib function

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

File is returned on completion.

Inheritance

Constructors

UploadStickerFile({required int userId, required StickerFormat stickerFormat, required InputFile sticker})
UploadStickerFile (uploadStickerFile) - TDLib function
const

Properties

currentObjectId String
TDLib object type for current class instance
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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.. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements
final
stickerFormat StickerFormat
Sticker format
final
userId int
Sticker file owner; ignored for regular users
final

Methods

copyWith({int? userId, StickerFormat? stickerFormat, InputFile? sticker}) UploadStickerFile
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() String
Convert model to TDLib JSON format, encoded into String.
override

Operators

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

Constants

defaultObjectId → const String
TDLib object type