FileConsentCard 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FileConsentCard() |
初始化 FileConsentCard 类的新实例。 |
FileConsentCard(String, Nullable<Int64>, Object, Object) |
初始化 FileConsentCard 类的新实例。 |
FileConsentCard()
FileConsentCard(String, Nullable<Int64>, Object, Object)
初始化 FileConsentCard 类的新实例。
public FileConsentCard (string description = default, long? sizeInBytes = default, object acceptContext = default, object declineContext = default);
new Microsoft.Bot.Schema.Teams.FileConsentCard : string * Nullable<int64> * obj * obj -> Microsoft.Bot.Schema.Teams.FileConsentCard
Public Sub New (Optional description As String = Nothing, Optional sizeInBytes As Nullable(Of Long) = Nothing, Optional acceptContext As Object = Nothing, Optional declineContext As Object = Nothing)
参数
- description
- String
文件说明。
- acceptContext
- Object
如果用户同意上传,则发送回机器人的上下文。 这是自由流架构,在“活动”的“值”字段中发送回。
- declineContext
- Object
如果用户拒绝,则发送回机器人的上下文。 这是自由流架构,在“活动”的“值”字段中发送回。