proxytelegrambot

command module
v0.0.0-...-3c88a25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2019 License: LGPL-3.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

proxyTelegramBot

Первое знакомство с golang.

Не бошьая утилита для пересылки сообщений полученных по http в канал или контакт в телеграм.

Как использовать.

Собирите билд.

Переименуйте config.json.example в config.json

Заполните поля в config.json.

Token токен телеграм бота.

ChatId id канала или контакта.

HttpPort можно оставить по умолчанию

Запустите бинарный файл.

Перейдите в браузере по адресу http://localhost:HttpPort/msg?msg=test

Есле все сделанно правильно в телеграмм должно прийти сообщение от вашего бота Token.

Для чего это нужно.

Не накаждом оборудовании можно зпустить телеграм бота, а уведомления нужны.

Поэтому при помощи curl или другими стредсвами можно делать отправку сообщений через данного посредника.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址