aimpress-chatbot/node_modules/botframework-connector/lib/teams/readReceiptInfo.d.ts
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

38 lines
No EOL
1.5 KiB
TypeScript

/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* General information about a read receipt.
*/
export declare class ReadReceiptInfo {
/**
* The id of the last read message.
*/
lastReadMessageId: string;
/**
* Initializes a new instance of the ReadReceiptInfo class.
*
* @param lastReadMessageId Optional. The id of the last read message.
*/
constructor(lastReadMessageId?: string);
/**
* Helper method useful for determining if a message has been read. This method
* converts the strings to numbers. If the compareMessageId is less than or equal to
* the lastReadMessageId, then the message has been read.
*
* @param compareMessageId The id of the message to compare.
* @param lastReadMessageId The id of the last message read by the user.
* @returns True if the compareMessageId is less than or equal to the lastReadMessageId.
*/
static isMessageRead(compareMessageId: string, lastReadMessageId: string): boolean;
/**
* Helper method useful for determining if a message has been read.
* If the compareMessageId is less than or equal to the lastReadMessageId, then the message has been read.
*
* @param compareMessageId The id of the message to compare.
* @returns True if the compareMessageId is less than or equal to the lastReadMessageId.
*/
isMessageRead(compareMessageId: string): boolean;
}
//# sourceMappingURL=readReceiptInfo.d.ts.map