1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-07 09:09:49 +00:00

add Venue InlineQueryResult + fix titles in all results

This commit is contained in:
2019-02-07 13:55:29 +08:00
parent 8369114d26
commit 1963432bc8
16 changed files with 82 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
package com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts
interface CommonVenueData {
val title: String
interface CommonVenueData : Titled {
override val title: String
val address: String
val foursquareId: String?
val foursquareType: String? // TODO:: Rewrite with enum or interface

View File

@@ -0,0 +1,5 @@
package com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts
interface Titled {
val title: String?
}