fix(client): optional params in sendCopy
This commit is contained in:
parent
abe6cef377
commit
cb2df91187
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ export class Message {
|
|||
*/
|
||||
sendCopy(
|
||||
toChatId: InputPeerLike,
|
||||
params: Parameters<TelegramClient['sendCopy']>[3]
|
||||
params?: Parameters<TelegramClient['sendCopy']>[3]
|
||||
): Promise<Message> {
|
||||
if (!params) params = {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue