mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-01 01:13:09 +00:00
add raw fields for InlineQuery
This commit is contained in:
1 parent
41852dde7c
commit
c220412b02
1 file changed
+8
+8
@@ -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
|
||||
Reference in new issue
Block a user