multi_forward_message
- Inputs
{
"chat_ids": "list of chat_id: each has 'chat_id' and 'local_id' as dict_key: chat_id: string, local_id: string, excludes phone_number, user_name, user_id",
"message_id": "integer: message_id",
"phone_numbers": "list of dictionaries: each has 'phone_number' and 'local_id' as dict_key: phone_number: phone, local_id: string, excludes chat_id, user_name, user_id",
"user_ids": "list of dictionaries: each has 'user_id' and 'local_id' as dict_key: user_id: integer, local_id: string, excludes phone_number, chat_id, user_name",
"user_names": "list of dictionaries: each has 'user_name' and 'local_id' as dict_key: user_name: string, local_id: string, excludes phone_number, chat_id, user_id"
}
- Errors
{
"message_id_not_valid": "local_id not valid or not unique",
"must_login": "user must be login",
"no_valid_message_id": "message_id is wrong",
"user_blocked": "user blocked by the one that tries to forward message to",
"user_does_not_have_permisson": "user does not have permission to send message",
"user_is_not_in_the_chat": "user is not member of this chat",
"user_not_found": "user_id/phone_number/user_name is wrong",
"wrong_chat_id": "chat_id is wrong"
}
- Extra Description
Forward a message to many chats
- Sample
- Url:
- Output:
{
"chat_id": "0106b490d89eb7e303c5a4969f8c90909707",
"result": {
"1589951154796510_1594631754122283": 1547894529624450
},
"status": "success",
"time": 1547894529.6459007
}