On this page

Quoted messages

Quote previous messages to provide context when responding to older messages in a conversation.

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() returns the original quoted message.

Method signature

This method has the following signature:

1message.GetQuotedMessage()

Input

This method doesn't take any parameters.

Output

TypeDescription
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

Last updated on