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
Generated on the 26 June 2024 at 22:01:27 (UK Time)