Auto receive events from event hub when there is an event in nest js application? - events

I have a nest js application which will send an event when there is an when record is added or updated .
How to receive automatically in my nest js application when any event is generated.
I tried with API call to receive events but it should be like publish and subscribe.
How to do that.please help me

Related

Is there way to trigger events when a custom emoji is used in Slack API?

I'm looking to build a slack app and I like to find a trigger that listens to a custom emoji. for example, when I mention coffee emoji
"here's my treat ☕️ #jon_doe"
it fires event and do something in the backend
looks like there's app_mention event that fires when #bot is mentioned, but I like my custom emoji :custom_coffee to be tracked.
There isn't a specific event type that fires when someone uses a custom emoji. The reaction_added event type would send an event payload to your app whenever a user reacts to a message with an emoji. You would then have to filter for the custom emoji of your choice. You could also have your app subscribe to the message event type. This event type would fire whenever someone sends a message in a channel your bot is in. You would then have to include logic that looks for the specific custom emoji.

MS Teams call event

we have a windows form made using VB.net
Is there an API we can use, so that when a call is received in Teams an event is triggered?
And in the event it can determine the caller number?
And is there an event for when the call is finished, which can determine how long the call lasted?
Thanks
There is no direct way that you can handle the call triggered event at your custom application but you can get the call related details using Graph API: Reference doc https://learn.microsoft.com/en-us/graph/api/callrecords-callrecord-get?view=graph-rest-1.0&tabs=http
In order to get the Id which getting use to fetch callRecords you need to Create subscription to get call notifications.
Create subscription- Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph.

How to receive a pulse in Javascript Sinch SDK call to PSTN

I can see in the JS reference how to send a dial tone, but how can I process an incoming one in the JS SDK?
In other words, I need the call receiver to be able to press a number in their phone to acknowledge something and trigger an action in JS
DTMF is not for the other end JS client to recieve, its for the rest api to react on, think IVR etc
See #Redaniums (https://stackoverflow.com/users/3339316/redanium) comment above https://www.sinch.com/docs/voice/rest/#PIE

implement notification dropdown for inbox messages using reactjs

I need to imeplement notification badge in navbar similar to stackoverflow where it shows the number if you get any notificaiton.
Similar to this i need to display number as soon as the task progress which initiated from the web app has completed. For this iam using java spring for backend service.
Do I need to call the API frequently to verify the status or is there any better way to implement sth like the socket with spring.
Thanks

want to implement Outlook REST API for WebAPI (stateless). to get all events and sync my app events in to Outlook calender

Platform : WebAPI (StateLess). there is no webpage/HTML page on my app.
Get all events
add events from My DB (my application database)
Take a look at graph.microsoft.io at the events API - http://graph.microsoft.io/docs/api-reference/v1.0/resources/calendar. You can get events from graph.microsoft.com/v1.0/me/events or graph.microsoft.com/v1.0/me/calendarview (for a specific timeframe). You can create new events by POST to graph.microsoft.com/v1.0/me/events.

Resources