messages.getPersonalChannelHistory #
Fetch the message history of a user's personal channel ».¶
Layer 223
Method schema is available as of layer 225. Switch » Parameters #
| Name | Type | Description |
|---|---|---|
| user_id | InputUser | The user whose personal channel history to fetch |
| limit | int | Maximum number of results to return, see pagination |
| max_id | int | If a positive value was transferred, the method will return only messages with IDs less than max_id |
| min_id | int | If a positive value was transferred, the method will return only messages with IDs more than min_id |
| hash | long | Result hash |
Result #
Only bots can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | USER_BOT_REQUIRED | This method can only be called by a bot. |
| 400 | USER_ID_INVALID | The provided user ID is invalid. |
Related pages #
Pagination in the API #
How to fetch results from large lists of objects.¶
User profiles #
Telegram offers many customization options for your profile!¶