Skip to content

fix(telegram): set filter for global message search - #4

Merged
fdciabdul merged 1 commit into
imtaqin:mainfrom
I3eka:fix/global-search-empty-filter
Aug 4, 2026
Merged

fix(telegram): set filter for global message search#4
fdciabdul merged 1 commit into
imtaqin:mainfrom
I3eka:fix/global-search-empty-filter

Conversation

@I3eka

@I3eka I3eka commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • pass an explicit empty filter to Telegram's global message search request
  • keep unfiltered search behavior while satisfying the API request contract

Testing

  • go test ./...

Copilot AI lite review requested due to automatic review settings August 4, 2026 09:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Passes an explicit empty filter in the Telegram “global message search” request to satisfy the API’s request contract while preserving the existing unfiltered search behavior.

Changes:

  • Set Filter to &tg.InputMessagesFilterEmpty{} in MessagesSearchGlobal requests from Client.SearchMessages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fdciabdul
fdciabdul merged commit a0bce8c into imtaqin:main Aug 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants