Class: Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/intent.rb

Overview

Contains information about a button.

Instance Attribute Summary collapse

Instance Attribute Details

#postbackString

Returns Optional. The text to send back to the Dialogflow API or a URI to open.

Returns:

  • (String)

    Optional. The text to send back to the Dialogflow API or a URI to open.



358
359
360
361
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 358

class Button
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end

#textString

Returns Optional. The text to show on the button.

Returns:

  • (String)

    Optional. The text to show on the button.



358
359
360
361
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 358

class Button
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
end