Message links

Used to link to specific messages in public or private groups and channels.

Note: channelId is a non-marked channel ID

  • Parameters

    • options: (
          ({ username: string; } | { channelId: number; }) & { id: number; threadId?: number | undefined; commentId?: number | undefined; mediaTimestamp?: number | undefined; single?: boolean | undefined; }
      ) & CommonDeeplinkOptions

    Returns string

Properties

Properties

parse: (
    url: string,
) =>
    | null
    | (
        ({ username: string; } | { channelId: number; }) & { id: number; threadId?: number | undefined; commentId?: number | undefined; mediaTimestamp?: number | undefined; single?: boolean | undefined; }
    )