Have you tried Telegram bots with inline feature supported?
It does exactly same thing you have described. (but not ordering pizza yet)<p>At any one-o-one chat or group chat type:<p><i>@gif happy minions</i> -&gt; shows gifs<p><i>@youtube js talk</i> -&gt; find relevant videos and select one to send to chat<p>and so on