mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 05:36:56 +01:00
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)
|
|
|