Class: Vk::API::Account::PushSettings

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/account/push_settings.rb

Overview

Instance Method Summary collapse

Instance Method Details

#conversationsObject


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

attribute :conversations, API::Types::Coercible::Hash.optional.default(nil)

#disabledAPI::Base::BoolInt

Returns Information whether notifications are disabled.

Returns:


11
# File 'lib/vk/api/account/push_settings.rb', line 11

attribute :disabled, API::Base::BoolInt.optional.default(nil)

#disabled_untilInteger

Returns Time until that notifications are disabled in Unixtime.

Returns:

  • (Integer)

    Time until that notifications are disabled in Unixtime


13
# File 'lib/vk/api/account/push_settings.rb', line 13

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

#settingsAPI::Account::PushParams


17
# File 'lib/vk/api/account/push_settings.rb', line 17

attribute :settings, Dry::Types[API::Account::PushParams].optional.default(nil)