@@ -286,7 +286,7 @@ components.
286286
287287 :return: A frozen instance of the current bot.
288288
289- .. py :method :: send(chat, message[, preview=True , reply_to=None , syntax=None , extra=None ])
289+ .. py :method :: send(chat, message[, preview=True , reply_to=None , syntax=None , extra=None , notify= True ])
290290
291291 This method sends a message to a specific chat. The chat must be
292292 identified by its ID, and Telegram applies some restrictions on the chats
@@ -306,14 +306,18 @@ components.
306306 processed by Telegram (:ref: `learn more about rich formatting
307307 <tricks-messages-syntax>`).
308308
309+ The *notify * parameter is for defining if your message should trigger
310+ a notification on the client side (yes by default).
311+
309312 :param int chat: The ID of the chat which should receive the message.
310313 :param str messgae: The message you want to send.
311314 :param bool preview: If you want to show the link preview.
312315 :param int reply_to: The ID of the message this one is replying to.
313316 :param string syntax: The name of the syntax you used for the message.
314317 :param object extra: An extra object you want to attach (see above).
318+ :param bool notify: If you want to trigger the client notification.
315319
316- .. py :method :: send_photo(chat, path[, caption=" " , reply_to=None , extra=None ])
320+ .. py :method :: send_photo(chat, path[, caption=" " , reply_to=None , extra=None , notify= True ])
317321
318322 This method sends a photo to a specific chat. The chat must be identified
319323 by its ID, and Telegram applies some restrictions on the chats allowed to
@@ -328,13 +332,17 @@ components.
328332 * :py:class: `botogram.ReplyKeyboardHide `
329333 * :py:class: `botogram.ForceReply `
330334
335+ The *notify * parameter is for defining if your message should trigger
336+ a notification on the client side (yes by default).
337+
331338 :param int chat: The ID of the chat which should receive the photo.
332339 :param str path: The path to the photo you want to send.
333340 :param str caption: An optional caption for the photo.
334341 :param int reply_to: The ID of the message this one is replying to.
335342 :param object extra: An extra object you want to attach (see above).
343+ :param bool notify: If you want to trigger the client notification.
336344
337- .. py :method :: send_audio(chat, path, [duration=None , performer=None , title=None , reply_to=None , extra=None ])
345+ .. py :method :: send_audio(chat, path, [duration=None , performer=None , title=None , reply_to=None , extra=None , notify= True ])
338346
339347 This method sends an audio track to a specific chat. The chat must be
340348 identified by its ID, and Telegram applies some restrictions on the chats
@@ -352,15 +360,19 @@ components.
352360 * :py:class: `botogram.ReplyKeyboardHide `
353361 * :py:class: `botogram.ForceReply `
354362
363+ The *notify * parameter is for defining if your message should trigger
364+ a notification on the client side (yes by default).
365+
355366 :param int chat: The ID of the chat which should receive the photo.
356367 :param str path: The path to the audio track
357368 :param int duration: The track duration, in seconds
358369 :param str performer: The name of the performer
359370 :param str title: The title of the track
360371 :param int reply_to: The ID of the :py:class: `~botogram.Message ` this one is replying to
361372 :param object extra: An extra reply interface object to attach
373+ :param bool notify: If you want to trigger the client notification.
362374
363- .. py :method :: send_voice(chat, path, [duration=None , reply_to=None , extra=None ])
375+ .. py :method :: send_voice(chat, path, [duration=None , reply_to=None , extra=None , notify= True ])
364376
365377 This method sends a voice message to a specific chat. The chat must be
366378 identified by its ID, and Telegram applies some restrictions on the chats
@@ -378,13 +390,17 @@ components.
378390 * :py:class: `botogram.ReplyKeyboardHide `
379391 * :py:class: `botogram.ForceReply `
380392
393+ The *notify * parameter is for defining if your message should trigger
394+ a notification on the client side (yes by default).
395+
381396 :param int chat: The ID of the chat which should receive the photo.
382397 :param str path: The path to the voice message
383398 :param int duration: The message duration, in seconds
384399 :param int reply_to: The ID of the :py:class: `~botogram.Message ` this one is replying to
385400 :param object extra: An extra reply interface object to attach
401+ :param bool notify: If you want to trigger the client notification.
386402
387- .. py :method :: send_video(chat, path, [duration=None , caption=None , reply_to=None , extra=None ])
403+ .. py :method :: send_video(chat, path, [duration=None , caption=None , reply_to=None , extra=None , notify= True ])
388404
389405 This method sends a video to a specific chat. The chat must be identified
390406 by its ID, and Telegram applies some restrictions on the chats allowed to
@@ -402,14 +418,18 @@ components.
402418 * :py:class: `botogram.ReplyKeyboardHide `
403419 * :py:class: `botogram.ForceReply `
404420
421+ The *notify * parameter is for defining if your message should trigger
422+ a notification on the client side (yes by default).
423+
405424 :param int chat: The ID of the chat which should receive the video
406425 :param str path: The path to the video
407426 :param int duration: The video duration, in seconds
408427 :param str caption The caption of the video
409428 :param int reply_to: The ID of the :py:class: `~botogram.Message ` this one is replying to
410429 :param object extra: An extra reply interface object to attach
430+ :param bool notify: If you want to trigger the client notification.
411431
412- .. py :method :: send_file(chat, path, [reply_to=None , extra=None ])
432+ .. py :method :: send_file(chat, path, [reply_to=None , extra=None , notify= True ])
413433
414434 This method sends a generic file to a specific chat. The chat must be
415435 identified by its ID, and Telegram applies some restrictions on the chats
@@ -426,12 +446,16 @@ components.
426446 * :py:class: `botogram.ReplyKeyboardHide `
427447 * :py:class: `botogram.ForceReply `
428448
449+ The *notify * parameter is for defining if your message should trigger
450+ a notification on the client side (yes by default).
451+
429452 :param int chat: The ID of the chat which should receive the file
430453 :param str path: The path to the file
431454 :param int reply_to: The ID of the :py:class: `~botogram.Message ` this one is replying to
432455 :param object extra: An extra reply interface object to attach
456+ :param bool notify: If you want to trigger the client notification.
433457
434- .. py :method :: send_location(chat, latitude, longitude, [reply_to=None , extra=None ])
458+ .. py :method :: send_location(chat, latitude, longitude, [reply_to=None , extra=None , notify= True ])
435459
436460 This method sends a geographic location to a specific chat. The chat must
437461 be identified by its ID, and Telegram applies some restrictions on the
@@ -448,13 +472,17 @@ components.
448472 * :py:class: `botogram.ReplyKeyboardHide `
449473 * :py:class: `botogram.ForceReply `
450474
475+ The *notify * parameter is for defining if your message should trigger
476+ a notification on the client side (yes by default).
477+
451478 :param int chat: The ID of the chat which should receive the location
452479 :param float latitude: The latitude of the location
453480 :param float longitude: The longitude of the location
454481 :param int reply_to: The ID of the :py:class: `~botogram.Message ` this one is replying to
455482 :param object extra: An extra reply interface object to attach
483+ :param bool notify: If you want to trigger the client notification.
456484
457- .. py :method :: send_sticker(sticker, [reply_to=None , extra=None ])
485+ .. py :method :: send_sticker(sticker, [reply_to=None , extra=None , notify= True ])
458486
459487 This method sends a sticker to a specific chat chat (in webp format). The
460488 chat must be identified by its ID, and Telegram applies some restrictions
@@ -471,7 +499,11 @@ components.
471499 * :py:class: `botogram.ReplyKeyboardHide `
472500 * :py:class: `botogram.ForceReply `
473501
502+ The *notify * parameter is for defining if your message should trigger
503+ a notification on the client side (yes by default).
504+
474505 :param int chat: The ID of the chat which should receive the location
475506 :param str sticker: The path to the webp-formatted sticker
476507 :param int reply_to: The ID of the :py:class: `~botogram.Message ` this one is replying to
477508 :param object extra: An extra reply interface object to attach
509+ :param bool notify: If you want to trigger the client notification.
0 commit comments