{"action":"created","issue":{"url":"https://api.github.com/repos/ChangeFinance/intercom_flutter/issues/2","repository_url":"https://api.github.com/repos/ChangeFinance/intercom_flutter","labels_url":"https://api.github.com/repos/ChangeFinance/intercom_flutter/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ChangeFinance/intercom_flutter/issues/2/comments","events_url":"https://api.github.com/repos/ChangeFinance/intercom_flutter/issues/2/events","html_url":"https://github.com/ChangeFinance/intercom_flutter/issues/2","id":366039459,"node_id":"MDU6SXNzdWUzNjYwMzk0NTk=","number":2,"title":"Not able to update custom attributes","user":{"login":"jakthegr8","id":164240,"node_id":"MDQ6VXNlcjE2NDI0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/164240?v=4","gravatar_id":"","url":"https://api.github.com/users/jakthegr8","html_url":"https://github.com/jakthegr8","followers_url":"https://api.github.com/users/jakthegr8/followers","following_url":"https://api.github.com/users/jakthegr8/following{/other_user}","gists_url":"https://api.github.com/users/jakthegr8/gists{/gist_id}","starred_url":"https://api.github.com/users/jakthegr8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakthegr8/subscriptions","organizations_url":"https://api.github.com/users/jakthegr8/orgs","repos_url":"https://api.github.com/users/jakthegr8/repos","events_url":"https://api.github.com/users/jakthegr8/events{/privacy}","received_events_url":"https://api.github.com/users/jakthegr8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-02T19:10:38Z","updated_at":"2018-10-02T19:16:27Z","closed_at":null,"author_association":"NONE","body":"```\r\n static Future<dynamic> updateUser(\r\n      {String email,\r\n      String name,\r\n      String phone,\r\n      String company,\r\n      String userId}) {\r\n    return _channel.invokeMethod('updateUser', {\r\n      'email': email,\r\n      'name': name,\r\n      'phone': phone,\r\n      'company': company,\r\n      'userId': userId\r\n    });\r\n```\r\nOnly the above attributes alone can be updated. Not able to update the custom attributes. How to update?\r\n"},"comment":{"url":"https://api.github.com/repos/ChangeFinance/intercom_flutter/issues/comments/426396896","html_url":"https://github.com/ChangeFinance/intercom_flutter/issues/2#issuecomment-426396896","issue_url":"https://api.github.com/repos/ChangeFinance/intercom_flutter/issues/2","id":426396896,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjM5Njg5Ng==","user":{"login":"jakthegr8","id":164240,"node_id":"MDQ6VXNlcjE2NDI0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/164240?v=4","gravatar_id":"","url":"https://api.github.com/users/jakthegr8","html_url":"https://github.com/jakthegr8","followers_url":"https://api.github.com/users/jakthegr8/followers","following_url":"https://api.github.com/users/jakthegr8/following{/other_user}","gists_url":"https://api.github.com/users/jakthegr8/gists{/gist_id}","starred_url":"https://api.github.com/users/jakthegr8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakthegr8/subscriptions","organizations_url":"https://api.github.com/users/jakthegr8/orgs","repos_url":"https://api.github.com/users/jakthegr8/repos","events_url":"https://api.github.com/users/jakthegr8/events{/privacy}","received_events_url":"https://api.github.com/users/jakthegr8/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T19:16:27Z","updated_at":"2018-10-02T19:16:27Z","author_association":"NONE","body":"```\r\nstatic Future<dynamic> updateUser(\r\n      {String email,\r\n      String name,\r\n      bool Agent,\r\n      Map customAttributes,\r\n      String phone,\r\n      String company,\r\n      String userId}) {\r\n    return _channel.invokeMethod('updateUser', {\r\n      'email': email,\r\n      'name': name,\r\n      'Agent': Agent,\r\n      'customAttributes': customAttributes,\r\n      'phone': phone,\r\n      'company': company,\r\n      'userId': userId\r\n    });\r\n  }\r\n```\r\n\r\nWill the above code work ?"}}
{"actor":{"display_login":"jakthegr8"}}