ResumptionCookie ResumptionCookie ResumptionCookie Class

Definition

Warning

This API is now obsolete.

The resumption cookie that can be used to resume a conversation with a user.

[System.Obsolete("Use ConversationReference.")]
[System.Serializable]
public sealed class ResumptionCookie : IEquatable<Microsoft.Bot.Builder.Dialogs.ResumptionCookie>
type ResumptionCookie = class
    interface IEquatable<ResumptionCookie>
Public NotInheritable Class ResumptionCookie
Implements IEquatable(Of ResumptionCookie)
Inheritance
ResumptionCookieResumptionCookieResumptionCookie
Attributes
Implements

Constructors

ResumptionCookie(IMessageActivity) ResumptionCookie(IMessageActivity) ResumptionCookie(IMessageActivity)

Creates an instance of resumption cookie form a IMessageActivity

ResumptionCookie(Address, String, Boolean, String) ResumptionCookie(Address, String, Boolean, String) ResumptionCookie(Address, String, Boolean, String)

Creates an instance of the resumption cookie.

Properties

Address Address Address

The key that minimally and completely identifies a bot's conversation with a user on a channel.

IsGroup IsGroup IsGroup

The IsGroup flag for conversation.

IsTrustedServiceUrl IsTrustedServiceUrl IsTrustedServiceUrl

True if the ServiceUrl is trusted; False otherwise.

Locale Locale Locale

The locale of message.

UserName UserName UserName

The user name.

Methods

Equals(ResumptionCookie) Equals(ResumptionCookie) Equals(ResumptionCookie)
Equals(Object) Equals(Object) Equals(Object)
GetHashCode() GetHashCode() GetHashCode()
GetMessage() GetMessage() GetMessage()

Creates a message from the resumption cookie.

GZipDeserialize(String) GZipDeserialize(String) GZipDeserialize(String)

Deserializes the GZip serialized ResumptionCookie using GZipSerialize(ResumptionCookie).

Extension Methods

ToConversationReference(ResumptionCookie) ToConversationReference(ResumptionCookie) ToConversationReference(ResumptionCookie)

Creates a ConversationReference from ResumptionCookie.

GZipSerialize(ResumptionCookie) GZipSerialize(ResumptionCookie) GZipSerialize(ResumptionCookie)

Binary serializes ResumptionCookie using GZipStream.

Applies to