telegram icon indicating copy to clipboard operation
telegram copied to clipboard

Inviting relaybot doesn't work if bot hasn't been encountered by telegram account

Open tulir opened this issue 5 years ago • 0 comments

Users need to be encountered via username/group membership/etc so that the library would have an access_hash before the user can be interacted with (like invited to a group). This means that inviting the relaybot could cause an error if the user inviting the bot hasn't encountered it before. To solve this, the bridge should catch the error and search for the bot by username.

tulir avatar Feb 27 '20 13:02 tulir