dist/lib/driver.js
function prepareMessage(content, roomId) {
    const message = new message_1.Message(content, exports.integrationId);
    if (roomId)
        message.setRoomId(roomId);
    return message;
}
function prepareMessage(content, roomId) {
    const message = new message_1.Message(content, exports.integrationId);
    if (roomId)
        message.setRoomId(roomId);
    return message;
}
function prepareMessage ( content , roomId ) { const message = new message_1 . Message ( content , exports . integrationId ) ; if ( roomId ) message . setRoomId ( roomId ) ; return message ; }
Structure message content, optionally addressing to room ID.
Accepts message text string or a structured message object.
Structure message content optionally addressing to room ID . Accepts message text string or a structured message object .