@grammyjs/types 2.4.5 → 2.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/manage.d.ts +2 -2
- package/message.d.ts +2 -2
- package/package.json +1 -1
package/manage.d.ts
CHANGED
|
@@ -381,9 +381,9 @@ export interface ChatLocation {
|
|
|
381
381
|
|
|
382
382
|
/** This object represents a bot command. */
|
|
383
383
|
export interface BotCommand {
|
|
384
|
-
/** Text of the command
|
|
384
|
+
/** Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores. */
|
|
385
385
|
command: string;
|
|
386
|
-
/** Description of the command
|
|
386
|
+
/** Description of the command; 1-256 characters. */
|
|
387
387
|
description: string;
|
|
388
388
|
}
|
|
389
389
|
|
package/message.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export namespace Message {
|
|
|
25
25
|
forward_from_chat?: Chat;
|
|
26
26
|
/** For messages forwarded from channels, identifier of the original message in the channel */
|
|
27
27
|
forward_from_message_id?: number;
|
|
28
|
-
/** For messages
|
|
28
|
+
/** For forwarded messages that were originally sent in channels or by an anonymous chat administrator, signature of the message sender if present */
|
|
29
29
|
forward_signature?: string;
|
|
30
30
|
/** Sender's name for messages forwarded from users who disallow adding a link to their account in forwarded messages */
|
|
31
31
|
forward_sender_name?: string;
|
|
@@ -217,7 +217,7 @@ export interface MessageId {
|
|
|
217
217
|
Note that Telegram clients will display an **alert** to the user before opening an inline link ('Open this link?' together with the full URL).
|
|
218
218
|
|
|
219
219
|
Message entities can be nested, providing following restrictions are met:
|
|
220
|
-
- If two entities
|
|
220
|
+
- If two entities have common characters then one of them is fully contained inside another.
|
|
221
221
|
- bold, italic, underline and strikethrough entities can contain and to be contained in any other entities, except pre and code.
|
|
222
222
|
- All other entities can't contain each other.
|
|
223
223
|
|