Raw.RequestedPeerUser

Raw.RequestedPeerUser

Info about a user, shared by a user with the currently logged in bot using messages.sendbotrequestedpeer.

requestedPeerUser#d62ff46a flags:# user_id:long first_name:flags.0?string last_name:flags.0?string username:flags.1?string photo:flags.2?Photo = RequestedPeer;
export namespace Raw {
  export class RequestedPeerUser {
    constructor(params: {
      userId: bigint;
      firstName?: string;
      lastName?: string;
      username?: string;
      photo?: Raw.TypePhoto;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xd62ff46a

Property