GoogleApi.Chat.V1.Model.SlashCommandMetadata (google_api_chat v0.30.0) View Source

Annotation metadata for slash commands (/).

Attributes

  • bot (type: GoogleApi.Chat.V1.Model.User.t, default: nil) - The bot whose command was invoked.
  • commandId (type: String.t, default: nil) - The command id of the invoked slash command.
  • commandName (type: String.t, default: nil) - The name of the invoked slash command.
  • triggersDialog (type: boolean(), default: nil) - Indicating whether the slash command is for a dialog.
  • type (type: String.t, default: nil) - The type of slash command.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Chat.V1.Model.SlashCommandMetadata{
  bot: GoogleApi.Chat.V1.Model.User.t() | nil,
  commandId: String.t() | nil,
  commandName: String.t() | nil,
  triggersDialog: boolean() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.