Sha256: dc195f09e0e1340072141780992e243e442ef44d70c1507188d3caeb3310dc30

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class BotCommandScopeChat < Base
        attribute :type, Types::String.constrained(eql: 'chat').default('chat')
        attribute :chat_id, Types::Integer | Types::String
      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/bot_command_scope_chat.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/bot_command_scope_chat.rb