tt
: { authorize
: (data
: TTOption<{ scope
: string }, any, any>) => Promise<any>; checkSession
: (data
: any) => Promise<Record<string, any>>; chooseChat
: (data
: TTOption<ChatChoose, { data
: (ChatMeta & { chatType
: 0 | 1; id
: string; userType
: 0 | 1 })[]; message
: string }, any>) => Promise<{ data
: (ChatMeta & { chatType
: 0 | 1; id
: string; userType
: 0 | 1 })[]; message
: string }>; enterBot
: (data
: any) => Promise<Record<string, any>>; enterChat
: (data
: TTOption<{ needBadge
?: boolean; openChatId
?: string; openid
?: string }, any, any>) => Promise<any>; getBlockActionSourceDetail
: (data
: TTOption<{ triggerCode
: string }, { bizType
: "message"; content
: { actionTime
: number; messages
: { content
: string; createTime
: number; messageType
: "text" | "image" | "post" | "media" | "file" | "interactive" | "unsupport"; openChatId
: string; openMessageId
: string; sender
: { name
: string; open_id
: string }; status
: boolean; support
: boolean }[] } }, any>) => Promise<{ bizType
: "message"; content
: { actionTime
: number; messages
: { content
: string; createTime
: number; messageType
: "text" | "image" | "post" | "media" | "file" | "interactive" | "unsupport"; openChatId
: string; openMessageId
: string; sender
: { name
: string; open_id
: string }; status
: boolean; support
: boolean }[] } }>; getChatInfo
: (data
: TTOption<{ chatType
: 0 | 1; openChatId
: string; userType
?: 0 | 1 }, ChatMeta & { atCount
: number; badge
: number }, any>) => Promise<ChatMeta & { atCount
: number; badge
: number }>; login
: (data
: { complete
?: any; fail
?: any; success
?: any }) => Promise<{ code
: string }>; offChatBadgeChange
: (option
: ChatBadgeChange<void>) => any; onChatBadgeChange
: (option
: Required<ChatBadgeChange<{ badge
: number }>>) => any; requestAuthCode
: (data
: TTOption<{ appId
: string }, { code
: string }, any>) => Promise<{ code
: string }>; sendMessageCard
: (data
: TTOption<{ cardContent
?: InteractiveMessage; chooseChatParams
?: ChatChoose; openChatIDs
?: string[]; shouldChooseChat
?: boolean; withAdditionalMessage
?: boolean }, { sendCardInfo
: SentCard[] }, { additionalMessageInfo
: (Omit<SentCard, "openMessageId"> & { message
: string })[]; failedOpenChatIDs
: string[]; sendCardInfo
: SentCard[] }>) => Promise<{ sendCardInfo
: SentCard[] }>; toggleChat
: (data
: TTOption<{ isKeep
?: boolean; needSidebar
?: boolean; openChatId
: string; width
?: number }, any, any>) => Promise<any> } = ...
https://open.feishu.cn/document/uYjL24iN/uITO4IjLykDOy4iM5gjM#ab246c8d