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

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

common
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, CaptionedOutput, 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?, height: Int?, duration: Long?, thumb: InputFile?): InputMediaAnimation
fun InputMediaAnimation(file: InputFile, text: String?, parseMode: ParseMode?, width: Int?, height: Int?, duration: Long?, thumb: InputFile?): InputMediaAnimation
InputMediaAudio
Link copied to clipboard
common
fun InputMediaAudio(file: InputFile, entities: List<TextSource>, duration: Long?, performer: String?, title: String?, thumb: InputFile?): InputMediaAudio
fun InputMediaAudio(file: InputFile, text: String?, parseMode: ParseMode?, duration: Long?, performer: String?, title: String?, thumb: InputFile?): InputMediaAudio
InputMediaDocument
Link copied to clipboard
common
fun InputMediaDocument(file: InputFile, entities: List<TextSource>, thumb: InputFile?, disableContentTypeDetection: Boolean?): InputMediaDocument
fun InputMediaDocument(file: InputFile, caption: String?, parseMode: ParseMode?, thumb: InputFile?, disableContentTypeDetection: Boolean?): InputMediaDocument
InputMediaPhoto
Link copied to clipboard
common
fun InputMediaPhoto(file: InputFile, entities: List<TextSource>): InputMediaPhoto
fun InputMediaPhoto(file: InputFile, text: String?, parseMode: ParseMode?): InputMediaPhoto
InputMediaVideo
Link copied to clipboard
common
fun InputMediaVideo(file: InputFile, entities: List<TextSource>, width: Int?, height: Int?, duration: Long?, thumb: InputFile?): InputMediaVideo
fun InputMediaVideo(file: InputFile, text: String?, parseMode: ParseMode?, width: Int?, height: Int?, duration: Long?, thumb: InputFile?): InputMediaVideo
toInputMediaAudio
Link copied to clipboard
common
fun AudioFile.toInputMediaAudio(caption: String?, parseMode: ParseMode?, title: String?): InputMediaAudio
toInputMediaDocument
Link copied to clipboard
common
fun DocumentFile.toInputMediaDocument(caption: String?, parseMode: ParseMode?): InputMediaDocument
toInputMediaPhoto
Link copied to clipboard
common
fun PhotoSize.toInputMediaPhoto(caption: String?, parseMode: ParseMode?): InputMediaPhoto