From 50b2b1f918351f33fa71d717e58d8c02899883b5 Mon Sep 17 00:00:00 2001 From: AmarnathCJD Date: Tue, 7 Jan 2025 08:18:17 +0530 Subject: [PATCH] fix parser --- internal/cmd/tlgen/main.go | 1 + telegram/const.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/cmd/tlgen/main.go b/internal/cmd/tlgen/main.go index c0a07e06..d4c00cc3 100644 --- a/internal/cmd/tlgen/main.go +++ b/internal/cmd/tlgen/main.go @@ -490,6 +490,7 @@ null#56730bcc = Null;`} } b = bytes.ReplaceAll(b, []byte(`vector<`), []byte(`Vector<`)) + b = bytes.ReplaceAll(b, []byte(`= Users;`), []byte(`= users.Users;`)) clean = append(clean, string(b)) diff --git a/telegram/const.go b/telegram/const.go index ec0f29f6..3ab7fcc8 100644 --- a/telegram/const.go +++ b/telegram/const.go @@ -7,7 +7,7 @@ import ( ) const ( - ApiVersion = 197 + ApiVersion = 196 Version = "v1.5.0" LogDebug = utils.DebugLevel