@onyx-p/imlib-web 2.6.1 → 2.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +5309 -4881
- package/index.umd.js +5310 -4880
- package/package.json +1 -1
- package/types/index.d.ts +17 -0
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
@@ -241,4 +241,21 @@ export declare const mockLogin: (config: {
|
|
241
241
|
* @returns 被清除的消息ID列表
|
242
242
|
*/
|
243
243
|
export declare const clearBurnAfterReadingExpiredMessages: (conversation: IConversationOption) => IPromiseResult<string[]>;
|
244
|
+
/**
|
245
|
+
* 发送引用回复消息
|
246
|
+
* @param message 消息
|
247
|
+
* @param quoteReply 引用回复消息
|
248
|
+
* @param options 发送选项
|
249
|
+
* @returns 发送结果
|
250
|
+
*/
|
244
251
|
export declare const sendQuoteReplyMessage: (message: BaseMessage, quoteReply: IReceivedMessage, options?: ISendMessageOptions) => IPromiseResult<IReceivedMessage>;
|
252
|
+
/**
|
253
|
+
* 获取消息
|
254
|
+
* @param messageId 消息ID
|
255
|
+
* @returns 消息
|
256
|
+
*/
|
257
|
+
export declare const getMessageById: (messageId: number) => IPromiseResult<IReceivedMessage | null | undefined>;
|
258
|
+
/**
|
259
|
+
* 获取消息
|
260
|
+
*/
|
261
|
+
export declare const getMessageByUId: (messageUId: string) => IPromiseResult<IReceivedMessage | null | undefined>;
|