tencent cloud

Feedback

Contact person

Last updated: 2024-03-04 23:05:23

    chooseContact

    This API is used via wx.chooseContact(Object object).
    Feature Description: Initiates the mobile phone's contact list, allowing the selection of a contact.
    Parameter and Description: Object.
    Attribute
    Type
    Default value
    Required
    Description
    success
    function
    -
    No
    Callback Function of Successful Interface Call
    fail
    function
    -
    No
    Callback Function of Failing Interface Call
    complete
    function
    -
    No
    Callback function executed upon the completion of the interface invocation (both successful and unsuccessful invocations)
    object.success callback function: Object.
    Attribute
    Type
    Description
    phoneNumber
    string
    Mobile number
    displayName
    string
    Contact name
    phoneNumberList
    string
    All mobile numbers of the selected contact (some Android systems only allow selecting contacts, not specific phone numbers)

    addPhoneContact

    This API is used via wx.addPhoneContact(Object object).
    Feature Description: Adds mobile phone contacts. Users can choose to write this form into the mobile phone system's contact list by either adding a new contact or adding to an existing contact.
    Parameter and Description: Object.
    Attribute
    Type
    Default value
    Required
    Description
    firstName
    string
    -
    Yes
    Name
    photoFilePath
    string
    -
    No
    Local file path of avatar
    nickName
    string
    -
    No
    Nickname
    lastName
    string
    -
    No
    Surname
    middleName
    string
    -
    No
    Middle Name
    remark
    string
    -
    No
    Remarks
    mobilePhoneNumber
    string
    -
    No
    Mobile number
    weChatNumber
    string
    -
    No
    WeChat ID
    addressCountry
    string
    -
    No
    Country of address
    addressState
    string
    -
    No
    Province of address
    addressCity
    string
    -
    No
    City of address
    addressStreet
    string
    -
    No
    Sub-district of address
    addressPostalCode
    string
    -
    No
    Postcode
    organization
    string
    -
    No
    Company
    title
    string
    -
    No
    Position
    workFaxNumber
    string
    -
    No
    Office fax number
    workPhoneNumber
    string
    -
    No
    Office telephone number
    hostNumber
    string
    -
    No
    Company phone number
    email
    string
    -
    No
    Email Address
    url
    string
    -
    No
    Website
    workAddressCountry
    string
    -
    No
    Country of office address
    workAddressState
    string
    -
    No
    Province of office address
    workAddressCity
    string
    -
    No
    City of office address
    workAddressStreet
    string
    -
    No
    Sub-district of office address
    workAddressPostalCode
    string
    -
    No
    Postcode of office address
    homeFaxNumber
    string
    -
    No
    Residential Fax
    homePhoneNumber
    string
    -
    No
    Residential phone number
    homeAddressCountry
    string
    -
    No
    Country of Residential Address
    homeAddressState
    string
    -
    No
    Province of Residential Address
    homeAddressCity
    string
    -
    No
    City of Residential Address
    homeAddressStreet
    string
    -
    No
    Sub-district of residential address
    homeAddressPostalCode
    string
    -
    No
    Postcode of residential address
    success
    function
    -
    No
    Callback Function of Successful Interface Call
    fail
    function
    -
    No
    Callback Function of Failing Interface Call
    complete
    function
    -
    No
    Callback function executed upon the completion of the interface invocation (both successful and unsuccessful invocations)
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support