Sha256: b5df3b72f5ae3ee0373eccedbe84781d9e42125079aa1587c58cf533a8c7467e

Contents?: true

Size: 346 Bytes

Versions: 3

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

3 entries across 3 versions & 1 rubygems

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