tock / ai.tock.bot.connector.messenger / mediaTemplate

# mediaTemplate

`fun mediaTemplate(mediaUrl: String, mediaType: MediaType = MediaType.image, sharable: Boolean = false, vararg actions: UserAction): AttachmentMessage` (source)
`fun mediaTemplate(mediaUrl: String, mediaType: MediaType = MediaType.image, sharable: Boolean = false, actions: List<UserAction> = emptyList()): AttachmentMessage` (source)

Creates a media template https://developers.facebook.com/docs/messenger-platform/send-messages/template/media