Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix response parsing in UpdatingMessages #131

Merged

Commits on Dec 22, 2022

  1. Fix response parsing in UpdatingMessages

    Response to editMessage* requests is either "true", indicating that the
    edited message has been inline, or a message otherwise. This was
    (intuitively) represented with Either Bool Message. However, Aeson
    understands this as a literal sum type of Left _ | Right _, which is not
    the intended semantics. Replace Either with a custom data type which
    exhibits the proper parsing behaviour.
    balsoft committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    26c8f64 View commit details
    Browse the repository at this point in the history