Share via


FileConsentCard Class

Definition

Content type for FileConsentCard.

public class FileConsentCard
type FileConsentCard = class
Public Class FileConsentCard
Inheritance
FileConsentCard

Constructors

FileConsentCard()

Initializes a new instance of the FileConsentCard class.

FileConsentCard(String, Nullable<Int64>, Object, Object)

Initializes a new instance of the FileConsentCard class.

Fields

ContentType

Content type to be used in the type property.

Properties

AcceptContext

Gets or sets context sent back to the Bot if user consented to upload. This is free flow schema and is sent back in Value field of Activity.

DeclineContext

Gets or sets context sent back to the Bot if user declined. This is free flow schema and is sent back in Value field of Activity.

Description

Gets or sets file description.

SizeInBytes

Gets or sets size of the file to be uploaded in Bytes.

Applies to