Sha256: 81c7f7d60dfe9428cb7e451a8620a65417dcce90a71b87059d5d103a9ec6b935

Contents?: true

Size: 694 Bytes

Versions: 1

Compression:

Stored size: 694 Bytes

Contents

module TD::Types
  # Describes a position of a chat in a chat list.
  #
  # @attr list [TD::Types::ChatList] The chat list.
  # @attr order [Integer] A parameter used to determine order of the chat in the chat list.
  #   Chats must be sorted by the pair (order, chat.id) in descending order.
  # @attr is_pinned [Boolean] True, if the chat is pinned in the chat list.
  # @attr source [TD::Types::ChatSource, nil] Source of the chat in the chat list; may be null.
  class ChatPosition < Base
    attribute :list, TD::Types::ChatList
    attribute :order, TD::Types::Integer
    attribute :is_pinned, TD::Types::Bool
    attribute :source, TD::Types::ChatSource.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_position.rb