티스토리 수익 글 보기
Method: spaces.messagePins.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a message pin.
Requires user authentication with one of the following authorization scopes:
https://www.googleapis.com/auth/chat.spaces.pinshttps://www.googleapis.com/auth/chat.spaces
HTTP request
POST https://chat.googleapis.com/v1/{parent=spaces/*}/messagePins
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent space in which to create the message pin. Format: spaces/{space} |
Request body
The request body contains an instance of MessagePin.
Response body
If successful, the response body contains a newly created instance of MessagePin.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/chat.spaces.pinshttps://www.googleapis.com/auth/chat.spaces
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-01 UTC.