Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Dialog Python Bot SDK

PyPI PyPI - Downloads PyPI - License

Python Bot SDK for Dialog messenger.

Full documentation is available here.

Usage

from dialog_bot_sdk.bot import DialogBot
import grpc
import os


def on_msg(*params):
    bot.messaging.send_message(
        params[0].peer, 'Reply to : ' + str(params[0].message.textMessage.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(on_msg)

Metadata

Release files for dialog-bot-sdk 2.3.0rc3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dialog-bot-sdk 2.3.0rc3
File Size Uploaded Provenance Actions
dialog-bot-sdk-2.3.0rc3.tar.gz 18.6 kB Without provenance Details for dialog-bot-sdk-2.3.0rc3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dialog-bot-sdk 2.3.0rc3
File Interpreter ABI Platform Actions
dialog_bot_sdk-2.3.0rc3-py3-none-any.whl Python 3 none any Details for dialog_bot_sdk-2.3.0rc3-py3-none-any.whl

Total release size: 51.7 kB

Release files / dialog-bot-sdk-2.3.0rc3.tar.gz

Download URL dialog-bot-sdk-2.3.0rc3.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fcee2f45b9d3083b1fa2c5013295df83aa4f61be18934684f1b590bf8d5a1995
BLAKE2b-256 checksum
How to use checksums
73d13636151f45675e4a1f3f8ae3b36cda49bb9c7c62e2be68e5c6e7a332f276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.4

Release files / dialog_bot_sdk-2.3.0rc3-py3-none-any.whl

Download URL dialog_bot_sdk-2.3.0rc3-py3-none-any.whl
Size 33.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1899473e0835a808cca9c202952205b0acaa89e8b07d01637d89d1bfa891ee37
BLAKE2b-256 checksum
How to use checksums
01f84a98ab475bcb47aa684bcdafedbc0d1bbf078f69e51e705b2f7e40d8c6e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.4

Security for dialog-bot-sdk 2.3.0rc3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page