Comparing version 3.6.2 to 3.6.3
@@ -120,3 +120,3 @@ import { Location, Message, PhotoSize } from "./message"; | ||
/** True, if the bot can change the group sticker set. Returned only in getChat. */ | ||
can_set_sticker_set?: boolean; | ||
can_set_sticker_set?: true; | ||
} | ||
@@ -384,5 +384,5 @@ /** Internal type holding properties that those supergroup and channel chats returned from `getChat` share. */ | ||
export interface BotCommand { | ||
/** Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores. */ | ||
/** Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores. */ | ||
command: string; | ||
/** Description of the command, 3-256 characters. */ | ||
/** Description of the command; 1-256 characters. */ | ||
description: string; | ||
@@ -389,0 +389,0 @@ } |
@@ -10,5 +10,5 @@ import { InlineKeyboardMarkup } from "./inline"; | ||
message_id: number; | ||
/** Sender, empty for messages sent to channels */ | ||
/** Sender of the message; empty for messages sent to channels. For backward compatibility, the field contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat. */ | ||
from?: User; | ||
/** Sender of the message, sent on behalf of a chat. The channel itself for channel messages. The supergroup itself for messages from anonymous group administrators. The linked channel for messages automatically forwarded to the discussion group */ | ||
/** Sender of the message, sent on behalf of a chat. For example, the channel itself for channel posts, the supergroup itself for messages from anonymous group administrators, the linked channel for messages automatically forwarded to the discussion group. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat. */ | ||
sender_chat?: Chat; | ||
@@ -27,3 +27,3 @@ /** Date the message was sent in Unix time */ | ||
forward_from_message_id?: number; | ||
/** For messages forwarded from channels, signature of the post author if present */ | ||
/** For forwarded messages that were originally sent in channels or by an anonymous chat administrator, signature of the message sender if present */ | ||
forward_signature?: string; | ||
@@ -65,7 +65,7 @@ /** Sender's name for messages forwarded from users who disallow adding a link to their account in forwarded messages */ | ||
} | ||
export interface AudioMessage extends CaptionableMessage { | ||
export interface AudioMessage extends MediaMessage { | ||
/** Message is an audio file, information about the file */ | ||
audio: Audio; | ||
} | ||
export interface DocumentMessage extends CaptionableMessage { | ||
export interface DocumentMessage extends MediaMessage { | ||
/** Message is a general file, information about the file */ | ||
@@ -269,3 +269,3 @@ document: Document; | ||
Message entities can be nested, providing following restrictions are met: | ||
- If two entities has common characters then one of them is fully contained inside another. | ||
- If two entities have common characters then one of them is fully contained inside another. | ||
- bold, italic, underline and strikethrough entities can contain and to be contained in any other entities, except pre and code. | ||
@@ -272,0 +272,0 @@ - All other entities can't contain each other. |
{ | ||
"name": "typegram", | ||
"version": "3.6.2", | ||
"version": "3.6.3", | ||
"description": "Type declarations for the Telegram API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239307
3899