Releases: twa-dev/types
Releases · twa-dev/types
v8.0.2
What's Changed
- Fix WebApp.requestContact typing by @wishyoudie in #3
New Contributors
- @wishyoudie made their first contribution in #3
Full Changelog: v8.0.1...v8.0.2
v8.0.1
v8.0
- signature
- isActive
- isFullscreen
- isOrientationLocked
- safeAreaInset
- contentSafeAreaInset
- Accelerometer
- DeviceOrientation
- Gyroscope
- LocationManager
- requestFullscreen
- exitFullscreen
- lockOrientation
- unlockOrientation
- addToHomeScreen
- checkHomeScreenStatus
- shareMessage
- setEmojiStatus
- requestEmojiStatusAccess
- downloadFile
Improvements
BackButton
andBottomButton
support chaining of method calls
v7.10.0
- Added
bottom_bar_bg_color
inThemeParams
- Added
BottomButton
interface with newhas_shine_effect
param - Added
SecondaryButton
interface andWebApp['SecondaryButton']
- Added
secondaryButtonClicked
toEventNames
andEventParams
v7.8.0
- Added types for BiometricManager
- ThemeParams: added section_separator_color color
- Supported
"scanQrPopupClosed"
event - Supported
enableVerticalSwipes
,disableVerticalSwipes
methods andscanQrPopupClosed
field - Added types for
shareToStory
method
v7.0.0
- Added types for SettingsButton
- ThemeParams: added fields header_bg_color, accent_text_color, section_bg_color, section_header_text_color, subtitle_text_color, destructive_text_color
v6.9.0
WebApp
: addedCloudStorage
interface,requestWriteAccess
andrequestContact
methodsBackButton
: addedisVisible
propertyMainButton
: addedtext
,color
,textColor
propertiesEventNames
,EventParams
: addedwriteAccessRequested
,contactRequested
WebAppInitData
: addedallows_write_to_pm
to userPlatforms
:weba
added,webz
removed
v6.7.0
WebApp
: addedswitchInlineQuery
methodWebAppInitData
: addedchat_type
andchat_instance
propsWebAppInitData
: addedadded_to_attachment_menu
touser
v6.4.2
- Added the optional parameter
options
to the methodopenLink
v6.4.1
- Added the events
qrTextReceived
,clipboardTextReceived
.