Class CustomEmojisResource
The "customEmojis" collection of methods.
Inherited Members
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 |
---|---|---|
IClient |
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.
Declaration
public virtual CustomEmojisResource.CreateRequest Create(CustomEmoji body)
Parameters
Type | Name | Description |
---|---|---|
Custom |
body | The body of the request. |
Returns
Type | Description |
---|---|
Custom |
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.
Declaration
public virtual CustomEmojisResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the custom emoji to delete. Format: |
Returns
Type | Description |
---|---|
Custom |
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.
Declaration
public virtual CustomEmojisResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the custom emoji. Format: |
Returns
Type | Description |
---|---|
Custom |
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.
Declaration
public virtual CustomEmojisResource.ListRequest List()
Returns
Type | Description |
---|---|
Custom |