Sha256: 25d3d871be082a508037f47d7c5987ce4ab67fd45f993801871cdeb73179d892

Contents?: true

Size: 843 Bytes

Versions: 2

Compression:

Stored size: 843 Bytes

Contents

module TD::Types
  # The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be
  #   blocked using the method blockUser, or the other user can be added to the contact list using the method addContact.
  #
  # @attr can_unarchive [Boolean] If true, the chat was automatically archived and can be moved back to the main chat
  #   list using addChatToList simultaneously with setting chat notification settings to default using
  #   setChatNotificationSettings.
  # @attr distance [Integer] If non-negative, the current user was found by the peer through searchChatsNearby and this
  #   is the distance between the users.
  class ChatActionBar::ReportAddBlock < ChatActionBar
    attribute :can_unarchive, TD::Types::Bool
    attribute :distance, TD::Types::Coercible::Integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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