contacts.contactIDToContactNumber
Description
Get a contact number from a contact ID.

Parameters
contactID number

Return value
contactNumber number (< 1 if not found)

Example
local contactID = contacts.contactIDToContactNumber(1234)
if(contactID < 1) then
    print("Contact not found")
else
    print("Contact ID: " .. contactID)
end

Comments

See also
contacts.contactNumberToContactID

Back