Как сделать так, чтобы бот после его включения обрабатывал абсолютно все сообщения, которые ему пришли за время его пребывания в выключенном состоянии(день и более)
There are two mutually exclusive ways of receiving updates for your bot - the getUpdates method on one hand and webhooks on the other. Incoming updates are stored on the server until the bot receives them either way, but they will not be kept longer than 24 hours.
Всем привет, облазил все просторы интернета ничего не нашел.
celery
, но оно вроде как и не сильно релевантно<label><input type="radio"><span>1</span></label>
label > input {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
}
label > span {
display: flex;
align-items: center;
}
label > span::before {
content: '';
width: 2em;
height: 2em;
border-radius: 50%;
border: 2px solid #888;
background: content-box #FFF0;
padding: 2px;
}
label > input:checked + span {
background-color: #00F;
border-color: #00F;
}
set $origin домен-оригинала-сайта;
location / {
proxy_http_version 1.1;
proxy_set_header Connection '';
proxy_set_header Accept-Encoding '';
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass https://куда-коннектиться;
proxy_ssl_name $origin;
proxy_set_header Host $origin;
proxy_cookie_domain $origin $http_host;
proxy_redirect http://$origin/ https://$http_host/;
proxy_redirect https://$origin/ https://$http_host/;
sub_filter //www.$origin/ //$http_host/;
sub_filter //$origin/ //$http_host/;
sub_filter_once off;
sub_filter_types text/css application/javascript application/x-javascript image/svg+xml;
}