OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Telegram bot integration?
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Telegram bot integration?  (Read 6199 times)

bobbythomas

  • Full Member
  • ***
  • Posts: 134
  • Karma: 5
    • View Profile
[SOLVED] Telegram bot integration?
« on: December 20, 2016, 09:37:01 pm »
Hi all,

Is it possible to integrate Telegram bot with Opnsense?

Regards,
Bobby Thomas
« Last Edit: December 30, 2016, 02:33:33 pm by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1176
    • View Profile
Re: Telegram bot integration?
« Reply #1 on: December 29, 2016, 10:39:57 pm »
Are you looking for the python API wrapper?

https://www.freshports.org/net-im/py-python-telegram-bot/
Logged

bobbythomas

  • Full Member
  • ***
  • Posts: 134
  • Karma: 5
    • View Profile
Re: Telegram bot integration?
« Reply #2 on: December 30, 2016, 03:52:59 am »
Yes Franco, I was actually looking for something like Telepot (http://telepot.readthedocs.io/en/latest/)

Sent from my ONE A2003 using Tapatalk

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1176
    • View Profile
Re: Telegram bot integration?
« Reply #3 on: December 30, 2016, 07:51:51 am »
https://www.freshports.org/net-im/py-telepot/

I can add this to our package builds. Please remind me if I forget. :)
Logged

bobbythomas

  • Full Member
  • ***
  • Posts: 134
  • Karma: 5
    • View Profile
Re: Telegram bot integration?
« Reply #4 on: December 30, 2016, 08:11:45 am »
Great, thanks Franco, really appreciate your prompt response and support.☺️
 
Regards,
Bobby Thomas.

Sent from my ONE A2003 using Tapatalk

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1176
    • View Profile
Re: Telegram bot integration?
« Reply #5 on: December 30, 2016, 02:33:18 pm »
Alright, will be available in 16.7.13: https://github.com/opnsense/tools/commit/13186fd4a2a

The dependencies are a little more than I'd wished for, but the build time is very little so it's ok. :)

# pkg install py27-telepot


Cheers,
Franco
Logged

bobbythomas

  • Full Member
  • ***
  • Posts: 134
  • Karma: 5
    • View Profile
Re: [SOLVED] Telegram bot integration?
« Reply #6 on: December 30, 2016, 02:51:22 pm »
Awsome!!!  I'll update my firewall as soon as I am home. Thanks Franco.

Sent from my ONE A2003 using Tapatalk

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1176
    • View Profile
Re: [SOLVED] Telegram bot integration?
« Reply #7 on: December 30, 2016, 04:50:20 pm »
No rush, 16.7.13 will not be out before next week.
Logged

bobbythomas

  • Full Member
  • ***
  • Posts: 134
  • Karma: 5
    • View Profile
Re: [SOLVED] Telegram bot integration?
« Reply #8 on: December 30, 2016, 11:28:46 pm »
I know, but I am out of town and will only be back by 2nd week of Jan.😁

Sent from my ONE A2003 using Tapatalk

Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Telegram bot integration?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2