From edbfedb74e888e2201e2c78892e4fb69990cd6d2 Mon Sep 17 00:00:00 2001 From: d1snin Date: Mon, 18 Jul 2022 11:26:18 +0300 Subject: [PATCH] added logically missing typealiases --- .../types/message/content/Typealiases.kt | 44 ++++++++++++------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt index 6bac869a24..397ffde08e 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt @@ -2,20 +2,32 @@ package dev.inmo.tgbotapi.types.message.content import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage -typealias ContactMessage = CommonMessage -typealias VenueMessage = CommonMessage -typealias PollMessage = CommonMessage -typealias DiceMessage = CommonMessage -typealias GameMEssage = CommonMessage -typealias TextMessage = CommonMessage -typealias LocationMessage = CommonMessage -typealias PhotoMessage = CommonMessage -typealias VideoMessage = CommonMessage -typealias AudioMessage = CommonMessage -typealias DocumentMessage = CommonMessage -typealias VoiceMessage = CommonMessage -typealias VideoNoteMessage = CommonMessage -typealias AnimationMessage = CommonMessage -typealias StickerMessage = CommonMessage typealias InvoiceMessage = CommonMessage -typealias MediaCollectionMessage = CommonMessage> \ No newline at end of file +typealias VenueMessage = CommonMessage +typealias GameMessage = CommonMessage +typealias DiceMessage = CommonMessage +typealias ContactMessage = CommonMessage +typealias PollMessage = CommonMessage +typealias TextMessage = CommonMessage + +typealias LocationMessage = CommonMessage +typealias LiveLocationMessage = CommonMessage +typealias StaticLocationMessage = CommonMessage + +typealias MediaCollectionMessage = CommonMessage> +typealias MediaMessage = CommonMessage +typealias VideoNoteMessage = CommonMessage +typealias StickerMessage = CommonMessage +typealias TextedMediaMessage = CommonMessage +typealias VoiceMessage = CommonMessage +typealias MediaGroupMessage = CommonMessage +typealias AudioMediaGroupMessage = CommonMessage +typealias AudioMessage = CommonMessage +typealias DocumentMediaGroupMessage = CommonMessage +typealias DocumentMessage = CommonMessage +typealias VisualMediaGroupMessage = CommonMessage +typealias VideoMessage = CommonMessage +typealias PhotoMessage = CommonMessage +typealias AnimationMessage = CommonMessage + +