Telebot
4.7.0
Library for Telegram bot API
|
This object contains information about one member of a chat. More...
#include <telebot-types.h>
Public Attributes | |
struct telebot_user * | user |
char * | status |
char * | custom_title |
long | until_date |
bool | can_be_edited |
bool | can_post_messages |
bool | can_edit_messages |
bool | can_delete_messages |
bool | can_restrict_members |
bool | can_promote_members |
bool | can_change_info |
bool | can_invite_users |
bool | can_pin_messages |
bool | is_member |
bool | can_send_messages |
bool | can_send_media_messages |
bool | can_send_polls |
bool | can_send_other_messages |
bool | can_add_web_page_previews |
This object contains information about one member of a chat.
bool telebot_chat_member::can_add_web_page_previews |
Optional. Restricted only. True, if the user is allowed to add web page previews to their messages
bool telebot_chat_member::can_be_edited |
Optional. Administrators only. True, if the bot is allowed to edit administrator privileges of that user.
bool telebot_chat_member::can_change_info |
Optional. Administrators and restricted only. True, if the user is allowed to change the chat title, photo and other settings.
bool telebot_chat_member::can_delete_messages |
Optional. Administrators only. True, if the administrator can delete messages of other users.
bool telebot_chat_member::can_edit_messages |
Optional. Administrators only. True, if the administrator can edit messages of other users and can pin messages; channels only.
bool telebot_chat_member::can_invite_users |
Optional. Administrators and restricted only. True, if the user is allowed to invite new users to the chat.
bool telebot_chat_member::can_pin_messages |
Optional. Administrators and restricted only. True, if the user is allowed to pin messages; groups and supergroups only.
bool telebot_chat_member::can_post_messages |
Optional. Administrators only. True, if the administrator can post in the channel; channels only.
bool telebot_chat_member::can_promote_members |
Optional. Administrators only. True, if the administrator can add new administrators with a subset of his own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by the user).
bool telebot_chat_member::can_restrict_members |
Optional. Administrators only. True, if the administrator can restrict, ban or unban chat members.
bool telebot_chat_member::can_send_media_messages |
Optional. Restricted only. True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes
bool telebot_chat_member::can_send_messages |
Optional. Restricted only. True, if the user is allowed to send text messages, contacts, locations and venues
bool telebot_chat_member::can_send_other_messages |
Optional. Restricted only. True, if the user is allowed to send animations, games, stickers and use inline bots
bool telebot_chat_member::can_send_polls |
Optional. Restricted only. True, if the user is allowed to send polls.
char* telebot_chat_member::custom_title |
Optional. Owner and administrators only. Custom title for this user.
bool telebot_chat_member::is_member |
Optional. Restricted only. True, if the user is a member of the chat at the moment of the request
char* telebot_chat_member::status |
The member's status in the chat. Can be "creator", "administrator"”, "member", "restricted", "left" or "kicked".
long telebot_chat_member::until_date |
Optional. Restricted and kicked only. Date when restrictions will be lifted for this user; unix time.
struct telebot_user* telebot_chat_member::user |
Information about the user.