Skip to content

Instantly share code, notes, and snippets.

View Revincx's full-sized avatar
🐟
Touching Fish

Lvc Revincx Revincx

🐟
Touching Fish
View GitHub Profile

ttf2tgs

Export Font Glyphs to Telegram Animated Sticker Format

Requirements

  • Python 3.x

Install pip denpendcies

@Revincx
Revincx / get_tg_public_channel.py
Last active December 6, 2023 09:13
Get my telegram public channels.
# Get all the public channels you own.
# You need to join a group which linked to channel, and get its chat_id.
# Can not get private channels.
import asyncio
import os
from sys import executable, exit
try:
from pyrogram.errors import ApiIdInvalid, PhoneNumberInvalid