class Telegram::API::ChatMemberUpdated
- Telegram::API::ChatMemberUpdated
- Telegram::API::Type
- Reference
- Object
Overview
This object represents changes in the status of a chat member.
Defined in:
telegram/api/generated/types.crConstructors
- .new(chat : Chat, from : User, date : Time, old_chat_member : ChatMember, new_chat_member : ChatMember, invite_link : ChatInviteLink | Nil = nil)
-
.new(pull : JSON::PullParser)
This object represents changes in the status of a chat member.
Instance Method Summary
-
#chat : Chat
Chat the user belongs to
-
#chat=(chat : Chat)
Chat the user belongs to
-
#date : Time
Date the change was done in Unix time
-
#date=(date : Time)
Date the change was done in Unix time
-
#from : User
Performer of the action, which resulted in the change
-
#from=(from : User)
Performer of the action, which resulted in the change
-
#invite_link : ChatInviteLink | Nil
Optional.
-
#invite_link=(invite_link : ChatInviteLink | Nil)
Optional.
-
#new_chat_member : ChatMember
New information about the chat member
-
#new_chat_member=(new_chat_member : ChatMember)
New information about the chat member
-
#old_chat_member : ChatMember
Previous information about the chat member
-
#old_chat_member=(old_chat_member : ChatMember)
Previous information about the chat member
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
This object represents changes in the status of a chat member.
Instance Method Detail
Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.