ChatMemberUpdated
class ChatMemberUpdated
This object represents changes in the status of a chat member.
Methods
__construct(Chat $chat, User $from, int $date, ChatMemberInterface $old_chat_member, ChatMemberInterface $new_chat_member, ChatInviteLink|null $invite_link = null)
No description
int
getDate()
Date the change was done in Unix time.
getOldChatMember()
Previous information about the chat member.
getNewChatMember()
New information about the chat member.
ChatInviteLink|null
getInviteLink()
Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
Details
at line 18
__construct(Chat $chat, User $from, int $date, ChatMemberInterface $old_chat_member, ChatMemberInterface $new_chat_member, ChatInviteLink|null $invite_link = null)
No description
at line 31
Chat
getChat()
Chat the user belongs to.
at line 39
User
getFrom()
Performer of the action, which resulted in the change.
at line 47
int
getDate()
Date the change was done in Unix time.
at line 55
ChatMemberInterface
getOldChatMember()
Previous information about the chat member.
at line 63
ChatMemberInterface
getNewChatMember()
New information about the chat member.
at line 71
ChatInviteLink|null
getInviteLink()
Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.