Package dev. inmo. tgbotapi. types. InputMedia
Types
Link copied to clipboard
Link copied to clipboard
interface DocumentMediaGroupMemberInputMedia : MediaGroupMemberInputMedia
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class InputMediaAnimation : InputMedia, SizedInputMedia, DuratedInputMedia, ThumbedInputMedia, TextedOutput
Content copied to clipboard
Link copied to clipboard
data class InputMediaAudio : InputMedia, AudioMediaGroupMemberInputMedia, DuratedInputMedia, ThumbedInputMedia, TitledInputMedia, Performerable
Content copied to clipboard
Link copied to clipboard
data class InputMediaDocument : InputMedia, DocumentMediaGroupMemberInputMedia, ThumbedInputMedia
Content 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
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class InputMediaVideo : InputMedia, SizedInputMedia, DuratedInputMedia, ThumbedInputMedia, VisualMediaGroupMemberInputMedia
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
object MediaGroupMemberInputMediaSerializer : KSerializer<MediaGroupMemberInputMedia>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun InputMediaAnimation(file: InputFile, entities: TextSourcesList, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): InputMediaAnimation
Content copied to clipboard
fun InputMediaAnimation(file: InputFile, text: String? = null, parseMode: ParseMode? = null, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): InputMediaAnimation
Content copied to clipboard
Link copied to clipboard
fun InputMediaAudio(file: InputFile, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, thumb: InputFile? = null): InputMediaAudio
Content copied to clipboard
fun InputMediaAudio(file: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, thumb: InputFile? = null): InputMediaAudio
Content copied to clipboard
Link copied to clipboard
fun InputMediaDocument(file: InputFile, entities: TextSourcesList, thumb: InputFile? = null, disableContentTypeDetection: Boolean? = null): InputMediaDocument
Content copied to clipboard
fun InputMediaDocument(file: InputFile, text: String? = null, parseMode: ParseMode? = null, thumb: InputFile? = null, disableContentTypeDetection: Boolean? = null): InputMediaDocument
Content copied to clipboard
Link copied to clipboard
fun InputMediaPhoto(file: InputFile, entities: TextSourcesList): InputMediaPhoto
Content copied to clipboard
fun InputMediaPhoto(file: InputFile, text: String? = null, parseMode: ParseMode? = null): InputMediaPhoto
Content copied to clipboard
Link copied to clipboard
fun InputMediaVideo(file: InputFile, entities: TextSourcesList, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): InputMediaVideo
Content copied to clipboard
fun InputMediaVideo(file: InputFile, text: String? = null, parseMode: ParseMode? = null, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): InputMediaVideo
Content copied to clipboard
Link copied to clipboard
fun AudioFile.toInputMediaAudio(textSources: TextSourcesList = emptyList(), title: String? = this.title): InputMediaAudio
Content copied to clipboard
fun AudioFile.toInputMediaAudio(text: String? = null, parseMode: ParseMode? = null, title: String? = this.title): InputMediaAudio
Content copied to clipboard
Link copied to clipboard
fun DocumentFile.toInputMediaDocument(textSources: TextSourcesList = emptyList()): InputMediaDocument
Content copied to clipboard
fun DocumentFile.toInputMediaDocument(text: String? = null, parseMode: ParseMode? = null): InputMediaDocument
Content copied to clipboard
Link copied to clipboard
fun PhotoSize.toInputMediaPhoto(textSources: TextSourcesList = emptyList()): InputMediaPhoto
Content copied to clipboard
fun PhotoSize.toInputMediaPhoto(text: String? = null, parseMode: ParseMode? = null): InputMediaPhoto
Content copied to clipboard