mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
replaces of CommonAbstracts
This commit is contained in:
parent
d113d4f0f5
commit
6f8b881668
@ -33,9 +33,10 @@ __All the `tgbotapi.extensions.*` packages have been removed__
|
|||||||
* **Edit live location requests have been replaced:**
|
* **Edit live location requests have been replaced:**
|
||||||
* `dev.inmo.tgbotapi.requests.edit.LiveLocation` -> `dev.inmo.tgbotapi.requests.edit.location.live`
|
* `dev.inmo.tgbotapi.requests.edit.LiveLocation` -> `dev.inmo.tgbotapi.requests.edit.location.live`
|
||||||
* `dev.inmo.tgbotapi.extensions.api.edit.LiveLocation` -> `dev.inmo.tgbotapi.extensions.api.edit.location.live`
|
* `dev.inmo.tgbotapi.extensions.api.edit.LiveLocation` -> `dev.inmo.tgbotapi.extensions.api.edit.location.live`
|
||||||
* **Edit reply markup requests have been replaced:**
|
* **Edit reply markup requests have been replaced:**
|
||||||
* `dev.inmo.tgbotapi.requests.edit.ReplyMarkup` -> `dev.inmo.tgbotapi.requests.edit.reply_markup`
|
* `dev.inmo.tgbotapi.requests.edit.ReplyMarkup` -> `dev.inmo.tgbotapi.requests.edit.reply_markup`
|
||||||
* `dev.inmo.tgbotapi.extensions.api.edit.ReplyMarkup` -> `dev.inmo.tgbotapi.extensions.api.edit.reply_markup`
|
* `dev.inmo.tgbotapi.extensions.api.edit.ReplyMarkup` -> `dev.inmo.tgbotapi.extensions.api.edit.reply_markup`
|
||||||
|
* **Common abstracts have been replaced: `dev.inmo.tgbotapi.CommonAbstracts` -> `dev.inmo.tgbotapi.abstracts`**
|
||||||
* Constructor of `UnknownInlineKeyboardButton` is not internal and can be created with any `json` ([#563](https://github.com/InsanusMokrassar/TelegramBotAPI/issues/563))
|
* Constructor of `UnknownInlineKeyboardButton` is not internal and can be created with any `json` ([#563](https://github.com/InsanusMokrassar/TelegramBotAPI/issues/563))
|
||||||
* All the interfaces from `dev.inmo.tgbotapi.types.files.abstracts` have been replaced to `dev.inmo.tgbotapi.types.files` and converted to sealed ([#550](https://github.com/InsanusMokrassar/TelegramBotAPI/issues/550))
|
* All the interfaces from `dev.inmo.tgbotapi.types.files.abstracts` have been replaced to `dev.inmo.tgbotapi.types.files` and converted to sealed ([#550](https://github.com/InsanusMokrassar/TelegramBotAPI/issues/550))
|
||||||
* `PassportFile` has been replaced to `dev.inmo.tgbotapi.types.files`
|
* `PassportFile` has been replaced to `dev.inmo.tgbotapi.types.files`
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.extensions.api.edit.caption
|
package dev.inmo.tgbotapi.extensions.api.edit.caption
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.TextedWithTextSources
|
import dev.inmo.tgbotapi.abstracts.TextedWithTextSources
|
||||||
import dev.inmo.tgbotapi.bot.TelegramBot
|
import dev.inmo.tgbotapi.bot.TelegramBot
|
||||||
import dev.inmo.tgbotapi.requests.edit.caption.EditChatMessageCaption
|
import dev.inmo.tgbotapi.requests.edit.caption.EditChatMessageCaption
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
interface CommonContactData {
|
@Deprecated("Replaced", ReplaceWith("CommonContactData", "dev.inmo.tgbotapi.abstracts.CommonContactData"))
|
||||||
val phoneNumber: String
|
typealias CommonContactData = dev.inmo.tgbotapi.abstracts.CommonContactData
|
||||||
val firstName: String
|
|
||||||
val lastName: String?
|
|
||||||
val vcard: String? // TODO:: Replace by some vCard abstraction
|
|
||||||
}
|
|
||||||
|
@ -1,36 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.payments.abstracts.Currencied
|
@Deprecated("Replaced", ReplaceWith("CommonSendInvoiceData", "dev.inmo.tgbotapi.abstracts.CommonSendInvoiceData"))
|
||||||
import dev.inmo.tgbotapi.types.payments.abstracts.Priced
|
typealias CommonSendInvoiceData = dev.inmo.tgbotapi.abstracts.CommonSendInvoiceData
|
||||||
|
|
||||||
interface CommonSendInvoiceData : Titled, Currencied, Priced {
|
|
||||||
val description: String
|
|
||||||
val payload: String
|
|
||||||
val providerToken: String
|
|
||||||
val maxTipAmount: Int?
|
|
||||||
val suggestedTipAmounts: List<Int>?
|
|
||||||
val providerData: String?
|
|
||||||
val requireName: Boolean
|
|
||||||
val requirePhoneNumber: Boolean
|
|
||||||
val requireEmail: Boolean
|
|
||||||
val requireShippingAddress: Boolean
|
|
||||||
val shouldSendPhoneNumberToProvider: Boolean
|
|
||||||
val shouldSendEmailToProvider: Boolean
|
|
||||||
val priceDependOnShipAddress: Boolean
|
|
||||||
|
|
||||||
val photoUrl: String?
|
|
||||||
val photoSize: Long?
|
|
||||||
val photoWidth: Int?
|
|
||||||
val photoHeight: Int?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun setPhoto(
|
|
||||||
photoUrl: String,
|
|
||||||
photoSize: Long? = null,
|
|
||||||
photoWidth: Int? = null,
|
|
||||||
photoHeight: Int? = null
|
|
||||||
)
|
|
||||||
|
|
||||||
fun unsetPhoto()
|
|
||||||
}
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.*
|
@Deprecated("Replaced", ReplaceWith("CommonVenueData", "dev.inmo.tgbotapi.abstracts.CommonVenueData"))
|
||||||
|
typealias CommonVenueData = dev.inmo.tgbotapi.abstracts.CommonVenueData
|
||||||
interface CommonVenueData : Titled {
|
|
||||||
override val title: String
|
|
||||||
val address: String
|
|
||||||
val foursquareId: FoursquareId?
|
|
||||||
val foursquareType: FoursquareType? // TODO:: Rewrite with enum or interface
|
|
||||||
val googlePlaceId: GooglePlaceId?
|
|
||||||
val googlePlaceType: GooglePlaceType?
|
|
||||||
}
|
|
||||||
|
@ -1,16 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.chat.User
|
@Deprecated("Replaced", ReplaceWith("FromUser", "dev.inmo.tgbotapi.abstracts.FromUser"))
|
||||||
|
typealias FromUser = dev.inmo.tgbotapi.abstracts.FromUser
|
||||||
/**
|
|
||||||
* Inheritors of this interface have some [User] as a source of data. For example, any [dev.inmo.tgbotapi.types.queries.callback.CallbackQuery]
|
|
||||||
* have [User] as the source of that query
|
|
||||||
*/
|
|
||||||
interface FromUser : WithUser {
|
|
||||||
/**
|
|
||||||
* The source [User] of this type
|
|
||||||
*/
|
|
||||||
val from: User
|
|
||||||
override val user: User
|
|
||||||
get() = from
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.Degrees
|
@Deprecated("Replaced", ReplaceWith("Headed", "dev.inmo.tgbotapi.abstracts.Headed"))
|
||||||
|
typealias Headed = dev.inmo.tgbotapi.abstracts.Headed
|
||||||
interface Headed {
|
|
||||||
val heading: Degrees?
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.Meters
|
@Deprecated("Replaced", ReplaceWith("HorizontallyAccured", "dev.inmo.tgbotapi.abstracts.HorizontallyAccured"))
|
||||||
|
typealias HorizontallyAccured = dev.inmo.tgbotapi.abstracts.HorizontallyAccured
|
||||||
interface HorizontallyAccured {
|
|
||||||
val horizontalAccuracy: Meters?
|
|
||||||
}
|
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.Seconds
|
@Deprecated("Replaced", ReplaceWith("Livable", "dev.inmo.tgbotapi.abstracts.Livable"))
|
||||||
|
typealias Livable = dev.inmo.tgbotapi.abstracts.Livable
|
||||||
interface Livable {
|
|
||||||
/**
|
|
||||||
* Period in [Seconds]
|
|
||||||
*/
|
|
||||||
val livePeriod: Seconds?
|
|
||||||
}
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
interface Locationed {
|
@Deprecated("Replaced", ReplaceWith("Locationed", "dev.inmo.tgbotapi.abstracts.Locationed"))
|
||||||
val latitude: Double
|
typealias Locationed = dev.inmo.tgbotapi.abstracts.Locationed
|
||||||
val longitude: Double
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.utils.MimeType
|
@Deprecated("Replaced", ReplaceWith("MimeTyped", "dev.inmo.tgbotapi.abstracts.MimeTyped"))
|
||||||
|
typealias MimeTyped = dev.inmo.tgbotapi.abstracts.MimeTyped
|
||||||
interface MimeTyped {
|
|
||||||
val mimeType: MimeType?
|
|
||||||
}
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
interface Performerable {
|
@Deprecated("Replaced", ReplaceWith("Performerable", "dev.inmo.tgbotapi.abstracts.Performerable"))
|
||||||
val performer: String?
|
typealias Performerable = dev.inmo.tgbotapi.abstracts.Performerable
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.Meters
|
@Deprecated("Replaced", ReplaceWith("ProximityAlertable", "dev.inmo.tgbotapi.abstracts.ProximityAlertable"))
|
||||||
|
typealias ProximityAlertable = dev.inmo.tgbotapi.abstracts.ProximityAlertable
|
||||||
interface ProximityAlertable {
|
|
||||||
val proximityAlertRadius: Meters?
|
|
||||||
}
|
|
||||||
|
@ -1,29 +1,18 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.message.textsources.TextSource
|
@Deprecated("Replaced", ReplaceWith("Texted", "dev.inmo.tgbotapi.abstracts.Texted"))
|
||||||
import dev.inmo.tgbotapi.types.message.ParseMode
|
typealias Texted = dev.inmo.tgbotapi.abstracts.Texted
|
||||||
|
@Deprecated("Replaced", ReplaceWith("TextedWithTextSources", "dev.inmo.tgbotapi.abstracts.TextedWithTextSources"))
|
||||||
|
typealias TextedWithTextSources = dev.inmo.tgbotapi.abstracts.TextedWithTextSources
|
||||||
|
|
||||||
interface Texted {
|
@Deprecated("Replaced", ReplaceWith("ParsableOutput", "dev.inmo.tgbotapi.abstracts.ParsableOutput"))
|
||||||
val text: String?
|
typealias ParsableOutput = dev.inmo.tgbotapi.abstracts.ParsableOutput
|
||||||
}
|
|
||||||
interface TextedWithTextSources : Texted {
|
|
||||||
/**
|
|
||||||
* Full list of [TextSource]s
|
|
||||||
*/
|
|
||||||
val textSources: List<TextSource>?
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ParsableOutput : Texted {
|
@Deprecated("Replaced", ReplaceWith("EntitiesOutput", "dev.inmo.tgbotapi.abstracts.EntitiesOutput"))
|
||||||
val parseMode: ParseMode?
|
typealias EntitiesOutput = dev.inmo.tgbotapi.abstracts.EntitiesOutput
|
||||||
}
|
|
||||||
|
|
||||||
interface EntitiesOutput : TextedWithTextSources {
|
@Deprecated("Replaced", ReplaceWith("TextedOutput", "dev.inmo.tgbotapi.abstracts.TextedOutput"))
|
||||||
val entities: List<TextSource>?
|
typealias TextedOutput = dev.inmo.tgbotapi.abstracts.TextedOutput
|
||||||
get() = textSources
|
|
||||||
}
|
|
||||||
|
|
||||||
interface TextedOutput : ParsableOutput, EntitiesOutput
|
@Deprecated("Replaced", ReplaceWith("TextedInput", "dev.inmo.tgbotapi.abstracts.TextedInput"))
|
||||||
|
typealias TextedInput = dev.inmo.tgbotapi.abstracts.TextedInput
|
||||||
interface TextedInput : TextedWithTextSources {
|
|
||||||
override val textSources: List<TextSource>
|
|
||||||
}
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
interface Titled {
|
@Deprecated("Replaced", ReplaceWith("Titled", "dev.inmo.tgbotapi.abstracts.Titled"))
|
||||||
val title: String?
|
typealias Titled = dev.inmo.tgbotapi.abstracts.Titled
|
||||||
}
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts
|
package dev.inmo.tgbotapi.CommonAbstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.chat.User
|
@Deprecated("Replaced", ReplaceWith("WithUser", "dev.inmo.tgbotapi.abstracts.WithUser"))
|
||||||
|
typealias WithUser = dev.inmo.tgbotapi.abstracts.WithUser
|
||||||
/**
|
|
||||||
* All inheritors of this type have [User] in their data as one of the main data
|
|
||||||
*
|
|
||||||
* @see FromUser
|
|
||||||
*/
|
|
||||||
interface WithUser {
|
|
||||||
val user: User
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
@Deprecated("Replaced", ReplaceWith("ChatRequest", "dev.inmo.tgbotapi.abstracts.types.ChatRequest"))
|
||||||
|
typealias ChatRequest = dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
interface ChatRequest : OptionalChatRequest {
|
|
||||||
override val chatId: ChatIdentifier
|
|
||||||
}
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
interface DisableNotification {
|
@Deprecated("Replaced", ReplaceWith("DisableNotification", "dev.inmo.tgbotapi.abstracts.types.DisableNotification"))
|
||||||
val disableNotification: Boolean
|
typealias DisableNotification = dev.inmo.tgbotapi.abstracts.types.DisableNotification
|
||||||
}
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
interface DisableWebPagePreview {
|
@Deprecated("Replaced", ReplaceWith("DisableWebPagePreview", "dev.inmo.tgbotapi.abstracts.types.DisableWebPagePreview"))
|
||||||
val disableWebPagePreview: Boolean?
|
typealias DisableWebPagePreview = dev.inmo.tgbotapi.abstracts.types.DisableWebPagePreview
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.InlineMessageIdentifier
|
@Deprecated("Replaced", ReplaceWith("InlineMessageAction", "dev.inmo.tgbotapi.abstracts.types.InlineMessageAction"))
|
||||||
|
typealias InlineMessageAction = dev.inmo.tgbotapi.abstracts.types.InlineMessageAction
|
||||||
interface InlineMessageAction {
|
|
||||||
val inlineMessageId: InlineMessageIdentifier
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.MessageIdentifier
|
@Deprecated("Replaced", ReplaceWith("MessageAction:", "dev.inmo.tgbotapi.abstracts.types.MessageAction:"))
|
||||||
|
typealias MessageAction = dev.inmo.tgbotapi.abstracts.types.MessageAction
|
||||||
interface MessageAction: ChatRequest {
|
|
||||||
val messageId: MessageIdentifier
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
@Deprecated("Replaced", ReplaceWith("OptionalChatRequest", "dev.inmo.tgbotapi.abstracts.types.OptionalChatRequest"))
|
||||||
|
typealias OptionalChatRequest = dev.inmo.tgbotapi.abstracts.types.OptionalChatRequest
|
||||||
interface OptionalChatRequest {
|
|
||||||
val chatId: ChatIdentifier?
|
|
||||||
}
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
interface ProtectContent {
|
@Deprecated("Replaced", ReplaceWith("ProtectContent", "dev.inmo.tgbotapi.abstracts.types.ProtectContent"))
|
||||||
val protectContent: Boolean
|
typealias ProtectContent = dev.inmo.tgbotapi.abstracts.types.ProtectContent
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup
|
@Deprecated("Replaced", ReplaceWith("ReplyMarkup", "dev.inmo.tgbotapi.abstracts.types.ReplyMarkup"))
|
||||||
|
typealias ReplyMarkup = dev.inmo.tgbotapi.abstracts.types.ReplyMarkup
|
||||||
interface ReplyMarkup {
|
|
||||||
val replyMarkup: KeyboardMarkup?
|
|
||||||
}
|
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.MessageIdentifier
|
@Deprecated("Replaced", ReplaceWith("ReplyMessageId", "dev.inmo.tgbotapi.abstracts.types.ReplyMessageId"))
|
||||||
|
typealias ReplyMessageId = dev.inmo.tgbotapi.abstracts.types.ReplyMessageId
|
||||||
interface ReplyMessageId {
|
|
||||||
val replyToMessageId: MessageIdentifier?
|
|
||||||
val allowSendingWithoutReply: Boolean?
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
package dev.inmo.tgbotapi.CommonAbstracts.types
|
package dev.inmo.tgbotapi.CommonAbstracts.types
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.TelegramDate
|
@Deprecated("Replaced", ReplaceWith("UntilDate", "dev.inmo.tgbotapi.abstracts.types.UntilDate"))
|
||||||
|
typealias UntilDate = dev.inmo.tgbotapi.abstracts.types.UntilDate
|
||||||
interface UntilDate {
|
|
||||||
val untilDate: TelegramDate?
|
|
||||||
}
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
interface CommonContactData {
|
||||||
|
val phoneNumber: String
|
||||||
|
val firstName: String
|
||||||
|
val lastName: String?
|
||||||
|
val vcard: String? // TODO:: Replace by some vCard abstraction
|
||||||
|
}
|
@ -0,0 +1,36 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.payments.abstracts.Currencied
|
||||||
|
import dev.inmo.tgbotapi.types.payments.abstracts.Priced
|
||||||
|
|
||||||
|
interface CommonSendInvoiceData : Titled, Currencied, Priced {
|
||||||
|
val description: String
|
||||||
|
val payload: String
|
||||||
|
val providerToken: String
|
||||||
|
val maxTipAmount: Int?
|
||||||
|
val suggestedTipAmounts: List<Int>?
|
||||||
|
val providerData: String?
|
||||||
|
val requireName: Boolean
|
||||||
|
val requirePhoneNumber: Boolean
|
||||||
|
val requireEmail: Boolean
|
||||||
|
val requireShippingAddress: Boolean
|
||||||
|
val shouldSendPhoneNumberToProvider: Boolean
|
||||||
|
val shouldSendEmailToProvider: Boolean
|
||||||
|
val priceDependOnShipAddress: Boolean
|
||||||
|
|
||||||
|
val photoUrl: String?
|
||||||
|
val photoSize: Long?
|
||||||
|
val photoWidth: Int?
|
||||||
|
val photoHeight: Int?
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
fun setPhoto(
|
||||||
|
photoUrl: String,
|
||||||
|
photoSize: Long? = null,
|
||||||
|
photoWidth: Int? = null,
|
||||||
|
photoHeight: Int? = null
|
||||||
|
)
|
||||||
|
|
||||||
|
fun unsetPhoto()
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.*
|
||||||
|
|
||||||
|
interface CommonVenueData : Titled {
|
||||||
|
override val title: String
|
||||||
|
val address: String
|
||||||
|
val foursquareId: FoursquareId?
|
||||||
|
val foursquareType: FoursquareType? // TODO:: Rewrite with enum or interface
|
||||||
|
val googlePlaceId: GooglePlaceId?
|
||||||
|
val googlePlaceType: GooglePlaceType?
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.chat.User
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Inheritors of this interface have some [User] as a source of data. For example, any [dev.inmo.tgbotapi.types.queries.callback.CallbackQuery]
|
||||||
|
* have [User] as the source of that query
|
||||||
|
*/
|
||||||
|
interface FromUser : WithUser {
|
||||||
|
/**
|
||||||
|
* The source [User] of this type
|
||||||
|
*/
|
||||||
|
val from: User
|
||||||
|
override val user: User
|
||||||
|
get() = from
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.Degrees
|
||||||
|
|
||||||
|
interface Headed {
|
||||||
|
val heading: Degrees?
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.Meters
|
||||||
|
|
||||||
|
interface HorizontallyAccured {
|
||||||
|
val horizontalAccuracy: Meters?
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.Seconds
|
||||||
|
|
||||||
|
interface Livable {
|
||||||
|
/**
|
||||||
|
* Period in [Seconds]
|
||||||
|
*/
|
||||||
|
val livePeriod: Seconds?
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
interface Locationed {
|
||||||
|
val latitude: Double
|
||||||
|
val longitude: Double
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.utils.MimeType
|
||||||
|
|
||||||
|
interface MimeTyped {
|
||||||
|
val mimeType: MimeType?
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
interface Performerable {
|
||||||
|
val performer: String?
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.Meters
|
||||||
|
|
||||||
|
interface ProximityAlertable {
|
||||||
|
val proximityAlertRadius: Meters?
|
||||||
|
}
|
@ -0,0 +1,29 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.message.textsources.TextSource
|
||||||
|
import dev.inmo.tgbotapi.types.message.ParseMode
|
||||||
|
|
||||||
|
interface Texted {
|
||||||
|
val text: String?
|
||||||
|
}
|
||||||
|
interface TextedWithTextSources : Texted {
|
||||||
|
/**
|
||||||
|
* Full list of [TextSource]s
|
||||||
|
*/
|
||||||
|
val textSources: List<TextSource>?
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ParsableOutput : Texted {
|
||||||
|
val parseMode: ParseMode?
|
||||||
|
}
|
||||||
|
|
||||||
|
interface EntitiesOutput : TextedWithTextSources {
|
||||||
|
val entities: List<TextSource>?
|
||||||
|
get() = textSources
|
||||||
|
}
|
||||||
|
|
||||||
|
interface TextedOutput : ParsableOutput, EntitiesOutput
|
||||||
|
|
||||||
|
interface TextedInput : TextedWithTextSources {
|
||||||
|
override val textSources: List<TextSource>
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
interface Titled {
|
||||||
|
val title: String?
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.chat.User
|
||||||
|
|
||||||
|
/**
|
||||||
|
* All inheritors of this type have [User] in their data as one of the main data
|
||||||
|
*
|
||||||
|
* @see FromUser
|
||||||
|
*/
|
||||||
|
interface WithUser {
|
||||||
|
val user: User
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
|
|
||||||
|
interface ChatRequest : OptionalChatRequest {
|
||||||
|
override val chatId: ChatIdentifier
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
interface DisableNotification {
|
||||||
|
val disableNotification: Boolean
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
interface DisableWebPagePreview {
|
||||||
|
val disableWebPagePreview: Boolean?
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.InlineMessageIdentifier
|
||||||
|
|
||||||
|
interface InlineMessageAction {
|
||||||
|
val inlineMessageId: InlineMessageIdentifier
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.MessageIdentifier
|
||||||
|
|
||||||
|
interface MessageAction: ChatRequest {
|
||||||
|
val messageId: MessageIdentifier
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
|
|
||||||
|
interface OptionalChatRequest {
|
||||||
|
val chatId: ChatIdentifier?
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
interface ProtectContent {
|
||||||
|
val protectContent: Boolean
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup
|
||||||
|
|
||||||
|
interface ReplyMarkup {
|
||||||
|
val replyMarkup: KeyboardMarkup?
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.MessageIdentifier
|
||||||
|
|
||||||
|
interface ReplyMessageId {
|
||||||
|
val replyToMessageId: MessageIdentifier?
|
||||||
|
val allowSendingWithoutReply: Boolean?
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package dev.inmo.tgbotapi.abstracts.types
|
||||||
|
|
||||||
|
import dev.inmo.tgbotapi.types.TelegramDate
|
||||||
|
|
||||||
|
interface UntilDate {
|
||||||
|
val untilDate: TelegramDate?
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests
|
package dev.inmo.tgbotapi.requests
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.MessageAction
|
import dev.inmo.tgbotapi.abstracts.types.MessageAction
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dev.inmo.tgbotapi.requests
|
package dev.inmo.tgbotapi.requests
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.MessageAction
|
import dev.inmo.tgbotapi.abstracts.types.MessageAction
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ProtectContent
|
import dev.inmo.tgbotapi.abstracts.types.ProtectContent
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyForwardedMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.PossiblyForwardedMessage
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dev.inmo.tgbotapi.requests
|
package dev.inmo.tgbotapi.requests
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.MessageAction
|
import dev.inmo.tgbotapi.abstracts.types.MessageAction
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ReplyMarkup
|
import dev.inmo.tgbotapi.abstracts.types.ReplyMarkup
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup
|
import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat
|
package dev.inmo.tgbotapi.requests.chat
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
import dev.inmo.tgbotapi.types.chatIdField
|
import dev.inmo.tgbotapi.types.chatIdField
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat
|
package dev.inmo.tgbotapi.requests.chat
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
import dev.inmo.tgbotapi.types.chatIdField
|
import dev.inmo.tgbotapi.types.chatIdField
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.abstracts
|
package dev.inmo.tgbotapi.requests.chat.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.UserId
|
import dev.inmo.tgbotapi.types.UserId
|
||||||
|
|
||||||
interface ChatMemberRequest<T: Any> : ChatRequest, SimpleRequest<T> {
|
interface ChatMemberRequest<T: Any> : ChatRequest, SimpleRequest<T> {
|
||||||
val userId: UserId
|
val userId: UserId
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.abstracts
|
package dev.inmo.tgbotapi.requests.chat.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.ChatId
|
import dev.inmo.tgbotapi.types.ChatId
|
||||||
import dev.inmo.tgbotapi.types.UserId
|
import dev.inmo.tgbotapi.types.UserId
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.get
|
package dev.inmo.tgbotapi.requests.chat.get
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
import dev.inmo.tgbotapi.types.chat.ExtendedChatSerializer
|
import dev.inmo.tgbotapi.types.chat.ExtendedChatSerializer
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.get
|
package dev.inmo.tgbotapi.requests.chat.get
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
import dev.inmo.tgbotapi.types.chat.member.AdministratorChatMember
|
import dev.inmo.tgbotapi.types.chat.member.AdministratorChatMember
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.get
|
package dev.inmo.tgbotapi.requests.chat.get
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
import dev.inmo.tgbotapi.types.chatIdField
|
import dev.inmo.tgbotapi.types.chatIdField
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.get
|
package dev.inmo.tgbotapi.requests.chat.get
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.get
|
package dev.inmo.tgbotapi.requests.chat.get
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.OptionalChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.OptionalChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.members
|
package dev.inmo.tgbotapi.requests.chat.members
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.UntilDate
|
import dev.inmo.tgbotapi.abstracts.types.UntilDate
|
||||||
import dev.inmo.tgbotapi.requests.chat.abstracts.ChatMemberRequest
|
import dev.inmo.tgbotapi.requests.chat.abstracts.ChatMemberRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.members
|
package dev.inmo.tgbotapi.requests.chat.members
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.UntilDate
|
import dev.inmo.tgbotapi.abstracts.types.UntilDate
|
||||||
import dev.inmo.tgbotapi.requests.chat.abstracts.ChatMemberRequest
|
import dev.inmo.tgbotapi.requests.chat.abstracts.ChatMemberRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.members
|
package dev.inmo.tgbotapi.requests.chat.members
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.UntilDate
|
import dev.inmo.tgbotapi.abstracts.types.UntilDate
|
||||||
import dev.inmo.tgbotapi.requests.chat.abstracts.ChatMemberRequest
|
import dev.inmo.tgbotapi.requests.chat.abstracts.ChatMemberRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.chat.ChatPermissions
|
import dev.inmo.tgbotapi.types.chat.ChatPermissions
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.modify
|
package dev.inmo.tgbotapi.requests.chat.modify
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
import dev.inmo.tgbotapi.types.chatIdField
|
import dev.inmo.tgbotapi.types.chatIdField
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.modify
|
package dev.inmo.tgbotapi.requests.chat.modify
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.*
|
import dev.inmo.tgbotapi.abstracts.types.*
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.modify
|
package dev.inmo.tgbotapi.requests.chat.modify
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.modify
|
package dev.inmo.tgbotapi.requests.chat.modify
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.modify
|
package dev.inmo.tgbotapi.requests.chat.modify
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.chat.ChatPermissions
|
import dev.inmo.tgbotapi.types.chat.ChatPermissions
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.modify
|
package dev.inmo.tgbotapi.requests.chat.modify
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.MultipartFile
|
import dev.inmo.tgbotapi.requests.abstracts.MultipartFile
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.MultipartRequest
|
import dev.inmo.tgbotapi.requests.abstracts.MultipartRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.modify
|
package dev.inmo.tgbotapi.requests.chat.modify
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.modify
|
package dev.inmo.tgbotapi.requests.chat.modify
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
import dev.inmo.tgbotapi.types.chatIdField
|
import dev.inmo.tgbotapi.types.chatIdField
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.modify
|
package dev.inmo.tgbotapi.requests.chat.modify
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.stickers
|
package dev.inmo.tgbotapi.requests.chat.stickers
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
||||||
import dev.inmo.tgbotapi.types.chatIdField
|
import dev.inmo.tgbotapi.types.chatIdField
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.chat.stickers
|
package dev.inmo.tgbotapi.requests.chat.stickers
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.edit.abstracts
|
package dev.inmo.tgbotapi.requests.edit.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.MessageAction
|
import dev.inmo.tgbotapi.abstracts.types.MessageAction
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage
|
import dev.inmo.tgbotapi.types.message.abstracts.ContentMessage
|
||||||
import dev.inmo.tgbotapi.types.message.content.MessageContent
|
import dev.inmo.tgbotapi.types.message.content.MessageContent
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package dev.inmo.tgbotapi.requests.edit.abstracts
|
package dev.inmo.tgbotapi.requests.edit.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.*
|
import dev.inmo.tgbotapi.abstracts.*
|
||||||
|
|
||||||
interface EditLocationMessage : Locationed, HorizontallyAccured, ProximityAlertable, Headed
|
interface EditLocationMessage : Locationed, HorizontallyAccured, ProximityAlertable, Headed
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package dev.inmo.tgbotapi.requests.edit.abstracts
|
package dev.inmo.tgbotapi.requests.edit.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ReplyMarkup
|
import dev.inmo.tgbotapi.abstracts.types.ReplyMarkup
|
||||||
import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup
|
import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup
|
||||||
|
|
||||||
interface EditReplyMessage : ReplyMarkup {
|
interface EditReplyMessage : ReplyMarkup {
|
||||||
override val replyMarkup: InlineKeyboardMarkup?
|
override val replyMarkup: InlineKeyboardMarkup?
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dev.inmo.tgbotapi.requests.edit.abstracts
|
package dev.inmo.tgbotapi.requests.edit.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.TextedOutput
|
import dev.inmo.tgbotapi.abstracts.TextedOutput
|
||||||
|
|
||||||
interface EditTextChatMessage : TextedOutput {
|
interface EditTextChatMessage : TextedOutput {
|
||||||
override val text: String
|
override val text: String
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.games
|
package dev.inmo.tgbotapi.requests.games
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.MessageAction
|
import dev.inmo.tgbotapi.abstracts.types.MessageAction
|
||||||
import dev.inmo.tgbotapi.requests.games.abstracts.GetGameHighScores
|
import dev.inmo.tgbotapi.requests.games.abstracts.GetGameHighScores
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.games
|
package dev.inmo.tgbotapi.requests.games
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.InlineMessageAction
|
import dev.inmo.tgbotapi.abstracts.types.InlineMessageAction
|
||||||
import dev.inmo.tgbotapi.requests.games.abstracts.GetGameHighScores
|
import dev.inmo.tgbotapi.requests.games.abstracts.GetGameHighScores
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.games
|
package dev.inmo.tgbotapi.requests.games
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.MessageAction
|
import dev.inmo.tgbotapi.abstracts.types.MessageAction
|
||||||
import dev.inmo.tgbotapi.requests.games.abstracts.SetGameScore
|
import dev.inmo.tgbotapi.requests.games.abstracts.SetGameScore
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.games
|
package dev.inmo.tgbotapi.requests.games
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.InlineMessageAction
|
import dev.inmo.tgbotapi.abstracts.types.InlineMessageAction
|
||||||
import dev.inmo.tgbotapi.requests.games.abstracts.SetGameScore
|
import dev.inmo.tgbotapi.requests.games.abstracts.SetGameScore
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send
|
package dev.inmo.tgbotapi.requests.send
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.TextedOutput
|
import dev.inmo.tgbotapi.abstracts.TextedOutput
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.MessageAction
|
import dev.inmo.tgbotapi.abstracts.types.MessageAction
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ProtectContent
|
import dev.inmo.tgbotapi.abstracts.types.ProtectContent
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
import dev.inmo.tgbotapi.requests.send.abstracts.ReplyingMarkupSendMessageRequest
|
import dev.inmo.tgbotapi.requests.send.abstracts.ReplyingMarkupSendMessageRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send
|
package dev.inmo.tgbotapi.requests.send
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.DisableNotification
|
import dev.inmo.tgbotapi.abstracts.types.DisableNotification
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ReplyMessageId
|
import dev.inmo.tgbotapi.abstracts.types.ReplyMessageId
|
||||||
import dev.inmo.tgbotapi.requests.send.abstracts.ReplyingMarkupSendMessageRequest
|
import dev.inmo.tgbotapi.requests.send.abstracts.ReplyingMarkupSendMessageRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup
|
import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send
|
package dev.inmo.tgbotapi.requests.send
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.*
|
import dev.inmo.tgbotapi.abstracts.*
|
||||||
import dev.inmo.tgbotapi.requests.send.abstracts.*
|
import dev.inmo.tgbotapi.requests.send.abstracts.*
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup
|
import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send
|
package dev.inmo.tgbotapi.requests.send
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.DisableWebPagePreview
|
import dev.inmo.tgbotapi.abstracts.types.DisableWebPagePreview
|
||||||
import dev.inmo.tgbotapi.requests.send.abstracts.*
|
import dev.inmo.tgbotapi.requests.send.abstracts.*
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.message.textsources.TextSourcesList
|
import dev.inmo.tgbotapi.types.message.textsources.TextSourcesList
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send.abstracts
|
package dev.inmo.tgbotapi.requests.send.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.Locationed
|
import dev.inmo.tgbotapi.abstracts.Locationed
|
||||||
|
|
||||||
interface PositionedSendMessageRequest<T: Any>: SendMessageRequest<T>, Locationed
|
interface PositionedSendMessageRequest<T: Any>: SendMessageRequest<T>, Locationed
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send.abstracts
|
package dev.inmo.tgbotapi.requests.send.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ReplyMarkup
|
import dev.inmo.tgbotapi.abstracts.types.ReplyMarkup
|
||||||
|
|
||||||
interface ReplyingMarkupSendMessageRequest<T: Any>: SendMessageRequest<T>, ReplyMarkup
|
interface ReplyingMarkupSendMessageRequest<T: Any>: SendMessageRequest<T>, ReplyMarkup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send.abstracts
|
package dev.inmo.tgbotapi.requests.send.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ChatRequest
|
import dev.inmo.tgbotapi.abstracts.types.ChatRequest
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||||
|
|
||||||
interface SendChatMessageRequest<T: Any> : SimpleRequest<T>, ChatRequest
|
interface SendChatMessageRequest<T: Any> : SimpleRequest<T>, ChatRequest
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send.abstracts
|
package dev.inmo.tgbotapi.requests.send.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.*
|
import dev.inmo.tgbotapi.abstracts.types.*
|
||||||
|
|
||||||
interface SendMessageRequest<T: Any> : SendChatMessageRequest<T>, ReplyMessageId, DisableNotification, ProtectContent
|
interface SendMessageRequest<T: Any> : SendChatMessageRequest<T>, ReplyMessageId, DisableNotification, ProtectContent
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send.abstracts
|
package dev.inmo.tgbotapi.requests.send.abstracts
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.TextedOutput
|
import dev.inmo.tgbotapi.abstracts.TextedOutput
|
||||||
|
|
||||||
interface TextableSendMessageRequest<T: Any>: SendMessageRequest<T>, TextedOutput
|
interface TextableSendMessageRequest<T: Any>: SendMessageRequest<T>, TextedOutput
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send.games
|
package dev.inmo.tgbotapi.requests.send.games
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.ReplyMarkup
|
import dev.inmo.tgbotapi.abstracts.types.ReplyMarkup
|
||||||
import dev.inmo.tgbotapi.requests.send.abstracts.SendMessageRequest
|
import dev.inmo.tgbotapi.requests.send.abstracts.SendMessageRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup
|
import dev.inmo.tgbotapi.types.buttons.KeyboardMarkup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send.media
|
package dev.inmo.tgbotapi.requests.send.media
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.Performerable
|
import dev.inmo.tgbotapi.abstracts.Performerable
|
||||||
import dev.inmo.tgbotapi.requests.abstracts.*
|
import dev.inmo.tgbotapi.requests.abstracts.*
|
||||||
import dev.inmo.tgbotapi.requests.send.abstracts.*
|
import dev.inmo.tgbotapi.requests.send.abstracts.*
|
||||||
import dev.inmo.tgbotapi.requests.send.media.base.*
|
import dev.inmo.tgbotapi.requests.send.media.base.*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send.payments
|
package dev.inmo.tgbotapi.requests.send.payments
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.CommonSendInvoiceData
|
import dev.inmo.tgbotapi.abstracts.CommonSendInvoiceData
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.types.*
|
import dev.inmo.tgbotapi.abstracts.types.*
|
||||||
import dev.inmo.tgbotapi.requests.send.abstracts.SendMessageRequest
|
import dev.inmo.tgbotapi.requests.send.abstracts.SendMessageRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup
|
import dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dev.inmo.tgbotapi.requests.send.polls
|
package dev.inmo.tgbotapi.requests.send.polls
|
||||||
|
|
||||||
import com.soywiz.klock.DateTime
|
import com.soywiz.klock.DateTime
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.TextedOutput
|
import dev.inmo.tgbotapi.abstracts.TextedOutput
|
||||||
import dev.inmo.tgbotapi.requests.send.abstracts.ReplyingMarkupSendMessageRequest
|
import dev.inmo.tgbotapi.requests.send.abstracts.ReplyingMarkupSendMessageRequest
|
||||||
import dev.inmo.tgbotapi.requests.send.abstracts.SendMessageRequest
|
import dev.inmo.tgbotapi.requests.send.abstracts.SendMessageRequest
|
||||||
import dev.inmo.tgbotapi.types.*
|
import dev.inmo.tgbotapi.types.*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dev.inmo.tgbotapi.types
|
package dev.inmo.tgbotapi.types
|
||||||
|
|
||||||
import com.soywiz.klock.DateTime
|
import com.soywiz.klock.DateTime
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.WithUser
|
import dev.inmo.tgbotapi.abstracts.WithUser
|
||||||
import dev.inmo.tgbotapi.types.chat.User
|
import dev.inmo.tgbotapi.types.chat.User
|
||||||
import dev.inmo.tgbotapi.utils.RiskFeature
|
import dev.inmo.tgbotapi.utils.RiskFeature
|
||||||
import kotlinx.serialization.*
|
import kotlinx.serialization.*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.types
|
package dev.inmo.tgbotapi.types
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.CommonContactData
|
import dev.inmo.tgbotapi.abstracts.CommonContactData
|
||||||
import kotlinx.serialization.SerialName
|
import kotlinx.serialization.SerialName
|
||||||
import kotlinx.serialization.Serializable
|
import kotlinx.serialization.Serializable
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult
|
package dev.inmo.tgbotapi.types.InlineQueries.ChosenInlineResult
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.CommonAbstracts.FromUser
|
import dev.inmo.tgbotapi.abstracts.FromUser
|
||||||
import dev.inmo.tgbotapi.types.InlineMessageIdentifier
|
import dev.inmo.tgbotapi.types.InlineMessageIdentifier
|
||||||
import dev.inmo.tgbotapi.types.InlineQueryIdentifier
|
import dev.inmo.tgbotapi.types.InlineQueryIdentifier
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user