Class: TD::Types::ChatMember
- Defined in:
- lib/tdlib/types/chat_member.rb
Overview
Information about a user or a chat as a member of another chat.
Instance Attribute Summary collapse
-
#bot_info ⇒ TD::Types::BotInfo?
If the user is a bot, information about the bot; may be null.
-
#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 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
#bot_info ⇒ TD::Types::BotInfo?
If the user is a bot, information about the bot; may be null. Can be null even for a bot if the bot is not the chat member.
14 15 16 |
# File 'lib/tdlib/types/chat_member.rb', line 14 def bot_info @bot_info end |
#inviter_user_id ⇒ Integer
Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.
14 15 16 |
# File 'lib/tdlib/types/chat_member.rb', line 14 def inviter_user_id @inviter_user_id end |
#joined_chat_date ⇒ Integer
Point in time (Unix timestamp) when the user joined the chat.
14 15 16 |
# File 'lib/tdlib/types/chat_member.rb', line 14 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.
14 15 16 |
# File 'lib/tdlib/types/chat_member.rb', line 14 def member_id @member_id end |
#status ⇒ TD::Types::ChatMemberStatus
Status of the member in the chat.
14 15 16 |
# File 'lib/tdlib/types/chat_member.rb', line 14 def status @status end |