Class: Google::Apps::Chat::V1::SlashCommandMetadata

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#bot::Google::Apps::Chat::V1::User

Returns The Chat app whose command was invoked.

Returns:



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/chat/v1/annotation.rb', line 127

class 
  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.

Returns:

  • (::Integer)

    The command ID of the invoked slash command.



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/chat/v1/annotation.rb', line 127

class 
  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.

Returns:

  • (::String)

    The name of the invoked slash command.



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/chat/v1/annotation.rb', line 127

class 
  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.

Returns:

  • (::Boolean)

    Indicates whether the slash command is for a dialog.



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/chat/v1/annotation.rb', line 127

class 
  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.

Returns:



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/chat/v1/annotation.rb', line 127

class 
  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