What are the rate limits for the get channel messages subscription?

Anonymous
2023-08-01T12:53:22.4633333+00:00

What are the rate limits for the /teams/{id}/channels/{id}/messages subscription? I'm using delegated permissions to create subscriptions for messages for teams channels, I see https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http the channel messages subscription is not explicitly mentioned as being metered. Is it metered? If so, does it support model B? If not, what are the rate limits here?

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

Microsoft Security | Microsoft Graph

2 answers

Sort by: Most helpful
  1. Prasad-MSFT 10,541 Reputation points Microsoft External Staff Moderator
    2023-10-31T17:25:48.94+00:00

    /teams/{id}/channels/{id}/messages isn't metered and thus does not support modelB.
    Rate limits for change notifications are the rates for the events coming in i.e., the number of messages coming to a channel.

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    Was this answer helpful?

    0 comments No comments

  2. msft-gu 1,360 Reputation points
    2023-08-01T17:50:44.6333333+00:00

    Hello Ankit,

    Good afternoon and thank you for your questions.

    About the specifics of the meter, you can refer to Payment models and licensing requirements for Microsoft teams APIs | Reference: https://learn.microsoft.com/en-us/graph/teams-licenses

    The article is helpful to know about the payment model and licensing requirements for the Teams APIs.

    Required license for model=A

    Reference: https://learn.microsoft.com/en-us/graph/teams-licenses#required-licenses-for-modela

    model=A

    API: chatMessage change notifications

    Who needs a license: Message sender

    Seeded capacity: 800 messages per user per month per app

    Notes: Seeded capacity is shared with conversationMember change notifications

    model=B

    API: chatMessage change notifications / chat change notifications

    Seeded capacity: None

    Price for use: $0.00075 per message

    For other information about the maximum subscription quotas, please refer to https://learn.microsoft.com/en-us/graph/api/resources/webhooks?view=graph-rest-1.0

    Resource: Teams chatMesasge

    Supported resource paths: Changes to chat messages in a specific channel: /teams/{id}/channels/{id}/messages

    Maximum subscription quotas:

    • Per app and channel or chat combination: 1 subscription.
    • Per user (for subscriptions tracking chat messages in all chats the user is part of): 10 subscriptions.
    • Per organization: 10,000 total subscriptions.

    If I answered your question, please upvote this and accept it as an answer. Have a great day ahead.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.