namespace MyTelegram.Messenger.Handlers.LatestLayer.Impl.Contacts;

///<summary>
/// Enable/disable <a href="https://corefork.telegram.org/api/top-rating">top peers</a>
/// See <a href="https://corefork.telegram.org/method/contacts.toggleTopPeers" />
///</summary>
internal sealed class ToggleTopPeersHandler : RpcResultObjectHandler<MyTelegram.Schema.Contacts.RequestToggleTopPeers, IBool>,
    Contacts.IToggleTopPeersHandler
{
    protected override Task<IBool> HandleCoreAsync(IRequestInput input,
        MyTelegram.Schema.Contacts.RequestToggleTopPeers obj)
    {
        return Task.FromResult<IBool>(new TBoolTrue());
    }
}
