ChaterJee 0.4.5__py3-none-any.whl → 0.4.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ChaterJee/ChaterJee.py CHANGED
@@ -271,6 +271,7 @@ class ChatLogs:
271
271
  ),
272
272
  )
273
273
  self.smsID.append(msg.message_id)
274
+ return ConversationHandler.END
274
275
 
275
276
  async def web_app_data(self, update: Update, context: ContextTypes.DEFAULT_TYPE) -> None :
276
277
  data = json.loads(update.effective_message.web_app_data.data)
@@ -285,20 +286,20 @@ class ChatLogs:
285
286
  JSdata = {**JSdata, **data}
286
287
  with open(fileNAME, 'w') as ffw:
287
288
  json.dump(JSdata, ffw, indent=4)
288
- await context.bot.sendChatAction(chat_id=self.CHATID, action="typing")
289
- msg = await update.message.reply_text(
290
- f"edits are saved to {fileNAME}", reply_markup=ReplyKeyboardRemove()
291
- )
292
- self.smsID.append(msg.message_id)
293
- #self.txt = f"edits are saved to {fileNAME}"
289
+ #await context.bot.sendChatAction(chat_id=self.CHATID, action="typing")
290
+ #msg = await update.message.reply_text(
291
+ # f"edits are saved to {fileNAME}", reply_markup=ReplyKeyboardRemove()
292
+ #)
293
+ #self.smsID.append(msg.message_id)
294
+ self.txt = f"edits are saved to {fileNAME}"
294
295
  else:
295
- await context.bot.sendChatAction(chat_id=self.CHATID, action="typing")
296
- msg = await update.message.reply_text(
297
- f"No new changes! file kept unchanged.", reply_markup=ReplyKeyboardRemove()
298
- )
299
- self.smsID.append(msg.message_id)
300
- #self.txt = f"No new changes! file kept unchanged."
301
- #await self.sendUpdate(update, context)
296
+ #await context.bot.sendChatAction(chat_id=self.CHATID, action="typing")
297
+ #msg = await update.message.reply_text(
298
+ # f"No new changes! file kept unchanged.", reply_markup=ReplyKeyboardRemove()
299
+ #)
300
+ #self.smsID.append(msg.message_id)
301
+ self.txt = f"No new changes! file kept unchanged."
302
+ await self.sendUpdate(update, context)
302
303
  #return ConversationHandler.END
303
304
 
304
305
  #msg = await context.bot.send_message(chat_id=self.CHATID, text=txt)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ChaterJee
3
- Version: 0.4.5
3
+ Version: 0.4.7
4
4
  Summary: Communicate your project updates via Telegram Bot!
5
5
  Author: Pallab Dutta
6
6
  Author-email: pallab9997@gmail.com
@@ -0,0 +1,6 @@
1
+ ChaterJee/ChaterJee.py,sha256=4hE_ClA9wCJ59bdqwzD76t595Ee1PYxMaV_Kp_AQhJc,16988
2
+ ChaterJee/__init__.py,sha256=tZmkZY2XbzJ8rHDh8nOmb1W73kPecPv3xcEiCPwkZf4,98
3
+ chaterjee-0.4.7.dist-info/METADATA,sha256=J9O-rBvTbjH6UUMVQebUJW0EGXJ8uM4T388FJgCCj8s,5872
4
+ chaterjee-0.4.7.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
5
+ chaterjee-0.4.7.dist-info/top_level.txt,sha256=Z1UAYoaNybpDiKjqa1yFpti_q0FNECVItb3-9yAh3gM,10
6
+ chaterjee-0.4.7.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- ChaterJee/ChaterJee.py,sha256=0vMM9bwgUjxS-duVUSmu2psowfwFMKXGD72IxFdCRlY,16942
2
- ChaterJee/__init__.py,sha256=tZmkZY2XbzJ8rHDh8nOmb1W73kPecPv3xcEiCPwkZf4,98
3
- chaterjee-0.4.5.dist-info/METADATA,sha256=Ck1ViOSe93e7qWqWj7QV6IzJG-i3VNX3NlQ7noajga0,5872
4
- chaterjee-0.4.5.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
5
- chaterjee-0.4.5.dist-info/top_level.txt,sha256=Z1UAYoaNybpDiKjqa1yFpti_q0FNECVItb3-9yAh3gM,10
6
- chaterjee-0.4.5.dist-info/RECORD,,