Sha256: 6b5ffac9736e0733196a39ffbece5d9ab4219e901db77edc10d2155d22ee84af

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class MenuButtonWebApp < Base
        attribute :type, Types::String.constrained(eql: 'web_app').default('web_app')
        attribute :text, Types::String
        attribute :web_app, WebAppInfo
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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