Show / Hide Table of Contents

Class SpacesResource.MessagePinsResource

The "messagePins" collection of methods.

Inheritance
object
SpacesResource.MessagePinsResource
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.MessagePinsResource

Constructors

MessagePinsResource(IClientService)

Constructs a new resource.

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

Methods

Create(MessagePin, string)

Creates a message pin. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.spaces.pins - https://www.googleapis.com/auth/chat.spaces

Declaration
public virtual SpacesResource.MessagePinsResource.CreateRequest Create(MessagePin body, string parent)
Parameters
Type Name Description
MessagePin body

The body of the request.

string parent

Required. The parent space in which to create the message pin. Format: spaces/{space}

Returns
Type Description
SpacesResource.MessagePinsResource.CreateRequest

Delete(string)

Deletes a message pin. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.spaces.pins - https://www.googleapis.com/auth/chat.spaces

Declaration
public virtual SpacesResource.MessagePinsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The resource name of the message pin to remove. Format: spaces/{space}/messagePins/{message_pin}

Returns
Type Description
SpacesResource.MessagePinsResource.DeleteRequest

List(string)

Lists message pins in a space. Users can pin important messages in spaces for easy access. For more information, see Pin or unpin a conversation in Google Chat. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.spaces.pins.readonly - https://www.googleapis.com/auth/chat.spaces.pins - https://www.googleapis.com/auth/chat.spaces.readonly - https://www.googleapis.com/auth/chat.spaces

Declaration
public virtual SpacesResource.MessagePinsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent space which owns the collection of pinned items Format: spaces/{space}

Returns
Type Description
SpacesResource.MessagePinsResource.ListRequest
In this article
Back to top Generated by DocFX