(msg: Api.Message, session?: SearchSession)
| 773 | private buildSongCaption(song: ApiSong, urlInfo: SongUrlInfo): string { |
| 774 | return [ |
| 775 | "🎵 Music Hub", |
| 776 | `${song.name} - ${formatArtists(song.artist)}`, |
| 777 | `📡 source: ${song.source}`, |
| 778 | urlInfo.br ? `🎚️ br: ${displayBitrate(urlInfo.br)}` : "", |
| 779 | ].filter(Boolean).join("\n"); |
| 780 | } |
| 781 | |
| 782 | private getReplyTarget(msg: Api.Message, session?: SearchSession): number | undefined { |
| 783 | return ( |
| 784 | session?.messageId || |
| 785 | msg.replyTo?.replyToTopId || |
no outgoing calls
no test coverage detected