Telegram Bot: Missing Invite Link in chat API Response

I built a Python bot that calls a chat info API expecting an invite link, but only basic group details are returned. For example:

import urllib.request, urllib.parse

def retrieve_chat_info(chatID):
    parameters = { 'id': str(chatID) }
    url = API_ENDPOINT + 'fetchChat?' + urllib.parse.urlencode(parameters)
    return urllib.request.urlopen(url).read()

Why is the invite link absent?

hey, i think the invite link isnt shown cuz api designers hid it for sec and priv. might need different endpoint or extra perms to see more details

During my work on similar projects, I discovered that the Telegram API device is implemented to prioritize privacy by limiting the data shared through its chat info endpoint. In my case, even after verifying that the bot had sufficient permissions, the invite link was not returned. This led me to understand that only basic group metadata is exposed by default. As a result, exploring alternative methods or awaiting updated API capabilities became the optimal approach to access detailed group properties.