@grammyjs/types 2.7.1 → 2.7.2

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 CHANGED
@@ -372,7 +372,7 @@ export interface ChatMemberUpdated {
372
372
  /** Represents a join request sent to a chat. */
373
373
  export interface ChatJoinRequest {
374
374
  /** Chat to which the request was sent */
375
- chat: Chat;
375
+ chat: Chat.SupergroupChat | Chat.ChannelChat;
376
376
  /** User that sent the join request */
377
377
  from: User;
378
378
  /** Date the request was sent in Unix time */
package/markup.d.ts CHANGED
@@ -98,7 +98,7 @@ export interface CallbackQuery {
98
98
  inline_message_id?: string;
99
99
  /** Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games. */
100
100
  chat_instance: string;
101
- /** Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field. */
101
+ /** Data associated with the callback button. Be aware that the message, which originated the query, can contain no callback buttons with this data. */
102
102
  data?: string;
103
103
  /** Short name of a Game to be returned, serves as the unique identifier for the game */
104
104
  game_short_name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grammyjs/types",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "Telegram Bot API type declarations for grammY",
5
5
  "main": "index.js",
6
6
  "repository": {