2

I was looking around to change card width created by Google Chatbot but as far I see there is no any config within Chatbot API.

Is it possible to set an attribute somehow?

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
                }
            ]
        };
    }

}

and those are Hangouts Chat APIs I've looked for now but no information about customise the width value;

Rubén
  • 34,714
  • 9
  • 70
  • 166
Nuri Engin
  • 813
  • 10
  • 38

1 Answers1

1

Unfortunately, it is not possible to change the width of a card, per the broad Cards overview.

cruithear
  • 11
  • 1