1#ifndef TGBOT_LINKPREVIEWOPTIONS_H
2#define TGBOT_LINKPREVIEWOPTIONS_H
17 typedef std::shared_ptr<LinkPreviewOptions>
Ptr;
Describes the options used for link preview generation.
bool showAboveText
Optional. True, if the link preview must be shown above the message text; otherwise,...
bool isDisabled
Optional. True, if the link preview is disabled.
bool preferSmallMedia
Optional. True, if the media in the link preview is supposed to be shrunk; ignored if the URL isn't e...
std::shared_ptr< LinkPreviewOptions > Ptr
bool preferLargeMedia
Optional. True, if the media in the link preview is supposed to be enlarged; ignored if the URL isn't...
std::string url
Optional. URL to use for the link preview.