Advertisement
Guest User

Untitled

a guest
May 21st, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. Create Telegram chat bot.
  2. Use Ruby and related technology stack to create simple Telegram bot to convert Telegram stickers to PNG files.
  3.  
  4. Requirements:
  5. * Create Telegram bot with configurable ID.
  6. * Implement long polling method to get updates from the API.
  7. * Implement bot command /start. Bot should answer the description.
  8. * When user send some text message, bot should response the warning message with small description.
  9. * When user send some built-in Telegram sticker, bot should response same sticker as a PNG file.
  10. * User should be able to save PNG to the device (phone, computer, etc).
  11. * Use static code analyzer.
  12. * Create Github repository with all code work and valid README file.
  13.  
  14. Additional score requirements:
  15. * Cover all necessary code with unit tests.
  16.  
  17. Implementation details:
  18. * Use last stable Ruby version.
  19. * You can use any other gems you want, but make the choice reasonably.
  20. * Write code as clean and as readable as possible.
  21. * Consider using RSpec for testing.
  22. * Consider using RuboCop as a static analyzer.
  23. * Consider using GitFlow workflow.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement