Viber
Sending files
Sending files to the following formats is allowed. The files are not attached to the message but a public URL is required so that the user can download it.
Required parameters
- File type
- File name. Maximum 25 characters
Type | Formats | Size |
---|---|---|
Documents | .doc, .docx, .rtf, .dot, .dotx, .odt ,odf, .fodt, .txt, .info | 200MB |
.pdf, .xps, .pdax, .eps | 200MB | |
Table | .xls, .xlsx, .ods, .fods, .csv, .xlsm, .xltx | 200MB |
Sending videos
It is possible to send videos to users. The maximum video size is 200MB, and the following parameters are required:
- Video size (bytes)
- Duration (seconds)
- Thumbnail (preview) image
- URL where the video is available (using Youtube and other video sharing sites is not allowed)
Media formats
Típus | Formátumok | Méret |
---|---|---|
Image | .jpg, .jpeg, .png, .bmp, .gif, .svg, .webp | No restrictions except for the .gif format, where the maximum size is 24MB. |
Video (Company to user) | .3gp, .m4v, .mov, .mp4 | 200MB |
Video (User to company) | .avi, .wmv, .mov, .mp4, .m4v, .3gpp, .3gpp2, .asf, .mkv, .mp2ts, .webm | 100MB |
Text formatting and emojis
The maximum allowed character count is 1000. This includes emojis and markdown formatting.
The following markdown formatting can be used in the text fields:
Type | Markdown | Sent text | Displayed in the Viber message |
---|---|---|---|
Bold | One * character at the beginning and end of the text to be bolded. | *This is a text message* | This is a text message |
Italic | One _ character at the beginning and end of the text to be italicized. | _This is a text message_ | This is a text message |
Monospace (monospace font) | ``` character at the beginning and end of the text to be monospaced. | ``This is a text message``` | This is a text message |
Underlined | One ~ character at the beginning and end of the text to be underlined. | ~This is a text message~ |
URL validations
Media validations
To ensure that media URLs sent through the API are processed correctly and the content is displayed correctly, we strongly recommend following the following guidelines:
- Use only secure HTTPS links
- Make sure that the image URLs are not protected by „captcha” protection
- Make sure that the URLs contain a file extension (.mp4, .png, .jpeg)
Content validations
The following links to pages or applications are not allowed:
- Line
- Signal
- Telegram
This condition applies to the content of messages as well as to the links used on the company account and business chat information pages.