Cppgram  1.0.0
Easy and modern C++14 Telegram Bot API wrapper
Public Attributes | List of all members
MessageEntity Class Reference

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< Useruser
 Optional. For “text_mention” only, the mentioned user
 

Detailed Description

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)


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