- Create your bot with botfather
- Make you bot an admin of your channel
Go to Telegram web and open a channel, get the ID from -[channel id] from hash in the path
https://web.telegram.org/k/#-9999999999999
| ctr ns ls ------ To list namespaces | |
| ctr -n k8s.io containers list |
^\s*#.*$
| #!/bin/bash | |
| if [ "$1" == "" ]; then | |
| echo "Usage: $(basename "$0") <MFA-TOKEN>" | |
| exit 1 | |
| fi | |
| session_duration=129600 # 36 hours | |
| mfa_device_code=$(aws iam list-mfa-devices | jq -r .MFADevices[0].SerialNumber) | |
| if [ -z "$mfa_device_code" ]; then |