carpedm20 / LINE

May the LINE be with you...
http://carpedm20.github.io/line/
Other
823 stars 192 forks source link

A Few Little thing :: Operation #102

Closed ii64 closed 2 years ago

ii64 commented 7 years ago

This Issue i made bcz i still confusing to Use this Lib. First :

Thats I know. i want to ask how to:

Someone i need your help to find out that function reply this or : Contact LINE -> http://line.me/ti/p/0mYD1NdaOr Thanks

theawangatang commented 7 years ago

getting all group members. - check models.py Note: group members is list

getting latest message is not very necessary. to check for files create an if statement (if something in message.text)

sendImage - check models.py

invite contact to join group - check api.py its self._client.inviteIntoGroup(seq, id of group, target person)

kickout - see above but use kick in api.py

cancel works same way

change display name - reverse engineering curve python thrift files needed (very difficult)

use a loop or a ps1 in windows or crontab for unix based

ii64 commented 7 years ago

i cant find any curve python thrift files. it should be located on File "build\bdist.win32\egg\curve\CurveThrift.py"

i cant find CurveThrift.py file. is it packed on a file?

theawangatang commented 7 years ago

It's an import called Curve. It should be where all packages you pip install go. On Windows I found it in site-packages

ii64 commented 7 years ago

its on .egg file but yeah zip and extract solve this problem

anythingg commented 7 years ago

I dont know what you mean by see above for kickout in the api.py. I found the line that says _kickout in the api.py but that does not tell me the command to use kickout. Can someone please tell me the command to use kickout? Sorry, I'm new to python.

ii64 commented 7 years ago

client._kickoutFromGroup(group, [mid])

ii64 commented 2 years ago

It was fun guys, Thanks. Issue fixed.