|
|
|
@ -15,7 +15,7 @@ subs = Subscriber.select()
|
|
|
|
|
messages = []
|
|
|
|
|
for sub in subs:
|
|
|
|
|
chat = bot.send_message(sub.user_id, '.').chat
|
|
|
|
|
chat_name = escape(f'{chat.first_name or ""} {chat.last_name or ""} {chat.title or ""}'.rstrip())
|
|
|
|
|
chat_name = escape(f'{chat.first_name or ""} {chat.last_name or ""} {chat.title or ""}'.strip())
|
|
|
|
|
messages.append(f'<code>#{sub.id:<4} {sub.user_id:>14} </code><a href="tg://user?id={sub.user_id}">{chat_name}</a>')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|