Sha256: 8e96157416c5188168c042f5e954ebff5d5548a6d6f0254d9acf6fa582f7d2d3

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

module TD::Types
  # Contains information about a chat invite link.
  #
  # @attr chat_id [Integer] Chat identifier of the invite link; 0 if the user is not a member of this chat.
  # @attr type [TD::Types::ChatType] Contains information about the type of the chat.
  # @attr title [String] Title of the chat.
  # @attr photo [TD::Types::ChatPhoto, nil] Chat photo; may be null.
  # @attr member_count [Integer] Number of members.
  # @attr member_user_ids [Array<Integer>] User identifiers of some chat members that may be known to the current user.
  # @attr is_public [Boolean] True, if the chat is a public supergroup or channel, i.e.
  #   it has a username or it is a location-based supergroup.
  class ChatInviteLinkInfo < Base
    attribute :chat_id, TD::Types::Integer
    attribute :type, TD::Types::ChatType
    attribute :title, TD::Types::String
    attribute :photo, TD::Types::ChatPhoto.optional.default(nil)
    attribute :member_count, TD::Types::Integer
    attribute :member_user_ids, TD::Types::Array.of(TD::Types::Integer)
    attribute :is_public, TD::Types::Bool
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/chat_invite_link_info.rb