Sha256: 10df9fa76b91a22c3cf803da995cccf05acea323586e31f5f4052f29c29e5832

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputPollOption < Base
        attribute :text, Types::String.constrained(min_size: 1, max_size: 100)
        attribute? :text_parse_mode, Types::String
        attribute? :text_entities, Types::Array.of(MessageEntity)
      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/input_poll_option.rb