2019-01-14 21:49:58 +00:00
|
|
|
export function searchMessages(query: string): Promise<Array<any>>;
|
|
|
|
export function searchConversations(query: string): Promise<Array<any>>;
|
2019-08-09 23:12:29 +00:00
|
|
|
export function searchMessagesInConversation(
|
|
|
|
query: string,
|
|
|
|
conversationId: string
|
|
|
|
): Promise<Array<any>>;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
export function updateStickerLastUsed(
|
|
|
|
packId: string,
|
|
|
|
stickerId: number,
|
|
|
|
time: number
|
|
|
|
): Promise<void>;
|
|
|
|
export function updateStickerPackStatus(
|
|
|
|
packId: string,
|
2019-05-24 01:27:42 +00:00
|
|
|
status: 'known' | 'downloaded' | 'installed' | 'error' | 'pending',
|
2019-05-16 22:32:11 +00:00
|
|
|
options?: { timestamp: number }
|
|
|
|
): Promise<void>;
|
|
|
|
|
|
|
|
export function getRecentStickers(): Promise<
|
|
|
|
Array<{
|
|
|
|
id: number;
|
|
|
|
packId: string;
|
|
|
|
}>
|
|
|
|
>;
|
2019-05-24 23:58:27 +00:00
|
|
|
|
|
|
|
export function updateEmojiUsage(shortName: string): Promise<void>;
|
|
|
|
export function getRecentEmojis(
|
|
|
|
limit: number
|
|
|
|
): Promise<Array<{ shortName: string; lastUsage: string }>>;
|