Created
August 23, 2022 12:12
-
-
Save Zmey56/49d1d42597c5f989e39aaff71882727c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def feed_report(chat=None): | |
chat = chat or chat_id | |
bot = telegram.Bot(token=my_token) | |
msg = """ 📃Feed report for {data}📃 | |
Events: {events} | |
🧑DAU: {users}({to_users_day_ago:+.2%} to day ago, {to_users_week_ago:+.2%} to week ago) | |
👍Likes: {liked}({to_likes_day_ago:+.2%} to day ago, {to_likes_week_ago:+.2%} to week ago) | |
👀Views: {views}({to_views_day_ago:+.2%} to day ago, {to_views_week_ago:+.2%} to week ago) | |
🌈CTR: {ctr}({to_ctr_day_ago:+.2%} to day ago, {to_ctr_week_ago:+.2%} to week ago) | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment