feat: sync multilayer td integration

This commit is contained in:
A 2026-07-15 13:32:06 +08:00
parent 20a310f6ca
commit 766c5db992
491 changed files with 26235 additions and 35340 deletions

View file

@ -4,6 +4,8 @@ import (
"context"
"regexp"
"strings"
"github.com/iamxvbaba/td/tg"
)
type ctxKey int
@ -31,7 +33,7 @@ func inboundRPCBytesFrom(ctx context.Context) int {
return v
}
const currentClientLayer = 227
const currentClientLayer = tg.Layer
var androidSDKVersionRE = regexp.MustCompile(`\bsdk\s+\d+\b`)