#include "Token.h"
Definition at line 16 of file Token.h.
◆ Token() [1/2]
Token::Token |
( |
const char |
ttoken[__TELEGRAM_TOKEN_LENGTH] | ) |
|
Limited to the max char length of 45 characters, from then on it is stl
- Parameters
-
Definition at line 46 of file Token.cc.
◆ Token() [2/2]
Token::Token |
( |
const Token & |
T | ) |
|
◆ FromFile()
Token Token::FromFile |
( |
const char * |
filelocation | ) |
|
|
static |
Reads file and gets the token from the file
- Parameters
-
filelocation,the | file location of the token |
- Returns
Definition at line 60 of file Token.cc.
◆ getToken()
const std::string Token::getToken |
( |
| ) |
const |
returns the token as string
- Returns
- the Token
Definition at line 23 of file Token.cc.
◆ setToken()
void Token::setToken |
( |
std::string |
s | ) |
|
Sets the Token, additional verification is done
- Parameters
-
Definition at line 32 of file Token.cc.
◆ token
std::string yatbcpp::Token::token |
|
private |
The documentation for this class was generated from the following files: