messages.getPersonalChannelHistory #

Fetch the message history of a user's personal channel ».

Layer 223

Method schema is available as of layer 225. Switch »

Parameters #

NameTypeDescription
user_idInputUserThe user whose personal channel history to fetch
limitintMaximum number of results to return, see pagination
max_idintIf a positive value was transferred, the method will return only messages with IDs less than max_id
min_idintIf a positive value was transferred, the method will return only messages with IDs more than min_id
hashlongResult hash

Result #

messages.Messages

Only bots can use this method #

Possible errors #

CodeTypeDescription
400USER_BOT_REQUIREDThis method can only be called by a bot.
400USER_ID_INVALIDThe provided user ID is invalid.

Pagination in the API #

How to fetch results from large lists of objects.

User profiles #

Telegram offers many customization options for your profile!