-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Cheat Codes
ilya-fedin edited this page Nov 7, 2023
·
6 revisions
You can get access to hidden functionality by entering a cheat code blindly in settings (like in a game).
Code | Description |
---|---|
debugmode |
Enable/disable debug logs. All network events will be logged if the mode is enabled |
viewlogs |
Open the folder where non-debug log is saved to |
testupdate |
Get a test update (i.e. one that is not even tested to apply correctly) one-time |
loadlang |
Load custom language file (*.strings ) |
crashplease |
Causes a crash (useful for testing crash reporter) |
moderate |
Binds keys 1-9 to buttons on bot keyboard. Key q sends command /translate
|
getdifference |
Issue getDifference MTProto command to fetch chat updates (e.g. messages) |
loadcolors |
Load custom palette file (*.tdesktop-palette ) |
endpoints |
Load custom DC Endpoints file (*.tdesktop-endpoints ) |
testmode |
You will be switched to test cloud1 (works only before any account is added, Shift+Alt+Right Click on Add Account button after that) |
registertg |
Force custom scheme register (assign tg:// URIs to the app) |
msg_incoming |
Change the sound when a new message arrives |
call_incoming |
Change the sound of incoming call |
call_outgoing |
Change the sound of outgoing call |
call_busy |
Change the sound of busy call |
call_connect |
Change the sound of connection call |
call_end |
Change the sound of end call |
sounds_reset |
Reset sounds |
unpacklog |
Decompress crash log |
testchatcolors |
Test chat theme colors |
customicon |
Set custom application icon on macOS |
These can be found in Telegram/SourceFiles/settings/settings_codes.cpp
.
Notes:
- While you are connected to the test servers, you can either use your own phone number or use public phone numbers. These are more limited. Test phone numbers are of the form
99966XYYYY
, whereX
is thedc_id
to connect to (between 1 and 5), andY
are random numbers. The code will beXXXXX
(thedc_id
you chose repeated 5 times).
Extra Informations
Group | Channel | Theme Channel