tock / ai.tock.bot.connector.messenger / image

image

fun <T : Bus<T>> T.image(imageUrl: String, vararg quickReplies: QuickReply): AttachmentMessage (source)
fun <T : Bus<T>> T.image(imageUrl: String, quickReplies: List<QuickReply>): AttachmentMessage (source)

Creates an image as attachment (https://developers.facebook.com/docs/messenger-platform/reference/send-api/#attachment).