예제 #1
0
 def get_chat(self, chat_id):
     """
     Use this method to get up to date information about the chat (current name of the user for one-on-one
     conversations, current username of a user, group or channel, etc.). Returns a Chat object on success.
     :param chat_id:
     :return:
     """
     result = apihelper.get_chat(self.token, chat_id)
     return types.Chat.de_json(result)
예제 #2
0
 def get_chat(self, chat_id):
     """
     Use this method to get up to date information about the chat (current name of the user for one-on-one
     conversations, current username of a user, group or channel, etc.). Returns a Chat object on success.
     :param chat_id:
     :return:
     """
     result = apihelper.get_chat(self.token, chat_id)
     return types.Chat.de_json(result)