onInput

fun onInput(key: ConversationKey, input: Input)

Feeds an input into the conversation identified by key.

The key is a parameter and not read off input on purpose: input.chatId is the Telegram address a reply goes to, which in a group is shared by everyone in it. See ConversationKey, and Keying for how the bundled transports derive one.