teremock 0.5.5

Fast integration testing library for teloxide Telegram bots
Documentation
1
2
3
4
5
6
7
8
use actix_web::{web, Responder};
use teloxide::types::Me;

use super::make_telegram_result;

pub async fn get_me(me: web::Data<Me>) -> impl Responder {
    make_telegram_result(me)
}