Class: TD::Types::Update::ChatMember
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::ChatMember
- Defined in:
- lib/tdlib/types/update/chat_member.rb
Overview
User rights changed in a chat; for bots only.
Instance Attribute Summary collapse
-
#actor_user_id ⇒ Integer
Identifier of the user, changing the rights.
-
#chat_id ⇒ Integer
Chat identifier.
-
#date ⇒ Integer
Point in time (Unix timestamp) when the user rights was changed.
-
#invite_link ⇒ TD::Types::ChatInviteLink?
If user has joined the chat using an invite link, the invite link; may be null.
-
#new_chat_member ⇒ TD::Types::ChatMember
New chat member.
-
#old_chat_member ⇒ TD::Types::ChatMember
Previous chat member.
Method Summary
Methods inherited from Base
Instance Attribute Details
#actor_user_id ⇒ Integer
Identifier of the user, changing the rights.
11 12 13 |
# File 'lib/tdlib/types/update/chat_member.rb', line 11 def actor_user_id @actor_user_id end |
#chat_id ⇒ Integer
Chat identifier.
11 12 13 |
# File 'lib/tdlib/types/update/chat_member.rb', line 11 def chat_id @chat_id end |
#date ⇒ Integer
Point in time (Unix timestamp) when the user rights was changed.
11 12 13 |
# File 'lib/tdlib/types/update/chat_member.rb', line 11 def date @date end |
#invite_link ⇒ TD::Types::ChatInviteLink?
If user has joined the chat using an invite link, the invite link; may be null.
11 12 13 |
# File 'lib/tdlib/types/update/chat_member.rb', line 11 def invite_link @invite_link end |
#new_chat_member ⇒ TD::Types::ChatMember
New chat member.
11 12 13 |
# File 'lib/tdlib/types/update/chat_member.rb', line 11 def new_chat_member @new_chat_member end |
#old_chat_member ⇒ TD::Types::ChatMember
Previous chat member.
11 12 13 |
# File 'lib/tdlib/types/update/chat_member.rb', line 11 def old_chat_member @old_chat_member end |