yatbcpp
0.0.1
Yet another Telegram Bot CPP Library
|
#include "ChatMember.h"
Public Member Functions | |
ChatMember (User user, chatmember_status status) | |
ChatMember (const ChatMember &ChatMember) | |
void | setUntil_date (const std::optional< std::int32_t > &until_date) |
void | setCan_be_edited (const std::optional< bool > &can_be_edited) |
void | setCan_change_info (const std::optional< bool > &can_change_info) |
void | setCan_post_messages (const std::optional< bool > &can_post_messages) |
void | setCan_edit_messages (const std::optional< bool > &can_edit_messages) |
void | setCan_delete_messages (const std::optional< bool > &can_delete_messages) |
void | setCan_invite_users (const std::optional< bool > &can_invite_users) |
void | setCan_restrict_members (const std::optional< bool > &can_restrict_members) |
void | setCan_pin_messages (const std::optional< bool > &can_pin_messages) |
void | setCan_promote_members (const std::optional< bool > &can_promote_members) |
void | setCan_send_messages (const std::optional< bool > &can_send_messages) |
void | setCan_send_media_messages (const std::optional< bool > &can_send_media_messages) |
void | setCan_send_other_messages (const std::optional< bool > &can_send_other_messages) |
void | setCan_add_web_page_previews (const std::optional< bool > &can_add_web_page_previews) |
const User & | getUser () const |
const chatmember_status & | getStatus () const |
const std::optional< std::int32_t > & | getUntil_date () const |
const std::optional< bool > & | getCan_be_edited () const |
const std::optional< bool > & | getCan_change_info () const |
const std::optional< bool > & | getCan_post_messages () const |
const std::optional< bool > & | getCan_edit_messages () const |
const std::optional< bool > & | getCan_delete_messages () const |
const std::optional< bool > & | getCan_invite_users () const |
const std::optional< bool > & | getCan_restrict_members () const |
const std::optional< bool > & | getCan_pin_messages () const |
const std::optional< bool > & | getCan_promote_members () const |
const std::optional< bool > & | getCan_send_messages () const |
const std::optional< bool > & | getCan_send_media_messages () const |
const std::optional< bool > & | getCan_send_other_messages () const |
const std::optional< bool > & | getCan_add_web_page_previews () const |
Private Attributes | |
User | user |
chatmember_status | status |
std::optional< std::int32_t > | until_date |
std::optional< bool > | can_be_edited |
std::optional< bool > | can_change_info |
std::optional< bool > | can_post_messages |
std::optional< bool > | can_edit_messages |
std::optional< bool > | can_delete_messages |
std::optional< bool > | can_invite_users |
std::optional< bool > | can_restrict_members |
std::optional< bool > | can_pin_messages |
std::optional< bool > | can_promote_members |
std::optional< bool > | can_send_messages |
std::optional< bool > | can_send_media_messages |
std::optional< bool > | can_send_other_messages |
std::optional< bool > | can_add_web_page_previews |
See also https://core.telegram.org/bots/api#chatmember
Definition at line 11 of file ChatMember.h.
ChatMember::ChatMember | ( | User | user, |
chatmember_status | status | ||
) |
Definition at line 14 of file ChatMember.cc.
ChatMember::ChatMember | ( | const ChatMember & | ChatMember | ) |
Definition at line 20 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_add_web_page_previews | ( | ) | const |
Definition at line 165 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_be_edited | ( | ) | const |
Definition at line 117 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_change_info | ( | ) | const |
Definition at line 121 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_delete_messages | ( | ) | const |
Definition at line 133 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_edit_messages | ( | ) | const |
Definition at line 129 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_invite_users | ( | ) | const |
Definition at line 137 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_pin_messages | ( | ) | const |
Definition at line 145 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_post_messages | ( | ) | const |
Definition at line 125 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_promote_members | ( | ) | const |
Definition at line 149 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_restrict_members | ( | ) | const |
Definition at line 141 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_send_media_messages | ( | ) | const |
Definition at line 157 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_send_messages | ( | ) | const |
Definition at line 153 of file ChatMember.cc.
const optional< bool > & ChatMember::getCan_send_other_messages | ( | ) | const |
Definition at line 161 of file ChatMember.cc.
const chatmember_status & ChatMember::getStatus | ( | ) | const |
Definition at line 109 of file ChatMember.cc.
const optional< int32_t > & ChatMember::getUntil_date | ( | ) | const |
Definition at line 113 of file ChatMember.cc.
const User & ChatMember::getUser | ( | ) | const |
Definition at line 105 of file ChatMember.cc.
void ChatMember::setCan_add_web_page_previews | ( | const std::optional< bool > & | can_add_web_page_previews | ) |
Definition at line 97 of file ChatMember.cc.
void ChatMember::setCan_be_edited | ( | const std::optional< bool > & | can_be_edited | ) |
Definition at line 49 of file ChatMember.cc.
void ChatMember::setCan_change_info | ( | const std::optional< bool > & | can_change_info | ) |
Definition at line 53 of file ChatMember.cc.
void ChatMember::setCan_delete_messages | ( | const std::optional< bool > & | can_delete_messages | ) |
Definition at line 65 of file ChatMember.cc.
void ChatMember::setCan_edit_messages | ( | const std::optional< bool > & | can_edit_messages | ) |
Definition at line 61 of file ChatMember.cc.
void ChatMember::setCan_invite_users | ( | const std::optional< bool > & | can_invite_users | ) |
Definition at line 69 of file ChatMember.cc.
void ChatMember::setCan_pin_messages | ( | const std::optional< bool > & | can_pin_messages | ) |
Definition at line 77 of file ChatMember.cc.
void ChatMember::setCan_post_messages | ( | const std::optional< bool > & | can_post_messages | ) |
Definition at line 57 of file ChatMember.cc.
void ChatMember::setCan_promote_members | ( | const std::optional< bool > & | can_promote_members | ) |
Definition at line 81 of file ChatMember.cc.
void ChatMember::setCan_restrict_members | ( | const std::optional< bool > & | can_restrict_members | ) |
Definition at line 73 of file ChatMember.cc.
void ChatMember::setCan_send_media_messages | ( | const std::optional< bool > & | can_send_media_messages | ) |
Definition at line 89 of file ChatMember.cc.
void ChatMember::setCan_send_messages | ( | const std::optional< bool > & | can_send_messages | ) |
Definition at line 85 of file ChatMember.cc.
void ChatMember::setCan_send_other_messages | ( | const std::optional< bool > & | can_send_other_messages | ) |
Definition at line 93 of file ChatMember.cc.
void ChatMember::setUntil_date | ( | const std::optional< std::int32_t > & | until_date | ) |
Definition at line 45 of file ChatMember.cc.
|
private |
Definition at line 93 of file ChatMember.h.
|
private |
Definition at line 81 of file ChatMember.h.
|
private |
Definition at line 82 of file ChatMember.h.
|
private |
Definition at line 85 of file ChatMember.h.
|
private |
Definition at line 84 of file ChatMember.h.
|
private |
Definition at line 86 of file ChatMember.h.
|
private |
Definition at line 88 of file ChatMember.h.
|
private |
Definition at line 83 of file ChatMember.h.
|
private |
Definition at line 89 of file ChatMember.h.
|
private |
Definition at line 87 of file ChatMember.h.
|
private |
Definition at line 91 of file ChatMember.h.
|
private |
Definition at line 90 of file ChatMember.h.
|
private |
Definition at line 92 of file ChatMember.h.
|
private |
Definition at line 79 of file ChatMember.h.
|
private |
Definition at line 80 of file ChatMember.h.
|
private |
Definition at line 78 of file ChatMember.h.