picoclaw/pkg/channels/telegram
Hoshina 3fb4469e47 feat(identity): add unified user identity with canonical platform:id format
Introduce SenderInfo struct and pkg/identity package to standardize user
identification across all channels. Each channel now constructs structured
sender info (platform, platformID, canonicalID, username, displayName)
instead of ad-hoc string IDs. Allow-list matching supports all legacy
formats (numeric ID, @username, id|username) plus the new canonical
"platform:id" format. Session key resolution also handles canonical
peerIDs for backward-compatible identity link matching.
2026-02-24 12:10:45 +08:00
..
init.go refactor(channels): add channel subpackages and update gateway imports 2026-02-24 12:10:02 +08:00
telegram.go feat(identity): add unified user identity with canonical platform:id format 2026-02-24 12:10:45 +08:00
telegram_commands.go fix: golangci-lint run --fix 2026-02-24 12:10:44 +08:00