Commit Graph

110 Commits

Author SHA1 Message Date
Sam 6f53d9c8c6 Catch errors from api-listen
When the `keybase chat api-listen` command returns a message with
an error, the format of the error json is unlike most (or all?)
other errors they return. This commit adds the `ErrorListen` field
to ChatAPI to catch those errors.
2019-12-20 08:29:02 -05:00
Sam c4525fe850 add UserCard() 2019-12-03 16:49:55 -05:00
Sam a37a0609eb add ListUserMemberships() 2019-11-30 19:04:07 -05:00
Sam 3e22b70efa Minor docs formatting update 2019-11-27 15:42:09 -05:00
Sam 4b1fcae196 Add devices field to UserLookup 2019-11-27 15:35:40 -05:00
Sam c2f6e6954d Add UserLookup() 2019-11-27 15:10:17 -05:00
Sam b247e10f1b Add additional fields to advertisemend methods 2019-11-04 08:19:19 -05:00
Sam 7263387124 Add AdvertiseCommand example to docs 2019-11-03 23:51:33 -05:00
Sam bab44f8b9e Add inputs to ChatList() method on keybase interface 2019-11-03 23:27:09 -05:00
Sam 2e7df5deef Add bot advertisement methods 2019-11-03 23:24:46 -05:00
Sam 972d197182 Add support for receiving chat replies 2019-10-31 10:37:37 -04:00
Sam b00e56e8dd Create new jsonData var with every new message instead of reusing the same var. This fixes the bug where IsEphemeral is true for every message after one ephemeral message is received, and probably countless other unknown bugs. 2019-10-22 23:44:10 -04:00
rudi d6fe3a07cd Add Attachment and Object to types.go 2019-10-21 08:27:12 -04:00
Sam e51bcca5ba Attempt to make the getID func more 32-bit friendly 2019-10-17 21:47:43 -04:00
Sam a9e004c8b3 Consolidate different member-type structs into one member struct 2019-10-15 23:41:51 -04:00
Sam 4ccaf4c45a Add Reply() 2019-10-09 21:41:46 -04:00
Sam 09d99c227f Add ReadMessage() 2019-10-04 12:40:12 -04:00
Sam 384478af39 Update ChatList() to allow for more filtering 2019-10-01 22:10:53 -04:00
Sam e4cdbc50c9 Allow TopicType to be specified when calling ChatList 2019-09-28 23:21:42 -04:00
Sam 74a93b765c Consolidate the various functions that call keybase status so it only gets called once 2019-09-27 22:40:38 -04:00
Sam fc05a8d710 Add device name to Keybase 2019-09-27 22:20:45 -04:00
Sam 9c4b5cf202 Move appropriate methods to wallet interface 2019-09-23 00:59:44 -04:00
Sam d2bdf62100 Add NewWallet method to keybase interface in types.go 2019-09-23 00:57:12 -04:00
Sam e64220b071 Add Send and SendXLM methods to wallet interface 2019-09-23 00:47:43 -04:00
Sam d04c10ae70 Add NewWallet() method 2019-09-23 00:47:14 -04:00
Sam f3a507b8a8 Add wallet interface and type 2019-09-23 00:46:24 -04:00
Sam e829386733 Added RequestPayment info 2019-09-22 01:26:35 -04:00
Sam e3bf9364b8 Add CancelRequest to keybase 2019-09-22 01:18:21 -04:00
Sam 3b0984102c Add Mark method to Chat 2019-09-21 22:30:16 -04:00
Sam 9dbf3b1664 Add Pin and Unpin methods to Chat 2019-09-21 11:20:56 -04:00
Sam 798f98f679 Add additional information and an example to the docs 2019-09-18 00:58:32 -04:00
Sam fd0188ce3d Add doc strings to Upload, Download, and LoadFlip 2019-09-18 00:13:30 -04:00
Sam 1739a81176 Update version() to use new Exec() command 2019-09-17 23:41:35 -04:00
Sam 30f10d40e1 Update loggedIn() to use new Exec() command 2019-09-17 23:40:36 -04:00
Sam 97cda8c249 Update username() to use new Exec() command 2019-09-17 23:39:51 -04:00
Sam 500a965df2 Increase default channel capacity to 100, and allow it to be set in RunOptions 2019-09-17 22:37:13 -04:00
Sam a11d16faa0 Add RequestPayment to wallet api 2019-09-13 17:08:03 -04:00
Sam c624a0d0f8 Update wallet api to use new Exec() command 2019-09-13 17:01:33 -04:00
Sam 05b6b83d3c Update team api to use new Exec() command 2019-09-13 16:56:16 -04:00
Sam d01fa2a0fb Update chat api to use new Exec() command 2019-09-13 16:55:19 -04:00
Sam da497dd04a Add Exec() 2019-09-13 16:53:08 -04:00
Sam d962600f9c Make flipStatus.ResultInfo and flipStatus.ErrorInfo pointers to easily check if they're nil 2019-09-11 17:41:12 -04:00
Sam e22b187730 First attempt to add LoadFlip() 2019-09-10 17:53:02 -04:00
Sam d99546ae79 Add upload and download methods to chat 2019-09-07 10:06:50 -04:00
Sam ca4ea152e9 Add better error handling 2019-08-10 11:31:00 -04:00
Sam 86cde9fc83 Add better error handling to wallet api 2019-08-10 10:36:06 -04:00
Sam 597feee008 Add RemoveUser() 2019-08-01 17:00:48 -04:00
Sam c468039d94 Add functions for adding groups of Admins, Owners, Readers, and Writers to teams 2019-07-30 17:36:55 -04:00
Sam 881d8cbde1 Add error type to API types 2019-07-30 17:33:28 -04:00
Sam bbe5e9b8a5 Add MemberList() for teams, and make AddUser() return output from MemberList() 2019-07-30 16:39:39 -04:00