Skip to content

Commit

Permalink
feat: infer message_thread_id, fix wrong caption_entities type (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf authored May 9, 2024
1 parent 279ecde commit ea6e697
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -717,13 +717,6 @@ type L2Equivalents = {
type MessageEquivalents = {
animation: "document";
entities: "text";
caption: CaptionMessages;
caption_entities: CaptionMessages;
caption_entities: "caption";
is_topic_message: "message_thread_id";
};
type CaptionMessages =
| "animation"
| "audio"
| "document"
| "photo"
| "video"
| "voice";

0 comments on commit ea6e697

Please sign in to comment.