Package com.jtelegram.api.events.chat
Class ChatMigratedToChatEvent
- java.lang.Object
-
- com.jtelegram.api.events.Event
-
- com.jtelegram.api.events.message.MessageEvent<T>
-
- com.jtelegram.api.events.message.ServiceMessageEvent<MigrateToChatIdMessage>
-
- com.jtelegram.api.events.chat.ChatMigratedToChatEvent
-
public class ChatMigratedToChatEvent extends ServiceMessageEvent<MigrateToChatIdMessage>
-
-
Constructor Summary
Constructors Constructor Description ChatMigratedToChatEvent(TelegramBot bot, MigrateToChatIdMessage 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
-
ChatMigratedToChatEvent
public ChatMigratedToChatEvent(TelegramBot bot, MigrateToChatIdMessage originMessage)
-
-
Method Detail
-
getNewChat
public Chat getNewChat()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classServiceMessageEvent<MigrateToChatIdMessage>
-
-