chore: Minor Changes to Bot Message APIs (#1739)

This commit is contained in:
Sojan Jose
2021-02-08 12:50:11 +05:30
committed by GitHub
parent 933661b22c
commit f46c4b5130
4 changed files with 6 additions and 0 deletions

View File

@@ -17,8 +17,10 @@ module WootMessageSeeder
conversation: conversation,
message_type: :template,
content_type: 'cards',
content: 'cards',
content_attributes: {
items: [
sample_card_item,
sample_card_item
]
}
@@ -71,6 +73,7 @@ module WootMessageSeeder
conversation: conversation,
message_type: :template,
content_type: 'form',
content: 'form',
content_attributes: {
"items": [
{ "name": 'email', "placeholder": 'Please enter your email', "type": 'email', "label": 'Email' },