Basic TPY - Telebot Creator 1. Send Message : | Online Shopping
Basic TPY - Telebot Creator
1. Send Message :
bot.replyText(
chat_id=message.chat.id,
text="*text*",
parse_mode="markdown")
2. Send Photo
bot.replyPhoto(chat_id=u, photo="photo link", caption=f"*text*", parse_mode="Markdown")
3. Send Keyboard
keyboard = ReplyKeyboardMarkup(True)
keyboard.row("button 1","button 2")
keyboard.row("button 3")
bot.replyText(
chat_id = message.chat.id,
text = "* Powered By @Dogle_logg *",
reply_markup = keyboard,parse_mode="markdown"
)
4. Send Inline Keyboard
inline = InlineKeyboardMarkup()
inline.add(InlineKeyboardButton(
text='️button 1',
callback_data='/command1'),
InlineKeyboardButton(
text='️button 2',
callback_data='/command2')
)
inline.add(InlineKeyboardButton(
text='️button 3',
callback_data='/command3')
)
bot.replyText(chat_id=u,text=f"Ajinkya Given TPY Codes", parse_mode="Markdown",reply_markup=inline)
This was just basic of tpy and more advance codes soon will post here
Codes By : @CoderAjinkya
And
@AdvnaceBot_Codings & @AdvanceTBC_Codes
You Can Comments Which Codes You Need
React For More #TBC Codes
Last Main Credit :- CoderAjinkya