//
//  Barrage+Extension.swift
//  Gami
//
//  Created by OneeChan on 2026/3/26.
//

import Foundation
import AtomicXCore

extension Barrage {
    static func welcomeMessage(userInfo: LiveUserInfo) -> Barrage {
        var message = Barrage()
        message.messageType = .custom
        message.businessID = LNRoomSystemMessageType.welcome.rawValue
        message.sender = userInfo
        return message
    }
}
