Sha256: 93f0692b5b8f4b5b9e24aa0e8aaaddefbae3a1733e1bc46cabf2d733bdba12d5

Contents?: true

Size: 468 Bytes

Versions: 4

Compression:

Stored size: 468 Bytes

Contents

module TD::Types
  # A button that allows the user to create and send a poll when pressed; available only in private chats.
  #
  # @attr force_regular [Boolean] If true, only regular polls must be allowed to create.
  # @attr force_quiz [Boolean] If true, only polls in quiz mode must be allowed to create.
  class KeyboardButtonType::RequestPoll < KeyboardButtonType
    attribute :force_regular, TD::Types::Bool
    attribute :force_quiz, TD::Types::Bool
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/keyboard_button_type/request_poll.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/keyboard_button_type/request_poll.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/keyboard_button_type/request_poll.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/keyboard_button_type/request_poll.rb