Fixes:
- Fix parse_mode on PHP 7.1
Features:
- Switch to API layer 140 (from layer 136)
New Methods:
- Added account.getSavedRingtones
- Added account.saveRingtone
- Added account.uploadRingtone
- Added contacts.resolvePhone
- Added messages.translateText
- Added messages.getUnreadReactions
- Added messages.readReactions
- Added messages.searchSentMedia
- Added messages.getAttachMenuBots
- Added messages.getAttachMenuBot
- Added messages.toggleBotInAttachMenu
- Added messages.requestWebView
- Added messages.prolongWebView
- Added messages.requestSimpleWebView
- Added messages.sendWebViewResultMessage
- Added messages.sendWebViewData
- Added bots.setBotMenuButton
- Added bots.getBotMenuButton
- Added bots.setBotBroadcastDefaultAdminRights
- Added bots.setBotGroupDefaultAdminRights
- Added phone.getGroupCallStreamChannels
- Added phone.getGroupCallStreamRtmpUrl
Changed Methods:
- Added big param to messages.sendReaction
- Added for_everyone param to channels.deleteHistory
- Added videos param to stickers.createStickerSet
- Added rtmp_stream param to phone.createGroupCall
New Constructors:
- Added messageActionWebViewDataSentMe
- Added messageActionWebViewDataSent
- Added inputReportReasonIllegalDrugs
- Added inputReportReasonPersonalDetails
- Added updateAttachMenuBots
- Added updateWebViewResultSent
- Added updateBotMenuButton
- Added updateSavedRingtones
- Added keyboardButtonWebView
- Added keyboardButtonSimpleWebView
- Added messages.translateNoResult
- Added messages.translateResultText
- Added messagePeerReaction
- Added groupCallStreamChannel
- Added phone.groupCallStreamChannels
- Added phone.groupCallStreamRtmpUrl
- Added attachMenuBotIconColor
- Added attachMenuBotIcon
- Added attachMenuBot
- Added attachMenuBotsNotModified
- Added attachMenuBots
- Added attachMenuBotsBot
- Added webViewResultUrl
- Added simpleWebViewResultUrl
- Added webViewMessageSent
- Added botMenuButtonDefault
- Added botMenuButtonCommands
- Added botMenuButton
- Added account.savedRingtonesNotModified
- Added account.savedRingtones
- Added notificationSoundDefault
- Added notificationSoundNone
- Added notificationSoundLocal
- Added notificationSoundRingtone
- Added account.savedRingtone
- Added account.savedRingtoneConverted
Changed Constructors:
- Added bot_attach_menu param to user
- Removed kicked param from chat
- Added can_delete_channel param to channelFull
- Added unread_reactions_count param to dialog
- Added ios_sound param to peerNotifySettings
- Added android_sound param to peerNotifySettings
- Added other_sound param to peerNotifySettings
- Removed sound param from peerNotifySettings
- Added bot_group_admin_rights param to userFull
- Added bot_broadcast_admin_rights param to userFull
- Added videos param to stickerSet
- Added menu_button param to botInfo
- Added rtmp_stream param to groupCall
- Added listeners_hidden param to groupCall
- Added recent_reactions param to messageReactions
- Removed recent_reactons param from messageReactions
- Added chats param to messages.messageReactionsList
- Added around_animation param to availableReaction
- Added center_icon param to availableReaction
Deleted Constructors:
- Removed messageUserReaction