Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button (v1.0.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button.

Contains information about a button.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#postback

def postback() -> ::String
Returns
  • (::String) — Optional. The text to send back to the Dialogflow API or a URI to open.

#postback=

def postback=(value) -> ::String
Parameter
  • value (::String) — 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.

#text

def text() -> ::String
Returns
  • (::String) — Optional. The text to show on the button.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — Optional. The text to show on the button.
Returns
  • (::String) — Optional. The text to show on the button.