Interface GetPersonalChatHistory

Returns messages in the personal chat of a given user; for bots only. Request type for Tdjson#getPersonalChatHistory.

interface GetPersonalChatHistory {
    @type: "getPersonalChatHistory";
    limit: number;
    user_id: number;
}

Properties

Properties

@type: "getPersonalChatHistory"
limit: number

The maximum number of messages to be returned; 1-20.

user_id: number

User identifier.