telegram

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const LibraryName = "scriptling.messaging.telegram"

LibraryName is the import path used in Scriptling scripts.

Variables

This section is empty.

Functions

func NewClient

func NewClient(token string, log logger.Logger) *telegramClient

NewClient creates a Telegram client for direct Go use (no Scriptling required).

func NewLibrary

func NewLibrary(log logger.Logger) *object.Library

NewLibrary creates the scriptling.messaging.telegram library.

func Register

func Register(registrar interface{ RegisterLibrary(*object.Library) }, log logger.Logger)

Register registers the telegram library with a Scriptling instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL