Sha256: 8f13d14e619c54b30f3a8652c344064037e3a4259c4bc57af17b7db781f6a2bb

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

module TD::Types
  # A message with a poll.
  #
  # @attr question [String] Poll question.
  # @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_pinned, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/push_message_content/poll.rb
tdlib-ruby-2.1.0 lib/tdlib/types/push_message_content/poll.rb