1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-21 15:53:47 +00:00

added logically missing typealiases

This commit is contained in:
d1snin 2022-07-18 11:26:18 +03:00
parent b5006cd1e0
commit edbfedb74e
No known key found for this signature in database
GPG Key ID: 331A7ED19E9DEF42

View File

@ -2,20 +2,32 @@ package dev.inmo.tgbotapi.types.message.content
import dev.inmo.tgbotapi.types.message.abstracts.CommonMessage
typealias ContactMessage = CommonMessage<ContactContent>
typealias VenueMessage = CommonMessage<VenueContent>
typealias PollMessage = CommonMessage<PollContent>
typealias DiceMessage = CommonMessage<DiceContent>
typealias GameMEssage = CommonMessage<GameContent>
typealias TextMessage = CommonMessage<TextContent>
typealias LocationMessage = CommonMessage<LocationContent>
typealias PhotoMessage = CommonMessage<PhotoContent>
typealias VideoMessage = CommonMessage<VideoContent>
typealias AudioMessage = CommonMessage<AudioContent>
typealias DocumentMessage = CommonMessage<DocumentContent>
typealias VoiceMessage = CommonMessage<VoiceContent>
typealias VideoNoteMessage = CommonMessage<VideoNoteContent>
typealias AnimationMessage = CommonMessage<AnimationContent>
typealias StickerMessage = CommonMessage<StickerContent>
typealias InvoiceMessage = CommonMessage<InvoiceContent>
typealias MediaCollectionMessage<T> = CommonMessage<MediaCollectionContent<T>>
typealias VenueMessage = CommonMessage<VenueContent>
typealias GameMessage = CommonMessage<GameContent>
typealias DiceMessage = CommonMessage<DiceContent>
typealias ContactMessage = CommonMessage<ContactContent>
typealias PollMessage = CommonMessage<PollContent>
typealias TextMessage = CommonMessage<TextContent>
typealias LocationMessage = CommonMessage<LocationContent>
typealias LiveLocationMessage = CommonMessage<LiveLocationContent>
typealias StaticLocationMessage = CommonMessage<StaticLocationContent>
typealias MediaCollectionMessage<T> = CommonMessage<MediaCollectionContent<T>>
typealias MediaMessage = CommonMessage<MediaContent>
typealias VideoNoteMessage = CommonMessage<VideoNoteContent>
typealias StickerMessage = CommonMessage<StickerContent>
typealias TextedMediaMessage = CommonMessage<TextedMediaContent>
typealias VoiceMessage = CommonMessage<VoiceContent>
typealias MediaGroupMessage = CommonMessage<MediaGroupContent>
typealias AudioMediaGroupMessage = CommonMessage<AudioMediaGroupContent>
typealias AudioMessage = CommonMessage<AudioContent>
typealias DocumentMediaGroupMessage = CommonMessage<DocumentMediaGroupContent>
typealias DocumentMessage = CommonMessage<DocumentContent>
typealias VisualMediaGroupMessage = CommonMessage<VisualMediaGroupContent>
typealias VideoMessage = CommonMessage<VideoContent>
typealias PhotoMessage = CommonMessage<PhotoContent>
typealias AnimationMessage = CommonMessage<AnimationContent>