23 lines
580 B
Markdown
23 lines
580 B
Markdown
---
|
|
title: getChannel
|
|
description: Returns information about a channel by its identifier, offline request if current user is not a bot
|
|
---
|
|
## Method: getChannel
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Returns information about a channel by its identifier, offline request if current user is not a bot
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|channel\_id|[int](../types/int.md) | Yes|Channel identifier|
|
|
|
|
|
|
### Return type: [Channel](../types/Channel.md)
|
|
|