docs

# reply

inline suspend fun TelegramBot . reply ( to: Message , phoneNumber: String , firstName: String , lastName: String ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < ContactContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , contact: Contact , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < ContactContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , animationType: DiceAnimationType , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < DiceContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , latitude: Double , longitude: Double , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < LocationContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , location: StaticLocation , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < LocationContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , text: String , parseMode: ParseMode ? = null, disableWebPagePreview: Boolean ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < TextContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , entities: TextSourcesList , disableWebPagePreview: Boolean ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < TextContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , latitude: Double , longitude: Double , title: String , address: String , foursquareId: FoursquareId ? = null, foursquareType: FoursquareType ? = null, googlePlaceId: GooglePlaceId ? = null, googlePlaceType: GooglePlaceType ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < VenueContent >
Content copied to clipboard

## Parameters

replyMarkup

Some of KeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.replyKeyboard or dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builders for that param

inline suspend fun TelegramBot . reply ( to: Message , location: StaticLocation , title: String , address: String , foursquareId: FoursquareId ? = null, foursquareType: FoursquareType ? = null, googlePlaceId: GooglePlaceId ? = null, googlePlaceType: GooglePlaceType ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < VenueContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , venue: Venue , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < VenueContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , game: Game , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < GameContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , animation: AnimationFile , text: String ? = null, parseMode: ParseMode ? = null, duration: Long ? = null, width: Int ? = null, height: Int ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < AnimationContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , animation: AnimationFile , entities: TextSourcesList , duration: Long ? = null, width: Int ? = null, height: Int ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < AnimationContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , audio: AudioFile , text: String ? = null, parseMode: ParseMode ? = null, title: String ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < AudioContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , audio: AudioFile , entities: TextSourcesList , title: String ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < AudioContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , document: DocumentFile , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null, disableContentTypeDetection: Boolean ? = null): ContentMessage < DocumentContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , document: DocumentFile , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null, disableContentTypeDetection: Boolean ? = null): ContentMessage < DocumentContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , photo: Photo , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , photoSize: PhotoSize , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , photo: Photo , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , photoSize: PhotoSize , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PhotoContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , sticker: Sticker , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < StickerContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , video: VideoFile , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < VideoContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , video: VideoFile , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < VideoContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , videoNote: VideoNoteFile , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < VideoNoteContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , voice: VoiceFile , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < VoiceContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , voice: VoiceFile , entities: TextSourcesList , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < VoiceContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , question: String , options: List < String >, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , poll: RegularPoll , isClosed: Boolean = false, question: String = poll.question, options: List < String > = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, allowMultipleAnswers: Boolean = poll.allowMultipleAnswers, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , question: String , options: List < String >, correctOptionId: Int , isAnonymous: Boolean = true, isClosed: Boolean = false, explanation: String ? = null, parseMode: ParseMode ? = null, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , quizPoll: QuizPoll , isClosed: Boolean = false, question: String = quizPoll.question, options: List < String > = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, explanation: String ? = null, parseMode: ParseMode ? = null, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , question: String , options: List < String >, correctOptionId: Int , entities: TextSourcesList , isAnonymous: Boolean = true, isClosed: Boolean = false, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , quizPoll: QuizPoll , entities: TextSourcesList , isClosed: Boolean = false, question: String = quizPoll.question, options: List < String > = quizPoll.options.map { it.text }, correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"), isAnonymous: Boolean = quizPoll.isAnonymous, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , poll: Poll , isClosed: Boolean = false, question: String = poll.question, options: List < String > = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, closeInfo: ScheduledCloseInfo ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): ContentMessage < PollContent >
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , fromChatId: ChatIdentifier , messageId: MessageIdentifier , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , fromChat: Chat , messageId: MessageIdentifier , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): Long
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , copy: Message , text: String ? = null, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null): Long
Content copied to clipboard
suspend fun TelegramBot . reply ( to: Message , content: MessageContent , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null)
Content copied to clipboard
suspend fun TelegramBot . reply ( to: Message , mediaFile: TelegramMediaFile , disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null)
Content copied to clipboard
suspend fun TelegramBot . reply ( to: Message , content: TextedMediaContent , text: String ?, parseMode: ParseMode ? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null)
Content copied to clipboard
suspend fun TelegramBot . reply ( to: Message , content: TextedMediaContent , entities: List < TextSource >, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: KeyboardMarkup ? = null)
Content copied to clipboard
inline suspend fun TelegramBot . reply ( to: Message , title: String , description: String , payload: String , providerToken: String , currency: Currency , prices: List < LabeledPrice >, maxTipAmount: Int ? = null, suggestedTipAmounts: List < Int >? = null, startParameter: StartParameter ? = null, providerData: String ? = null, requireName: Boolean = false, requirePhoneNumber: Boolean = false, requireEmail: Boolean = false, requireShippingAddress: Boolean = false, shouldSendPhoneNumberToProvider: Boolean = false, shouldSendEmailToProvider: Boolean = false, priceDependOnShipAddress: Boolean = false, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean ? = null, replyMarkup: InlineKeyboardMarkup ? = null): ContentMessage < InvoiceContent >
Content copied to clipboard

## Parameters

replyMarkup

Some InlineKeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builder for that