Package dev.inmo.tgbotapi.types.InputMedia

Types

Link copied to clipboard
interface AudioMediaGroupMemberInputMedia : MediaGroupMemberInputMedia
Link copied to clipboard
interface DocumentMediaGroupMemberInputMedia : MediaGroupMemberInputMedia
Link copied to clipboard
interface DuratedInputMedia : InputMedia
Link copied to clipboard
interface InputMedia
Link copied to clipboard
Link copied to clipboard

Represents a general file to be sent. See https://core.telegram.org/bots/api#inputmediadocument

Link copied to clipboard
data class InputMediaPhoto : InputMedia, VisualMediaGroupMemberInputMedia
Link copied to clipboard
object InputMediaSerializer : KSerializer<InputMedia>
Link copied to clipboard
Link copied to clipboard
interface MediaGroupMemberInputMedia : InputMedia, TextedOutput
Link copied to clipboard
object MediaGroupMemberInputMediaSerializer : KSerializer<MediaGroupMemberInputMedia>
Link copied to clipboard
interface SizedInputMedia : InputMedia
Link copied to clipboard
interface ThumbedInputMedia : InputMedia
Link copied to clipboard
interface TitledInputMedia : InputMedia
Link copied to clipboard
interface VisualMediaGroupMemberInputMedia : MediaGroupMemberInputMedia

Functions

Link copied to clipboard
fun InputMediaAnimation(file: InputFile, entities: TextSourcesList, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): InputMediaAnimation
fun InputMediaAnimation(file: InputFile, text: String? = null, parseMode: ParseMode? = null, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): InputMediaAnimation
Link copied to clipboard
fun InputMediaAudio(file: InputFile, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, thumb: InputFile? = null): InputMediaAudio
fun InputMediaAudio(file: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, thumb: InputFile? = null): InputMediaAudio
Link copied to clipboard
fun InputMediaDocument(file: InputFile, entities: TextSourcesList, thumb: InputFile? = null, disableContentTypeDetection: Boolean? = null): InputMediaDocument
fun InputMediaDocument(file: InputFile, text: String? = null, parseMode: ParseMode? = null, thumb: InputFile? = null, disableContentTypeDetection: Boolean? = null): InputMediaDocument
Link copied to clipboard
fun InputMediaPhoto(file: InputFile, entities: TextSourcesList): InputMediaPhoto
fun InputMediaPhoto(file: InputFile, text: String? = null, parseMode: ParseMode? = null): InputMediaPhoto
Link copied to clipboard
fun InputMediaVideo(file: InputFile, entities: TextSourcesList, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): InputMediaVideo
fun InputMediaVideo(file: InputFile, text: String? = null, parseMode: ParseMode? = null, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): InputMediaVideo
Link copied to clipboard
fun AudioFile.toInputMediaAudio(textSources: TextSourcesList = emptyList(), title: String? = this.title): InputMediaAudio
fun AudioFile.toInputMediaAudio(text: String? = null, parseMode: ParseMode? = null, title: String? = this.title): InputMediaAudio
Link copied to clipboard
fun DocumentFile.toInputMediaDocument(textSources: TextSourcesList = emptyList()): InputMediaDocument
fun DocumentFile.toInputMediaDocument(text: String? = null, parseMode: ParseMode? = null): InputMediaDocument
Link copied to clipboard
fun PhotoSize.toInputMediaPhoto(textSources: TextSourcesList = emptyList()): InputMediaPhoto
fun PhotoSize.toInputMediaPhoto(text: String? = null, parseMode: ParseMode? = null): InputMediaPhoto