Skip to content

Send Emojis / Message every desire time to Telegram Channel using Sidekiq.

Notifications You must be signed in to change notification settings

7Mendez/rails-telegram-api

Repository files navigation

Telegram Channel Send Message + Sidekiq

Demo Image

image

Includes

  • Using Henry - Rails 7 start init template.
  • Httparty.
  • Telegram Bot API.
  • Ranmoji API.
  • Sidekiq.
  • Sidekiq scheduler.

Note

  • Only works whit channels where bot have permissions.

Set ENV

# .env

TELEGRAM_API_KEY=YOUR-API-TOKEN
TELEGRAM_BOT_CHANNEL=YOUR-BOT-CHANNEL
SEND_AUTOMATIC_TO_CHANNEL=true
SEND_CHANNEL_EVERY_MINUTES=30s

Find Format Time

Usage Service From Console

 e = Emoji::EmojiService.new
 emoji = e.call

 t = Telegram::SendMessageToChannelService.new('your-channel-url-name', emoji)
 t.call

Created by Henry Mendez - 7Mendez

About

Send Emojis / Message every desire time to Telegram Channel using Sidekiq.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy