Set explicitly ["chat_member","message_reaction","message_reaction_count"] as additional updates i want to receive

This commit is contained in:
eleksir
2025-04-24 21:55:15 +03:00
parent 7904957aaa
commit 9fed95bc4a

View File

@@ -851,7 +851,7 @@ sub _add_getUpdates_handler {
return if $http_active;
my $offset = $last_update_id + 1;
my $updateURL = "https://api.telegram.org/bot${token}/getUpdates?offset=${offset}&timeout=60";
my $updateURL = "https://api.telegram.org/bot${token}/getUpdates?offset=${offset}&timeout=60&allowed_updates=%5B%22chat_member%22%2C%22message_reaction%22%2C%22message_reaction_count%22%5D";
$http_active = 1;
$self->ua->get(