Giter Club home page Giter Club logo

cl-telegram-bot's People

Contributors

aartaka avatar actions-user avatar aloxyz avatar cireu avatar lizqwerscott avatar sovietspaceship avatar sovietspaceship2 avatar sudodoki avatar svetlyak40wt avatar tsikov avatar wmealing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cl-telegram-bot's Issues

Private chat limitation

Hello,

Currently make-chat ensures we create a private chat:

Only private chats are supported for now.

So we can't use the bot on a public group or on a private channel. As far as my tests went, we can only interact directly with it as 1to1 (which is cool).

Do you know what's required to bypass this limitation? (I didn't check the API docs yet)

thanks

How to get message ID when replying to a message?

I have a method that listens to on-message and I want to get the *current-message* ID so that I can pass it to reply as reply-message-id, but *current-message* is not an exported symbol. Is that something we can export? Or maybe pass an instance of the message class to on-message? Or any other suggestions?

Make send-message work for existing chats with the bot.

I made a request on how to use send-message on the 40-ants gitter-chat, and a few steps were mentioned that would allow send-message to work correctly.

The steps that are mentioned are:

  1. Make sure send-message is exported from the cl-telegram-bot/message package instead of cl-telegram-bot/bot (I see some other functions also need such refactoring.

  2. Remove export of the make-chat function because now it waits some internal plist with response from telegram server.

  3. Add another function make-private-chat which can be used to recreate chat object from remembered (in a database) chat_id, nickname and other params.

I plan to address each of these in this issue. I hope to not make more work for you.

Thank you for this project.

Cannot get the example in README to work

I tried to create a basic bot, but keep getting this error:

debugger invoked on a TYPE-ERROR in thread
#<THREAD "telegram-bot" RUNNING {10048A2DA3}>:
  The value
    T
  is not of type
    STREAM

This seems to be caused by get-updates calling make-request with :streamp t. When I redefine get-updates to call make-request with :streamp nil, the bot starts working, but I'm not sure that this is the right way to go about the problem

State of the project

What is the state of the project?

  • Are all API functions implemented as stubs at least?
  • Are all API functions that are entirely implemented functional?
  • Do you plan on continue to develop?

In case there are at least stubs of everything I will consider to implement some features too and make a pull request.

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.