Skip to content

Commit

Permalink
Fix tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
painor committed Nov 1, 2023
1 parent 2464335 commit f008108
Show file tree
Hide file tree
Showing 4 changed files with 306 additions and 252 deletions.
2 changes: 1 addition & 1 deletion gramjs/Version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "2.19.7";
export const version = "2.19.9";
7 changes: 6 additions & 1 deletion gramjs/tl/custom/draft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ export class Draft {
: draft.message;
this._rawText = draft.message;
this.date = draft.date;
this.replyToMsgId = draft.replyToMsgId;
const replyTo = draft.replyTo
if (replyTo != undefined){
if ("replyToMsgId" in replyTo){
this.replyToMsgId = replyTo.replyToMsgId;
}
}
}
}

Expand Down
Loading

0 comments on commit f008108

Please sign in to comment.