Package | Description |
---|---|
com.google.api.services.chat.v1.model |
Modifier and Type | Method and Description |
---|---|
SlashCommandMetadata |
SlashCommandMetadata.clone() |
SlashCommandMetadata |
Annotation.getSlashCommand()
The metadata for a slash command.
|
SlashCommandMetadata |
SlashCommandMetadata.set(String fieldName,
Object value) |
SlashCommandMetadata |
SlashCommandMetadata.setBot(User bot)
The Chat app whose command was invoked.
|
SlashCommandMetadata |
SlashCommandMetadata.setCommandId(Long commandId)
The command ID of the invoked slash command.
|
SlashCommandMetadata |
SlashCommandMetadata.setCommandName(String commandName)
The name of the invoked slash command.
|
SlashCommandMetadata |
SlashCommandMetadata.setTriggersDialog(Boolean triggersDialog)
Indicates whether the slash command is for a dialog.
|
SlashCommandMetadata |
SlashCommandMetadata.setType(String type)
The type of slash command.
|
Modifier and Type | Method and Description |
---|---|
Annotation |
Annotation.setSlashCommand(SlashCommandMetadata slashCommand)
The metadata for a slash command.
|
Copyright © 2011–2024 Google. All rights reserved.