InputThumbnail class

Implemented types

Constructors

InputThumbnail({dynamic thumbnail, int width, int height})
A thumbnail to be sent along with a file; should be in JPEG or WEBP format for stickers, and less than 200 kB in size. thumbnail Thumbnail file to send. Sending thumbnails by file_id is currently not supported. width Thumbnail width, usually shouldn't exceed 320. Use 0 if unknown . height Thumbnail height, usually shouldn't exceed 320. Use 0 if unknown
InputThumbnail.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnail ↔ dynamic
read / write
width int
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"inputThumbnail"