'getting error of "python-pyasn1 is not installed, will attempt to install from repos
I am getting an error of :
python-pyasn1 is not installed, will attempt to install from repos E: Package 'python-pyasn1' has no installation candidate [!] Something went wrong, unable to install python-pyasn1
what does this mean? How to fix this? Can somebody help on this? I'm using python version 3.9.7
Solution 1:[1]
I don't think Telegram's Bot API exposes that info.
But, you can record the first occurrence of a new chat ID yourself to achieve this.
Depending on your stack, use case, and environment, you could either use a full-blown database, a SQLite DB (amounts to a single file), a simple key-value store or even just a text file to do this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | cryptic |
