Skip to content

Instantly share code, notes, and snippets.

@tomo0611
Last active January 15, 2018 08:41
Show Gist options
  • Save tomo0611/221a296f1701b867e22bcfa41d93fb4e to your computer and use it in GitHub Desktop.
Save tomo0611/221a296f1701b867e22bcfa41d93fb4e to your computer and use it in GitHub Desktop.
Line API

Contact( videoProfile=None, capableBuddy=False, favoriteTime=0, createdTime=1505625422337, capableVideoCall=False, capableMyhome=False, displayNameOverridden=None, relation=0, capableVoiceCall=False, settings=0, displayName='', thumbnailUrl=None, pictureStatus='', type=5, attributes=0, picturePath='', friendRequestStatus=0, mid='', recommendParams=None, musicProfile=None, phoneticName=None, statusMessage='', status=1 )

Group( preventedJoinByTicket=False, //QR or URL招待可能 invitee=None, id='', createdTime=1514479785372, groupPreference=GroupPreference(invitationTicket=None, favoriteTimestamp=None), notificationDisabled=False, name='', members=[Contact(),Contect()] pictureStatus='', creator=Contact() )

Operation( param1='0', checksum=None, param2=None, status=None, param3=None, message=Message( contentMetadata={}, messageRelationType=None, hasContent=False, toType=2, text='てすと', _f='uid', to='to', relatedMessageId=None, createdTime=unixtime?, id='7313365611099', relatedMessageServiceCode=None, deliveredTime=0, chunks=None, contentPreview=None, contentType=0, readCount=None, sessionId=0, location=None ), createdTime=unixtime?, reqSeq=0, revision=1534199, type=26 )

Operation( revision=1534265, type=55, status=None, checksum=None, createdTime=1516005554702, param1='uid', message=None, param3='7313502846137', reqSeq=0, param2='uid' )

Profile( phone=None, picturePath='', musicProfile=None, statusMessage='', allowSearchByUserid=True, regionCode='US', allowSearchByEmail=True, email=None, phoneticName=None, displayName='', pictureStatus='', userid=None, mid='', thumbnailUrl=None )

Settings( notificationSoundGroup=None, privacySearchByEmail=False, identityIdentifier=None, phoneRegistration=False, notificationGroupInvitation=True, notificationDisabledWithSub=True, privacySyncContacts=False, identityProvider=None, emailConfirmationStatus=0, notificationIncomingCall=True, snsAccounts={1: '114785332599363'}, contactMyTicket='', privacySearchByUserid=True, notificationShowMessage=True, notificationMuteExpiration=-1, privacySearchByPhoneNumber=False, notificationNewMessage=True, notificationEnable=True, notificationSoundMessage=None, customModes={}, preferenceLocale='en', privacyReceiveMessagesFromNotFriend=True, privacyProfileImagePostToMyhome=True, privacyAllowSecondaryDeviceLogin=True )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment