0.0.5 vouch button untested

This commit is contained in:
2023-04-21 13:09:10 +03:00
parent 481e4fabb4
commit 6a70d7067a
7 changed files with 121 additions and 87 deletions

View File

@@ -47,6 +47,12 @@ def unban_member(chat_id, user_id):
r = requests.post(url)
return r
# https://core.telegram.org/bots/api#addchatmember
def add_chatmember(chat_id, user_id):
url = apiBase + f"addChatMember?chat_id={chat_id}&user_id={user_id}"
r = requests.post(url)
return r
def forward_message(cid, mid, to_chat_id):
url = apiBase + f"forwardMessage?chat_id={to_chat_id}" + \