Skip to main content

MutationCreateChatMembershipInput

input MutationCreateChatMembershipInput {
chatId: ID!
memberId: ID!
role: ChatMembershipRole
}

Fields​

MutationCreateChatMembershipInput.chatId ● ID! non-null scalar​

Global identifier of the associated chat.

MutationCreateChatMembershipInput.memberId ● ID! non-null scalar​

Global identifier of the associated user.

MutationCreateChatMembershipInput.role ● ChatMembershipRole enum​

Role assigned to the user within the chat.

Member Of​

createChatMembership mutation