Channel 클래스
- java.
lang. Object - com.
microsoft. bot. dialogs. choices. Channel
- com.
public final class Channel
채널 특정 기능을 결정하는 메서드입니다.
메서드 요약
| 한정자 및 형식 | 메서드 및 설명 |
|---|---|
| static java.lang.String |
getChannelId(TurnContext turnContext)
턴 컨텍스트의 현재 활동에서 채널 ID를 가져옵니다. |
| static boolean |
hasMessageFeed(String channelId)
채널에 메시지 피드가 있는지 확인합니다. |
| static int |
maxActionTitleLength(String channelId)
작업 타이틀에 허용되는 최대 길이입니다. |
| static boolean |
supportsCardActions(String channelId)
채널에서 여러 카드 작업을 지원하는지 확인합니다. |
| static boolean |
supportsCardActions(String channelId, int buttonCnt)
채널에서 여러 카드 작업을 지원하는지 확인합니다. |
| static boolean |
supportsSuggestedActions(String channelId)
채널에서 여러 제안된 작업을 지원하는지 확인합니다. |
| static boolean |
supportsSuggestedActions(String channelId, int buttonCnt)
채널에서 여러 제안된 작업을 지원하는지 확인합니다. |
다음에서 상속된 메서드 java.lang.Object
메서드 세부 정보
getChannelId
public static String getChannelId(TurnContext turnContext)
턴 컨텍스트의 현재 활동에서 채널 ID를 가져옵니다.
매개 변수:
반환:
hasMessageFeed
public static boolean hasMessageFeed(String channelId)
채널에 메시지 피드가 있는지 확인합니다.
매개 변수:
반환:
maxActionTitleLength
public static int maxActionTitleLength(String channelId)
작업 타이틀에 허용되는 최대 길이입니다.
매개 변수:
반환:
supportsCardActions
public static boolean supportsCardActions(String channelId)
채널에서 여러 카드 작업을 지원하는지 확인합니다.
매개 변수:
반환:
supportsCardActions
public static boolean supportsCardActions(String channelId, int buttonCnt)
채널에서 여러 카드 작업을 지원하는지 확인합니다.
매개 변수:
반환:
supportsSuggestedActions
public static boolean supportsSuggestedActions(String channelId)
채널에서 여러 제안된 작업을 지원하는지 확인합니다.
매개 변수:
반환:
supportsSuggestedActions
public static boolean supportsSuggestedActions(String channelId, int buttonCnt)
채널에서 여러 제안된 작업을 지원하는지 확인합니다.
매개 변수:
반환: