`Dialog.decodeDialogId` (or some new function) should return a peer, not just undocumented object.
Dialog.decodeDialogId(or some new function) should return a peer, not just undocumented object.