Additional properties of the activity.
Optional_The primary channel ID where the activity originated.
OptionalactionThe action associated with the activity.
OptionalattachmentThe attachment layout of the activity.
OptionalattachmentsThe attachments of the activity.
OptionalcallerThe caller ID of the activity.
OptionalchannelThe channel-specific data for the activity.
OptionalcodeThe end-of-conversation code for the activity.
OptionalconversationThe conversation account associated with the activity.
OptionaldeliveryThe delivery mode of the activity.
OptionalentitiesThe entities associated with the activity.
OptionalexpirationThe expiration time of the activity.
OptionalfromThe account of the sender of the activity.
OptionalhistoryIndicates whether the history is disclosed.
OptionalidThe unique identifier of the activity.
OptionalimportanceThe importance of the activity.
OptionalinputThe input hint for the activity.
OptionallabelThe label for the activity.
OptionallistenThe list of keywords to listen for in the activity.
OptionallocaleThe locale of the activity.
OptionallocalThe local timestamp of the activity.
OptionallocalThe local timezone of the activity.
OptionalmembersThe members added to the conversation.
OptionalmembersThe members removed from the conversation.
OptionalnameThe name of the activity event.
OptionalrawThe raw expiration time of the activity.
OptionalrawThe raw local timestamp of the activity.
OptionalrawThe raw timestamp of the activity.
OptionalreactionsThe reactions added to the activity.
OptionalreactionsThe reactions removed from the activity.
OptionalrecipientThe recipient of the activity.
OptionalrelatesThe conversation reference for the activity.
OptionalreplyThe ID of the activity being replied to.
OptionalsemanticThe semantic action associated with the activity.
OptionalserviceThe service URL of the activity.
OptionalspeakThe speech text of the activity.
OptionalsuggestedThe suggested actions for the activity.
OptionalsummaryThe summary of the activity.
OptionaltextThe text content of the activity.
OptionaltextThe text format of the activity.
OptionaltextThe text highlights in the activity.
OptionaltimestampThe timestamp of the activity.
OptionaltopicThe topic name of the activity.
The type of the activity.
OptionalvalueThe value associated with the activity.
OptionalvalueThe value type of the activity.
Return the combined channel:subChannel value like agent:email
Sets the channel ID for the activity - if a subChannel is provided, will create the necessary ProductInfo entity
The channel ID value.
Returns the primary channel ID for the activity.
Sets the primary channel ID for the activity.
Returns the sub-channel ID for the activity.
Sets the sub-channel ID for the activity.
Applies a conversation reference to the activity.
The conversation reference.
Whether the activity is incoming.
The updated activity.
Gets the agent instance ID from the context if its agentic
agent instance id as string
Retrieves the tenant ID associated with the agentic recipient of the activity, if available; otherwise, returns the tenant ID from the conversation.
The tenant ID of the agentic recipient if present; otherwise, the tenant ID from the conversation. Returns undefined if neither is available.
Gets the agentic user (UPN) from the context if it's an agentic request.
Gets the conversation reference for the activity.
The conversation reference.
Gets the conversation reference for a reply.
The ID of the reply.
The conversation reference.
Does this activity represent an agentic request?
True if agentic
Normalizes mentions in the activity by removing mention tags and optionally removing recipient mention.
Whether to remove the recipient mention from the activity.
Removes the mention text for a given ID.
The ID of the mention to remove.
The updated text.
Removes the recipient mention from the activity text.
The updated text.
StaticfromCreates an Activity instance from a JSON string.
The JSON string representing the activity.
The created Activity instance.
StaticfromCreates an Activity instance from an object.
The object representing the activity.
The created Activity instance.
StaticgetCreates a continuation activity from a conversation reference.
The conversation reference.
The created continuation activity.
StaticparseGiven a composite channelId like agent:email, return the channel and subChannel.
[channel, subChannel]
Represents an activity in a conversation.