tock / ai.tock.bot.connector.messenger / buttonsTemplate

buttonsTemplate

fun I18nTranslator.buttonsTemplate(text: CharSequence, vararg actions: UserAction): AttachmentMessage (source)
fun I18nTranslator.buttonsTemplate(text: CharSequence, actions: List<UserAction>): AttachmentMessage (source)

Creates a button template https://developers.facebook.com/docs/messenger-platform/send-api-reference/button-template