Quoted messages
Quoted Messages feature lets users reference previous messages within a conversation. By quoting a message, users can provide additional context or relevant details, ensuring coherence even when referencing older messages.
Quote message
There is no dedicated method for quoting messages. You must use SendText() - the same method you use for sending text messages - and attach the required quoted message information.
Method signature
Head over to the SendText() method for details.
Sample code
Quote a message with the 16200000000000001 timetoken.
1
Get quoted message
GetQuotedMessage() is a method that lists the original quoted message.
Method signature
This method has the following signature:
1message.GetQuotedMessage()
Input
This method doesn't take any parameters.
Output
| Type | Description |
|---|---|
Task<ChatOperationResult<Message>> | An awaitable Task with the Message object if a quote exists, otherwise the Error property on the result will be true. |
Sample code
Return a quote from the message with the 16200000000000001 timetoken.
1