GlobalChatLeaveChannel
Leaves the current global chat channel.
The method automatically determines the active channel name and sends a leave packet for it. No parameters are needed.
Покидает текущий канал глобального чата.
Метод автоматически определяет имя активного канала и отправляет пакет выхода из него. Параметры не требуются.
procedure GlobalChatLeaveChannel;
def GlobalChatLeaveChannel() -> None: ...
begin
if GlobalChatActiveChannel <> '' then
begin
AddToSystemJournal('Leaving channel: ' + GlobalChatActiveChannel);
GlobalChatLeaveChannel;
end;
end.
if GlobalChatActiveChannel():
AddToSystemJournal(f'Leaving channel: {GlobalChatActiveChannel()}')
GlobalChatLeaveChannel()
GlobalChatJoinChannel, GlobalChatActiveChannel, GlobalChatChannelsList, GlobalChatSendMsg