haskell-tdlib-2.1.23.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.CommunityMemberStatus

Synopsis

Documentation

data CommunityMemberStatus Source #

Provides information about the status of a member in a community

Constructors

CommunityMemberStatusCreator

The user is the owner of the community and has all the administrator privileges

CommunityMemberStatusAdministrator

The user is a member of the community and has some additional privileges

Fields

CommunityMemberStatusMember

The user is a member of the community, without any additional privileges or restrictions

CommunityMemberStatusLeft

The user or the chat is not a community member

CommunityMemberStatusBanned

The user or the chat was banned in the community; implies ban in all chats in the community