|
Telebot 9.4
Library for Telegram bot API
|
Describes the options used for link preview generation. More...
#include <telebot-types.h>
Public Attributes | |
| bool | is_disabled |
| char * | url |
| bool | prefer_small_media |
| bool | prefer_large_media |
| bool | show_above_text |
Describes the options used for link preview generation.
| bool telebot_link_preview_options::is_disabled |
Optional. True, if the link preview is disabled
| bool telebot_link_preview_options::prefer_large_media |
Optional. True, if the media in the link preview is supposed to be enlarged
| bool telebot_link_preview_options::prefer_small_media |
Optional. True, if the media in the link preview is supposed to be shrunk
| bool telebot_link_preview_options::show_above_text |
Optional. True, if the link preview must be shown above the message text
| char* telebot_link_preview_options::url |
Optional. URL to use for the link preview.