events.iterate.com

Event type

events.iterate.com/telegram-agent/created

Birth certificate for the Telegram facet on an agent stream.

Payload schema

configobject

The immutable chat coordinates every journaled send is forced to.

connectionstring

The named bot connection the session's messages ride.

chatIdstring

The Telegram chat this agent stream is bound to (negative for groups/channels).

messageThreadIdstringoptional

The forum-topic thread id, for supergroup topic sessions only.

Raw JSON schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "config": {
      "type": "object",
      "properties": {
        "connection": {
          "type": "string",
          "description": "The named bot connection the session's messages ride."
        },
        "chatId": {
          "type": "string",
          "description": "The Telegram chat this agent stream is bound to (negative for groups/channels)."
        },
        "messageThreadId": {
          "description": "The forum-topic thread id, for supergroup topic sessions only.",
          "type": "string"
        }
      },
      "required": [
        "connection",
        "chatId"
      ],
      "description": "The immutable chat coordinates every journaled send is forced to."
    }
  },
  "required": [
    "config"
  ]
}