fix(client): params type for answerMedia
This commit is contained in:
parent
08517810fc
commit
cbb8549068
1 changed files with 2 additions and 2 deletions
|
@ -570,8 +570,8 @@ export class Message {
|
|||
*/
|
||||
answerMedia(
|
||||
media: InputMediaLike,
|
||||
params?: Parameters<TelegramClient['sendText']>[2]
|
||||
): ReturnType<TelegramClient['sendText']> {
|
||||
params?: Parameters<TelegramClient['sendMedia']>[2]
|
||||
): ReturnType<TelegramClient['sendMedia']> {
|
||||
return this.client.sendMedia(this.chat.inputPeer, media, params)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue