Skip to content

Instantly share code, notes, and snippets.

@r1ckya
r1ckya / printerbot.py
Created March 11, 2018 15:21 — forked from PolarNick239/printerbot.py
Telegram bot for printer (Linux)
import os
import pathlib
import logging
from telegram.ext import Updater
from telegram.ext import Filters
from telegram.ext import CommandHandler
from telegram.ext import MessageHandler
# This is the Telegram Bot that prints all input documents. It can print pdf and txt files.
# Before sending files for printing user must enter the password by command "/auth <password>".