diff --git a/Telegrator/MadiatorCore/Descriptors/HandlerDescriptorList.cs b/Telegrator/MadiatorCore/Descriptors/HandlerDescriptorList.cs index 4430864..103965e 100644 --- a/Telegrator/MadiatorCore/Descriptors/HandlerDescriptorList.cs +++ b/Telegrator/MadiatorCore/Descriptors/HandlerDescriptorList.cs @@ -79,6 +79,9 @@ namespace Telegrator.MadiatorCore.Descriptors descriptor.Indexer = descriptor.Indexer.UpdateIndex(count++); _innerCollection.Add(descriptor.Indexer, descriptor); + + if (_handlingType == UpdateType.InlineQuery) + IsReadOnly = true; } }