Skip to content

Instantly share code, notes, and snippets.

View KeshavSharmaWeb's full-sized avatar
💭
I may be slow to respond.

Keshav Sharma KeshavSharmaWeb

💭
I may be slow to respond.
View GitHub Profile
@KeshavSharmaWeb
KeshavSharmaWeb / script.py
Created October 16, 2022 18:52
Telegram Bot for greeting new users in the group using Python - Telebot
# pip install pyTelegramBotAPI
import json
from telebot import types
import telebot
token = "ENTER-YOUR-ACCESS-TOKEN-HERE"
bot = telebot.TeleBot(token)
def greet_user(messages):