Raw.contacts.ResolveUsername

Raw.contacts.ResolveUsername

Resolve a @username to get peer info

contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;
export namespace Raw {
  export namespace contacts {
    export class ResolveUsername {
      constructor(params: { username: string }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xf93ccba3

Property

  • username : string

    @username to resolve

Results

Raw.contacts.TypeResolvedPeer

Bots can use