Inherits UserType.
A bot (see https://core.tlgr.org/bots).
Public Fields | |
bool | can_join_groups_ |
True, if the bot can be invited to basic group and supergroup chats. | |
bool | can_read_all_group_messages_ |
True, if the bot can read all messages in basic group or supergroup chats and not just those addressed to the bot. In private and channel chats a bot can always read all messages. | |
bool | is_inline_ |
True, if the bot supports inline queries. | |
string | inline_query_placeholder_ |
Placeholder for inline queries (displayed on the application input field). | |
bool | need_location_ |
True, if the location of the user is expected to be sent with every inline query to this bot. | |
Public Instance Methods | |
userTypeBot () | |
userTypeBot (bool can_join_groups_, bool can_read_all_group_messages_, bool is_inline_, string const &inline_query_placeholder_, bool need_location_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1262387765 |
Identifier uniquely determining a type of the object. | |
userTypeBot | ( | ) |
A bot (see https://core.tlgr.org/bots).
userTypeBot | ( | bool | can_join_groups_, |
bool | can_read_all_group_messages_, | ||
bool | is_inline_, | ||
string const & | inline_query_placeholder_, | ||
bool | need_location_ | ||
) |
A bot (see https://core.tlgr.org/bots).
[in] | can_join_groups_ | True, if the bot can be invited to basic group and supergroup chats. |
[in] | can_read_all_group_messages_ | True, if the bot can read all messages in basic group or supergroup chats and not just those addressed to the bot. In private and channel chats a bot can always read all messages. |
[in] | is_inline_ | True, if the bot supports inline queries. |
[in] | inline_query_placeholder_ | Placeholder for inline queries (displayed on the application input field). |
[in] | need_location_ | True, if the location of the user is expected to be sent with every inline query to this bot. |
|
inlinefinalvirtual |
|
finalvirtual |