Package com.jtelegram.api.events.chat
Class UserLoggedInEvent
- java.lang.Object
-
- com.jtelegram.api.events.Event
-
- com.jtelegram.api.events.message.MessageEvent<T>
-
- com.jtelegram.api.events.message.ServiceMessageEvent<UserLoggedInMessage>
-
- com.jtelegram.api.events.chat.UserLoggedInEvent
-
public class UserLoggedInEvent extends ServiceMessageEvent<UserLoggedInMessage>
When the user logs in from a website (and most of the time, a new chat is instantiated) At this point, it is guaranteed that the bot can send messages to the user.
-
-
Constructor Summary
Constructors Constructor Description UserLoggedInEvent(TelegramBot bot, UserLoggedInMessage originMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.events.message.MessageEvent
getMessage
-
-
-
-
Constructor Detail
-
UserLoggedInEvent
public UserLoggedInEvent(TelegramBot bot, UserLoggedInMessage originMessage)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classServiceMessageEvent<UserLoggedInMessage>
-
-