Sha256: 214cbcae767a2830b59cc551750446844784acd7a2a39f6a382263684575d210

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

module TD::Types
  # A message with a poll.
  #
  # @attr question [String] Poll question.
  # @attr is_regular [Boolean] True, if the poll is regular and not in quiz mode.
  # @attr is_pinned [Boolean] True, if the message is a pinned message with the specified content.
  class PushMessageContent::Poll < PushMessageContent
    attribute :question, TD::Types::String
    attribute :is_regular, TD::Types::Bool
    attribute :is_pinned, TD::Types::Bool
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/push_message_content/poll.rb