class Tourmaline::ChatMemberUpdated
inherits Reference
#
This object represents changes in the status of a chat member.
Included modules
JSON::Serializable
Constructors#
.new(chat, from, date, old_chat_member, new_chat_member, invite_link : Tourmaline::ChatInviteLink? = nil, via_join_request : Bool? = nil, via_chat_folder_invite_link : Bool? = nil)
#
(chat, from, date, old_chat_member, new_chat_member, invite_link : Tourmaline::ChatInviteLink? = nil, via_join_request : Bool? = nil, via_chat_folder_invite_link : Bool? = nil)
Methods#
#invite_link : Tourmaline::ChatInviteLink?
#
: Tourmaline::ChatInviteLink?
Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
#invite_link=(invite_link : Tourmaline::ChatInviteLink?)
#
(invite_link : Tourmaline::ChatInviteLink?)
Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
#new_chat_member=(new_chat_member : Tourmaline::ChatMember)
#
(new_chat_member : Tourmaline::ChatMember)
New information about the chat member
#old_chat_member=(old_chat_member : Tourmaline::ChatMember)
#
(old_chat_member : Tourmaline::ChatMember)
Previous information about the chat member
#via_chat_folder_invite_link=(via_chat_folder_invite_link : Bool?)
#
(via_chat_folder_invite_link : Bool?)
Optional. True, if the user joined the chat via a chat folder invite link
#via_chat_folder_invite_link? : Bool?
#
: Bool?
Optional. True, if the user joined the chat via a chat folder invite link
#via_join_request=(via_join_request : Bool?)
#
(via_join_request : Bool?)
Optional. True, if the user joined the chat after sending a direct join request and being approved by an administrator
#via_join_request? : Bool?
#
: Bool?
Optional. True, if the user joined the chat after sending a direct join request and being approved by an administrator