feat(messaging): snapchatter info

This commit is contained in:
rhunk
2023-12-28 16:59:44 +01:00
committed by GitHub
parent 771d990f9a
commit 95a5e00c0f

16
index.d.ts vendored
View File

@@ -248,6 +248,22 @@ declare module "messaging" {
function clearConversation(conversationId: string, callback: ResultCallback): void;
function getOneOnOneConversationIds(userIds: string[], callback: (error?: any, result?: ConversationUserIdPair[]) => void): void;
function sendChatMessage(conversationId: string, message: string, callback: ResultCallback): void;
interface BitmojiInfo extends SEWrapper {
avatarId?: string
backgroundId?: string
sceneId?: string
selfieId?: string
}
interface Snapchatter extends SEWrapper {
readonly bitmojiInfo?: BitmojiInfo
displayName?: string
userId: SnapUUID
username: string
}
function fetchSnapchatterInfos(userIds: string[]): Snapchatter[];
}
declare const currentSide: "core" | "manager";