diff --git a/crates/teloxide-core/src/adaptors/erased.rs b/crates/teloxide-core/src/adaptors/erased.rs index a27d977a..0ddaf604 100644 --- a/crates/teloxide-core/src/adaptors/erased.rs +++ b/crates/teloxide-core/src/adaptors/erased.rs @@ -876,7 +876,7 @@ trait ErasableRequester<'a> { fn send_game( &self, - chat_id: i64, + chat_id: ChatId, game_short_name: String, ) -> ErasedRequest<'a, SendGame, Self::Err>; @@ -1721,7 +1721,7 @@ where fn send_game( &self, - chat_id: i64, + chat_id: ChatId, game_short_name: String, ) -> ErasedRequest<'a, SendGame, Self::Err> { Requester::send_game(self, chat_id, game_short_name).erase()