• We just launched and are currently in beta. Join us as we build and grow the community.

Multi/Others Sending the first message in Telegram channels using ChatGPT

codered

Speed Demon
C Rep
0
0
0
Rep
0
C Vouches
0
0
0
Vouches
0
Posts
159
Likes
53
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
[0].text.strip()
return comment_text
@app.on_message(filters.group)
def comment_sender(client, message):
if message.caption or message.text:
post_text = message.caption if message.caption else message.text
comment = generate_comment(post_text)
message.reply_text(comment, reply_to_message_id=message.id)
logger.info(f"Comment: {comment}")
else:
logger.info("There is no text in the comment.")
if __name__ == '__main__':
logger.info(f"Bot is running")
app.run()
 

430,210

312,253

312,262

Top