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, allowSendingWithoutReply:
Boolean? = null, replyMarkup:
KeyboardMarkup? = null):
ContentMessage<
VenueContent>
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, allowSendingWithoutReply:
Boolean? = null, replyMarkup:
KeyboardMarkup? = null):
ContentMessage<
PollContent>
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, allowSendingWithoutReply:
Boolean? = null, replyMarkup:
KeyboardMarkup? = null):
ContentMessage<
PollContent>
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, allowSendingWithoutReply:
Boolean? = null, replyMarkup:
KeyboardMarkup? = null):
ContentMessage<
PollContent>
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, allowSendingWithoutReply:
Boolean? = null, replyMarkup:
KeyboardMarkup? = null):
ContentMessage<
VenueContent>
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, allowSendingWithoutReply:
Boolean? = null, replyMarkup:
KeyboardMarkup? = null):
ContentMessage<
PollContent>
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, allowSendingWithoutReply:
Boolean? = null, replyMarkup:
KeyboardMarkup? = null):
ContentMessage<
PollContent>
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, allowSendingWithoutReply:
Boolean? = null, replyMarkup:
InlineKeyboardMarkup? = null):
ContentMessage<
InvoiceContent>