botogram icon indicating copy to clipboard operation
botogram copied to clipboard

WIP: Implemented support for normal keyboards

Open MattiaEffendi opened this issue 5 years ago • 2 comments

I've added the support for "standard" keyboards natively. List of things i still have to do:

  • [x] Code
  • [ ] Documentation

A test code could be the following:

@bot.command("keyboard")
def kb(chat, message):
	kb = botogram.Keyboard(one_time=True)
	kb[0].text("Simple text")
	kb[1].request_contact("Request contact")
	kb[2].request_location("Request location")
	chat.send("Message with a standard keyboard", attach=kb)
	
@bot.command("rem")
def rem(chat, message):
	chat.send("Keyboard removed", force_reply=True, remove_keyboard=True)

MattiaEffendi avatar Sep 08 '19 11:09 MattiaEffendi

Hi @MattiaEffendi and thank you for your PR! You should check the Travis-CI log, because it seems that there are errors. Please write the documentation and the changelog according to the overall style. If you have questions write in our botogram devs group :)

MarcoBuster avatar Sep 08 '19 16:09 MarcoBuster

Hi @MattiaEffendi! Updates? :D

MarcoBuster avatar Sep 03 '20 09:09 MarcoBuster