MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / getReplyTarget

Method getReplyTarget

music_hub/music_hub.ts:775–782  ·  view source on GitHub ↗
(msg: Api.Message, session?: SearchSession)

Source from the content-addressed store, hash-verified

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 ||

Callers 2

sendTelegramUrlMethod · 0.95
sendLocalUploadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected