Sha256: 73e2b8f7425e832569f84ba2345198fffee3459931bdbfcb218b7300f8842430

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class PollOption < Base
        attribute :text, Types::String.constrained(min_size: 1, max_size: 100)
        attribute? :text_entities, Types::Array.of(MessageEntity)
        attribute :voter_count, Types::Integer
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/poll_option.rb