public class HangoutsChat.Spaces.Messages extends Object
Modifier and Type | Class and Description |
---|---|
class |
HangoutsChat.Spaces.Messages.Attachments
The "attachments" collection of methods.
|
class |
HangoutsChat.Spaces.Messages.Create |
class |
HangoutsChat.Spaces.Messages.Delete |
class |
HangoutsChat.Spaces.Messages.Get |
class |
HangoutsChat.Spaces.Messages.Update |
Constructor and Description |
---|
Messages() |
Modifier and Type | Method and Description |
---|---|
HangoutsChat.Spaces.Messages.Attachments |
attachments()
An accessor for creating requests from the Attachments collection.
|
HangoutsChat.Spaces.Messages.Create |
create(String parent,
Message content)
Creates a message.
|
HangoutsChat.Spaces.Messages.Delete |
delete(String name)
Deletes a message.
|
HangoutsChat.Spaces.Messages.Get |
get(String name)
Returns a message.
|
HangoutsChat.Spaces.Messages.Update |
update(String name,
Message content)
Updates a message.
|
public HangoutsChat.Spaces.Messages.Create create(String parent, Message content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. Space resource name, in the form "spaces". Example: spaces/AAAAMpdlehYcontent
- the Message
IOException
public HangoutsChat.Spaces.Messages.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. Resource name of the message to be deleted, in the form "spaces/messages" Example:
spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4IOException
public HangoutsChat.Spaces.Messages.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. Resource name of the message to be retrieved, in the form "spaces/messages". Example:
spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4IOException
public HangoutsChat.Spaces.Messages.Update update(String name, Message content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- content
- the Message
IOException
public HangoutsChat.Spaces.Messages.Attachments attachments()
The typical use is:
HangoutsChat chat = new HangoutsChat(...);
HangoutsChat.Attachments.List request = chat.attachments().list(parameters ...)
Copyright © 2011–2021 Google. All rights reserved.