Ejemplo n.º 1
0
        public async Task ClearRoom()
        {
            if (SessionService.GetThisRoomChatSession(socketMessage) != null)
            {
                await RoomMessages.CannotClearRoomBcsActiveSession(socketMessage);

                return;
            }
            await roomService.ClearRoom(socketMessage);

            await SessionMessages.SendResponseWithListOfCommands(socketMessage);

            await BotMessages.SendResponseWithInfoAboutOffline(socketMessage);
        }