Skip to content

Commit 864935b

Browse files
committed
Merge remote-tracking branch 'rafaelcbarbosa/patch-2'
2 parents 837f97b + 8f12e2c commit 864935b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/UniversalTelegramBot.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ UniversalTelegramBot::UniversalTelegramBot(String token, Client &client) {
4343
this->client = &client;
4444
}
4545

46+
void UniversalTelegramBot::updateToken(String token) {
47+
_token = token;
48+
}
49+
4650
String UniversalTelegramBot::sendGetToTelegram(String command) {
4751
String mess = "";
4852
long now;

0 commit comments

Comments
 (0)