語言

Channel.SupportsCardActions(String, Int32) 方法

定義

判斷通道是否支援多個卡片動作。

public static bool SupportsCardActions(string channelId, int buttonCnt = 100);
static member SupportsCardActions : string * int -> bool
Public Shared Function SupportsCardActions (channelId As String, Optional buttonCnt As Integer = 100) As Boolean

參數

channelId
String

要檢查卡片動作是否支援的通道。

buttonCnt
Int32

(可選)頻道需要檢查的卡牌動作數量。

傳回

如果通道支援 buttonCnt 總卡片動作,則為 True,如果通道不支援該數目的卡片動作,則為 False。

適用於