Microsoft.Bot.Connector.ConversationReference Class Reference

An object relating to a particular point in a conversation More...

Inheritance diagram for Microsoft.Bot.Connector.ConversationReference:

Public Member Functions

 ConversationReference ()
 Initializes a new instance of the ConversationReference class. More...
 
 ConversationReference (string activityId=default(string), ChannelAccount user=default(ChannelAccount), ChannelAccount bot=default(ChannelAccount), ConversationAccount conversation=default(ConversationAccount), string channelId=default(string), string serviceUrl=default(string))
 Initializes a new instance of the ConversationReference class. More...
 
bool Equals (ConversationReference other)
 
override bool Equals (object other)
 
override int GetHashCode ()
 
Activity GetPostToBotMessage ()
 Creates Activity from conversation reference as it is posted to bot. More...
 
Activity GetPostToUserMessage ()
 Creates Activity from conversation reference that can be posted to user as reply. More...
 

Properties

string ActivityId [get, set]
 (Optional) ID of the activity to refer to More...
 
ChannelAccount Bot [get, set]
 Bot participating in this conversation More...
 
string ChannelId [get, set]
 Channel ID More...
 
ConversationAccount Conversation [get, set]
 Conversation reference More...
 
string ServiceUrl [get, set]
 Service endpoint where operations concerning the referenced conversation may be performed More...
 
ChannelAccount User [get, set]
 (Optional) User participating in this conversation More...
 

Detailed Description

An object relating to a particular point in a conversation

Definition at line 17 of file ConversationReference.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Connector.ConversationReference.ConversationReference ( )
inline

Initializes a new instance of the ConversationReference class.

Definition at line 22 of file ConversationReference.cs.

Microsoft.Bot.Connector.ConversationReference.ConversationReference ( string  activityId = default(string),
ChannelAccount  user = default(ChannelAccount),
ChannelAccount  bot = default(ChannelAccount),
ConversationAccount  conversation = default(ConversationAccount),
string  channelId = default(string),
string  serviceUrl = default(string) 
)
inline

Initializes a new instance of the ConversationReference class.

Definition at line 27 of file ConversationReference.cs.

Member Function Documentation

bool Microsoft.Bot.Connector.ConversationReference.Equals ( ConversationReference  other)
inline

Definition at line 53 of file ConversationReferenceEx.cs.

override bool Microsoft.Bot.Connector.ConversationReference.Equals ( object  other)
inline

Definition at line 63 of file ConversationReferenceEx.cs.

override int Microsoft.Bot.Connector.ConversationReference.GetHashCode ( )
inline

Definition at line 68 of file ConversationReferenceEx.cs.

Activity Microsoft.Bot.Connector.ConversationReference.GetPostToBotMessage ( )
inline

Creates Activity from conversation reference as it is posted to bot.

Definition at line 10 of file ConversationReferenceEx.cs.

Activity Microsoft.Bot.Connector.ConversationReference.GetPostToUserMessage ( )
inline

Creates Activity from conversation reference that can be posted to user as reply.

Definition at line 40 of file ConversationReferenceEx.cs.

Property Documentation

string Microsoft.Bot.Connector.ConversationReference.ActivityId
getset

(Optional) ID of the activity to refer to

Definition at line 41 of file ConversationReference.cs.

ChannelAccount Microsoft.Bot.Connector.ConversationReference.Bot
getset

Bot participating in this conversation

Definition at line 53 of file ConversationReference.cs.

string Microsoft.Bot.Connector.ConversationReference.ChannelId
getset

Channel ID

Definition at line 65 of file ConversationReference.cs.

ConversationAccount Microsoft.Bot.Connector.ConversationReference.Conversation
getset

Conversation reference

Definition at line 59 of file ConversationReference.cs.

string Microsoft.Bot.Connector.ConversationReference.ServiceUrl
getset

Service endpoint where operations concerning the referenced conversation may be performed

Definition at line 72 of file ConversationReference.cs.

ChannelAccount Microsoft.Bot.Connector.ConversationReference.User
getset

(Optional) User participating in this conversation

Definition at line 47 of file ConversationReference.cs.


The documentation for this class was generated from the following files: