dialog-bot-sdk-3.0.8rc7


توضیحات

Python Bot SDK for Dialog Messenger
ویژگی مقدار
سیستم عامل OS Independent
نام فایل dialog-bot-sdk-3.0.8rc7
نام dialog-bot-sdk
نسخه کتابخانه 3.0.8rc7
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Dmitry Borodkin, Dialog LLC
ایمیل نویسنده d.borodkin@dlg.im
آدرس صفحه اصلی https://github.com/dialogs/python-bot-sdk
آدرس اینترنتی https://pypi.org/project/dialog-bot-sdk/
مجوز Apache License 2.0
Dialog Python Bot SDK ================= ![PyPI](https://img.shields.io/pypi/v/dialog-bot-sdk.svg) ![PyPI - Downloads](https://img.shields.io/pypi/dm/dialog-bot-sdk.svg) ![PyPI - License](https://img.shields.io/pypi/l/dialog-bot-sdk.svg) Python Bot SDK for [Dialog](https://dlg.im) messenger. Full documentation is available [here](https://dialogs.github.io/bots-docs/). Usage ----- ```python from dialog_bot_sdk.bot import DialogBot import grpc import os def on_msg(params): bot.messaging.send_message(params.peer, 'Reply to : ' + str(params.message.text_message.text)) if __name__ == '__main__': bot = DialogBot.get_secure_bot( os.environ.get('BOT_ENDPOINT'), # bot endpoint from environment grpc.ssl_channel_credentials(), # SSL credentials (empty by default!) os.environ.get('BOT_TOKEN') # bot token from environment ) bot.messaging.on_message_async(on_msg) ```


نیازمندی

مقدار نام
==1.53.0 dialog-api
==3.10.0 protobuf
==1.24.1 grpcio
==1.24.1 grpcio-tools
==1.7.11 google-api-python-client
==1.6.0 googleapis-common-protos
==2.22.0 requests
==19.0.0 pyopenssl
==6.2.2 Pillow


زبان مورد نیاز

مقدار نام
>=3 Python


نحوه نصب


نصب پکیج whl dialog-bot-sdk-3.0.8rc7:

    pip install dialog-bot-sdk-3.0.8rc7.whl


نصب پکیج tar.gz dialog-bot-sdk-3.0.8rc7:

    pip install dialog-bot-sdk-3.0.8rc7.tar.gz