Telegram Bot API Types

From nat, 4 Years ago, written in JavaScript, viewed 277 times.
URL https://code.nat.moe/view/4ad27674 Embed
Download Paste or View Raw
  1. // run on https://core.telegram.org/bot/apis
  2. [...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]}})}})
  3.  

Reply to "Telegram Bot API Types"

Here you can reply to the paste above

captcha