private static string Content(Gem gem) { var networkEffectVisible = SharedMessageContent.NetworkEffectContent(gem.Recently, gem.Symbol, gem.Name); var statisticsVisible = SharedMessageContent.StatisticsContent(gem.Recently, gem.Id); var chartsVisible = gem.Recently == TokenActionType.ADDED ? $"📊 *Charts*\n" + $"ChartEx [${gem.Symbol}](https://chartex.pro/?symbol=UNISWAP:{gem.Symbol}) |" + $" [${gem.Symbol}/$WETH](https://chartex.pro/?symbol=UNISWAP:{gem.Symbol}/WETH)\n\n" : string.Empty; var warningAfterDelete = SharedMessageContent.WarningContent(gem.Recently, gem.Id); var result = $"{DexType.UNISWAP.GetDescription().ToUpperInvariant()}\n" + $"{SharedMessageContent.RecentlyEmoji(gem.Recently)} *{gem.Recently.GetDescription()}*\n\n" + $"💎 Token: *{gem.Name}*\n" + $"🚨 Symbol: *{gem.Symbol}*\n\n" + networkEffectVisible + statisticsVisible + chartsVisible + warningAfterDelete; return(result); }
public static string ForTwitterSummary(IEnumerable <Gem> gems, TokenActionType tokenAction, int interval) => $"🦄 Uniswap (for last {interval / 60} h) \n\n" + $" {SharedMessageContent.RecentlyEmoji(tokenAction)} {tokenAction.GetDescription()} \n\n" + $"💎 {gems.Count()} Tokens\n" + $"🚨 Some of them: {string.Join(" ", gems.Take(5).Select(g => $"${g.Symbol}"))}\n\n" + $"Join for free: https://t.me/GemTrackerClub \n" + $"💰 Ask for premium: https://gemtracker.club/#premium \n" + $"( $BTC $ETH $ALTS $UNI #uniswap #cryptocurrency #gem #gemtrackerclub )";
public static string Content(Gem gem) { var networkEffectVisible = SharedMessageContent.NetworkEffectContent(gem.Recently, gem.Symbol, gem.Name); var statisticsVisible = SharedMessageContent.StatisticsContent(gem.Recently, gem.Id); var warningAfterDelete = SharedMessageContent.WarningContent(gem.Recently, gem.Id); var result = $"{DexType.KYBER.GetDescription().ToUpperInvariant()}\n" + $"{SharedMessageContent.RecentlyEmoji(gem.Recently)} *{gem.Recently.GetDescription()}*\n\n" + $"💎 Token: *{gem.Name}*\n" + $"🚨 Symbol: *{gem.Symbol}*\n\n" + networkEffectVisible + statisticsVisible + warningAfterDelete; return(result); }