mirror of
https://github.com/SnapEnhance/scripting-docs.git
synced 2026-08-30 20:24:23 +00:00
feat(messaging): snapchatter info
This commit is contained in:
16
index.d.ts
vendored
16
index.d.ts
vendored
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user