Sha256: 065edc2dcb7e75ae973ce9c8b25bfcc57e787142c97af8fb19d445865408648d

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatMemberBanned < Base
        attribute :status, Types::String.constrained(eql: 'kicked').default('kicked')
        attribute :user, User
        attribute :until_date, Types::Integer
      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/chat_member_banned.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/chat_member_banned.rb