You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Entities/ChatMember.php
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
* @method bool getCanRestrictMembers() Optional. Administrators only. True, if the administrator can restrict, ban or unban chat members
28
28
* @method bool getCanPinMessages() Optional. Administrators only. True, if the administrator can pin messages, supergroups only
29
29
* @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
+
* @method bool getIsMember() Optional. Restricted only. True, if the user is a member of the chat at the moment of the request
30
31
* @method bool getCanSendMessages() Optional. Restricted only. True, if the user can send text messages, contacts, locations and venues
31
32
* @method bool getCanSendMediaMessages() Optional. Restricted only. True, if the user can send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages
32
33
* @method bool getCanSendOtherMessages() Optional. Restricted only. True, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages
Copy file name to clipboardExpand all lines: src/Entities/Message.php
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@
28
28
* @method Chat getForwardFromChat() Optional. For messages forwarded from a channel, information about the original channel
29
29
* @method int getForwardFromMessageId() Optional. For forwarded channel posts, identifier of the original message in the channel
30
30
* @method string getForwardSignature() Optional. For messages forwarded from channels, signature of the post author if present
31
+
* @method string getForwardSenderName() Optional. Sender's name for messages forwarded from users who disallow adding a link to their account in forwarded messages
31
32
* @method int getForwardDate() Optional. For forwarded messages, date the original message was sent in Unix time
32
33
* @method Message getReplyToMessage() Optional. For replies, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.
33
34
* @method int getEditDate() Optional. Date the message was last edited in Unix time
@@ -45,6 +46,7 @@
45
46
* @method Contact getContact() Optional. Message is a shared contact, information about the contact
46
47
* @method Location getLocation() Optional. Message is a shared location, information about the location
47
48
* @method Venue getVenue() Optional. Message is a venue, information about the venue
49
+
* @method Poll getPoll() Optional. Message is a native poll, information about the poll
48
50
* @method User getLeftChatMember() Optional. A member was removed from the group, information about them (this member may be the bot itself)
49
51
* @method string getNewChatTitle() Optional. A chat title was changed to this value
50
52
* @method bool getDeleteChatPhoto() Optional. Service message: the chat photo was deleted
@@ -86,6 +88,7 @@ protected function subEntities()
0 commit comments