|
20 | 20 | * @method string getStatus() The member's status in the chat. Can be “creator”, “administrator”, “member”, “restricted”, “left” or “kicked”
|
21 | 21 | * @method string getCustomTitle() Optional. Owner and administrators only. Custom title for this user
|
22 | 22 | * @method bool getIsAnonymous() Optional. Owner and administrators only. True, if the user's presence in the chat is hidden
|
23 |
| - * @method int getUntilDate() Optional. Restricted and kicked only. Date when restrictions will be lifted for this user, unix time |
24 | 23 | * @method bool getCanBeEdited() Optional. Administrators only. True, if the bot is allowed to edit administrator privileges of that user
|
| 24 | + * @method bool getCanManageChat() Optional. Administrators only. True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege |
25 | 25 | * @method bool getCanPostMessages() Optional. Administrators only. True, if the administrator can post in the channel, channels only
|
26 | 26 | * @method bool getCanEditMessages() Optional. Administrators only. True, if the administrator can edit messages of other users, channels only
|
27 | 27 | * @method bool getCanDeleteMessages() Optional. Administrators only. True, if the administrator can delete messages of other users
|
| 28 | + * @method bool getCanManageVoiceChats() Optional. Administrators only. True, if the administrator can manage voice chats |
28 | 29 | * @method bool getCanRestrictMembers() Optional. Administrators only. True, if the administrator can restrict, ban or unban chat members
|
29 | 30 | * @method bool getCanPromoteMembers() 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)
|
30 | 31 | * @method bool getCanChangeInfo() Optional. Administrators and restricted only. True, if the user is allowed to change the chat title, photo and other settings
|
|
36 | 37 | * @method bool getCanSendPolls() Optional. Restricted only. True, if the user is allowed to send polls
|
37 | 38 | * @method bool getCanSendOtherMessages() Optional. Restricted only. True, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages
|
38 | 39 | * @method bool getCanAddWebPagePreviews() Optional. Restricted only. True, if user may add web page previews to his messages, implies can_send_media_messages
|
| 40 | + * @method int getUntilDate() Optional. Restricted and kicked only. Date when restrictions will be lifted for this user, unix time |
39 | 41 | */
|
40 | 42 | class ChatMember extends Entity
|
41 | 43 | {
|
|
0 commit comments