Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Public Attributes | List of all members
telebot_link_preview_options Struct Reference

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
 

Detailed Description

Describes the options used for link preview generation.

Member Data Documentation

◆ is_disabled

bool telebot_link_preview_options::is_disabled

Optional. True, if the link preview is disabled

◆ prefer_large_media

bool telebot_link_preview_options::prefer_large_media

Optional. True, if the media in the link preview is supposed to be enlarged

◆ prefer_small_media

bool telebot_link_preview_options::prefer_small_media

Optional. True, if the media in the link preview is supposed to be shrunk

◆ show_above_text

bool telebot_link_preview_options::show_above_text

Optional. True, if the link preview must be shown above the message text

◆ url

char* telebot_link_preview_options::url

Optional. URL to use for the link preview.


The documentation for this struct was generated from the following file: