Class: TD::Types::ChatMember
- Defined in:
- lib/tdlib/types/chat_member.rb
Overview
A user with information about joining/leaving a 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 a chat.
-
#status ⇒ TD::Types::ChatMemberStatus
Status of the member in the chat.
-
#user_id ⇒ Integer
User identifier of the chat member.
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 a chat member.
11 12 13 |
# File 'lib/tdlib/types/chat_member.rb', line 11 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.
11 12 13 |
# File 'lib/tdlib/types/chat_member.rb', line 11 def inviter_user_id @inviter_user_id end |
#joined_chat_date ⇒ Integer
Point in time (Unix timestamp) when the user joined a chat.
11 12 13 |
# File 'lib/tdlib/types/chat_member.rb', line 11 def joined_chat_date @joined_chat_date end |
#status ⇒ TD::Types::ChatMemberStatus
Status of the member in the chat.
11 12 13 |
# File 'lib/tdlib/types/chat_member.rb', line 11 def status @status end |
#user_id ⇒ Integer
User identifier of the chat member.
11 12 13 |
# File 'lib/tdlib/types/chat_member.rb', line 11 def user_id @user_id end |