content['m.relates_to'] = {
In the mentioned line there is the possiblity to send a text message as reply to a previous message (event).
I would appreciate the feature be able to use the thread feature of matrix.
I would like to pass "rel_type": "m.thread" somehow, to specify the relation type.
Currently I am not sure whether loading another parameter on to the method
async def send_text_message(self, room_id: str, message: str, msgtype: str = "m.text", reply_to: str = ""):
The parameter would also be disabled by default e.g. reply_in_thread=False. I don't know if this is advisable or whether there should be a new method to reply, where thread would be a option like I just mentioned.
I look forward to any input, and would also try to implement it, if the feature is needed.
https://codeberg.org/imbev/simplematrixbotlib/src/commit/607963778a4d77f6a407b725f28e4d9265d7a090/simplematrixbotlib/api.py#L273
In the mentioned line there is the possiblity to send a text message as reply to a previous message (event).
I would appreciate the feature be able to use the thread feature of matrix.
I would like to pass `"rel_type": "m.thread"` somehow, to specify the relation type.
Currently I am not sure whether loading another parameter on to the method
`async def send_text_message(self, room_id: str, message: str, msgtype: str = "m.text", reply_to: str = ""):`
The parameter would also be disabled by default e.g. `reply_in_thread=False`. I don't know if this is advisable or whether there should be a new method to reply, where thread would be a option like I just mentioned.
I look forward to any input, and would also try to implement it, if the feature is needed.