Giter Site home page Giter Site logo

Comments (8)

klappvisor avatar klappvisor commented on September 21, 2024

confirmed

from haskell-telegram-api.

klappvisor avatar klappvisor commented on September 21, 2024

@timjb I have tried to redirect the photo to public channel to make it available. Could you please check is it still failing?

from haskell-telegram-api.

timjb avatar timjb commented on September 21, 2024

It's still failing. Here's the response from sendPhoto:

Left (FailureResponse {responseStatus = Status {statusCode = 400, statusMessage = "Bad Request"}, responseContentType = application/json, responseBody = "{\"ok\":false,\"error_code\":400,\"description\":\"Wrong file identifier was specified\"}"})

from haskell-telegram-api.

klappvisor avatar klappvisor commented on September 21, 2024

hopefully #33 will fix it. (When you redirect photo to public chat, Telegram assigns new id to it)

from haskell-telegram-api.

timjb avatar timjb commented on September 21, 2024

No, #33 didn't fix the tests for me. Now (with 759b647), I'm getting two failures:

should send photo with file_id FAILED [1]
...
should send audio FAILED [2]

from haskell-telegram-api.

klappvisor avatar klappvisor commented on September 21, 2024

well... at least it works for CI. I'll keep issue open

from haskell-telegram-api.

klappvisor avatar klappvisor commented on September 21, 2024

should be fixed for photos, since now tests upload image first and then send it again by id

from haskell-telegram-api.

klappvisor avatar klappvisor commented on September 21, 2024

Changed audio test to follow the same logic as the test for photos, so now it should be fixed. Please reopen this issue, it it's still failing

from haskell-telegram-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.