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. See https://core.telegram.org/bots/api#inputmediadocument

InputMediaPhoto
Link copied to clipboard
common
data class InputMediaPhoto : InputMedia, VisualMediaGroupMemberInputMedia
InputMediaSerializer
Link copied to clipboard
common
object InputMediaSerializer : KSerializer<InputMedia>
InputMediaVideo
Link copied to clipboard
MediaGroupMemberInputMedia
Link copied to clipboard
common
interface MediaGroupMemberInputMedia : InputMedia, TextedOutput
MediaGroupMemberInputMediaSerializer
Link copied to clipboard
common
object MediaGroupMemberInputMediaSerializer : KSerializer<MediaGroupMemberInputMedia>
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: 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
InputMediaAudio
Link copied to clipboard
common
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
InputMediaDocument
Link copied to clipboard
common
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
InputMediaPhoto
Link copied to clipboard
common
fun InputMediaPhoto(file: InputFile, entities: TextSourcesList): InputMediaPhoto
fun InputMediaPhoto(file: InputFile, text: String? = null, parseMode: ParseMode? = null): InputMediaPhoto
InputMediaVideo
Link copied to clipboard
common
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
toInputMediaAudio
Link copied to clipboard
common
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
toInputMediaDocument
Link copied to clipboard
common
fun DocumentFile.toInputMediaDocument(textSources: TextSourcesList = emptyList()): InputMediaDocument
fun DocumentFile.toInputMediaDocument(text: String? = null, parseMode: ParseMode? = null): InputMediaDocument
toInputMediaPhoto
Link copied to clipboard
common
fun PhotoSize.toInputMediaPhoto(textSources: TextSourcesList = emptyList()): InputMediaPhoto
fun PhotoSize.toInputMediaPhoto(text: String? = null, parseMode: ParseMode? = null): InputMediaPhoto