tock / ai.tock.bot.connector.twitter / directMessageWithAttachment

# directMessageWithAttachment

`fun <T : Bus<T>> T.directMessageWithAttachment(message: CharSequence, mediaCategory: MediaCategory, contentType: String, bytes: ByteArray, vararg options: Option): OutcomingEvent` (source)
`fun <T : Bus<T>> T.directMessageWithAttachment(message: CharSequence, mediaCategory: MediaCategory, contentType: String, bytes: ByteArray, vararg options: OptionWithoutDescription): OutcomingEvent` (source)

Creates a direct message with an attachment

See Also

https