'How to have telegram bot post messages to my channel and not its own channel [duplicate]

I have a telegram bot which publishes messages to somebot using this code.

import telegram
from telegram import ParseMode
def send_msg(text):
    token = '1*****:AAF*************esns'
    chat_id = "34*****4"
    bot = telegram.Bot(token=token)
    
    bot.sendMessage(chat_id=chat_id, text=text, parse_mode=ParseMode.MARKDOWN_V2)

What I was wondering is if it is possible for the telegram bot to send message to my channel where i have made it an admin and not its own channel called somebot.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source