建立訊息釘選。
https://www.googleapis.com/auth/chat.spaces.pinshttps://www.googleapis.com/auth/chat.spaces
HTTP 要求
POST https://chat.googleapis.com/v1/{parent=spaces/*}/messagePins
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
parent |
必填。要建立訊息釘選的父項空間。格式:spaces/{space} |
要求主體
要求主體包含 MessagePin 的例項。
回應主體
如果成功,回應主體會包含新建立的 MessagePin 執行個體。
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/chat.spaces.pinshttps://www.googleapis.com/auth/chat.spaces
詳情請參閱授權指南。