Pin or unpin forum topics
Method schema is available as of layer 148. Switch ยป
Name | Type | Description |
---|---|---|
channel | InputChannel | Supergroup ID |
topic_id | int | Forum topic ID |
pinned | Bool | Whether to pin or unpin the topic |
Code | Type | Description |
---|---|---|
400 | TOPIC_ID_INVALID | The specified topic ID is invalid. |
Telegram allows creating forums with multiple distinct topics.