Skip to content

Commit

Permalink
fix: enhanced type definition for recipients of the sendFile method
Browse files Browse the repository at this point in the history
  • Loading branch information
gekkedev authored and icleitoncosta committed Oct 24, 2024
1 parent 697feb1 commit e20fb63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/layers/sender.layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {
stickerSelect,
} from '../helpers';
import { filenameFromMimeType } from '../helpers/filename-from-mimetype';
import { Message, SendFileResult, SendStickerResult } from '../model';
import { Message, SendFileResult, SendStickerResult, Wid } from '../model';
import { ChatState } from '../model/enum';
import { ListenerLayer } from './listener.layer';
import {
Expand Down Expand Up @@ -604,7 +604,7 @@ export class SenderLayer extends ListenerLayer {
* @param options
*/
public async sendFile(
to: string,
to: string | Wid,
pathOrBase64: string,
options?: FileMessageOptions
);
Expand Down

0 comments on commit e20fb63

Please sign in to comment.