コード例 #1
0
        public async Task <bool?> EditDescriptionChannel(TLChannel channel, string desc)
        {
            switch (_isbot)
            {
            case BotTypeApi.REAL_BOT:
                break;

            case BotTypeApi.USER_BOT:
            {
                var r = await _userbotClient.Channels_EditDescription(channel, desc);

                return(r);
            }
            break;

            case BotTypeApi.DISGUISED_BOT:
                break;
            }

            return(null);
        }