SearchPublicPosts constructor

const SearchPublicPosts({
  1. required String query,
  2. required String offset,
  3. required int limit,
  4. required int starCount,
})

Searches for public channel posts using the given query. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit

Implementation

const SearchPublicPosts({
  required this.query,
  required this.offset,
  required this.limit,
  required this.starCount,
});