File picker permissions and header rename. Also merged jija shit

This commit is contained in:
nullpeer
2025-11-30 14:07:33 +03:00
parent d793498d0a
commit 803a855c21
18 changed files with 2820 additions and 1611 deletions

View File

@@ -16,6 +16,12 @@ extension ApiServiceContacts on ApiService {
_sendMessage(34, {'contactId': contactId, 'action': 'ADD'});
}
Future<void> requestContactsByIds(List<int> contactIds) async {
await waitUntilOnline();
_sendMessage(35, {'contactIds': contactIds});
print('Отправлен запрос opcode=35 с contactIds: $contactIds');
}
Future<void> subscribeToChat(int chatId, bool subscribe) async {
await waitUntilOnline();
_sendMessage(75, {'chatId': chatId, 'subscribe': subscribe});