public final class TokenUtil extends Object
| Constructor and Description |
|---|
TokenUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getSelfId(String token)
Extracts the bot user's ID from the token used to authenticate requests.
|
public static long getSelfId(String token)
token - The bot token used to authenticate requests.