mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 00:03:48 +00:00
add deprecations
This commit is contained in:
parent
79d0eda61d
commit
5e7bc96b44
@ -7,6 +7,9 @@ import com.github.insanusmokrassar.TelegramBotAPI.types.message.ChatEvents.abstr
|
|||||||
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.GroupEventMessage
|
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.GroupEventMessage
|
||||||
import com.soywiz.klock.DateTime
|
import com.soywiz.klock.DateTime
|
||||||
|
|
||||||
|
@Deprecated("Renamed", ReplaceWith("CommonGroupEventMessage"))
|
||||||
|
typealias GroupEventMessage = CommonGroupEventMessage
|
||||||
|
|
||||||
data class CommonGroupEventMessage(
|
data class CommonGroupEventMessage(
|
||||||
override val messageId: MessageIdentifier,
|
override val messageId: MessageIdentifier,
|
||||||
override val user: User,
|
override val user: User,
|
||||||
|
@ -7,6 +7,9 @@ import com.github.insanusmokrassar.TelegramBotAPI.types.message.ChatEvents.abstr
|
|||||||
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.SupergroupEventMessage
|
import com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.SupergroupEventMessage
|
||||||
import com.soywiz.klock.DateTime
|
import com.soywiz.klock.DateTime
|
||||||
|
|
||||||
|
@Deprecated("Renamed", ReplaceWith("CommonSupergroupEventMessage"))
|
||||||
|
typealias SupergroupEventMessage = CommonSupergroupEventMessage
|
||||||
|
|
||||||
data class CommonSupergroupEventMessage(
|
data class CommonSupergroupEventMessage(
|
||||||
override val messageId: MessageIdentifier,
|
override val messageId: MessageIdentifier,
|
||||||
override val user: User,
|
override val user: User,
|
||||||
|
Loading…
Reference in New Issue
Block a user