Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Channel layoutType property is missing in the SDK #2586

Open
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assigned type:bugA broken experience

Description

Describe the bug

The property layoutType is missing for the graph.models.Channel-Object. Without it reading the actual value of a channel is hard. Patching the property can be done with some workarounds using additionalData (see below).

The object:
Image

A graph request:
https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}
Image

Expected behavior

The property should be present in the graph.models.Channel-Object. Also an enum for the two allowed values would be nice.

How to reproduce

Simply use some sdk version and try to read or patch the layoutType of a channel.

SDK Version

6.63

Latest version known to work for scenario above?

none I guess

Known Workarounds

For a patch you can use one of:

.getAdditionalData().put("layoutType", "post");
.getAdditionalData().put("layoutType", "chat");

I don't know if there is a workaround for reading.

Debug output

No response

Configuration

This should not impact the issue, since it is not present in the models of the java-SDK.

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assigned type:bugA broken experience

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /