When Messages is Scheduled. It should be sent on the Scheduled time but actually it's sent when the internet gets connected (after the scheduled time). So this features should work as "when the Message is scheduled it should be sent at the scheduled time no matter when the internet gets connected or not".
Steps to reproduce
Open any Chat.
Try to Schedule a message.
Wait for the scheduled time to come.
Keep your internet connection off during the scheduled time.
At the scheduled time the message in shown in the chat.
But it's not sent (no single tick)
It's waiting for internet (clock icon shown)
Open your internet (now it'll be sent at this time)
In this way the actual time of Schedule message was missed. Suppose you wished a birthday 12:00 at night and you opened your net 9am then your message will be sent 9am only. No matter you scheduled it 12 @night
No, please don't do it that way. As this will need to reveal the planned message to every client before the planned time has reached. So you could implement a malicious client to read the messages before they are supposed to be revealed. This could be a security issue in certain use cases!
As long as the recipient doesn't receive the message before the scheduled time, I don't see the security implications of your clients knowing it's there (I think you have more to worry about if you have a malicious client)
But, this would move the send logic for scheduled messages to the telegram servers.
Log in here to report bugs or suggest features. Please enter your phone number in the international format and we will send a confirmation message to your account via Telegram.
As this will need to reveal the planned message to every client before the planned time has reached. So you could implement a malicious client to read the messages before they are supposed to be revealed. This could be a security issue in certain use cases!
But, this would move the send logic for scheduled messages to the telegram servers.
Clients always are to be treated as hostile.