import Vnmf from '../../index' declare module '../../index' { namespace getGroupEnterInfo { interface Option { /** Interface call to the end of echo function(Call successfully、Any failure will be enforced.) */ complete?: (res: VnmfGeneral.CallbackResult) => void /** Interface call failed echo function */ fail?: (res: VnmfGeneral.CallbackResult) => void /** Interface calls a successful echo function */ success?: (result: SuccessCallbackResult) => void } interface SuccessCallbackResult extends VnmfGeneral.CallbackResult { /** Cannot initialise Evolution's mail component. */ errMsg: string /** Encryption data for complete forwarding of information, including sensitive,See you later.[Encryption Data Decrypt algorithm](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html) */ encryptedData: string /** Initial vector of encryption algorithms,See you later.[Encryption Data Decrypt algorithm](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html) */ iv: string /** Clouds corresponding to sensitive data ID,Let's go, let's go.[Cloud development](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)The applets will return.,Direct access to open data through cloud calls,See you later.[Cloud call direct access to open data](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html#method-cloud) */ cloudID?: string } } interface VnmfStatic { /** Retrieving program start-up information for micro-message chat scenes。Group chats include group chat small program information cards.、To-dos、Group Tool。Can not get folder: %s: %s opengid。 * * **Tips** * - If the name of group is to be displayed,Applets can be used.[Open Data Component](/docs/components/open/open-data) * - A little game can go through. `Vnmf.getGroupInfo` Interface to get group names * @supported weapp * @example * ```tsx * Vnmf.getGroupEnterInfo({ * success(res) { * // res * { * errMsg: 'getGroupEnterInfo:ok', * encryptedData: '', * iv: '' * } * }, * fail() { } * }) * ``` * * There are two ways to get sensitive data.,- It's for use. [Encryption Data Decrypt algorithm](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html#%E5%8A%A0%E5%AF%86%E6%95%B0%E6%8D%AE%E8%A7%A3%E5%AF%86%E7%AE%97%E6%B3%95) 。 Access to open data is as follows: json Structure(of which opengid The only identification of the current group): * * ```json * { * "opengid": "OPENGID" * } * ``` * @see https://developers.weixin.qq.com/miniprogram/dev/api/open-api/group/wx.getGroupEnterInfo.html */ getGroupEnterInfo(option?: getGroupEnterInfo.Option): Promise } }