Commit Graph

30 Commits

Author SHA1 Message Date
Andrew Ferrazzutti a817049e12 Document that error responses can have a result object after all
Also document some custom result types
2022-05-06 02:50:55 -04:00
Andrew Ferrazzutti c3b299d26c Make LoginResult.lastChannelId optional
Needed for backfilling users who have not joined any channels
2022-05-06 02:48:58 -04:00
Andrew Ferrazzutti 1a7a11eaf3 Optional instead of | union 2022-04-28 03:45:56 -04:00
Andrew Ferrazzutti e952c05d35 Many fixes thanks to mypy
Also add some missing license headers
2022-04-28 03:26:08 -04:00
Andrew Ferrazzutti 2602e58734 Inbound file messages 2022-04-28 03:26:08 -04:00
Andrew Ferrazzutti fe6df88a4b Return IDs of bridged outgoing messages instead of the chats themselves
And set an optional property in AudioAttachment to be safe
2022-04-12 04:42:26 -04:00
Andrew Ferrazzutti 73f8792b75 Set history & join rules to match KakaoTalk behaviour 2022-04-12 04:42:26 -04:00
Andrew Ferrazzutti 164bb7ce10 Make emoticon alt-text property optional 2022-04-12 04:42:26 -04:00
Andrew Ferrazzutti 9a33f3dcf2 Use More/LessSettings instead of profile on login; add whoami command 2022-04-11 00:02:12 -04:00
Andrew Ferrazzutti 87b41fbdcc Make another missing inbound property optional 2022-04-10 04:57:50 -04:00
Andrew Ferrazzutti cf9fbc6d57 Make some more missing inbound properties optional 2022-04-08 05:05:39 -04:00
Andrew Ferrazzutti 84e6a5829d Outgoing mentions 2022-04-06 12:49:23 -04:00
Andrew Ferrazzutti 2b9c59a2af Outbound replies 2022-04-05 15:44:02 -04:00
Andrew Ferrazzutti ce5006269f Make some missing inbound properties optional 2022-04-05 02:12:51 -04:00
Andrew Ferrazzutti ada6a56135 Add missing __init__.py 2022-04-05 01:09:28 -04:00
Andrew Ferrazzutti c8803bc8cc Minor cleanups 2022-04-01 05:11:47 -04:00
Andrew Ferrazzutti 59ea91519a Split state into "logged in" and "connected"
Logged in = have (supposedly valid) session tokens
Connected = have an active TalkClient session
2022-04-01 05:11:46 -04:00
Andrew Ferrazzutti 48ff7b3ceb Inbound multiphoto, video, audio 2022-03-28 03:36:16 -04:00
Andrew Ferrazzutti 256c4d429a Inbound message attachments, starting with images 2022-03-24 22:09:38 -04:00
Andrew Ferrazzutti e099886eb1 Minor style changes 2022-03-23 03:15:02 -04:00
Andrew Ferrazzutti 2d9ae53d89 Add command for listing friends 2022-03-23 03:09:30 -04:00
Andrew Ferrazzutti ee3daab48d Rename some login data types & variables 2022-03-21 01:11:42 -04:00
Andrew Ferrazzutti 60c47e5a20 Improved syncing, cleanups 2022-03-18 03:52:55 -04:00
Andrew Ferrazzutti 491cdca7b6 Fix how DirectChat and MemoChat channels are handled 2022-03-13 00:30:29 -05:00
Andrew Ferrazzutti 4158788496 Clean up Long
Keep it as an int in Python, and do all fancy conversions in Node
2022-03-11 20:40:33 -05:00
Andrew Ferrazzutti 0c9550841c Puppets and backfilling 2022-03-09 02:29:43 -05:00
Andrew Ferrazzutti e28694c987 Remove union operator from more dataclass fields 2022-03-09 02:29:43 -05:00
Andrew Ferrazzutti db41292be7 Remove union operator for Python <3.10 compatibility 2022-02-26 04:06:26 -05:00
Andrew Ferrazzutti b1e922a0fd Fix NormalChannelData deserialization 2022-02-26 02:21:05 -05:00
Andrew Ferrazzutti b57c74eeb6 Initial commit 2022-02-25 02:22:50 -05:00