TdlibMethodExtensions extension

extension tdlib for make

on

Methods

banAutoChat({required Object chat_id, required Object target_chat_id, required List<Map> target_ban_chats, bool? isUseCache, Duration? durationCacheExpire, bool is_ban_members = false, List<int>? whiteListUserIds, required int clientId, FutureOr<void> onData(List<int> gban_user_ids)?, dynamic onProcces(Map data, int client_id)?}) Future<Map>
blockedChatMembers({required dynamic chat_id, bool is_delete_chat_history = false, bool remove_from_chat_list = false, bool revoke = false, bool is_blocked = true, required int clientId, bool isVoid = false, Duration? delayDuration, Duration? delayLoop, Duration? invokeTimeOut, String? extra, dynamic onProcces(Map data, int client_id)?, bool? isUseCache, Duration? durationCacheExpire}) Future<Map>
delete chat history
deleteChatHistory({required dynamic chat_id, bool remove_from_chat_list = true, bool revoke = true, required int clientId, bool isVoid = false, Duration? delayDuration, bool? isUseCache, Duration? durationCacheExpire, Duration? invokeTimeOut, String? extra}) Future<Map>
delete chat history
getAllMembers({required dynamic chat_id, bool isDetail = false, required int clientId, Duration? delayLoop, dynamic onProcces(Map data, int client_id)?, bool? isUseCache, Duration? durationCacheExpire}) Future<Map>
get all members
toggleMessageSenderIsBlocked({required int user_id, bool is_blocked = false, required int clientId, bool isVoid = false, String? extra, bool? isUseCache, Duration? durationCacheExpire}) Future<Map>
toggle message sender is block