// run on https://core.telegram.org/bot/apis [...document.getElementsByTagName('table')] .map(t=>{return{c:((ptr)=>{while(ptr.tagName!="H4")ptr=ptr.previousElementSibling;return ptr.innerText;})(t),t:[...t.children[0].children] .splice(1).map(t=>[...t.children] .map(a=>a.innerText)).map(a=>{return{type:((s=/Array of (.*)/.exec(a[1]))?s[1]:`${a[1]}[]`),name:a[0]}})}})