Package-level declarations

Types

Link copied to clipboard
@Serializable
data class InputContactMessageContent(val phoneNumber: String, val firstName: String, val lastName: String? = null, val vcard: String? = null) : CommonContactData, InputMessageContent
Link copied to clipboard
@Serializable
class InputInvoiceMessageContent(val title: String, val description: String, val payload: String, val providerToken: String?, val currency: Currency, val prices: List<LabeledPrice>, val maxTipAmount: Int? = null, val suggestedTipAmounts: List<Int>? = null, val providerData: String? = null, val requireName: Boolean = false, val requirePhoneNumber: Boolean = false, val requireEmail: Boolean = false, val requireShippingAddress: Boolean = false, val shouldSendPhoneNumberToProvider: Boolean = false, val shouldSendEmailToProvider: Boolean = false, val priceDependOnShipAddress: Boolean = false) : InputMessageContent, CommonSendInvoiceData
Link copied to clipboard
@Serializable
data class InputLocationMessageContent(val latitude: Double, val longitude: Double, val horizontalAccuracy: Meters? = null, val livePeriod: Seconds? = null, val heading: Degrees? = null, val proximityAlertRadius: Meters? = null) : Locationed, HorizontallyAccured, ProximityAlertable, Livable, Headed, InputMessageContent
Link copied to clipboard
sealed interface InputMessageContent
Link copied to clipboard
@Serializable
data class InputVenueMessageContent(val latitude: Double, val longitude: Double, val title: String, val address: String, val foursquareId: FoursquareId? = null, val foursquareType: FoursquareType? = null, val googlePlaceId: GooglePlaceId? = null, val googlePlaceType: GooglePlaceType? = null) : Locationed, CommonVenueData, InputMessageContent

Functions

Link copied to clipboard
fun InputTextMessageContent(text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null): InputTextMessageContent

Represents the InputMessageContent of a text message to be sent as the result of an inline query.