Skip to content

Conversation

@whoant
Copy link

@whoant whoant commented May 10, 2025

Changes:

  • Use ContactsResolveUsername to get the user ID from username
  • Implement MessagesSearch with FromID parameter to filter messages by user ID
  • Fall back to client-side filtering if username resolution fails
  • Add proper error handling for API calls
  • Improve comments to clarify the filtering logic

@whoant whoant changed the title Improve GetUserMessages to filter by user ID on server side Implement GetUserMessages to filter by user ID on server side May 10, 2025
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.

1 participant