Hi, pretty simple approach to send a document,
private def startScenario[F[_] : TelegramClient](config: Config)(file: (String, Array[Byte])): Scenario[F, Unit] =
for {
msg <- Scenario.expect(any)
_ <- Scenario.eval(msg.chat.send(
content = DocumentContent(InputFile.fromBytes(file._1, file._2))
))
} yield ()
but version 0.6.0 returns an error
javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify
P.S. Sorry if i've got wrong understanding of the process, but, looks like a bug for me