23 lines
814 B
Markdown
23 lines
814 B
Markdown
---
|
|
title: deleteChannel
|
|
description: Deletes channel along with all messages in corresponding chat. Releases channel username and removes all members. Needs creator privileges in the channel. Channels with more than 1000 members can't be deleted
|
|
---
|
|
## Method: deleteChannel
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Deletes channel along with all messages in corresponding chat. Releases channel username and removes all members. Needs creator privileges in the channel. Channels with more than 1000 members can't be deleted
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|channel\_id|[CLICK ME int](../types/int.md) | Yes|Identifier of the channel|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|