Method: Vk::API::Board::Methods::GetTopics#order

Defined in:
lib/vk/api/board/methods/get_topics.rb

#orderInteger

Returns Sort order:; '1' — by date updated in reverse chronological order.; '2' — by date created in reverse chronological order.; '-1' — by date updated in chronological order.; '-2' — by date created in chronological order.; ; If no sort order is specified, topics are returned in the order specified by the group administrator. Pinned topics are returned first, regardless of the sorting.

Returns:

  • (Integer)

    Sort order:; '1' — by date updated in reverse chronological order.; '2' — by date created in reverse chronological order.; '-1' — by date updated in chronological order.; '-2' — by date created in chronological order.; ; If no sort order is specified, topics are returned in the order specified by the group administrator. Pinned topics are returned first, regardless of the sorting.



34
# File 'lib/vk/api/board/methods/get_topics.rb', line 34

attribute :order, API::Types::Coercible::Int.enum("1", "2", "-1", "-2").optional.default(nil)