- Create a bot using @BotFather, get it's token
- Start conversation with bot
- Run following curl command
curl https://api.telegram.org/bot/getUpdates | grep -Po '"from":{"id":.+?,'
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |
curl https://api.telegram.org/bot/getUpdates | grep -Po '"from":{"id":.+?,'
# Focus Assist Off | |
Add-Type -AssemblyName System.Windows.Forms | |
[System.Windows.Forms.SendKeys]::SendWait("(^{ESC})") | |
Start-Sleep -Milliseconds 500 | |
[System.Windows.Forms.SendKeys]::SendWait("(Focus Assist)") | |
Start-Sleep -Milliseconds 200 | |
[System.Windows.Forms.SendKeys]::SendWait("{ENTER}") | |
Start-Sleep -Milliseconds 700 | |
[System.Windows.Forms.SendKeys]::SendWait("{TAB}{TAB} ") | |
Start-Sleep -Milliseconds 500 |