class
Hamilton::Types::ChatMemberUpdated
- Hamilton::Types::ChatMemberUpdated
- Reference
- Object
Overview
This object represents changes in the status of a chat member.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/chat_member_update.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#chat : Hamilton::Types::Chat
Chat the user belongs to.
-
#chat=(chat : Hamilton::Types::Chat)
Chat the user belongs to.
-
#date : Int32
Date the change was done in Unix time.
-
#date=(date : Int32)
Date the change was done in Unix time.
-
#from : Hamilton::Types::User
Performer of the action, which resulted in the change.
-
#from=(from : Hamilton::Types::User)
Performer of the action, which resulted in the change.
-
#invite_link : Hamilton::Types::ChatInviteLink | Nil
Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
-
#invite_link=(invite_link : Hamilton::Types::ChatInviteLink | Nil)
Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
-
#new_chat_member : Hamilton::Types::ChatMember
New information about the chat member.
-
#new_chat_member=(new_chat_member : Hamilton::Types::ChatMember)
New information about the chat member.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#old_chat_member : Hamilton::Types::ChatMember
Previous information about the chat member.
-
#old_chat_member=(old_chat_member : Hamilton::Types::ChatMember)
Previous information about the chat member.
-
#via_chat_folder_invite_link : Bool | Nil
True, if the user joined the chat via a chat folder invite link.
-
#via_chat_folder_invite_link=(via_chat_folder_invite_link : Bool | Nil)
True, if the user joined the chat via a chat folder invite link.
-
#via_join_request : Bool | Nil
True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator.
-
#via_join_request=(via_join_request : Bool | Nil)
True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
New information about the chat member.
Previous information about the chat member.
True, if the user joined the chat via a chat folder invite link.
True, if the user joined the chat via a chat folder invite link.
True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator.
True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator.