@@ -408,7 +408,7 @@ public Task register_google(string nickname, string googleToken, string password
408408
409409 Dictionary < string , object > data = new Dictionary < string , object > ( )
410410 {
411- { "secret" , $ "12 { googleToken } " } ,
411+ { "secret" , $ "32 { googleToken } " } ,
412412 { "secret2" , $ "0 { password } " } ,
413413 { "deviceID" , deviceId } ,
414414 { "clientType" , 100 } ,
@@ -1130,7 +1130,7 @@ public Task delete_message(string chatId, string messageId, bool asStaff = false
11301130 JObject data = new JObject ( )
11311131 {
11321132 { "adminOpName" , 102 } ,
1133- { "adminOpNote" , new JObject ( ) { "content" , reason } } ,
1133+ { "adminOpNote" , new JObject ( ) { { "content" , reason } } } ,
11341134 { "timestamp" , helpers . GetTimestamp ( ) * 1000 }
11351135 } ;
11361136 RestClient client = new RestClient ( helpers . BaseUrl ) ;
@@ -2167,7 +2167,7 @@ public Task send_file_message(string chatId, byte[] file, Types.upload_File_Type
21672167 data . Add ( "mediaType" , 110 ) ;
21682168 break ;
21692169 }
2170- data . Add ( "mediaUploadValue" , Encoding . UTF8 . GetString ( Convert . FromBase64String ( Convert . ToBase64String ( file ) ) ) ) ;
2170+ data . Add ( "mediaUploadValue" , Convert . ToBase64String ( file ) ) ;
21712171
21722172
21732173 RestClient client = new RestClient ( helpers . BaseUrl ) ;
0 commit comments