In this article we'll look at restrictions and limits on uploading files (documents), characters in a message, and some blocks.
The maximum resolution of images must not exceed: 8 MP;
The maximum size of images must not exceed: 10 MB;
The maximum size of other files must not exceed: 50 MB;
The maximum size of a user uploaded file that can be downloaded or viewed later: 20 MB.
Allowed image formats: image/bmp, image/gif, image/jpeg, image/png, image/x-ms-bmp;
Allowed video formats: video/quicktime, video/mp4, image/gif;
Allowed audio formats: audio/mpeg, audio/mp3, audio/x-wav, audio/x-m4a.
Maximum timeout: 86400 sec. (1 day);
Minimum timeout: 1 sec.
Maximum text block message length: 4096 characters;
Maximum message length of media blocks: 1024 characters;
Maximum number of lines in the keyboard: 22;
Maximum number of buttons per line in the keyboard: 12;
Maximum number of characters for a command name or payment name: 64.