atipugin/telegram-bot-ruby

View on GitHub
lib/telegram/bot/types/bot_command_scope_chat_administrators.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class BotCommandScopeChatAdministrators < Base
        attribute :type, Types::String.constrained(eql: 'chat_administrators').default('chat_administrators')
        attribute :chat_id, Types::Integer | Types::String
      end
    end
  end
end