Class: TD::Types::PollType::Regular

Inherits:
TD::Types::PollType show all
Defined in:
lib/tdlib/types/poll_type/regular.rb

Overview

A regular poll.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#allow_multiple_answersBoolean

True, if multiple answer options can be chosen simultaneously.

Returns:

  • (Boolean)

    the current value of allow_multiple_answers



5
6
7
# File 'lib/tdlib/types/poll_type/regular.rb', line 5

def allow_multiple_answers
  @allow_multiple_answers
end