proof-assistant-bot-0.2.0: Telegram bot for proof assistants
Safe HaskellNone
LanguageHaskell2010

Proof.Assistant.Response

Synopsis

Documentation

data InterpreterResponse Source #

Response for Telegram.

Constructors

InterpreterResponse 

Fields

toSendMessageRequest :: Bool -> InterpreterResponse -> SendMessageRequest Source #

Cast InterpreterResponse to SendMessageRequest. If first argument is True then it will wrap message in Monospace font and mark it with MarkdownV2 parse mode. Otherwise, text message will be sent. For all responses from Backends True should be specified.