Package com.jtelegram.api.events.chat
Class ChatMigratedFromChatEvent
- java.lang.Object
-
- com.jtelegram.api.events.Event
-
- com.jtelegram.api.events.message.MessageEvent<T>
-
- com.jtelegram.api.events.message.ServiceMessageEvent<MigrateFromChatIdMessage>
-
- com.jtelegram.api.events.chat.ChatMigratedFromChatEvent
-
public class ChatMigratedFromChatEvent extends ServiceMessageEvent<MigrateFromChatIdMessage>
-
-
Constructor Summary
Constructors Constructor Description ChatMigratedFromChatEvent(TelegramBot bot, MigrateFromChatIdMessage originMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Chat
getNewChat()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.events.message.MessageEvent
getMessage
-
-
-
-
Constructor Detail
-
ChatMigratedFromChatEvent
public ChatMigratedFromChatEvent(TelegramBot bot, MigrateFromChatIdMessage originMessage)
-
-
Method Detail
-
getNewChat
public Chat getNewChat()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classServiceMessageEvent<MigrateFromChatIdMessage>
-
-