29de50c12a
Co-authored-by: scott@signal.org Co-authored-by: ken@signal.org
20 lines
525 B
TypeScript
20 lines
525 B
TypeScript
export function searchMessages(query: string): Promise<Array<any>>;
|
|
export function searchConversations(query: string): Promise<Array<any>>;
|
|
|
|
export function updateStickerLastUsed(
|
|
packId: string,
|
|
stickerId: number,
|
|
time: number
|
|
): Promise<void>;
|
|
export function updateStickerPackStatus(
|
|
packId: string,
|
|
status: 'advertised' | 'installed' | 'error' | 'pending',
|
|
options?: { timestamp: number }
|
|
): Promise<void>;
|
|
|
|
export function getRecentStickers(): Promise<
|
|
Array<{
|
|
id: number;
|
|
packId: string;
|
|
}>
|
|
>;
|