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.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)

Metadata

Release files for dialog-bot-sdk 3.0.8rc5

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 3.0.8rc5
File Size Uploaded Provenance Actions
dialog-bot-sdk-3.0.8rc5.tar.gz 28.6 kB Without provenance Details for dialog-bot-sdk-3.0.8rc5.tar.gz

Built distribution (wheel)

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

Total release size: 75.5 kB

Release files / dialog-bot-sdk-3.0.8rc5.tar.gz

Download URL dialog-bot-sdk-3.0.8rc5.tar.gz
Size 28.6 kB
Tags Source
SHA-256 checksum
How to use checksums
493a28e6bac8aa40fac5a646a977259886be790ed7c154756fe160ab7865bc41
BLAKE2b-256 checksum
How to use checksums
ea84412fb7b5abf89af0bec397a162f6496dad32afe58e65d6e4db4801e5c321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / dialog_bot_sdk-3.0.8rc5-py3-none-any.whl

Download URL dialog_bot_sdk-3.0.8rc5-py3-none-any.whl
Size 46.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6627ad367e1b86d36050d469ce2b1da48cacdb8af42c9992ad4dddb1d3e5870e
BLAKE2b-256 checksum
How to use checksums
f569ba6c1db5c076b436e1b1248a9629158e37c16fde54a0ea4cb9bb05d73682
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Security for dialog-bot-sdk 3.0.8rc5

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