Sha256: da7a02fd0481f3c4068a55e59ce860c5b2c2aa64c32350010b7a4353588521b4
Contents?: true
Size: 302 Bytes
Versions: 1
Compression:
Stored size: 302 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class BotCommand < Base attribute :command, Types::String.constrained(min_size: 1, max_size: 32) attribute :description, Types::String.constrained(min_size: 1, max_size: 256) 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/bot_command.rb |