![]() ![]() It typically contains text and one or more buttons that the user can click to initiate the sign-in process.Ī card that can play animated GIFs or short videos.Ī customizable card that can contain any combination of text, speech, images, buttons, and input fields. For more information on language generation in general, you can refer to the language generation concept article.Ĭomposer currently supports the following card types: Card typeĪ card that typically contains a single large image, one or more buttons, and simple text.Ī card that typically contains a single thumbnail image, one or more buttons, and simple text.Ī card that requests a user to sign in. ![]() The structured response template section of the.Name of the button you want to show in the card.Īdditional resources for structured response templates The url pointing to the image that will appear in the card when displayed to the user. The text that will appear in the card when displayed to the user. The subtitle that will appear in the card when displayed to the user. The title that will appear in the card when displayed to the user. The name of the type of card being referenced. The entire template is contained within square brackets. Cards are defined using the structured response template format.Ī structured response template for cards consists of the following elements: # TemplateNameīuttons = name of the button you want to show in the card lg files: simple response, conditional response and structured response templates. lg file and there are three types of templates that can be used in. lg file that is exposed in Composer in the Bot Responses page. The structured response templateĪll of the Bot Responses are defined in a. If you're new to the concept of cards, it might be helpful to read the Cards section of the design the user experience article. There are times when you need messages that are plain text only, and there are times when you need richer message content, like images, animated GIFs, video clips, audio clips, and buttons. You can think of a card as an object with a standard set of rich user controls that you can choose from to communicate with and gather input from users. Cards let you create bots that can communicate with users in various ways. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |