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