Extensions.AddKeyboardCard<T> 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
옵션에서 단추를 생성하고 메시지에 추가합니다.
public static void AddKeyboardCard<T> (this Microsoft.Bot.Connector.IMessageActivity message, string text, System.Collections.Generic.IEnumerable<T> options, System.Collections.Generic.IEnumerable<string> descriptions = default);
static member AddKeyboardCard : Microsoft.Bot.Connector.IMessageActivity * string * seq<'T> * seq<string> -> unit
<Extension()>
Public Sub AddKeyboardCard(Of T) (message As IMessageActivity, text As String, options As IEnumerable(Of T), Optional descriptions As IEnumerable(Of String) = Nothing)
형식 매개 변수
- T
옵션의 유형입니다.
매개 변수
- message
- IMessageActivity
단추가 추가될 메시지입니다.
- options
- IEnumerable<T>
단추를 생성할 수 있는 옵션입니다.
- descriptions
- IEnumerable<String>
각 옵션에 대한 설명입니다.
설명
T
은 ToString()을 구현해야 합니다.