Sha256: ba78a0923dea4da8f9bf21b66781d936e925e4978f0382ed471556665467a56e

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class KeyboardButton < Base
        attribute :text, String
        attribute :request_contact, Boolean
        attribute :request_location, Boolean
        attribute :request_poll, KeyboardButtonPollType
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-types-0.7.0 lib/telegram/bot/types/keyboard_button.rb
telegram-bot-types-0.6.3 lib/telegram/bot/types/keyboard_button.rb
telegram-bot-types-0.6.2 lib/telegram/bot/types/keyboard_button.rb