After doing some research, I haven't been able to find any configuration options within the Chatbot API to change the width of the card created by Google Chatbot.
Is there a way to set an attribute for this?
This is my current Card class:
class Card {
constructor(title, subtitle, imgUrl) {
this.sections = [];
this.cardObject = {
"cards": [
{
"header": {"title": title, "subtitle": subtitle, "imageUrl": imgUrl},
"sections": this.sections
}
]
};
}
}
I have checked Hangouts Chat API resources like Design guidelines, Card Formatting Messages, and Creating interactive cards but found no information on customizing the width value.