Releases: Plong-Wasin/line-drive-saver
v0.5.0
v0.4.1
v0.4.1
Bug Fixes
- Fixed an issue where fetching the user profile failed due to limitations in the endpoint
https://api.line.me/v2/bot/profile/{userId}
.- According to the LINE API documentation:
You can get the profile information of users who meet one of two conditions:
- Users who have added your LINE Official Account as a friend.
- Users who haven't added your LINE Official Account as a friend but have sent a message to your LINE Official Account (except users who have blocked your LINE Official Account).
- According to the LINE API documentation:
Changes
- Updated the logic for fetching user profiles:
- When the chat occurs in a group, the endpoint
https://api.line.me/v2/bot/group/{groupId}/member/{userId}
is now used to fetch user profiles. - When the chat is directly with the bot, the endpoint
https://api.line.me/v2/bot/profile/{userId}
continues to be used.
- When the chat occurs in a group, the endpoint
v0.4.0
v0.4.0
New Features
SAVE_LINK
Configuration Option
Added theSAVE_LINK
option to enable saving links directly from messages. Configure this setting in the script to customize link-saving behavior.
Full Changelog: v0.3.0...v0.4.0
v0.3.0
v0.3.0
Support Multiple Events in Single Webhook
Enhancements
- Multiple Events Support: Refactored the webhook functionality to handle multiple events in a single webhook. This enables more flexible event processing beyond just event [0].
Full Changelog: v0.2.0...v0.3.0
v0.2.0
v0.1.0
Release 0.1.0
This release of LineDrive Saver introduces several new features, enhancements, and bug fixes to enhance the functionality and user experience. Here's an overview of the changes included in this release:
New Features
- Save audio, image, video, and files to Google Drive.
- Share Google Drive links directly from the bot.
- Group usage support.
- Configuration separation by group.
Enhancements
- Improved performance and stability.
- Streamlined setup process.
- Enhanced error handling for better user experience.
Bug Fixes
- Fixed issues related to file saving and sharing.
- Resolved compatibility issues with different Line bot configurations.
- Fixed minor UI glitches.
How to Upgrade
To upgrade to this latest release, please follow the steps below:
- Create a folder in your Google Drive.
- Create a new spreadsheet within the folder.
- Open the spreadsheet and navigate to Extensions > Apps Script.
- Replace the code in the Code.gs file with the code provided in the release.
- Run the publishConfig function.
- Deploy a new web app by going to Deploy > New Deployment > Web app.
- Set "Who has access" to "Anyone" and click Deploy.
- Copy the URL generated and paste it into the webhook URL of your Line bot.
- Configure the Line channel access token.
- Add the Line bot as a friend.
- Optionally, invite the Line bot to the group for group usage.
- You're all set! Enjoy using LineDrive Saver with the latest enhancements and features.
Documentation
For more detailed instructions and information, please refer to the project's README file.
Feedback and Support
If you encounter any issues, have suggestions for improvements, or need assistance, please feel free to provide feedback or seek support on the GitHub repository or contact our support team.
We hope you find this release of LineDrive Saver useful and enjoy the improved functionality. Thank you for using our bot!