TelegramAgent.Environment.PinnedChatLimit

at most %1$d chat can be pinned; unpin one firstat most %1$d chats can be pinned; unpin one first
49