1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 08:37:12 +00:00

add deprecations

This commit is contained in:
InsanusMokrassar 2020-09-28 13:11:41 +06:00
parent 79d0eda61d
commit 5e7bc96b44
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@ import com.github.insanusmokrassar.TelegramBotAPI.types.message.ChatEvents.abstr
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.GroupEventMessage
import com.soywiz.klock.DateTime
@Deprecated("Renamed", ReplaceWith("CommonGroupEventMessage"))
typealias GroupEventMessage = CommonGroupEventMessage
data class CommonGroupEventMessage(
override val messageId: MessageIdentifier,
override val user: User,

View File

@ -7,6 +7,9 @@ import com.github.insanusmokrassar.TelegramBotAPI.types.message.ChatEvents.abstr
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.SupergroupEventMessage
import com.soywiz.klock.DateTime
@Deprecated("Renamed", ReplaceWith("CommonSupergroupEventMessage"))
typealias SupergroupEventMessage = CommonSupergroupEventMessage
data class CommonSupergroupEventMessage(
override val messageId: MessageIdentifier,
override val user: User,