-
Notifications
You must be signed in to change notification settings - Fork 21
Type: BulkMessage
Mahdi Dibaiee edited this page Jul 3, 2015
·
1 revision
Send a message to multiple chats/users. All the options are the same as Message, expect to
method now accepts a list of chat_id
s instead of one.
Here is the chainable method equivalent of each option:
- to => A list of chat_ids
- text => text
- preview => disable_web_page_preview (The option is inversed, e.g. preview(false) will set the option to true, therefore disabling previews)
- reply => reply_to_message_id
- keyboard => reply_markup (Accepts a Keyboard instance)
new BulkMessage({ chats: [1000, 2000, 3000] });
new BulkMessage().to(1000, 2000, [500, 7000]).text('This is a Bulk Message');