From b5006cd1e0c9c172382f8cd977ef0c0f608ef3ca Mon Sep 17 00:00:00 2001 From: d1snin Date: Mon, 18 Jul 2022 11:02:13 +0300 Subject: [PATCH] Add content-oriented typealiases for messages --- .../types/message/content/Typealiases.kt | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt 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 new file mode 100644 index 0000000000..6bac869a24 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/content/Typealiases.kt @@ -0,0 +1,21 @@ +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