Я пытаюсь отобразить карту анимации с помощью Bot Framework с текстом, GIF и кнопками. Он отлично работает на эмуляторе бота, но не отображается в Messenger. Любые идеи?
Код
/**Send the question with the level information if available, the index and the Math expression along with a countdown timer as GIF attachment */
let message = new builder.Message(session)
.text(level ? level + ' \n' + strings.question : strings.question, dialogData.index + 1, question.expression)
.addAttachment(
new builder.AnimationCard(session)
.media([{
profile: "image/gif",
url: "https://media.giphy.com/media/l3q2silev6exF53pu/200w.gif"
}])
.buttons(buttons)
// .toAttachment()
)
session.send(message)
Есть идеи, что может быть не так? Заранее спасибо за ваши предложения
ОБНОВЛЕНИЕ 1
Это ошибка на моей консоли
{"error":{"message":"(#100) Параметр [elements][0][title] должен быть непустой строкой в кодировке UTF-8","type":"OAuthException","code": 100,"fbtrace_id":"CLEcx63w+4N"}}