Comments (12)
If you use config then it supports profiles. (look config.sample in this git). Then you can choose profile with (./telegram -p ).
from tg.
thanks, its works, just i change default_profile from config_sample
The flags -p is not enable.
thanks a lot. =)
from tg.
I meant 'telegram -p [profile-name]'. I use it often, so it should work)
UPD: Sorry, looks like angle brackets are interpreted by git and not displayed)
from tg.
sorry, I tried:
./telegram -p [profile-name]
where "profile-name" is a entry in the config.sample archive, and did not work for me. What is the exact syntax?
from tg.
For example:
./telegram -p test1
from tg.
Thanks vysheng,
It goes into my old account and don't ask for a new one, that is what I want.
Do I need to change something in config.sample?
from tg.
So changing default_profile does something different, then specifiing same value as option for [-p]? Very strange. What OS and version of libconfig do you use?
from tg.
debian 6 stable. libconfig8_1.3.2-2_i386.deb
from tg.
finally I could change my user deleting the ~ /. telegram directory
Thanks
from tg.
Hello,
i have the same problem, i want to delete the old number and register a new number. i deleted the tg folder, but after recreating it, it takes the old number again and doesnt ask me for a new number.
from tg.
Hi!
I have tried to change the number, erasing tg folder.
After re-clone the repository, still with the same account as before.
I tried closing all sessions from mobile application.
And now, I have this error message:
*** error for query #6006157278641127432: #401 :SESSION_REVOKED
Thanks in advance.
edit: Sorry, my mistake, we need delete hidden folders.. (.telegram/ and tg/ folders)
from tg.
in fact, the only thing to do is delete de config directory. ( in my debian it is /home/MyUser/.telegram) that is a hidden directory
may be vysheg has a better solution that can work with more than one account, but this one works for me.
from tg.
Related Issues (20)
- Outdated api HOT 3
- https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=18fbca16-2224-45f6-85b0-f7bf2b39b3f3&scope=openid%20profile%20email%20offline_access&redirect_uri=https%3A%2F%2Flearn.microsoft.com%2F_themes%2Fdocs.theme%2Fmaster%2Fen-us%2F_themes%2Fglobal%2Fidentity-redirect.html&client-request-id=4ef28716-2289-4678-b97c-5341608f9a67&response_mode=fragment&response_type=code&x-client-SKU=msal.js.browser&x-client-VER=2.32.2&client_info=1&code_challenge=w9C_Mt8dXNYgvyrOigoR3xqe61-maIvYvayx7QA--6U&code_challenge_method=S256&prompt=select_account&nonce=f43388c9-9be2-48a9-9718-8e7cdabaae2f&state=eyJpZCI6ImM5ZGI0MzRmLTIyNTYtNDY5OC04OWI0LTE0ZGRkMDgyZTM0MyIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0%3D%7Chttps%253A%252F%252Flearn.microsoft.com%252Fru-ru%252Ftraining%252Fbrowse%252F%253Fsource%253Dlearn
- I encountered several problems when using telegram-cli for the first time HOT 3
- tg won't compile on Raspberry Pi HOT 2
- make fails on Fedora
- 6840717977:AAFOztLPRLc3I1USwaMmqZ7Juvmjn7vRNQ0 HOT 1
- ban whatsapp
- Where are we with the TrustWallet support for Tron using in the browser extension?
- make tg on debian HOT 8
- *** 1706666423.275465 Notification API_64BIT_LOGIN_APP_OUTDATED_23: You are using an outdated app that is no longer supported. To access your messages, please update your app to the latest version.
- CLI
- Make problem HOT 1
- Assertion Failed! Unexpected: Corrupted forwarded information in message.
- Hi
- Could not build the source code following instructions in Debian 12. HOT 4
- no libevent found CentOS
- Readme typo
- *** 1715464893.722116 Notification API_64BIT_LOGIN_APP_OUTDATED_93: You are using an outdated app that is no longer supported. To access your messages, please update your app to the latest version. HOT 5
- Please I need your help please my telegram account is a banned
- telegram-get-remote-ip
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tg.