提交 fac0b024 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

rename toUrl to toUrlLink (#1539)

上级 6ee608fd
......@@ -26,6 +26,7 @@ export {
Money,
Room,
RoomInvitation,
UrlLink,
} from './user'
export {
......
......@@ -846,8 +846,8 @@ export class Message extends Accessory implements Sayable {
return contact
}
public async toUrl (): Promise<UrlLink> {
log.verbose('Message', 'toUrl()')
public async toUrlLink (): Promise<UrlLink> {
log.verbose('Message', 'toUrlLink()')
if (!this.payload) {
throw new Error('no payload')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册