Closed fgaz closed 6 years ago
Commands will mostly be used as /command @user, and not /command <obscure numeric user id>, so we'll have to translate the @-username (if it begins with a @ in the first place) to an user id
/command @user
/command <obscure numeric user id>
No official way for doing this. This is a resolutor in nodejs but... it takes a long time https://github.com/yagop/node-telegram-bot-api/issues/383
See https://github.com/niksart/cembot/commit/d0c8775b5b74a97c4ee35caf7b0957827df27ac7
Commands will mostly be used as
/command @user
, and not/command <obscure numeric user id>
, so we'll have to translate the @-username (if it begins with a @ in the first place) to an user id