diff --git a/TGServiceInterface/Chat.cs b/TGServiceInterface/Chat.cs index cd9b83e0a7..cfdab6d228 100644 --- a/TGServiceInterface/Chat.cs +++ b/TGServiceInterface/Chat.cs @@ -330,6 +330,7 @@ namespace TGServiceInterface } protected override string SanitizeChannelName(string working) { + working = working.Replace("<", "").Replace(">", "").Replace("&", ""); //filter out some stuff that can come in the copypasta try { Convert.ToUInt64(working);