Sha256: 7c10e131e5fafcc59e55e33f00e2dc058131a0204d9fc983682658c4ce91597b

Contents?: true

Size: 495 Bytes

Versions: 2

Compression:

Stored size: 495 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatMemberUpdated < Base
        attribute :chat, Chat
        attribute :from, User
        attribute :date, Types::Integer
        attribute :old_chat_member, ChatMember
        attribute :new_chat_member, ChatMember
        attribute? :invite_link, ChatInviteLink
        attribute? :via_join_request, Types::Bool
        attribute? :via_chat_folder_invite_link, Types::Bool
      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_updated.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/chat_member_updated.rb