• Send a text message

    Parameters

    • msgId: string | MsgKey
    • newText: string
    • Optionaloptions: EditMessageOptions

    Returns Promise<SendMessageReturn>

    WPP.chat.editMessage('[number]@c.us', 'New text for message', { linkPreview: true, mentionedJidList: ['5521985232287@c.us'] });

    @category