https://www.googleapis.com/auth/chat.users.sections
HTTP 要求
POST https://chat.googleapis.com/v1/{name=users/*/sections/*/items/*}:move
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
name |
必填。要移動的章節項目資源名稱。 格式: |
要求主體
要求主體會包含結構如下的資料:
| JSON 表示法 |
|---|
{ "targetSection": string } |
| 欄位 | |
|---|---|
targetSection |
必填。要將區段項目移至的區段資源名稱。 格式: |
回應主體
移動章節項目的回覆訊息。
如果成功,回應主體會含有以下結構的資料:
| JSON 表示法 |
|---|
{
"sectionItem": {
object ( |
| 欄位 | |
|---|---|
sectionItem |
更新後的區段項目。 |
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/chat.users.sections
詳情請參閱授權指南。