Sha256: 9fead1d72b4ea0f802f7c9db62bd6b8d3c0dae6fc9ddc7014baf4f60eebbd555

Contents?: true

Size: 532 Bytes

Versions: 2

Compression:

Stored size: 532 Bytes

Contents

module TD::Types
  # A user changed the answer to a poll; for bots only.
  #
  # @attr poll_id [Integer] Unique poll identifier.
  # @attr user_id [Integer] The user, who changed the answer to the poll.
  # @attr option_ids [Array<Integer>] 0-based identifiers of answer options, chosen by the user.
  class Update::PollAnswer < Update
    attribute :poll_id, TD::Types::Coercible::Integer
    attribute :user_id, TD::Types::Coercible::Integer
    attribute :option_ids, TD::Types::Array.of(TD::Types::Coercible::Integer)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/update/poll_answer.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/update/poll_answer.rb