GochoMugo / tgfancy

A Fancy, Higher-Level Wrapper for Telegram Bot API
MIT License
184 stars 16 forks source link

Remove deprecated features #21

Open kamikazechaser opened 5 years ago

kamikazechaser commented 5 years ago
GochoMugo commented 5 years ago

@kamikazechaser

  1. Done.
  2. I considered the use of tdlib but requiring dependents to install tdlib C library. This is a barrier. Instead, I propose that we run our own service that will support username resolution, just as we relied on PWRTelegram API. I am not entirely sure that tdlib supports username resolution? (cart before the horse :man_shrugging:)
  3. We should also have the service integrate the websocket bridge (we can re-use @GingerPlusPlus work).
kamikazechaser commented 5 years ago

Sure, I'll see on how we can get that up and running.

pugson commented 2 years ago

Any updates on username resolution? That would be super handy.

kamikazechaser commented 2 years ago

You need to use ContactsResolve with MtProto to get username/phone -> userId. userId -> username is also possible.