fix: Unknown Message (2)
This commit is contained in:
parent
92cc1afd7b
commit
779fc7a5f4
@ -95,6 +95,8 @@ class APIRequest {
|
||||
headers['Content-Type'] = 'application/json';
|
||||
if (captchaKey && typeof captchaKey == 'string') {
|
||||
if (!this.options.data) this.options.data = {};
|
||||
// Delete cookie (https://t.me/DMDGOBugsAndFeatures/626) Wtf Unknown Message Error ???
|
||||
headers.Cookie = undefined;
|
||||
this.options.data.captcha_key = captchaKey;
|
||||
if (captchaRqtoken) this.options.data.captcha_rqtoken = captchaRqtoken;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user