Class UserLoggedInMessage
- java.lang.Object
-
- com.jtelegram.api.message.Message
-
- com.jtelegram.api.message.impl.service.ServiceMessage
-
- com.jtelegram.api.message.impl.service.UserLoggedInMessage
-
public class UserLoggedInMessage extends ServiceMessage
When a user logs in using a login widget, the bot is given permission to chat with them. This message is sent as a notification that this has happened.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jtelegram.api.message.Message
Message.Deserializer
-
-
Constructor Summary
Constructors Constructor Description UserLoggedInMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConnectedWebsite()
The domain of the website on which the user logged injava.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.message.impl.service.ServiceMessage
getContent
-
Methods inherited from class com.jtelegram.api.message.Message
getAuthorSignature, getChat, getDate, getEditDate, getForwardDate, getForwardedFrom, getForwardedFromChat, getForwardedFromMessageId, getForwardSignature, getFrom, getMessageId, getReplyToMessage, getSender, toDeleteRequest, toEditReplyMarkupRequest, toForwardRequest
-
-
-
-
Method Detail
-
getConnectedWebsite
public java.lang.String getConnectedWebsite()
The domain of the website on which the user logged in
-
toString
public java.lang.String toString()
- Overrides:
toString
in classServiceMessage
-
-