Class: Google::Apps::Chat::V1::SlashCommandMetadata
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::SlashCommandMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/chat/v1/annotation.rb
Overview
Annotation metadata for slash commands (/).
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#bot ⇒ ::Google::Apps::Chat::V1::User
The Chat app whose command was invoked.
-
#command_id ⇒ ::Integer
The command ID of the invoked slash command.
-
#command_name ⇒ ::String
The name of the invoked slash command.
-
#triggers_dialog ⇒ ::Boolean
Indicates whether the slash command is for a dialog.
-
#type ⇒ ::Google::Apps::Chat::V1::SlashCommandMetadata::Type
The type of slash command.
Instance Attribute Details
#bot ⇒ ::Google::Apps::Chat::V1::User
Returns The Chat app whose command was invoked.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 115 class SlashCommandMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module Type # Default value for the enum. Don't use. TYPE_UNSPECIFIED = 0 # Add Chat app to space. ADD = 1 # Invoke slash command in space. INVOKE = 2 end end |
#command_id ⇒ ::Integer
Returns The command ID of the invoked slash command.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 115 class SlashCommandMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module Type # Default value for the enum. Don't use. TYPE_UNSPECIFIED = 0 # Add Chat app to space. ADD = 1 # Invoke slash command in space. INVOKE = 2 end end |
#command_name ⇒ ::String
Returns The name of the invoked slash command.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 115 class SlashCommandMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module Type # Default value for the enum. Don't use. TYPE_UNSPECIFIED = 0 # Add Chat app to space. ADD = 1 # Invoke slash command in space. INVOKE = 2 end end |
#triggers_dialog ⇒ ::Boolean
Returns Indicates whether the slash command is for a dialog.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 115 class SlashCommandMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module Type # Default value for the enum. Don't use. TYPE_UNSPECIFIED = 0 # Add Chat app to space. ADD = 1 # Invoke slash command in space. INVOKE = 2 end end |
#type ⇒ ::Google::Apps::Chat::V1::SlashCommandMetadata::Type
Returns The type of slash command.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 115 class SlashCommandMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module Type # Default value for the enum. Don't use. TYPE_UNSPECIFIED = 0 # Add Chat app to space. ADD = 1 # Invoke slash command in space. INVOKE = 2 end end |