Package dev.inmo.tgbotapi.types.InputMedia

Types

AudioMediaGroupMemberInputMedia
Link copied to clipboard
common
interface AudioMediaGroupMemberInputMedia : MediaGroupMemberInputMedia
DocumentMediaGroupMemberInputMedia
Link copied to clipboard
common
interface DocumentMediaGroupMemberInputMedia : MediaGroupMemberInputMedia
DuratedInputMedia
Link copied to clipboard
common
interface DuratedInputMedia : InputMedia
InputMedia
Link copied to clipboard
common
interface InputMedia
InputMediaAnimation
Link copied to clipboard
InputMediaDocument
Link copied to clipboard
common
Represents a general file to be sent.
InputMediaPhoto
Link copied to clipboard
common
data class InputMediaPhoto : InputMedia, VisualMediaGroupMemberInputMedia
InputMediaVideo
Link copied to clipboard
MediaGroupMemberInputMedia
Link copied to clipboard
common
interface MediaGroupMemberInputMedia : InputMedia, TextedOutput
SizedInputMedia
Link copied to clipboard
common
interface SizedInputMedia : InputMedia
ThumbedInputMedia
Link copied to clipboard
common
interface ThumbedInputMedia : InputMedia
TitledInputMedia
Link copied to clipboard
common
interface TitledInputMedia : InputMedia
VisualMediaGroupMemberInputMedia
Link copied to clipboard
common
interface VisualMediaGroupMemberInputMedia : MediaGroupMemberInputMedia

Functions

InputMediaAnimation
Link copied to clipboard
common
fun InputMediaAnimation(file: InputFile, entities: List<TextSource>, 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
InputMediaAudio
Link copied to clipboard
common
fun InputMediaAudio(file: InputFile, entities: List<TextSource>, 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
InputMediaDocument
Link copied to clipboard
common
fun InputMediaDocument(file: InputFile, entities: List<TextSource>, thumb: InputFile? = null, disableContentTypeDetection: Boolean? = null): InputMediaDocument
fun InputMediaDocument(file: InputFile, caption: String? = null, parseMode: ParseMode? = null, thumb: InputFile? = null, disableContentTypeDetection: Boolean? = null): InputMediaDocument
InputMediaPhoto
Link copied to clipboard
common
fun InputMediaPhoto(file: InputFile, entities: List<TextSource>): InputMediaPhoto
fun InputMediaPhoto(file: InputFile, text: String? = null, parseMode: ParseMode? = null): InputMediaPhoto
InputMediaVideo
Link copied to clipboard
common
fun InputMediaVideo(file: InputFile, entities: List<TextSource>, 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
toInputMediaAudio
Link copied to clipboard
common
fun AudioFile.toInputMediaAudio(textSources: TextSourcesList = emptyList(), title: String? = this.title): InputMediaAudio
fun AudioFile.toInputMediaAudio(caption: String? = null, parseMode: ParseMode? = null, title: String? = this.title): InputMediaAudio
toInputMediaDocument
Link copied to clipboard
common
fun DocumentFile.toInputMediaDocument(textSources: TextSourcesList = emptyList()): InputMediaDocument
fun DocumentFile.toInputMediaDocument(caption: String? = null, parseMode: ParseMode? = null): InputMediaDocument
toInputMediaPhoto
Link copied to clipboard
common
fun PhotoSize.toInputMediaPhoto(textSources: TextSourcesList = emptyList()): InputMediaPhoto
fun PhotoSize.toInputMediaPhoto(caption: String? = null, parseMode: ParseMode? = null): InputMediaPhoto