Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create send_messages_at_time() in Chatroom class to implement simple Schedule whatsapp message #29

Closed
NavpreetDevpuri opened this issue Oct 12, 2020 · 10 comments
Assignees
Labels

Comments

@NavpreetDevpuri
Copy link
Member

NavpreetDevpuri commented Oct 12, 2020

just wait for the right time to come and then just send the given messages to the given contacts.
send_messages_at_time(message_to_contact_dictionary, time)

take time as %Y-%m-%d %H:%M:%S format

@NavpreetDevpuri NavpreetDevpuri changed the title Create send_message_at_time() in Chatroom class to implement simple Schedule whatsapp message Create send_messages_at_time() in Chatroom class to implement simple Schedule whatsapp message Oct 14, 2020
@LazybuddyNK
Copy link
Contributor

Hey, can I give it a try..

@NavpreetDevpuri
Copy link
Member Author

NavpreetDevpuri commented Oct 17, 2020

@LazybuddyNK You are most welcome.
You can ask me if you have any problems while doing that.

@NavpreetDevpuri
Copy link
Member Author

Good luck!

@LazybuddyNK
Copy link
Contributor

Yes, Thank u !!

@ghostrider22
Copy link
Contributor

Sir, I would like to contribute. Please assign this task to me.

@NavpreetDevpuri
Copy link
Member Author

@ghostrider22 good luck

@NavpreetDevpuri
Copy link
Member Author

@ghostrider22 when time arrive then send all message in message_to_contact_dictionary

@ghostrider22
Copy link
Contributor

I have just now turned on watch all changes in this repository, so hopefully next time I will get notified about messages.
Sir here, just one clarification. Is message_to_contact_dictionary looks something like this:-
{9620734891 : "Hi",
"Ram" : "Hello"
9972264581: "Call me back"}
where key is phone number and values are the messages to be sent.

@NavpreetDevpuri
Copy link
Member Author

NavpreetDevpuri commented Oct 26, 2021

# key and value both are strings
{
  "9620734891" : "Hi",
  "Ram" : "Hello"
  "9972264581": "Call me back"
}

@ghostrider22
Copy link
Contributor

ok sir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants