@azure-rest/communication-messages package
インターフェイス
型エイリアス
| CommunicationMessageKind |
CommunicationMessageKind のエイリアス |
| CommunicationMessagesChannelOutput |
CommunicationMessagesChannelOutput のエイリアス |
| GetArrayType |
配列の型を抽出するヘルパー型 |
| GetMediaParameters | |
| GetPage |
ページの取得方法と、次のページへのリンク (ある場合) を定義するカスタム関数の型。 |
| ListTemplatesParameters | |
| MessageTemplateBindings |
テンプレート固有の場所に値をリンクするバインディング オブジェクト |
| MessageTemplateBindingsKind |
MessageTemplateBindingsKind のエイリアス |
| MessageTemplateItemOutput |
サービスから返されたメッセージ テンプレート。 |
| MessageTemplateStatusOutput |
MessageTemplateStatusOutput のエイリアス |
| MessageTemplateValue |
このクラスは、テンプレートのパラメーターを記述します。 |
| MessageTemplateValueKind |
MessageTemplateValueKind のエイリアス |
| MessagesServiceClient | |
| NotificationContent |
送信するメッセージの詳細。 |
| PagedMessageTemplateItemOutput |
MessageTemplateItem 項目の Paged コレクション |
| PaginateReturn |
応答型からページングされた要素の型を推測するヘルパー型。この型は、ページアイテムが見つかった応答のプロパティを示す itemName プロパティに対する x-ms-pageable の swagger 情報に基づいて生成されます。 既定値は |
| RepeatabilityResultOutput |
RepeatabilityResultOutput のエイリアス |
| SendParameters | |
| WhatsAppMessageButtonSubType |
WhatsAppMessageButtonSubType のエイリアス |
関数
| default(string, Client |
|
| default(string, Key |
|
| is |
|
| is |
|
| is |
|
| paginate<TResponse>(Client, TResponse, Paging |
Autorest |
関数の詳細
default(string, ClientOptions)
MessagesServiceClient の新しいインスタンスを初期化する
function default(connectionString: string, options?: ClientOptions): MessagesServiceClient
パラメーター
- connectionString
-
string
Communication Services リソースの connectionString または URL。
- options
- ClientOptions
すべての省略可能なパラメーターのパラメーター
戻り値
default(string, KeyCredential | TokenCredential, ClientOptions)
MessagesServiceClient の新しいインスタンスを初期化する
function default(endpoint: string, credential: KeyCredential | TokenCredential, options?: ClientOptions): MessagesServiceClient
パラメーター
- endpoint
-
string
Communication Services リソースのエンドポイント。
- credential
キーまたはトークンの資格情報。
- options
- ClientOptions
すべての省略可能なパラメーターのパラメーター
戻り値
isUnexpected(GetMedia200Response | GetMediaDefaultResponse)
function isUnexpected(response: GetMedia200Response | GetMediaDefaultResponse): response
パラメーター
- response
戻り値
response
isUnexpected(Send202Response | SendDefaultResponse)
function isUnexpected(response: Send202Response | SendDefaultResponse): response
パラメーター
- response
戻り値
response
isUnexpected(ListTemplates200Response | ListTemplatesDefaultResponse)
function isUnexpected(response: ListTemplates200Response | ListTemplatesDefaultResponse): response
パラメーター
戻り値
response
paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)
Autorest x-ms-pageable 拡張機能の仕様に従った最初の応答からの結果を改ページするヘルパー
function paginate<TResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>
パラメーター
- client
- Client
次のページ要求の送信に使用するクライアント
- initialResponse
-
TResponse
nextLink と要素の現在のページを含む初期応答
- options
-
PagingOptions<TResponse>
戻り値
PagedAsyncIterableIterator<PaginateReturn<TResponse>>
- PagedAsyncIterableIterator を使用して要素を反復処理する