Gets forwarding details.
- To display the group name, use open data components.
(option: Option) => Promise<SuccessCallbackResult>
|timeout||No||Timeout (in ms)|
|complete||No||The callback function used when the API call completed (always executed whether the call succeeds or fails)|
|fail||No||The callback function for a failed API call|
|success||No||The callback function for a successful API call|
|cloudID||The Cloud ID corresponding to sensitive data. It is returned only in Mini Programs for which Cloud Base is enabled. The open data can be directly obtained via cloud call. See Detail.|
|encryptedData||The complete encrypted forwarding data, including sensitive data. For details, seeDecryption Algorithm for Encrypted Data|
|iv||The initial vector of the encryption algorithm. For details, see Decryption Algorithm for Encrypted Data|
There are two ways to get sensitive data. One is to use the Decryption Algorithm for Encrypted Data. The acquired open data has the following json structure (in which, openGId is the unique identifier of the current group):
|API||WeChat Mini-Program||H5||React Native|