Whatsapp Business API Groups - api

What are the restrictions for whatsapp Business API Groups.
Can I send messages all the time, or are these messages also restricted by the 24hr session time.
How many groups can I create, could I e.g. create 100 groups, 1 for every person attending some event?
Is there anywhere I can find the pricing for creating these groups?

From WhatsApp API FAQ
Can I send any message to any user at any time?
No.
If a user contacts an enterprise, the enterprise can respond with any type of message in the next 24 hours. This type of message is free.
But if the enterprise is contacting a user before the user sends a message or after more than 24 hours have passed, the enterprise can only send a message template. This is a paid notification.
Free-form text messages and media messages will not work outside this 24 hour window. They will result in a failure callback with error 470.
How many messages per second can I send?
The maximum tested outbound message rate is 20 messages per second.

Related

What are Telegram bot rate limits aggregation period

Telegram limits the message thread on rates mentioned on FAQ
If you're sending bulk notifications to multiple users, the API will
not allow more than 30 messages per second or so. Also note that your
bot will not be able to send more than 20 messages per minute to the
same group.
But it is not clear what is aggregation period for rates to calculate. E.g. would it be acceptable within two seconds to send |0|60| messages which would be still 30 mps?

Firebase Cloud Messaging sending messages one by one

I am developing an app where I want to send notifications to multiple users from my backend server. These notifications will contain 4 different contents, three of them will go to 3 different users, but the forth one will go to more than 1000 users, the frequency of theses messages will be 3 to 7 times a week. Is it ok to send this amount of messages one by one using the Cloud Messaging api? Or should I group the messages before sending?
I thought about creating a topic in the Cloud Messaging, and subscribe the users to it and then send a message, but I don't if it is correct to keep subscribing/unsubscribing users just to send one message.
NOTE: I've never used any push notifications service before.
The Firebase Cloud Messaging infrastructure delivers billions of messages per day. The volume you're describing sounds well within reason for it.
Without knowing more about the use-case it's hard to say whether using a topic would be a better approach, so I recommend reading the documentation on topic messages to get a better understanding for it.

how to active gupshup Opted user in WhastAppa Api

I'm using Gupshup for WhatsApp business API
in that I can send a message to only active status is active, is there any API to active the opted user
If you are asking about sending a message to a user for the first time this article may be helpful.
The only way to message a user who hasn't messaged you in the last 24 hours is with a Message Template message.
https://developers.facebook.com/docs/whatsapp/api/messages#cut-off-control

What is "Subject to frequency limit" tag in Firebase cloud messaging

What is "Subject to frequency limit" tag in Firebase Cloud Messaging? When I try to schedule the message there is on tag called "Subject to frequency limit", which further has two option
Subject to frequency limit
Custom
Once per user for this message
What does it actually mean, can anyone please explain? How will this option make difference to my scheduled Cloud messages.
Once per user for this message:
Every user will get this notification only once. If there are new users the next day, they will get the notification at the scheduled time. Users that already received that notification e.g. yesterday won't get it again.
Custom:
Then you can set Send no more than one message every x days. That means that every user will get that notification only once in x days.
E.g. if you set it to 1: Every user gets that notification daily at the scheduled time.

Send message to th all of bots users (telegram api)

how to send Send message to the all of bots users?
There is no way to sned message to all ?
what is the method name ?
From Official API FAQ:
How can I message all of my bot's subscribers at once?
Unfortunately, at this moment we don't have methods for sending bulk messages, e.g. notifications. We may add something along these lines in the future. (...)
Obviously, if you store users chat_id, you can send individual message to all users (I use this method).
Navid wants to send message to all subscribers via bot.
If subscribers are more than 100 persons bot will very slow to sending all messages and may doesn't send messages to all.
Navid's question was how we can send message without this problem?
you can send with curl_multi_exec
Currently, a developer would need to implement a special broadcasting function that would send the message to each active user at the time adding a small delay to avoid hitting the rate limit of 30 messages per second (see https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once). This would mean that a very popular bot with say 10K active users cannot give timely notification as the last user would get the message about 5 minutes after the first user.
Here is a feature request to ask to add a method in the Bot API to broadcast a message to all its active users at once. You can upvote this feature request. https://bugs.telegram.org/c/8463