Skip to content

Commit

Permalink
rref #5367
Browse files Browse the repository at this point in the history
rref #5366

ref #66
ref #65
  • Loading branch information
evrenesat committed Jul 21, 2016
1 parent bc58f05 commit 62faa27
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions zengine/messaging/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def show_channel(current, waited=False):
'is_online': bool,
'avatar_url': string,
}],
'name': string,
'last_messages': [MSG_DICT]
'status': 'OK',
'code': 200
Expand Down Expand Up @@ -292,6 +293,15 @@ def create_channel(current):
# response:
{
'description': string,
'name': string,
'no_of_members': int,
'member_list': [
{'name': string,
'is_online': bool,
'avatar_url': string,
}],
'last_messages': [MSG_DICT]
'status': 'Created',
'code': 201,
'channel_key': key, # of just created channel
Expand Down Expand Up @@ -479,6 +489,14 @@ def create_direct_channel(current):
# response:
{
'description': string,
'no_of_members': int,
'member_list': [
{'name': string,
'is_online': bool,
'avatar_url': string,
}],
'last_messages': [MSG_DICT]
'status': 'Created',
'code': 201,
'channel_key': key, # of just created channel
Expand Down

0 comments on commit 62faa27

Please sign in to comment.