Function: resolveServiceUrl()
resolveServiceUrl(
activity,tokenServiceUrl?):string|null
Read the reply destination off an inbound activity, if it names a usable one.
serviceUrl rides on the activity as a plain string, so it is validated
against the verified token’s own serviceurl claim before anything
authenticated is sent there.
Parameters
Section titled “Parameters”activity
Section titled “activity”attachments?
Section titled “attachments?”object[] = ...
conversation?
Section titled “conversation?”{ id: string; } = ...
conversation.id
Section titled “conversation.id”string = ...
{ id: string; name?: string; } = ...
from.id
Section titled “from.id”string = ...
from.name?
Section titled “from.name?”string = ...
string = ...
recipient?
Section titled “recipient?”{ id: string; name?: string; } = ...
recipient.id
Section titled “recipient.id”string = ...
recipient.name?
Section titled “recipient.name?”string = ...
string = ...
timestamp?
Section titled “timestamp?”string = ...
"message" | "conversationUpdate" | "typing" = ...
tokenServiceUrl?
Section titled “tokenServiceUrl?”string
Returns
Section titled “Returns”string | null