Class CustomEmoji.Types.CustomEmojiPayload
Payload data for the custom emoji.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class CustomEmoji.Types.CustomEmojiPayload : IMessage<CustomEmoji.Types.CustomEmojiPayload>, IEquatable<CustomEmoji.Types.CustomEmojiPayload>, IDeepCloneable<CustomEmoji.Types.CustomEmojiPayload>, IBufferMessage, IMessage
Constructors
CustomEmojiPayload()
Declaration
public CustomEmojiPayload()
CustomEmojiPayload(CustomEmojiPayload)
Declaration
public CustomEmojiPayload(CustomEmoji.Types.CustomEmojiPayload other)
Parameters
Type | Name | Description |
---|---|---|
CustomEmoji.Types.CustomEmojiPayload | other |
Properties
FileContent
Required. Input only. The image used for the custom emoji.
The payload must be under 256 KB and the dimension of the image must be square and between 64 and 500 pixels. The restrictions are subject to change.
Declaration
public ByteString FileContent { get; set; }
Property Value
Type | Description |
---|---|
ByteString |
Filename
Required. Input only. The image file name.
Supported file extensions: .png
, .jpg
, .gif
.
Declaration
public string Filename { get; set; }
Property Value
Type | Description |
---|---|
string |