You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,7 @@ Emits `message` when a message arrives.
136
136
|[options]| <code>Object</code> |||
137
137
|[options.polling]| <code>Boolean</code> \| <code>Object</code> | <code>false</code> | Set true to enable polling or set options. If a WebHook has been set, it will be deleted automatically. |
138
138
|[options.polling.timeout]| <code>String</code> \| <code>Number</code> | <code>10</code> |*Deprecated. Use `options.polling.params` instead*. Timeout in seconds for long polling. |
139
+
|[options.testEnvironment]| <code>Boolean</code> | <code>false</code> | Set true to work with test enviroment. When working with the test environment, you may use HTTP links without TLS to test your Web App. |
139
140
|[options.polling.interval]| <code>String</code> \| <code>Number</code> | <code>300</code> | Interval between requests in miliseconds |
|[options.polling.params]| <code>Object</code> || Parameters to be used in polling API requests. See https://core.telegram.org/bots/api#getupdates for more information. |
@@ -1677,7 +1678,7 @@ Animated stickers can be added to animated sticker sets and only to them:
1677
1678
| --- | --- | --- | --- |
1678
1679
| userId | <code>Number</code> || User identifier of sticker set owner |
1679
1680
| name | <code>String</code> || Sticker set name |
1680
-
| sticker | <code>String</code> \| <code>stream.Stream</code> \| <code>Buffer</code> || Png image with the sticker (must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px), [TGS animation](https://core.telegram.org/stickers#animated-sticker-requirements) with the sticker or [WEBM video](https://core.telegram.org/stickers#video-sticker-requirements) with the sticker. |
1681
+
| sticker | <code>String</code> \| <code>stream.Stream</code> \| <code>Buffer</code> || Png image with the sticker (must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px, [TGS animation](https://core.telegram.org/stickers#animated-sticker-requirements) with the sticker or [WEBM video](https://core.telegram.org/stickers#video-sticker-requirements) with the sticker. |
1681
1682
| emojis | <code>String</code> || One or more emoji corresponding to the sticker |
0 commit comments