Sha256: 9b1c4710a7a107866d096028fa40a51032265d4a3a413621c7ca40641d7458eb

Contents?: true

Size: 786 Bytes

Versions: 3

Compression:

Stored size: 786 Bytes

Contents

module TD::Types
  # Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
  #
  # @attr id [Integer] Group identifier.
  # @attr member_count [Integer] Number of members in the group.
  # @attr status [TD::Types::ChatMemberStatus] Status of the current user in the group.
  # @attr is_active [Boolean] True, if the group is active.
  # @attr upgraded_to_supergroup_id [Integer] Identifier of the supergroup to which this group was upgraded; 0 if none.
  class BasicGroup < Base
    attribute :id, TD::Types::Integer
    attribute :member_count, TD::Types::Integer
    attribute :status, TD::Types::ChatMemberStatus
    attribute :is_active, TD::Types::Bool
    attribute :upgraded_to_supergroup_id, TD::Types::Integer
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/basic_group.rb
tdlib-ruby-2.2.0 lib/tdlib/types/basic_group.rb
tdlib-ruby-2.1.0 lib/tdlib/types/basic_group.rb