Sha256: 98d288321ad52376634961df49367d4ea6a9f699e9785358010536f2c95e8ba8

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

# 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

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_administrators.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/bot_command_scope_chat_administrators.rb