• Parameters

    Returns Promise<IPinMessageInfo>

    Description

    Pin a chat message

    Async

    Since

    0.1.0

    Example

    pinMessage({
    roomId: "9e6f1bc4-9f02-4c57-92b7-7521d0f5b027",
    messageId: "aa7e03fc-01f0-4a98-a2e0-3fed689632d7",
    messagePayload: { // messagePayload of type IMessagePayload
    message: "test Message"
    }
    }).then(pinMessageInfo => console.log(pinMessageInfo))

Generated using TypeDoc