Class CustomEmojisResource.CreateRequest
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
Inheritance
CustomEmojisResource.CreateRequest
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class CustomEmojisResource.CreateRequest : HangoutsChatBaseServiceRequest<CustomEmoji>, IClientServiceRequest<CustomEmoji>, IClientServiceRequest
Constructors
CreateRequest(IClientService, CustomEmoji)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, CustomEmoji body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CustomEmoji | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()