Class CustomEmojisResource.GetRequest
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.
Inheritance
CustomEmojisResource.GetRequest
Inherited Members
Namespace: Google.Apis.HangoutsChat .v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class CustomEmojisResource.GetRequest : HangoutsChatBaseServiceRequest<CustomEmoji>, IClientServiceRequest<CustomEmoji>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service | |
string | name |
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
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.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()