Show / Hide Table of Contents

Class CustomEmojisResource

The "customEmojis" collection of methods.

Inheritance
object
CustomEmojisResource
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 CustomEmojisResource

Constructors

CustomEmojisResource(IClientService)

Constructs a new resource.

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

Methods

Create(CustomEmoji)

Creates a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see Learn about custom emojis in Google Chat and Manage custom emoji permissions. Requires user authentication with the authorization scope:

  • https://www.googleapis.com/auth/chat.customemojis
Declaration
public virtual CustomEmojisResource.CreateRequest Create(CustomEmoji body)
Parameters
Type Name Description
CustomEmoji body

The body of the request.

Returns
Type Description
CustomEmojisResource.CreateRequest

Delete(string)

Deletes a custom emoji. By default, users can only delete custom emoji they created. Emoji managers assigned by the administrator can delete any custom emoji in the organization. See Learn about custom emojis in Google Chat. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see Learn about custom emojis in Google Chat and Manage custom emoji permissions. Requires user authentication with the authorization scope:

  • https://www.googleapis.com/auth/chat.customemojis
Declaration
public virtual CustomEmojisResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name of the custom emoji to delete. Format: customEmojis/{customEmoji} You can use the emoji name as an alias for {customEmoji}. For example, customEmojis/:example-emoji: where :example-emoji: is the emoji name for a custom emoji.

Returns
Type Description
CustomEmojisResource.DeleteRequest

Get(string)

Returns details about a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see Learn about custom emojis in Google Chat and Manage custom emoji permissions. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.customemojis.readonly - https://www.googleapis.com/auth/chat.customemojis

Declaration
public virtual CustomEmojisResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of the custom emoji. Format: customEmojis/{customEmoji} You can use the emoji name as an alias for {customEmoji}. For example, customEmojis/:example-emoji: where :example-emoji: is the emoji name for a custom emoji.

Returns
Type Description
CustomEmojisResource.GetRequest

List()

Lists custom emojis visible to the authenticated user. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see Learn about custom emojis in Google Chat and Manage custom emoji permissions. Requires user authentication with one of the following authorization scopes: - https://www.googleapis.com/auth/chat.customemojis.readonly - https://www.googleapis.com/auth/chat.customemojis

Declaration
public virtual CustomEmojisResource.ListRequest List()
Returns
Type Description
CustomEmojisResource.ListRequest
In this article
Back to top Generated by DocFX