Skip to main content
The Telegram plugin syncs data locally. Use corsair.telegram.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Chats

Path: telegram.db.chats.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Files

Path: telegram.db.files.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Messages

Path: telegram.db.messages.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Polls

Path: telegram.db.polls.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Users

Path: telegram.db.users.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.