Skip to content

Commit

Permalink
release v7.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed May 6, 2024
1 parent 3e9c8d3 commit e80d48f
Show file tree
Hide file tree
Showing 5 changed files with 376 additions and 88 deletions.
2 changes: 1 addition & 1 deletion hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
763a32690e0a0242d4fd8908646540c04365960b
8bd3dd4feebffedfb8619e510378d5016bab1a8e
10 changes: 5 additions & 5 deletions out/methods.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Based on Bot API v7.2.0 (31.3.2024)
* Generated at 5/1/2024, 4:18:33 PM using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
* Based on Bot API v7.3.0 (6.5.2024)
* Generated at 5/6/2024, 2:44:50 PM using [types](https://github.com/gramiojs/types) and [schema](https://ark0f.github.io/tg-bot-api) generators
*/
import {
CallAPIWithOptionalParams,
Expand Down Expand Up @@ -130,7 +130,7 @@ export interface APIMethods {
*/
sendAnimation: CallAPI<Params.SendAnimationParams, Objects.TelegramMessage>
/**
* Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS (other formats may be sent as [Audio](https://core.telegram.org/bots/api/#audio) or [Document](https://core.telegram.org/bots/api/#document)). On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
* Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as [Audio](https://core.telegram.org/bots/api/#audio) or [Document](https://core.telegram.org/bots/api/#document)). On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.
*
* [Documentation](https://core.telegram.org/bots/api/#sendvoice)
*/
Expand Down Expand Up @@ -356,11 +356,11 @@ export interface APIMethods {
*/
leaveChat: CallAPI<Params.LeaveChatParams, true>
/**
* Use this method to get up to date information about the chat. Returns a [Chat](https://core.telegram.org/bots/api/#chat) object on success.
* Use this method to get up-to-date information about the chat. Returns a [ChatFullInfo](https://core.telegram.org/bots/api/#chatfullinfo) object on success.
*
* [Documentation](https://core.telegram.org/bots/api/#getchat)
*/
getChat: CallAPI<Params.GetChatParams, Objects.TelegramChat>
getChat: CallAPI<Params.GetChatParams, Objects.TelegramChatFullInfo>
/**
* Use this method to get a list of administrators in a chat, which aren't bots. Returns an Array of [ChatMember](https://core.telegram.org/bots/api/#chatmember) objects.
*
Expand Down
Loading

0 comments on commit e80d48f

Please sign in to comment.