@@ -412,11 +412,12 @@ about its business.
412412
413413 .. versionadded :: 0.3
414414
415- .. py :method :: send_sticker(sticker, [ reply_to=None , attach=None , extra=None , notify=True ])
415+ .. py :method :: send_sticker([ sticker= None , reply_to=None , attach=None , extra=None , notify=True , path= None , file_id= None , url= None ])
416416
417- Send the sticker to the user (in webp format). If the sticker you're
418- sending is in reply to another message, set *reply_to * to the ID of the
419- other :py:class: `~botogram.Message `.
417+ Send the sticker to the user (in webp format). You can specify the sticker by
418+ passing its *path *, its *url *, or its Telegram *file_id *. Only one of these
419+ arguments must be passed. If the sticker you're sending is in reply to another message,
420+ set *reply_to * to the ID of the other :py:class: `~botogram.Message `.
420421
421422 The *attach * parameter allows you to attach extra things like
422423 :ref: `buttons <buttons >` to the message.
@@ -429,12 +430,19 @@ about its business.
429430 :param object attach: An extra thing to attach to the message.
430431 :param object extra: An extra reply interface object to attach
431432 :param bool notify: If you want to trigger the client notification.
433+ :param str path: The path to the webp-formatted sticker
434+ :param str file_id: The Telegram *file_id * of the sticker
435+ :param str url: The URL to the webp-formatted sticker
432436 :returns: The message you sent
433437 :rtype: ~botogram.Message
434438
435439 .. deprecated :: 0.4
436440
437441 The *extra * parameter is now deprecated
442+
443+ .. deprecated :: 0.6
444+
445+ The *sticker * parameter is now deprecated
438446
439447 .. versionchanged :: 0.3
440448
@@ -1053,11 +1061,12 @@ about its business.
10531061
10541062 .. versionadded :: 0.3
10551063
1056- .. py :method :: send_sticker(sticker, [ reply_to=None , attach=None , extra=None , notify=True ])
1064+ .. py :method :: send_sticker([ sticker= None , reply_to=None , attach=None , extra=None , notify=True , file_id= None , url= None ])
10571065
1058- Send the sticker to the chat (in webp format). If the sticker you're
1059- sending is in reply to another message, set *reply_to * to the ID of the
1060- other :py:class: `~botogram.Message `.
1066+ Send the sticker to the chat (in webp format). You can specify the sticker by
1067+ passing its *path *, its *url *, or its Telegram *file_id *. Only one of these
1068+ arguments must be passed. If the sticker you're sending is in reply to another message,
1069+ set *reply_to * to the ID of the other :py:class: `~botogram.Message `.
10611070
10621071 The *attach * parameter allows you to attach extra things like
10631072 :ref: `buttons <buttons >` to the message.
@@ -1070,12 +1079,19 @@ about its business.
10701079 :param object attach: An extra thing to attach to the message.
10711080 :param object extra: An extra reply interface object to attach
10721081 :param bool notify: If you want to trigger the client notification.
1082+ :param str path: The path to the webp-formatted sticker
1083+ :param str file_id: The Telegram *file_id * of the sticker
1084+ :param str url: The URL to the webp-formatted sticker
10731085 :returns: The message you sent
10741086 :rtype: ~botogram.Message
10751087
10761088 .. deprecated :: 0.4
10771089
10781090 The *extra * parameter is now deprecated
1091+
1092+ .. deprecated :: 0.6
1093+
1094+ The *sticker * parameter is now deprecated
10791095
10801096 .. versionchanged :: 0.3
10811097
0 commit comments