Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard (v0.30.0)

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

The basic card message. Useful for displaying information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#buttons

def buttons() -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>
Returns

#buttons=

def buttons=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>
Parameter
Returns

#formatted_text

def formatted_text() -> ::String
Returns
  • (::String) — Required, unless image is present. The body text of the card.

#formatted_text=

def formatted_text=(value) -> ::String
Parameter
  • value (::String) — Required, unless image is present. The body text of the card.
Returns
  • (::String) — Required, unless image is present. The body text of the card.

#image

def image() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image
Returns

#image=

def image=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image
Parameter
Returns

#subtitle

def subtitle() -> ::String
Returns
  • (::String) — Optional. The subtitle of the card.

#subtitle=

def subtitle=(value) -> ::String
Parameter
  • value (::String) — Optional. The subtitle of the card.
Returns
  • (::String) — Optional. The subtitle of the card.

#title

def title() -> ::String
Returns
  • (::String) — Optional. The title of the card.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — Optional. The title of the card.
Returns
  • (::String) — Optional. The title of the card.