• Get message by a single ID or array of IDs

    Parameters

    Returns Promise<MsgModel>

    List of raw messages

    // Single message
    WPP.chat.getMessageById('true_[number]@c.us_ABCDEF');

    // List of messages
    WPP.chat.getMessageById(['true_[number]@c.us_ABCDEF', 'false_[number]@c.us_789456']);
  • Parameters

    Returns Promise<MsgModel[]>