Skip to content

Commit

Permalink
🏷️ type: Chat.pic to get chat icon #3069
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed Mar 23, 2023
1 parent 5c7f4e0 commit 2329632
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/model/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ export interface BaseChat {
* @deprecated This is unreliable. Use the method [`getLastSeen`](https://open-wa.github.io/wa-automate-nodejs/classes/client.html#getlastseen) instead.
*/
lastSeen?: any;
/**
* URL of the chat picture if available
*/
pic?:string;
}

export interface SingleChat extends BaseChat {
Expand Down

0 comments on commit 2329632

Please sign in to comment.