User Overview

Preparing user chat jid#

Almost of the sdk methods expect jid as a input parameter, so sdk provides below utility method to prepare the user jid from the username. The method prepares the user chat jid from the given string.

ArgumentTypeDescription
USERNAMEStringunique id for preparing user JID
var userJid = await Mirrorfly.getJid(USERNAME);