Show / Hide Table of Contents

Class SpacesResource.MessagesResource.AttachmentsResource

The "attachments" collection of methods.

Inheritance
object
SpacesResource.MessagesResource.AttachmentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class SpacesResource.MessagesResource.AttachmentsResource

Constructors

AttachmentsResource(IClientService)

Constructs a new resource.

Declaration
public AttachmentsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(string)

Gets the metadata of a message attachment. The attachment data is fetched using the media API. For an example, see Get metadata about a message attachment. Requires app authentication with the authorization scope: - https://www.googleapis.com/auth/chat.bot

Declaration
public virtual SpacesResource.MessagesResource.AttachmentsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of the attachment, in the form spaces/{space}/messages/{message}/attachments/{attachment}.

Returns
Type Description
SpacesResource.MessagesResource.AttachmentsResource.GetRequest
In this article
Back to top Generated by DocFX