mirror of
https://github.com/tiennm99/forward-telegram-message.git
synced 2026-10-18 08:14:41 +00:00
Replace the Telethon script with a Go port built on gotd/td. It keeps the PHONE, API_ID, API_HASH, SOURCE_GROUP_ID and TARGET_GROUP_ID contract, stores the session in a local session.json, queues forwards outside the updates loop, and catches up on updates missed across reconnects. The Telethon session file is not reused, so the first run logs in once.
23 lines
168 B
Plaintext
23 lines
168 B
Plaintext
# project
|
|
session.json
|
|
*.session
|
|
*.session-journal
|
|
plans/
|
|
|
|
# go
|
|
/bin/
|
|
*.exe
|
|
*.test
|
|
*.out
|
|
coverage.*
|
|
go.work
|
|
go.work.sum
|
|
|
|
# env
|
|
.env
|
|
|
|
# tooling
|
|
.idea/
|
|
.vscode/
|
|
.claude/
|