This function extracts the phone number.

    /**
     * This function extracts the phone number.
     *
     * @param string $from
     * The remitter delivered by WHATSAPP example 1234567890@s.whatsapp.net
     * 
     * @return string 
     * Returns the number of phone cleanly.
     *
    **/
Fix onGetGroupMessage event
Merge pull request #651 from sbalgas/patch-3

Fix onGetGroupMessage event
Exception Login failure

Node :

rx  <failure>
rx    <not-authorized></not-authorized>
rx  </failure>
Merge pull request #658 from manufuentescr/patch-5

Exception Login failure
Merge pull request #649 from sbalgas/patch-2

This function extracts the phone number.
Parse the Message Inbound For Emojis

/**
 * Parse the Message Inbound For Emojis
 *
 * @param string $txt
 * The received message, where to find the Emojis.
 *
 * @param boolean $span
 * If "true", the function will return an html tag
 * Example: <span class="emoji" id="emoji-1F604"></span>
 * this will show the smiling face, require emojisprite.css and emojisprite.png
 *
 * Otherwise, if it is "false", return an id. Example, ##1F604##.
 *
 * @return string
 */
Merge pull request #668 from sbalgas/patch-5

Parse the Message Inbound For Emojis