Don't have Telegram yet? Try it now!
http://blog.amit-agarwal.co.in/2010/09/01/commands-output-input-command-piping-bind-key-sequence-bash/
Use the last command\'s output as input to a command without piping and bind to it to a key sequence in bash