Error: type mismatch: got <TeleBot, proc (b: TeleBot, u: InlineQuery): Future[system.void]{.gcsafe, locks: <unknown>.}>
but expected one of:
proc onInlineQuery(b: TeleBot; cb: InlineQueryCallback)
first type mismatch at position: 2
required type for cb: InlineQueryCallback
but expression 'inlineHandler' is of type: proc (b: TeleBot, u: InlineQuery): Future[system.void]{.gcsafe, locks: <unknown>.}
expression: onInlineQuery(bot, inlineHandler)
Example
examples/inline_query_with_input_message_content.nim
cannot be compiled https://github.com/ba0f3/telebot.nim/blob/04091a4c8adb40635046b22c614df883becbb80b/examples/inline_query_with_input_message_content.nim#L26 throwing error for this line :