Class: Vk::API::Messages::Dialog

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/messages/dialog.rb

Overview

Instance Method Summary collapse

Instance Method Details

#in_readInteger

Returns ID of the last message read by current user.

Returns:

  • (Integer)

    ID of the last message read by current user



15
# File 'lib/vk/api/messages/dialog.rb', line 15

attribute :in_read, API::Types::Coercible::Int.optional.default(nil)

#messageAPI::Messages::Message



13
# File 'lib/vk/api/messages/dialog.rb', line 13

attribute :message, Dry::Types[API::Messages::Message].optional.default(nil)

#out_readInteger

Returns ID of the last message read by the others.

Returns:

  • (Integer)

    ID of the last message read by the others



17
# File 'lib/vk/api/messages/dialog.rb', line 17

attribute :out_read, API::Types::Coercible::Int.optional.default(nil)

#unreadInteger

Returns Information whether unread messages are in the dialog.

Returns:

  • (Integer)

    Information whether unread messages are in the dialog



11
# File 'lib/vk/api/messages/dialog.rb', line 11

attribute :unread, API::Types::Coercible::Int.optional.default(nil)