Source code for sinch.domains.conversation.models.v1.credentials.shared.telegram_credentials
from pydantic import Field, StrictStr
from sinch.domains.conversation.models.v1.internal.base.base_model_configuration import (
BaseModelConfiguration,
)
[docs]
class TelegramCredentials(BaseModelConfiguration):
token: StrictStr = Field(
default=...,
description="The token for the Telegram bot to which you are connecting.",
)