Sha256: 21eed97187ef7225d06b2109745c8fbcd1a978520e00ddc4756058894d5a05cd

Contents?: true

Size: 304 Bytes

Versions: 2

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatMemberMember < Base
        attribute :status, Types::String.constrained(eql: 'member').default('member')
        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.2.0 lib/telegram/bot/types/chat_member_member.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/chat_member_member.rb