Channel.SupportsSuggestedActions 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| SupportsSuggestedActions(String, Int32) |
确定频道是否支持许多建议的操作。 |
| SupportsSuggestedActions(String, Int32, String) |
确定频道是否支持许多建议的操作。 |
SupportsSuggestedActions(String, Int32)
确定频道是否支持许多建议的操作。
public static bool SupportsSuggestedActions(string channelId, int buttonCnt = 100);
static member SupportsSuggestedActions : string * int -> bool
Public Shared Function SupportsSuggestedActions (channelId As String, Optional buttonCnt As Integer = 100) As Boolean
参数
- channelId
- String
用于检查是否支持建议操作的通道。
- buttonCnt
- Int32
(可选)要检查频道的建议操作数。
返回
如果通道支持 buttonCnt 总计建议的操作,则为 True;如果通道不支持建议的操作数,则为 False。
适用于
SupportsSuggestedActions(String, Int32, String)
确定频道是否支持许多建议的操作。
public static bool SupportsSuggestedActions(string channelId, int buttonCnt = 100, string conversationType = default);
static member SupportsSuggestedActions : string * int * string -> bool
Public Shared Function SupportsSuggestedActions (channelId As String, Optional buttonCnt As Integer = 100, Optional conversationType As String = Nothing) As Boolean
参数
- channelId
- String
用于检查是否支持建议操作的通道。
- buttonCnt
- Int32
(可选)要检查频道的建议操作数。
- conversationType
- String
(可选)聊天的类型。
返回
如果通道支持 buttonCnt 总计建议的操作,则为 True;如果通道不支持建议的操作数,则为 False。