ListMessageGroup を呼び出して、指定されたユーザーのメッセージグループリストをクエリします。
操作説明
QPS limits
The single-user QPS limit for this API is 100 queries per second. If this limit is exceeded, API calls will be throttled, which may affect your business. You can call this API at a reasonable rate. For more information, see QPS limits.
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
live:ListMessageGroup |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| UserId |
string |
任意 |
ユーザー ID。ユーザーによってカスタマイズされ、AppId 内で一意である必要があります。異なるユーザーは異なる UserId を使用する必要があります。 説明
正常なクエリを実行するには、このパラメーターを正しく塗りつぶしする必要があります。 |
de1**a0 |
| AppId |
string |
任意 |
インタラクティブなメッセージアプリケーション ID。 説明
正常なクエリを実行するには、このパラメーターを正しく塗りつぶしする必要があります。 |
VKL3*** |
| SortType |
integer |
任意 |
ソートメソッド。有効な値:
|
1 |
| PageNum |
integer |
必須 |
ページ番号。デフォルト値: 1。有効な値: 1~100000。 |
10 |
| PageSize |
integer |
必須 |
ページあたりに表示するメッセージグループの数。デフォルト値: 20。 有効な値: 1~50。 |
20 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID. |
16A96B9A-****-CB92E68F4CD8 |
| Result |
object |
Return result. |
|
| GroupList |
array<object> |
Message group list. |
|
|
array<object> |
Message group details. |
||
| AppId |
string |
Interactive Messages application ID. |
VKL3*** |
| CreateTime |
integer |
UTC timestamp when the message group was created. |
1502280113 |
| CreatorId |
string |
Creator ID. |
as****hs |
| Extension |
object |
Extension field. |
|
|
string |
Extension field. |
test001 |
|
| GroupId |
string |
Message group ID. |
AE35-****-T95F |
| Status |
integer |
Message group status. The default value is 1, indicating that the message group status is normal. |
1 |
| HasMore |
boolean |
Indicates whether there is a next page. Valid values:
|
false |
| Total |
integer |
Total number of message groups. |
5 |
例
成功レスポンス
JSONJSON
{
"RequestId": "16A96B9A-****-CB92E68F4CD8",
"Result": {
"GroupList": [
{
"AppId": "VKL3***",
"CreateTime": 1502280113,
"CreatorId": "as****hs",
"Extension": {
"key": "test001"
},
"GroupId": "AE35-****-T95F",
"Status": 1
}
],
"HasMore": false,
"Total": 5
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。