Package com.pengrad.telegrambot.login
Class CheckTelegramAuth
- java.lang.Object
-
- com.pengrad.telegrambot.login.CheckTelegramAuth
-
public class CheckTelegramAuth extends java.lang.Object
Stas Parshin 18 June 2019
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
authDate()
static CheckTelegramAuth
fromUrl(java.lang.String botToken, java.lang.String authUrl)
boolean
isFromTelegram()
-
-
-
Method Detail
-
fromUrl
public static CheckTelegramAuth fromUrl(java.lang.String botToken, java.lang.String authUrl)
-
authDate
public java.util.Date authDate()
-
isFromTelegram
public boolean isFromTelegram() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-