mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
add raw fields for InlineQuery
This commit is contained in:
parent
41852dde7c
commit
c220412b02
@ -0,0 +1,8 @@
|
||||
package dev.inmo.tgbotapi.extensions.utils.extensions.raw
|
||||
|
||||
import dev.inmo.tgbotapi.extensions.utils.asLocationInlineQuery
|
||||
import dev.inmo.tgbotapi.types.InlineQueries.query.InlineQuery
|
||||
import dev.inmo.tgbotapi.types.location.Location
|
||||
|
||||
val InlineQuery.location: Location?
|
||||
get() = asLocationInlineQuery() ?.location
|
Loading…
Reference in New Issue
Block a user