added permission types

This commit is contained in:
Deven Joshi
2021-11-09 13:48:12 +05:30
parent 11b5de6fd7
commit c60524ef96
3 changed files with 44 additions and 6 deletions
@@ -0,0 +1,37 @@
class PermissionType {
static const String sendMessage = "send-message";
static const String sendReaction = "send-reaction";
static const String sendLinks = "send-links";
static const String sendReply = "send-reply";
static const String freezeChannel = "freeze-channel";
static const String setChannelCooldown = "set-channel-cooldown";
static const String leaveChannel = "leave-channel";
static const String pinMessage = "pin-message";
static const String deleteAnyMessage = "delete-any-message";
static const String deleteOwnMessage = "delete-own-message";
static const String updateAnyMessage = "update-any-message";
static const String updateOwnMessage = "update-own-message";
static const String searchMessages = "search-messages";
static const String sendTypingEvents = "send-typing-events";
static const String uploadFile = "upload-file";
static const String deleteChannel = "delete-channel";
static const String updateChannel = "update-channel";
static const String updateChannelMembers = "update-channel-members";
}
@@ -36,6 +36,7 @@ export './src/core/util/extension.dart';
export './src/db/chat_persistence_client.dart';
export './src/event_type.dart';
export './src/location.dart';
export './src/permission_type.dart';
export './src/ws/connection_status.dart';
export 'src/client/channel.dart';
export 'src/client/client.dart';