Inherits Function.
Returns information about a file with a map thumbnail in PNG format. Only map thumbnail files with size less than 1MB can be downloaded.
Returns object_ptr<File>.
Public Fields | |
object_ptr< location > | location_ |
Location of the map center. | |
int32 | zoom_ |
Map zoom level; 13-20. | |
int32 | width_ |
Map width in pixels before applying scale; 16-1024. | |
int32 | height_ |
Map height in pixels before applying scale; 16-1024. | |
int32 | scale_ |
Map scale; 1-3. | |
int53 | chat_id_ |
Identifier of a chat in which the thumbnail will be shown. Use 0 if unknown. | |
Public Types | |
using | ReturnType = object_ptr< file > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
getMapThumbnailFile () | |
getMapThumbnailFile (object_ptr< location > &&location_, int32 zoom_, int32 width_, int32 height_, int32 scale_, int53 chat_id_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -152660070 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which returns information about a file with a map thumbnail in PNG format. Only map thumbnail files with size less than 1MB can be downloaded.
Returns object_ptr<File>.
getMapThumbnailFile | ( | object_ptr< location > && | location_, |
int32 | zoom_, | ||
int32 | width_, | ||
int32 | height_, | ||
int32 | scale_, | ||
int53 | chat_id_ | ||
) |
Creates a function, which returns information about a file with a map thumbnail in PNG format. Only map thumbnail files with size less than 1MB can be downloaded.
Returns object_ptr<File>.
[in] | location_ | Location of the map center. |
[in] | zoom_ | Map zoom level; 13-20. |
[in] | width_ | Map width in pixels before applying scale; 16-1024. |
[in] | height_ | Map height in pixels before applying scale; 16-1024. |
[in] | scale_ | Map scale; 1-3. |
[in] | chat_id_ | Identifier of a chat in which the thumbnail will be shown. Use 0 if unknown. |
|
finalvirtual |