Replies: 5 comments
-
This is behaviour of telegram:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the fast reply! Do you think it is safe to use the first part as a unique identifier to find the full link in a local database? |
Beta Was this translation helpful? Give feedback.
-
Nobody knows except Telegram developers. |
Beta Was this translation helpful? Give feedback.
-
I think you can use it, but you'll need to store creator of the link to be more reliable. Not sure though. |
Beta Was this translation helpful? Give feedback.
-
But it won't be 100% safe. |
Beta Was this translation helpful? Give feedback.
-
What version of pyTelegramBotAPI are you using? 4.8.0
What OS are you using? macOS
What version of python are you using? 3.10.8
The following code
produces this result:
Basically the link is truncated with ellipsis. Is there a way to obtain the full URL?
Beta Was this translation helpful? Give feedback.
All reactions