If there is no title thumbnail for forwarding, please leave it empty.
import { useShareAppMessage, you are on ShareTimeline } from '@tarojs/taro'
useShareAppMessage(()=> {})
useShareTimeline(()=>{})
Note that there is also added in config.ts
export default definePageConfig({ enableShareAppMessage: true, enableShareTimeline: true, })