Skip to content

Instantly share code, notes, and snippets.

View kmye's full-sized avatar
🎯
Focusing

Eileen Kang kmye

🎯
Focusing
  • Singapore
  • 12:21 (UTC +08:00)
View GitHub Profile
@kmye
kmye / hide_keyboard.py
Created April 15, 2022 02:59
Telethron Bot Send Message
from telethon.sync import TelegramClient
from telethon import Button, types
api_id = 123456 # replace with your chat id
api_hash = 'replace_with_api_hash'
bot_token = 'bot_token_from_your_bot_father'
CHAT_ID = -123456 # replace with your chat id
bot = TelegramClient('bot', api_id, api_hash).start(bot_token=bot_token)

Keybase proof

I hereby claim:

  • I am kmye on github.
  • I am kmye (https://keybase.io/kmye) on keybase.
  • I have a public key ASD5jhzwcGI8B9GFCDFr9S-Q75dClwYu3Yl8VdkmcYzaowo

To claim this, I am signing this object: