Skip to content

Commit 889cc66

Browse files
author
massadm
committed
Added new fields to class ChatMember
1 parent 9ca6158 commit 889cc66

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Entities/ChatMember.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@
2020
* @method string getStatus() The member's status in the chat. Can be “creator”, “administrator”, “member”, “restricted”, “left” or “kicked”
2121
* @method string getCustomTitle() Optional. Owner and administrators only. Custom title for this user
2222
* @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
2423
* @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
2525
* @method bool getCanPostMessages() Optional. Administrators only. True, if the administrator can post in the channel, channels only
2626
* @method bool getCanEditMessages() Optional. Administrators only. True, if the administrator can edit messages of other users, channels only
2727
* @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
2829
* @method bool getCanRestrictMembers() Optional. Administrators only. True, if the administrator can restrict, ban or unban chat members
2930
* @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)
3031
* @method bool getCanChangeInfo() Optional. Administrators and restricted only. True, if the user is allowed to change the chat title, photo and other settings
@@ -36,6 +37,7 @@
3637
* @method bool getCanSendPolls() Optional. Restricted only. True, if the user is allowed to send polls
3738
* @method bool getCanSendOtherMessages() Optional. Restricted only. True, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages
3839
* @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
3941
*/
4042
class ChatMember extends Entity
4143
{

0 commit comments

Comments
 (0)