teloxide_tests 0.4.0

Test suite for teloxide bots
Documentation
1
2
3
4
5
6
7
8
9
10
use actix_web::Responder;
use serde_json::json;

use super::make_telegram_result;

pub async fn get_webhook_info() -> impl Responder {
    make_telegram_result(
        json!({"url": "", "has_custom_certificate":false,"pending_update_count":0}),
    )
}