Class SlashCommandMetadata
Annotation metadata for slash commands (/).
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class SlashCommandMetadata : IDirectResponseSchema
Properties
Bot
The Chat app whose command was invoked.
Declaration
[JsonProperty("bot")]
public virtual User Bot { get; set; }
Property Value
Type | Description |
---|---|
User |
CommandId
The command ID of the invoked slash command.
Declaration
[JsonProperty("commandId")]
public virtual long? CommandId { get; set; }
Property Value
Type | Description |
---|---|
long? |
CommandName
The name of the invoked slash command.
Declaration
[JsonProperty("commandName")]
public virtual string CommandName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
TriggersDialog
Indicates whether the slash command is for a dialog.
Declaration
[JsonProperty("triggersDialog")]
public virtual bool? TriggersDialog { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Type
The type of slash command.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |