The call api.getThreadList(start, end, type, callback) claims to return an array with objects which contain field 'name,' which should be: "Name of the thread. Usually the name of the user. In group chats, this will be empty if the name of the group chat is unset." However, unless the thread is a group chat with a user set name, the field 'name' is an empty string, even if the thread is with a single individual.
I think you're confusing this with facebook-chat-api's getThreadList. fbchat doesn't have anything called getThreadList, and it definitely doesn't have callbacks
The call api.getThreadList(start, end, type, callback) claims to return an array with objects which contain field 'name,' which should be: "Name of the thread. Usually the name of the user. In group chats, this will be empty if the name of the group chat is unset." However, unless the thread is a group chat with a user set name, the field 'name' is an empty string, even if the thread is with a single individual.