Cppgram
1.0.0
Easy and modern C++14 Telegram Bot API wrapper
|
Entity in the message. More...
#include <message_entity.hpp>
Public Attributes | |
EMessageEntity | type |
Type of the entity. | |
int | offset |
Offset in UTF-16 code units to the start of the entity. | |
int | length |
Length of the entity in UTF-16 code units. | |
std::experimental::optional< std::string > | url |
Optional. For “text_link” only, url that will be opened after user taps on the text | |
std::experimental::optional< User > | user |
Optional. For “text_mention” only, the mentioned user | |
Entity in the message.
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc. (https://core.telegram.org/bots/api#messageentity)