Categorygithub.com/awakari/source-telegram
repositorypackage
0.0.0-20250101214419-fbd73828d8aa
Repository: https://github.com/awakari/source-telegram.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

source-telegram

Before deploying:

kubectl create secret generic source-telegram-tokens \
  --from-literal=ids=<TG_APP_ID_0>,<TG_APP_ID_1>,... \
  --from-literal=hashes=<TG_APP_HASH_0>,<TG_APP_HASH_1>,... \
  --from-literal=phones=<TG_PHONE_NUM_0>,<TG_PHONE_NUM_1>,...

Once deployed in K8s, it requires a manual code input to complete the Telegram authentication. Get a pod shell, run:

echo ##### > tgcodein

Example request:

grpcurl \
  -plaintext \
  -proto api/grpc/service.proto \
  -d '{ "limit": 10, "cursor": "https://t.me/astroalert"}' \
  localhost:50051 \
  awakari.source.telegram.Service/List