Class: TD::Types::ChatMember
- Defined in:
- lib/tdlib/types/chat_member.rb
Overview
Describes a user or a chat as a member of another chat.
Instance Attribute Summary collapse
-
#inviter_user_id ⇒ Integer
Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.
-
#joined_chat_date ⇒ Integer
Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat.
-
#member_id ⇒ TD::Types::MessageSender
Identifier of the chat member.
-
#status ⇒ TD::Types::ChatMemberStatus
Status of the member in the chat.
Method Summary
Methods inherited from Base
Instance Attribute Details
#inviter_user_id ⇒ Integer
Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.
13 14 15 |
# File 'lib/tdlib/types/chat_member.rb', line 13 def inviter_user_id @inviter_user_id end |
#joined_chat_date ⇒ Integer
Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat.
13 14 15 |
# File 'lib/tdlib/types/chat_member.rb', line 13 def joined_chat_date @joined_chat_date end |
#member_id ⇒ TD::Types::MessageSender
Identifier of the chat member. Currently, other chats can be only Left or Banned. Only supergroups and channels can have other chats as Left or Banned members and these chats must be supergroups or channels.
13 14 15 |
# File 'lib/tdlib/types/chat_member.rb', line 13 def member_id @member_id end |
#status ⇒ TD::Types::ChatMemberStatus
Status of the member in the chat.
13 14 15 |
# File 'lib/tdlib/types/chat_member.rb', line 13 def status @status end |