Google Workspace Add-ons v1 API - Class ChatAppConfig (2.6.0)

public sealed class ChatAppConfig : IMessage<ChatAppConfig>, IEquatable<ChatAppConfig>, IDeepCloneable<ChatAppConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Workspace Add-ons v1 API class ChatAppConfig.

Represents the configuration of a Google Chat app built as a Google Workspace add-on.

Inheritance

object > ChatAppConfig

Namespace

Google.Cloud.GSuiteAddOns.V1

Assembly

Google.Cloud.GSuiteAddOns.V1.dll

Constructors

ChatAppConfig()

public ChatAppConfig()

ChatAppConfig(ChatAppConfig)

public ChatAppConfig(ChatAppConfig other)
Parameter
Name Description
other ChatAppConfig

Properties

AvatarUri

public string AvatarUri { get; set; }

Optional. The URL for the app's avatar image. Must be an HTTPS URL that hosts a square (aspect ratio of 1:1) PNG image. Recommended minimum size: 256 by 256 pixels. A default app avatar will be used if not specified.

Property Value
Type Description
string

ChatAppConfigName

public ChatAppConfigName ChatAppConfigName { get; set; }

ChatAppConfigName-typed view over the Name resource name property.

Property Value
Type Description
ChatAppConfigName

Description

public string Description { get; set; }

Required. A short description of the Chat app. Should be between 1 and 40 characters.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

Required. The display name of the Chat app. Length should be between 3 and 25 characters.

Property Value
Type Description
string

ErrorLoggingEnabled

public bool ErrorLoggingEnabled { get; set; }

Optional. Whether to log errors to Cloud Logging. Defaults to false if not specified.

Property Value
Type Description
bool

HasAvatarUri

public bool HasAvatarUri { get; }

Gets whether the "avatar_uri" field is set

Property Value
Type Description
bool

HasErrorLoggingEnabled

public bool HasErrorLoggingEnabled { get; }

Gets whether the "error_logging_enabled" field is set

Property Value
Type Description
bool

HasMarkupSyntax

public bool HasMarkupSyntax { get; }

Gets whether the "markup_syntax" field is set

Property Value
Type Description
bool

HasState

public bool HasState { get; }

Gets whether the "state" field is set

Property Value
Type Description
bool

InteractiveFeatureConfig

public InteractiveFeatureConfig InteractiveFeatureConfig { get; set; }

Optional. The settings for interactive features of the app. If this is not provided, the app will be non-interactive, meaning that it can use the Chat API, but users can't interact with the app.

Property Value
Type Description
InteractiveFeatureConfig

MarkupSyntax

public ChatAppConfig.Types.MarkupSyntax MarkupSyntax { get; set; }

Optional. The default markup syntax for messages sent or read by this Chat app. Defaults to MARKUP_SYNTAX_MARKDOWN if not specified.

Property Value
Type Description
ChatAppConfigTypesMarkupSyntax

Name

public string Name { get; set; }

Required. Identifier. Resource name of the Chat app configuration.

Format: projects/{project}/chatAppConfig, where {project} is the Google Cloud project number.

Property Value
Type Description
string

State

public ChatAppConfig.Types.AppState State { get; set; }

Optional. The state of the app. Defaults to ACTIVE if not specified.

Property Value
Type Description
ChatAppConfigTypesAppState