Google Chat V1 API - Class Google::Apps::Chat::V1::SlashCommandMetadata (v0.1.2)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::SlashCommandMetadata.

Annotation metadata for slash commands (/).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bot

def bot() -> ::Google::Apps::Chat::V1::User
Returns

#bot=

def bot=(value) -> ::Google::Apps::Chat::V1::User
Parameter
Returns

#command_id

def command_id() -> ::Integer
Returns
  • (::Integer) — The command ID of the invoked slash command.

#command_id=

def command_id=(value) -> ::Integer
Parameter
  • value (::Integer) — The command ID of the invoked slash command.
Returns
  • (::Integer) — The command ID of the invoked slash command.

#command_name

def command_name() -> ::String
Returns
  • (::String) — The name of the invoked slash command.

#command_name=

def command_name=(value) -> ::String
Parameter
  • value (::String) — The name of the invoked slash command.
Returns
  • (::String) — The name of the invoked slash command.

#triggers_dialog

def triggers_dialog() -> ::Boolean
Returns
  • (::Boolean) — Indicates whether the slash command is for a dialog.

#triggers_dialog=

def triggers_dialog=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates whether the slash command is for a dialog.
Returns
  • (::Boolean) — Indicates whether the slash command is for a dialog.

#type

def type() -> ::Google::Apps::Chat::V1::SlashCommandMetadata::Type
Returns

#type=

def type=(value) -> ::Google::Apps::Chat::V1::SlashCommandMetadata::Type
Parameter
Returns