public class HangoutsChat.Spaces.MessagePins extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
HangoutsChat.Spaces.MessagePins.Create |
class |
HangoutsChat.Spaces.MessagePins.Delete |
class |
HangoutsChat.Spaces.MessagePins.List |
| Constructor and Description |
|---|
MessagePins() |
| Modifier and Type | Method and Description |
|---|---|
HangoutsChat.Spaces.MessagePins.Create |
create(String parent,
MessagePin content)
Creates a message pin.
|
HangoutsChat.Spaces.MessagePins.Delete |
delete(String name)
Deletes a message pin.
|
HangoutsChat.Spaces.MessagePins.List |
list(String parent)
Lists message pins in a space.
|
public HangoutsChat.Spaces.MessagePins.Create create(String parent, MessagePin content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent space in which to create the message pin. Format: spaces/{space}content - the MessagePinIOExceptionpublic HangoutsChat.Spaces.MessagePins.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the message pin to remove. Format:
spaces/{space}/messagePins/{message_pin}IOExceptionpublic HangoutsChat.Spaces.MessagePins.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent space which owns the collection of pinned items Format: `spaces/{space}`IOExceptionCopyright © 2011–2026 Google. All rights reserved.