Sha256: 0b3fa3a6c57b4e3e98bd13737eab3d83d20ad30031fdd27e69723427d26e784f

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 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 has no access to the chat before joining.
  # @attr accessible_for [Integer] If non-zero, the amount of time for which read access to the chat will remain
  #   available, in seconds.
  # @attr type [TD::Types::ChatType] Contains information about the type of the chat.
  # @attr title [TD::Types::String] Title of the chat.
  # @attr photo [TD::Types::ChatPhotoInfo, nil] Chat photo; may be null.
  # @attr member_count [Integer] Number of members in the chat.
  # @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::Coercible::Integer
    attribute :accessible_for, TD::Types::Coercible::Integer
    attribute :type, TD::Types::ChatType
    attribute :title, TD::Types::String
    attribute :photo, TD::Types::ChatPhotoInfo.optional.default(nil)
    attribute :member_count, TD::Types::Coercible::Integer
    attribute :member_user_ids, TD::Types::Array.of(TD::Types::Coercible::Integer)
    attribute :is_public, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/chat_invite_link_info.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/chat_invite_link_info.rb