Fix: 针对模板卡片消息中按钮交付型消息的buttonSelection属性增加builder方法

Signed-off-by: Hodor <1221879+zhlqee@user.noreply.gitee.com>
This commit is contained in:
Hodor 2024-11-11 09:30:20 +00:00 committed by Gitee
parent 1db40c10c3
commit fb8775ae8d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -427,6 +427,17 @@ public class TemplateCardBuilder extends BaseBuilder<TemplateCardBuilder> {
return this;
}
/**
* Button selection template card builder.
*
* @param buttonSelection the button selection
* @return the template card builder
*/
public TemplateCardBuilder buttonSelection(TemplateCardButtonSelection buttonSelection) {
this.buttonSelection = buttonSelection;
return this;
}
/**
* Buttons template card builder.
*