Photo

data class Photo(val chatId: Long, val messageId: Long, val file: FileRef, val caption: String? = null) : Input

A photo. Telegram offers several sizes of one; file is the one the transport designates, and telek models no others — a bot that needs a particular size asks the transport for it, which is out of this model on purpose.

Constructors

Link copied to clipboard
constructor(chatId: Long, messageId: Long, file: FileRef, caption: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open override val chatId: Long
Link copied to clipboard
Link copied to clipboard