Sha256: 60bd30f9c9f80d53402ae8e60c339602df86804555e47215e909057b27fce8c3

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

module TD::Types
  # Information about a user or a chat as a member of another chat.
  #
  # @attr 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.
  # @attr inviter_user_id [Integer] Identifier of a user that invited/promoted/banned this member in the chat; 0 if
  #   unknown.
  # @attr joined_chat_date [Integer] Point in time (Unix timestamp) when the user joined the chat.
  # @attr status [TD::Types::ChatMemberStatus] Status of the member in the chat.
  # @attr bot_info [TD::Types::BotInfo, nil] 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.
  class ChatMember < Base
    attribute :member_id, TD::Types::MessageSender
    attribute :inviter_user_id, TD::Types::Integer
    attribute :joined_chat_date, TD::Types::Integer
    attribute :status, TD::Types::ChatMemberStatus
    attribute :bot_info, TD::Types::BotInfo.optional.default(nil)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/chat_member.rb