Class: Vk::API::Messages::Methods::DeleteDialog
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Messages::Methods::DeleteDialog
- Defined in:
- lib/vk/api/messages/methods/delete_dialog.rb
Overview
Deletes all private messages in a conversation.
Arguments collapse
-
#count ⇒ Integer
Number of messages to delete.; "NOTE: If the number of messages exceeds the maximum, the method shall be called several times.".
-
#offset ⇒ Integer
Offset needed to return a specific subset of messages.
-
#peer_id ⇒ Integer
Destination ID.; ; "For user:; 'User ID', e.g.
-
#user_id ⇒ String
User ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Messages::Methods::DeleteDialog
|
# File 'lib/vk/api/messages/methods/delete_dialog.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of messages to delete.; "NOTE: If the number of messages exceeds the maximum, the method shall be called several times.".
32 |
# File 'lib/vk/api/messages/methods/delete_dialog.rb', line 32 attribute :count, API::Types::Coercible::Int.optional.default(nil) |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of messages.
30 |
# File 'lib/vk/api/messages/methods/delete_dialog.rb', line 30 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |
#peer_id ⇒ Integer
Returns Destination ID.; ; "For user:; 'User ID', e.g. '12345'.; ; For chat:; '2000000000' + 'chat_id', e.g. '2000000001'.; ; For community:; '- community ID', e.g. '-12345'.; ".
28 |
# File 'lib/vk/api/messages/methods/delete_dialog.rb', line 28 attribute :peer_id, API::Types::Coercible::Int.optional.default(nil) |