Tetapkan tombol utama di footer tetap. Tombol utama harus berupa tombol TextButtonStyle.FILLED. Jika warna latar belakang tidak ditetapkan untuk tombol utama, tombol tersebut akan menggunakan warna utama yang ditentukan dalam manifest add-on.
Tetapkan tombol sekunder di footer tetap. Tombol sekunder harus berupa tombol TextButtonStyle.OUTLINED. Metode ini tidak melakukan apa pun jika setPrimaryButton(button) tidak dipanggil untuk menetapkan tombol utama.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-01-30 UTC."],[[["A FixedFooter is displayed at the bottom of a Card in Google Workspace Add-ons and Google Chat apps."],["It can contain a primary button (required) and an optional secondary button for user interaction."],["Primary buttons have a filled style while secondary buttons have an outlined style."],["Developers can customize button actions, such as opening a link, using the `setPrimaryButton` and `setSecondaryButton` methods."]]],["The `FixedFooter` feature, available in Google Workspace add-ons and Google Chat apps, allows setting buttons at the bottom of a card. You can set a `primaryButton` using `setPrimaryButton()`, which requires a `TextButtonStyle.FILLED` button. Optionally, a `secondaryButton` can be added via `setSecondaryButton()`, using a `TextButtonStyle.OUTLINED` button. Setting a secondary button is only effective if a primary button is set first. Both methods return the `FixedFooter` object for chaining.\n"]]