Class: Vk::API::Groups::Methods::SetCallbackSettings

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

Overview

Allow to set notifications settings for .

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Groups::Methods::SetCallbackSettings

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID.

  • :message_new (Boolean)

    New messages notificaitions ('0' — disabled, '1' — enabled).

  • :photo_new (Boolean)

    New photos notificaitions ('0' — disabled, '1' — enabled).

  • :audio_new (Boolean)

    New audios notificaitions ('0' — disabled, '1' — enabled).

  • :video_new (Boolean)

    New videos notificaitions ('0' — disabled, '1' — enabled).

  • :wall_reply_new (Boolean)

    New wall replies notificaitions ('0' — disabled, '1' — enabled).

  • :wall_reply_edit (Boolean)

    Wall replies edited notificaitions ('0' — disabled, '1' — enabled).

  • :wall_post_new (Boolean)

    New wall posts notificaitions ('0' — disabled, '1' — enabled).

  • :board_post_new (Boolean)

    New board posts notificaitions ('0' — disabled, '1' — enabled).

  • :board_post_edit (Boolean)

    Board posts edited notificaitions ('0' — disabled, '1' — enabled).

  • :board_post_restore (Boolean)

    Board posts restored notificaitions ('0' — disabled, '1' — enabled).

  • :board_post_delete (Boolean)

    Board posts deleted notificaitions ('0' — disabled, '1' — enabled).

  • :photo_comment_new (Boolean)

    New comment to photo notificaitions ('0' — disabled, '1' — enabled).

  • :video_comment_new (Boolean)

    New comment to video notificaitions ('0' — disabled, '1' — enabled).

  • :market_comment_new (Boolean)

    New comment to market item notificaitions ('0' — disabled, '1' — enabled).

  • :group_join (Boolean)

    Joined community notificaitions ('0' — disabled, '1' — enabled).

  • :group_leave (Boolean)

    Left community notificaitions ('0' — disabled, '1' — enabled).



# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 15

Instance Method Details

#audio_newBoolean

Returns New audios notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New audios notificaitions ('0' — disabled, '1' — enabled).



45
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 45

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

#board_post_deleteBoolean

Returns Board posts deleted notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    Board posts deleted notificaitions ('0' — disabled, '1' — enabled).



61
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 61

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

#board_post_editBoolean

Returns Board posts edited notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    Board posts edited notificaitions ('0' — disabled, '1' — enabled).



57
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 57

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

#board_post_newBoolean

Returns New board posts notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New board posts notificaitions ('0' — disabled, '1' — enabled).



55
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 55

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

#board_post_restoreBoolean

Returns Board posts restored notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    Board posts restored notificaitions ('0' — disabled, '1' — enabled).



59
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 59

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

#group_idInteger

Returns Community ID.

Returns:

  • (Integer)

    Community ID.



39
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 39

attribute :group_id, API::Types::Coercible::Int

#group_joinBoolean

Returns Joined community notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    Joined community notificaitions ('0' — disabled, '1' — enabled).



69
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 69

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

#group_leaveBoolean

Returns Left community notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    Left community notificaitions ('0' — disabled, '1' — enabled).



71
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 71

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

#market_comment_newBoolean

Returns New comment to market item notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New comment to market item notificaitions ('0' — disabled, '1' — enabled).



67
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 67

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

#message_newBoolean

Returns New messages notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New messages notificaitions ('0' — disabled, '1' — enabled).



41
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 41

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

#photo_comment_newBoolean

Returns New comment to photo notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New comment to photo notificaitions ('0' — disabled, '1' — enabled).



63
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 63

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

#photo_newBoolean

Returns New photos notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New photos notificaitions ('0' — disabled, '1' — enabled).



43
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 43

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

#video_comment_newBoolean

Returns New comment to video notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New comment to video notificaitions ('0' — disabled, '1' — enabled).



65
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 65

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

#video_newBoolean

Returns New videos notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New videos notificaitions ('0' — disabled, '1' — enabled).



47
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 47

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

#wall_post_newBoolean

Returns New wall posts notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New wall posts notificaitions ('0' — disabled, '1' — enabled).



53
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 53

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

#wall_reply_editBoolean

Returns Wall replies edited notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    Wall replies edited notificaitions ('0' — disabled, '1' — enabled).



51
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 51

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

#wall_reply_newBoolean

Returns New wall replies notificaitions ('0' — disabled, '1' — enabled).

Returns:

  • (Boolean)

    New wall replies notificaitions ('0' — disabled, '1' — enabled).



49
# File 'lib/vk/api/groups/methods/set_callback_settings.rb', line 49

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