Package dev. inmo. tgbotapi. types. media
Types
Link copied to clipboard
interface AudioMediaGroupMemberTelegramMedia : MediaGroupMemberTelegramMedia
Content copied to clipboard
Link copied to clipboard
interface DocumentMediaGroupMemberTelegramMedia : MediaGroupMemberTelegramMedia
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object MediaGroupMemberTelegramMediaSerializer : KSerializer<MediaGroupMemberTelegramMedia>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TelegramMediaAnimation : TelegramMedia, SizedTelegramMedia, DuratedTelegramMedia, ThumbedTelegramMedia, TextedOutput
Content copied to clipboard
Link copied to clipboard
data class TelegramMediaAudio : TelegramMedia, AudioMediaGroupMemberTelegramMedia, DuratedTelegramMedia, ThumbedTelegramMedia, TitledTelegramMedia, Performerable
Content copied to clipboard
Link copied to clipboard
data class TelegramMediaDocument : TelegramMedia, DocumentMediaGroupMemberTelegramMedia, ThumbedTelegramMedia
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 TelegramMediaPhoto : TelegramMedia, VisualMediaGroupMemberTelegramMedia
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TelegramMediaVideo : TelegramMedia, SizedTelegramMedia, DuratedTelegramMedia, ThumbedTelegramMedia, VisualMediaGroupMemberTelegramMedia
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface VisualMediaGroupMemberTelegramMedia : MediaGroupMemberTelegramMedia
Content copied to clipboard
Functions
Link copied to clipboard
fun TelegramMediaAnimation( file: InputFile, entities: TextSourcesList, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): TelegramMediaAnimation
Content copied to clipboard
fun TelegramMediaAnimation( file: InputFile, text: String? = null, parseMode: ParseMode? = null, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): TelegramMediaAnimation
Content copied to clipboard
Link copied to clipboard
fun TelegramMediaAudio( file: InputFile, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, thumb: InputFile? = null): TelegramMediaAudio
Content copied to clipboard
fun TelegramMediaAudio( file: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, thumb: InputFile? = null): TelegramMediaAudio
Content copied to clipboard
Link copied to clipboard
fun TelegramMediaDocument( file: InputFile, entities: TextSourcesList, thumb: InputFile? = null, disableContentTypeDetection: Boolean? = null): TelegramMediaDocument
Content copied to clipboard
fun TelegramMediaDocument( file: InputFile, text: String? = null, parseMode: ParseMode? = null, thumb: InputFile? = null, disableContentTypeDetection: Boolean? = null): TelegramMediaDocument
Content copied to clipboard
Link copied to clipboard
fun TelegramMediaPhoto(file: InputFile, entities: TextSourcesList): TelegramMediaPhoto
Content copied to clipboard
fun TelegramMediaPhoto( file: InputFile, text: String? = null, parseMode: ParseMode? = null): TelegramMediaPhoto
Content copied to clipboard
Link copied to clipboard
fun TelegramMediaVideo( file: InputFile, entities: TextSourcesList, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): TelegramMediaVideo
Content copied to clipboard
fun TelegramMediaVideo( file: InputFile, text: String? = null, parseMode: ParseMode? = null, width: Int? = null, height: Int? = null, duration: Long? = null, thumb: InputFile? = null): TelegramMediaVideo
Content copied to clipboard
Link copied to clipboard
fun AudioFile.toTelegramMediaAudio(textSources: TextSourcesList = emptyList(), title: String? = this.title): TelegramMediaAudio
Content copied to clipboard
fun AudioFile.toTelegramMediaAudio( text: String? = null, parseMode: ParseMode? = null, title: String? = this.title): TelegramMediaAudio
Content copied to clipboard
Link copied to clipboard
fun DocumentFile.toTelegramMediaDocument(textSources: TextSourcesList = emptyList()): TelegramMediaDocument
Content copied to clipboard
fun DocumentFile.toTelegramMediaDocument(text: String? = null, parseMode: ParseMode? = null): TelegramMediaDocument
Content copied to clipboard
Link copied to clipboard
fun PhotoSize.toTelegramMediaPhoto(textSources: TextSourcesList = emptyList()): TelegramMediaPhoto
Content copied to clipboard
fun PhotoSize.toTelegramMediaPhoto(text: String? = null, parseMode: ParseMode? = null): TelegramMediaPhoto
Content copied to clipboard