/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface OpenData { /** * 开放数据类型 */ type?: | "groupName" | "userNickName" | "userAvatarUrl" | "userGender" | "userCity" | "userProvince" | "userCountry" | "userLanguage"; /** * 当 type="groupName" 时生效, 群id */ "open-gid"?: string; /** * 当 type="user*" 时生效,以哪种语言展示 userInfo */ lang?: "en" | "zh_CN" | "zh_TW"; /** * 数据为空时的默认文案 */ "default-text"?: string; /** * 用户头像为空时的默认图片,支持相对路径和网络图片路径 */ "default-avatar"?: string; /** * 群名称或用户信息为空时触发 */ bindError?: () => void; }