the sender.history function throws an exception on chats that are too long
the sender.history function throws an exception on chats that are too long