GithubHelp home page GithubHelp logo

goodmind / cycle-telegram Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 4.0 2.05 MB

๐Ÿšฒ A Cycle.js Driver for Telegram Bot API

License: MIT License

JavaScript 2.52% TypeScript 97.48%
telegram bot cyclejs

cycle-telegram's People

Contributors

gitter-badger avatar goodmind avatar

Stargazers

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

Watchers

 avatar  avatar

cycle-telegram's Issues

Unit testing

General

  • Basic infrastructure for unit tests
  • Write tests for helpers
    • defaults
    • entityIs
    • getEntityFirst
    • getEntityFirstValue

Types

  • Write type tests
    • User
    • ChatMember
    • Chat
    • MessageEntity
    • Message
    • InlineQuery
    • ChosenInlineResult
    • CallbackQuery
    • Update
    • WebhookInfo
    • Animation
    • Audio
    • CallbackGame
    • Contact
    • Document
    • File
    • ForceReply
    • Game
    • GameHighScore
    • InlineKeyboardButton
    • InlineKeyboardMarkup
    • InlineQueryResult
    • InlineQueryResultArticle
    • InlineQueryResultAudio
    • InlineQueryResultCachedAudio
    • InlineQueryResultCachedDocument
    • InlineQueryResultCachedGif
    • InlineQueryResultCachedMpeg4Gif
    • InlineQueryResultCachedPhoto
    • InlineQueryResultCachedSticker
    • InlineQueryResultCachedVideo
    • InlineQueryResultCachedVoice
    • InlineQueryResultContact
    • InlineQueryResultDocument
    • InlineQueryResultGame
    • InlineQueryResultGif
    • InlineQueryResultLocation
    • InlineQueryResultMpeg4Gif
    • InlineQueryResultPhoto
    • InlineQueryResultVenue
    • InlineQueryResultVideo
    • InlineQueryResultVoice
    • InputContactMessageContent
    • InputFile
    • InputLocationMessageContent
    • InputMessageContent
    • InputTextMessageContent
    • InputVenueMessageContent
    • KeyboardButton
    • Location
    • PhotoSize
    • ReplyKeyboardHide
    • ReplyKeyboardMarkup
    • Sticker
    • UserProfilePhotos
    • Venue
    • Video
    • Voice

Plugins Roadmap

Plugins

  • Rewrite plugins with Cycle Components
  • Arguments for plugins kinda works
  • Execute all plugins with matched regex (discuss #6) (done in 121d3e3)
  • Stream agnostic
  • Match type of Plugin (#24)
  • Plugins typings for streams

Roadmap Future

General

  • Keyboards
    • Tests
  • Inline keyboards
    • Tests

Types

  • Independent tests for rxjs-typings, xstream-typings, rx-typings, most-typings

Update to Diversity

  • Rewrite diversity branch in TypeScript
  • Remove runtime types (unlikely)
  • Multiple stream plugin support
  • Sync with development and match-multiple-plugins branches
  • #7

Socket hang up

{ Error: socket hang up
    at TLSSocket.onHangUp (_tls_wrap.js:1087:19)
    at TLSSocket.g (events.js:286:16)
    at emitNone (events.js:91:20)
    at TLSSocket.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:926:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9) code: 'ECONNRESET', response: undefined }

Roadmap Next

General

  • Remove lib from git
  • Update dependencies
  • New events:
    • channel_post
      • Tests
    • edited_channel_post
      • Tests
    • edited_message
      • Tests

Types

  • Runtime type checking of responses (possibly breaking change?)
    • Tests

Features 2.x

General

  • Webhook
    • Tests
  • Inline bots
    • Tests
  • Editing messages
    • Tests
  • Administrator tools
    • Tests

Methods

  • getWebhookInfo
  • getMe
  • sendMessage
  • forwardMessage
  • sendPhoto
  • sendAudio
  • sendDocument
  • sendSticker
  • sendVideo
  • sendVoice
  • sendLocation
  • sendVenue
  • sendContact
  • sendChatAction
  • getUserProfilePhotos
  • getFile
  • kickChatMember
  • leaveChat
  • unbanChatMember
  • getChat
  • getChatAdministrators
  • getChatMembersCount
  • getChatMember
  • answerCallbackQuery

Inline mode methods

Updating messages

  • editMessageText
  • editMessageCaption
  • editMessageReplyMarkup

Inline mode

  • answerInlineQuery

Features 3.x

General

  • Games
    • Tests

Types

Games

  • Game
  • Animation
  • CallbackGame
  • GameHighScore

Methods

Games

  • sendGame
  • setGameScore
  • getGameHighScores

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.