GithubHelp home page GithubHelp logo

ryuuzake / pyrogram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pyrogram/pyrogram

0.0 1.0 0.0 2.12 MB

๐Ÿ”ฅ Telegram MTProto API Client Library for Python

Home Page: https://docs.pyrogram.ml

License: GNU Lesser General Public License v3.0

Python 100.00%

pyrogram's Introduction

Pyrogram

from pyrogram import Client, Filters

app = Client("my_account")


@app.on_message(Filters.private)
def hello(client, message):
    message.reply("Hello {}".format(message.from_user.first_name))


app.run()

Pyrogram is a brand new Telegram Client Library written from the ground up in Python and C. It can be used for building custom Telegram applications that interact with the MTProto API as both User and Bot.

Features

  • Easy to use: You can easily install Pyrogram using pip and start building your app right away.
  • High-level: The low-level details of MTProto are abstracted and automatically handled.
  • Fast: Crypto parts are boosted up by TgCrypto, a high-performance library written in pure C.
  • Updated to the latest Telegram API version, currently Layer 82 on top of MTProto 2.0.
  • Documented: The Pyrogram API is well documented and resembles the Telegram Bot API.
  • Full API, allowing to execute any advanced action an official client is able to do, and more.

Requirements

Installing

pip3 install pyrogram

Getting Started

  • The Docs contain lots of resources to help you getting started with Pyrogram: https://docs.pyrogram.ml.
  • Reading Examples in this repository is also a good way for learning how things work.
  • Seeking extra help? Don't be shy, come join and ask our Community!
  • For other requests you can send an Email or a Message.

Contributing

Pyrogram is brand new, and you are welcome to try it and help make it even better by either submitting pull requests or reporting issues/bugs as well as suggesting best practices, ideas, enhancements on both code and documentation. Any help is appreciated!

pyrogram's People

Contributors

delivrance avatar teriks avatar josxa avatar 1pyxa1 avatar 23rd avatar erihoss avatar vitalibr avatar yoilyl avatar moelius avatar lonami avatar avi-av avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.