Package-level declarations

Functions

Link copied to clipboard
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: AnimationFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: AnimationFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile? = null, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: InputFile, thumb: InputFile? = null, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Link copied to clipboard
inline suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: AudioFile, entities: TextSourcesList, title: String? = audio.title, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chat: Chat, audio: AudioFile, entities: TextSourcesList, title: String? = audio.title, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.sendAudio(chat: Chat, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chat: Chat, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.sendAudio(chat: Chat, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Link copied to clipboard
inline suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: DocumentFile, entities: TextSourcesList, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chat: Chat, document: DocumentFile, entities: TextSourcesList, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chat: Chat, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chat: Chat, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chat: Chat, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Link copied to clipboard
suspend fun TelegramBot.sendDocumentsGroup(chatId: ChatIdentifier, media: List<DocumentMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<DocumentContent>>
@JvmName(name = "sendDocumentsByContent")
suspend fun TelegramBot.sendDocumentsGroup(chatId: ChatIdentifier, media: List<DocumentContent>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<DocumentContent>>
suspend fun TelegramBot.sendDocumentsGroup(chat: Chat, media: List<DocumentMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<DocumentContent>>
@JvmName(name = "sendDocumentsByContent")
suspend fun TelegramBot.sendDocumentsGroup(chat: Chat, media: List<DocumentContent>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<DocumentContent>>
Link copied to clipboard
suspend fun TelegramBot.sendMediaGroup(chatId: ChatIdentifier, media: List<MediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
@JvmName(name = "sendMedaGroupByContent")
suspend fun TelegramBot.sendMediaGroup(chatId: ChatIdentifier, media: List<MediaGroupPartContent>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
suspend fun TelegramBot.sendMediaGroup(chat: Chat, media: List<MediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
@JvmName(name = "sendMedaGroupByContent")
suspend fun TelegramBot.sendMediaGroup(chat: Chat, media: List<MediaGroupPartContent>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
Link copied to clipboard
inline suspend fun TelegramBot.sendPaidMedia(chatId: ChatIdentifier, starCount: Int, media: List<TelegramPaidMedia>, entities: TextSourcesList, payload: PaidMediaPayload? = null, showCaptionAboveMedia: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PaidMediaInfoContent>
inline suspend fun TelegramBot.sendPaidMedia(chat: Chat, starCount: Int, media: List<TelegramPaidMedia>, entities: TextSourcesList, payload: PaidMediaPayload? = null, showCaptionAboveMedia: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PaidMediaInfoContent>
suspend fun TelegramBot.sendPaidMedia(chatId: ChatIdentifier, starCount: Int, media: List<TelegramPaidMedia>, text: String? = null, parseMode: ParseMode? = null, payload: PaidMediaPayload? = null, showCaptionAboveMedia: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PaidMediaInfoContent>
suspend fun TelegramBot.sendPaidMedia(chat: Chat, starCount: Int, media: List<TelegramPaidMedia>, text: String? = null, parseMode: ParseMode? = null, payload: PaidMediaPayload? = null, showCaptionAboveMedia: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PaidMediaInfoContent>
Link copied to clipboard
inline suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photo: PhotoFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photoSize: PhotoSize, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chat: Chat, fileId: InputFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chat: Chat, photo: PhotoFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chat: Chat, photoSize: PhotoSize, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photo: PhotoFile, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photoSize: PhotoSize, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chat: Chat, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chat: Chat, photo: PhotoFile, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chat: Chat, photoSize: PhotoSize, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Link copied to clipboard
suspend fun TelegramBot.sendPlaylist(chatId: ChatIdentifier, media: List<AudioMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<AudioContent>>
@JvmName(name = "sendPlaylistByContent")
suspend fun TelegramBot.sendPlaylist(chatId: ChatIdentifier, media: List<AudioContent>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<AudioContent>>
suspend fun TelegramBot.sendPlaylist(chat: Chat, media: List<AudioMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<AudioContent>>
@JvmName(name = "sendPlaylistByContent")
suspend fun TelegramBot.sendPlaylist(chat: Chat, media: List<AudioContent>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<AudioContent>>
Link copied to clipboard
suspend fun TelegramBot.sendSticker(chatId: ChatIdentifier, sticker: InputFile, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, emoji: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.sendSticker(chatId: ChatIdentifier, sticker: Sticker, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, emoji: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.sendSticker(chat: Chat, sticker: InputFile, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, emoji: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.sendSticker(chat: Chat, sticker: Sticker, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, emoji: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Link copied to clipboard
inline suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: VideoFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chat: Chat, video: VideoFile, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.sendVideo(chat: Chat, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chat: Chat, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.sendVideo(chat: Chat, video: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Link copied to clipboard
suspend fun TelegramBot.sendVideoNote(chatId: ChatIdentifier, videoNote: VideoNoteFile, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.sendVideoNote(chat: Chat, videoNote: VideoNoteFile, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.sendVideoNote(chatId: ChatIdentifier, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.sendVideoNote(chat: Chat, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Link copied to clipboard
suspend fun TelegramBot.sendVisualMediaGroup(chatId: ChatIdentifier, media: List<VisualMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
@JvmName(name = "sendVisualMediaGroupByContent")
suspend fun TelegramBot.sendVisualMediaGroup(chatId: ChatIdentifier, media: List<VisualMediaGroupPartContent>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
suspend fun TelegramBot.sendVisualMediaGroup(chat: Chat, media: List<VisualMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
@JvmName(name = "sendVisualMediaGroupByContent")
suspend fun TelegramBot.sendVisualMediaGroup(chat: Chat, media: List<VisualMediaGroupPartContent>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
Link copied to clipboard
inline suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, entities: TextSourcesList, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chat: Chat, voice: VoiceFile, entities: TextSourcesList, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: InputFile, entities: TextSourcesList, duration: Long? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chat: Chat, voice: InputFile, entities: TextSourcesList, duration: Long? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chat: Chat, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chat: Chat, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, effectId: EffectId? = null, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>