Class: Vk::API::Pages::Methods::ParseWiki

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

Overview

Returns HTML representation of the wiki markup.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Pages::Methods::ParseWiki

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :text (String)

    Text of the wiki page.

  • :group_id (Integer)

    ID of the group in the context of which this markup is interpreted.;


# File 'lib/vk/api/pages/methods/parse_wiki.rb', line 15

Instance Method Details

#group_idInteger

Returns ID of the group in the context of which this markup is interpreted.;.

Returns:

  • (Integer)

    ID of the group in the context of which this markup is interpreted.;


26
# File 'lib/vk/api/pages/methods/parse_wiki.rb', line 26

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

#textString

Returns Text of the wiki page.

Returns:

  • (String)

    Text of the wiki page.


24
# File 'lib/vk/api/pages/methods/parse_wiki.rb', line 24

attribute :text, API::Types::Coercible::String