replyToEphemeral

suspend fun TelegramBot.replyToEphemeral(chatId: ChatIdentifier, receiverUserId: UserId, ephemeralMessageId: EphemeralMessageId, text: String, parseMode: ParseMode? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ChatContentMessage<TextContent>(source)

Parameters


suspend fun TelegramBot.replyToEphemeral(chatId: EphemeralChatId, text: String, parseMode: ParseMode? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ChatContentMessage<TextContent>(source)

Convenience overload sourcing receiverUserId/ephemeralMessageId from chatId. Throws IllegalArgumentException if chatId does not carry an ephemeralMessageId

Parameters