mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
let send_message use ChatId
This commit is contained in:
parent
703c65c0c2
commit
b359d7f8a6
1 changed files with 2 additions and 2 deletions
|
@ -876,7 +876,7 @@ trait ErasableRequester<'a> {
|
||||||
|
|
||||||
fn send_game(
|
fn send_game(
|
||||||
&self,
|
&self,
|
||||||
chat_id: i64,
|
chat_id: ChatId,
|
||||||
game_short_name: String,
|
game_short_name: String,
|
||||||
) -> ErasedRequest<'a, SendGame, Self::Err>;
|
) -> ErasedRequest<'a, SendGame, Self::Err>;
|
||||||
|
|
||||||
|
@ -1721,7 +1721,7 @@ where
|
||||||
|
|
||||||
fn send_game(
|
fn send_game(
|
||||||
&self,
|
&self,
|
||||||
chat_id: i64,
|
chat_id: ChatId,
|
||||||
game_short_name: String,
|
game_short_name: String,
|
||||||
) -> ErasedRequest<'a, SendGame, Self::Err> {
|
) -> ErasedRequest<'a, SendGame, Self::Err> {
|
||||||
Requester::send_game(self, chat_id, game_short_name).erase()
|
Requester::send_game(self, chat_id, game_short_name).erase()
|
||||||
|
|
Loading…
Reference in a new issue