Class: Vk::API::Account::Methods::SetOnline

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/account/methods/set_online.rb

Overview

Marks the current user as online for 15 minutes.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Account::Methods::SetOnline

Options Hash (arguments):

  • :voip (Boolean)

    '1' if videocalls are available for current device.



# File 'lib/vk/api/account/methods/set_online.rb', line 15


Instance Method Details

#voipBoolean



23
# File 'lib/vk/api/account/methods/set_online.rb', line 23

attribute :voip, API::Types::Form::Bool.optional.default(nil)