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
* @method string GetInviteLink() The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”
22
+
* @method User getCreator() Creator of the link
23
+
* @method bool getIsPrimary() True, if the link is primary
24
+
* @method bool getIsRevoked() True, if the link is revoked
25
+
* @method int getExpireDate() Optional. Point in time (Unix timestamp) when the link will expire or has been expired
26
+
* @method int getMemberLimit() Optional. Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
* @method User getUser() Performer of the action, which resulted in the change
23
+
* @method int getDate() Date the change was done in Unix time
24
+
* @method ChatMember getOldChatMember() Previous information about the chat member
25
+
* @method ChatMember getNewChatMember() New information about the chat member
26
+
* @method ChatInviteLink getInviteLink() Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
Copy file name to clipboardExpand all lines: src/Entities/Update.php
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@
31
31
* @method PreCheckoutQuery getPreCheckoutQuery() Optional. New incoming pre-checkout query. Contains full information about checkout
32
32
* @method Poll getPoll() Optional. New poll state. Bots receive only updates about polls, which are sent or stopped by the bot
33
33
* @method PollAnswer getPollAnswer() Optional. A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls that were sent by the bot itself.
34
+
* @method ChatMemberUpdated getMyChatMember() Optional. The bot's chat member status was updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user.
35
+
* @method ChatMemberUpdated getChatMember() Optional. A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify “chat_member” in the list of allowed_updates to receive these updates.
34
36
*/
35
37
class Update extends Entity
36
38
{
@@ -51,6 +53,8 @@ protected function subEntities(): array
0 commit comments