Is it possible to open a messenger (telegram) on android using the pynfc library? Open url or write sms it turns out!
clf = nfc.ContactlessFrontend('usb')
def on_connect(llc):
threading.Thread(target=llc.run).start()
return False
llc = clf.connect(llcp={'on-connect': on_connect})
snep = nfc.snep.SnepClient(llc)
snep.put_records([ndef.UriRecord("http://nfcpy.org")])
snep.put_records([ndef.UriRecord("sms:5555555555?body=Hello World!")])