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.0rc11

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.0rc11
File Size Uploaded Provenance Actions
dialog-bot-sdk-2.3.0rc11.tar.gz 19.7 kB Without provenance Details for dialog-bot-sdk-2.3.0rc11.tar.gz

Built distribution (wheel)

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

Total release size: 52.0 kB

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

Download URL dialog-bot-sdk-2.3.0rc11.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7c313ff690917d0ee990d1bec251467dc0717541b42f897741ce89fb59aee792
BLAKE2b-256 checksum
How to use checksums
7ab9ded010ea3a549eb45681cf68c5cf099cdfe524aa61b78220d75563a6950b
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.5.1 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.8.0

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

Download URL dialog_bot_sdk-2.3.0rc11-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3d066e2b655f4e94b0cbd95884a6fff7014eb4ba6b8c38f516545ba43c07e25
BLAKE2b-256 checksum
How to use checksums
a0f3349105ff2ccd7bc916c419bdb1a478b69fa620fefb96c974490087c6a60a
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.5.1 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.8.0

Security for dialog-bot-sdk 2.3.0rc11

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