Export Members

Export Members #

Export chat members/subscribers, admins, bots, etc.

Chat administrator permission is required for some types of members(kicked, banned, etc.).
CHAT Examples

Available Values: #

  • @iyear (Username)
  • iyear (Username without @)
  • 123456789 (ID)
  • https://t.me/iyear (Public Link)
  • +1 123456789 (Phone)

How to Get Chat ID on Telegram Desktop: #

  • SettingsAdvancedExperimental settingsShow Peer IDs in Profile

All #

Export all users to tdl-users.json

tdl chat users -c CHAT

Custom Destination #

Export with specified file path

tdl chat users -c CHAT -o /path/to/export.json

Raw #

Export Telegram MTProto raw user structure, which is useful for debugging.

tdl chat users -c CHAT --raw