Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

v1.5.0

Compare
Choose a tag to compare
@natanimn natanimn released this 03 Jul 22:37
· 110 commits to main since this release
  • Full Support Bot API 7.0
  • Added handlers onReaction, onReactionCount, onChatboost, onRemovedChatBoost to the class BotClient
  • Added methods copyMessages, forwardMessages, deleteMessages, getUserChatBoosts, setMessageReaction to the class BotContext
  • Added fields available_reactions, has_visible_history, background_custom_emoji_id, profile_accent_color_id, profile_background_custom_emoji_id to the class Chat
  • Added classes ChatBoost, ChatBoostRemoved, ChatBoostSource, ChatBoostUpdated, CopyMessages, DeleteMessages, ExternalReplyInfo, ForwardMessages, GetUserChatBoosts, Giveaway, GiveawayCompleted, GiveawayCreated, GiveawayWinners, KeyboardButtonRequestUsers, LinkPreviewOptions, MessageOrigin, MessageReactionUpdated, MessageReactionCountUpdated, ReactionCount, ReactionType, ReplyParameters, ResponseParameters, SetMessageReaction, TextQuote, UserChatBoosts, UsersShared
  • Added interfaces ChatBoostHandler, MessageReactionCountHandler, MessageReactionHandler, RemovedChatBoostHandler
  • Deprecated methods replyToMessageId, allowSendingWithoutReply and added method replyParameters to the classes DefaultParameters, SendVenue, SendContact, SendLocation, SendPoll, SendGame,
  • Deprecated method disableWebPagePreview and added method linkPreviewOption to the class EditMessageText
  • Renamed InputMessageContent to InputTextMessageContent
  • Added enum TypeReaction
  • Added fields MESSAGE_REACTION, MESSAGE_REACTION_COUNT, CHAT_BOOST, REMOVED_CHAT_BOOST to the enum Updates
  • Added fields external_reply, quote, link_preview_options, giveaway, giveaway_created, giveaway_winners, giveaway_completed and Replaced field user_shared with users_shared and fields forward_signature, forward_sender_name, forward_from_message_id, forward_date, forward_from, forward_from_chat with field forward_origin to the class Message
  • Fix bug and typing