I am trying to use trigger when message us added to a chat or channel, encountering to issues,
a) how do i figure out if the message posted is by a bot or a genuine user
b) if message is a reply or a new message.
for a) i am using condition application id is equal to null, so that if it is null that means its not a bot/application but a user
for b) i tried replytoid but in that case, even if i put the message right after my previous message , it considers it as a replytoid and then goes to reply to branch.
”the whole flow should be something like below,
if the user post a message in a teams group chat than post the same message to a teams channel, also if it is a reply to a message than give what the user has replied to , with the replied message.