Package dev.inmo.tgbotapi.types.InputMedia

Types

AudioMediaGroupMemberInputMedia
Link copied to clipboard
interface AudioMediaGroupMemberInputMedia : MediaGroupMemberInputMedia
DocumentMediaGroupMemberInputMedia
Link copied to clipboard
interface DocumentMediaGroupMemberInputMedia : MediaGroupMemberInputMedia
DuratedInputMedia
Link copied to clipboard
interface DuratedInputMedia : InputMedia
InputMedia
Link copied to clipboard
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

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

Functions

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