Results 30 comments of doodspav

If the bot has a way of interacting with staff as a whole: - have a hardcoded retry limit bigger than 1 that will be decremented every time deleting the...

check that the contentType of a message is 0; all the other message types have msg.text=None, and will give you an error.

did you ever work it out? because i still cant send images via path or url either

change url for sendImage to https://obs.line-apps.com/talk/m/upload.nhn

``` from linepy import * client = LINE() print(client.authToken) tracer = OEPoll(client) def NOTIFIED_READ_MESSAGE(op): try: gid = op.param1 mid = op.param2 name = client.getContact(mid).displayName client.sendMessage(to=gid, text=name) except Exception as e:...

@dnfatas single trace you have a single function for all op and you then do an if/else list or something like that `op.type == OpType.RECEIVE_MESSAGE` with groupbot you have a...

oh my bad, @Zero2627 its tracer.addOpInterruptWithDict (i missed out the WithDict)

Emulates desktop client. You can sniff using something like fiddler 4 or wireshark (i think). No idea what you mean by question 2. Afaik you dont need line carrier -...

line = LINE() group = line.getGroup(groupid) #groupid is msg.to as long as msg.toType ==2 midlist = [contact.mid for contact in group.members] #and if you want the midlist of invited people...