(20241218) Getting full individual payment records is now possible.

This commit is contained in:
2024-12-18 09:59:14 +05:30
parent bfe7b1a78b
commit 85cc330711
7 changed files with 360 additions and 60 deletions
+5 -4
View File
@@ -45,8 +45,8 @@ from utils_v2.system import files
from utils_v2.date_time import date_time
# Data models:
from utils_v2.telegram.models.data.api_call import TelegramApiResponse
from utils_v2.telegram.models.data.update import TelegramUpdate
from utils_v2.telegram.models.api_call import TelegramApiResponse
from utils_v2.telegram.models.update import TelegramUpdate
# To make API calls:
import httpx
@@ -628,7 +628,8 @@ if __name__ == "__main__":
# Create the instance and define needed variables:
my_tg = AsyncTelegramBot(bot_token = r"7003670393:AAH9qF6XGqa-u2_TM2JCUkP0Fp48kMw8Ka8")
recipient_chat_id = 1275560043
# recipient_chat_id = 1275560043
recipient_chat_id = 7501974519
# Test out the services:
# tg_response = await my_tg.bot_info()
@@ -647,7 +648,7 @@ if __name__ == "__main__":
file = r"https://images.unsplash.com/photo-1543852786-1cf6624b9987",
caption = f"[Image URL]({my_tg.escape_special_chars(text = r'https://images.unsplash.com/photo-1543852786-1cf6624b9987', parse_mode = 'MarkdownV2')})",
parse_mode = "MarkdownV2",
hide = False
hide = True
)
# Show the response: