ENTITIES_TOO_LONG fixed
This commit is contained in:
parent
036c019a0a
commit
d11681710b
1 changed files with 1 additions and 2 deletions
3
main.py
3
main.py
|
@ -92,8 +92,7 @@ def generate_link(event_name: str, event_time: str) -> str:
|
||||||
description = f"Дедлайн добавлен ботом {BOT_NAME} (https://t.me/{BOT_USERNAME})"
|
description = f"Дедлайн добавлен ботом {BOT_NAME} (https://t.me/{BOT_USERNAME})"
|
||||||
link = f"https://calendar.google.com/calendar/u/0/r/eventedit?" \
|
link = f"https://calendar.google.com/calendar/u/0/r/eventedit?" \
|
||||||
f"text={urllib.parse.quote(event_name)}&" \
|
f"text={urllib.parse.quote(event_name)}&" \
|
||||||
f"dates={formatted_time}/{formatted_time}&details={urllib.parse.quote(description)}&" \
|
f"dates={formatted_time}/{formatted_time}"
|
||||||
f"color=6"
|
|
||||||
return link
|
return link
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue