Package dev. inmo. tgbotapi. types. Inline Queries. Input Message Content
Types
Link copied to clipboard
data class InputContactMessageContent( val phoneNumber: String, val firstName: String, val lastName: String? = null, val vcard: String? = null) : CommonContactData, InputMessageContent
Content copied to clipboard
Link copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class InputTextMessageContent : TextedOutput, DisableWebPagePreview, InputMessageContent
Content copied to clipboard
Link copied to clipboard
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
Content copied to clipboard
Functions
Link copied to clipboard
fun InputTextMessageContent(entities: TextSourcesList, disableWebPagePreview: Boolean? = null): InputTextMessageContent
Content copied to clipboard
fun InputTextMessageContent( text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null): InputTextMessageContent
Content copied to clipboard
Represents the InputMessageContent of a text message to be sent as the result of an inline query.