TgCore Final Updated
List methods: https://teamkillerx.github.io/tgcore/docs/#list-methods
RequestCall:
https://teamkillerx.github.io/tgcore/docs/#requestcall
List methods: https://teamkillerx.github.io/tgcore/docs/#list-methods
RequestCall:
https://teamkillerx.github.io/tgcore/docs/#requestcall
Finally I've finished everything.
tgcore
Level architecture
TgCore • Enterprise Telegram SDK framework with fluent builder API, platform tools, and AI integrations.
Python syntax:
Chaining syntax:
user = await tg.platform.facebook.download(
url=url
).send(via_result=True)
Chaining syntax:
user = await tg.platform.facebook\
.download()\
.url("done")\
.send(via_result=True)
Code example:
with open("/file/path/new.jpg", "rb") as f:
await tg.raw.sendPhotoUpload()\
.chat_id(message.chat.id)\
.photo(("a.jpg", f, "image/jpeg"))\
.caption("Learn chaining first")\
.reply_markup(
tg.kb()\
.style(
"Custom Name",
"danger",
copy_text={"text": "this copy"}
)
.build()
)\
.send()