tdbot.lua
tdbot.lua copied to clipboard
setTdlibParameters does not work
hi i wanna change the api id and api hash from the lua-source in tdbot but ill face this error : ["@type"] = "error", code = 400, message = "Unexpected setTdlibParameters" how can i fix it ?
@rizaumami and can we set MTProto Proxy in tdbot lua ?
Have you tried setProxy method? Never use a proxy my self, so I'm not test it yet...
@rizaumami no problem for setting MTProto Proxy i was just asking about it , what about this error : ["@type"] = "error", code = 400, message = "Unexpected setTdlibParameters" how it'll be sloved ? some bots will be deleted account and i dunno why , so i wanna stop deleting from telegram by changing this Parameters thanks for answering.
Sorry, I've not test setTdlibParameters
yet.
Perhaps you can see following script as an example: https://github.com/giuseppeM99/tdlua/blob/b54cd0c29c7bc89b2c3792d7333f42f98eaad725/examples/tdbot.lua#L69-L82
@rizauami thanks about that but when i set a proxy and its still connecting to proxy how can i remove the proxy ?
@rizaumami hello , can we talk in telegram please ? i really need your help