How to make sending messages to all users of the bot?

I would like to make a function which will be send to all users of the bot the same message, BUT not only to send a test, and other message formats(video, audio, stickers).
And since types that much, I wouldn't want to do like this:
if message.content_type == "text":
 send_message(chat_id, message.text)
elif ....

Is there any such option ?
April 3rd 20 at 18:44
1 answer
April 3rd 20 at 18:46
And there's only 6 types (video, audio, text, photo, sticker, paper)
I know, I watched how many types. - Hyman49 commented on April 3rd 20 at 18:49
I thought there is something faster and easier :) - Hyman49 commented on April 3rd 20 at 18:52
@Hyman49, XS if the clean message to send the dictionary, the key is content_type, and a value of send_message(chat_id, message.text), but the type of XS, as it's easier - jamison.Tremblay33 commented on April 3rd 20 at 18:55

Find more questions by tags PythonTelegram