# Interface: ShareMessageToFriendParams
• ShareMessageToFriendParams()
# Properties
# Optional
imageUrl
• imageUrl? : string
转发显示图片的链接,可以是网络图片路径或本地图片文件路径或相对代码包根目录的图片文件路径。显示图片长宽比是 5:4
Returns: string
# Optional
imageUrlId
• imageUrlId? : string
审核通过的图片 ID,详见 使用审核通过的转发图片(https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#%E4%BD%BF%E7%94%A8%E5%AE%A1%E6%A0%B8%E9%80%9A%E8%BF%87%E7%9A%84%E8%BD%AC%E5%8F%91%E5%9B%BE%E7%89%87)
Returns: string
# openId
• openId: string
发送对象的 openId
Returns: string
# Optional
title
• title? : string
转发标题,不传则默认使用当前小游戏的昵称。
Returns: string