• Keep or unkeep a message in a group chat with expiration

    Parameters

    • msgId: string | MsgKey
    • Optionalvalue: boolean

    Returns Promise<MsgModel>

    // To keep a message in chat
    WPP.chat.keepMessage('true_[number]@c.us_ABCDEF', true);

    // To unkeep a message in chat
    WPP.chat.keepMessage('true_[number]@c.us_ABCDEF', false);