Jaa


ResumptionCookie Class

Definition

Caution

Use ConversationReference.

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>
[<System.Obsolete("Use ConversationReference.")>]
[<System.Serializable>]
type ResumptionCookie = class
    interface IEquatable<ResumptionCookie>
Public NotInheritable Class ResumptionCookie
Implements IEquatable(Of ResumptionCookie)
Inheritance
ResumptionCookie
Attributes
Implements

Constructors

ResumptionCookie(Address, String, Boolean, String)

Creates an instance of the resumption cookie.

ResumptionCookie(IMessageActivity)

Creates an instance of resumption cookie form a IMessageActivity

Properties

Address

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

IsGroup

The IsGroup flag for conversation.

IsTrustedServiceUrl

True if the ServiceUrl is trusted; False otherwise.

Locale

The locale of message.

UserName

The user name.

Methods

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

Creates a message from the resumption cookie.

GZipDeserialize(String)

Deserializes the GZip serialized ResumptionCookie using GZipSerialize(ResumptionCookie).

Extension Methods

ToConversationReference(ResumptionCookie)

Creates a ConversationReference from ResumptionCookie.

GZipSerialize(ResumptionCookie)
Obsolete.

Binary serializes ResumptionCookie using GZipStream.

Applies to