SetChatMemberStatus constructor

const SetChatMemberStatus({
  1. required int chatId,
  2. required MessageSender memberId,
  3. required ChatMemberStatus status,
})

Changes the status of a chat member, needs appropriate privileges. This function is currently not suitable for transferring chat ownership; use transferChatOwnership instead. Use addChatMember or banChatMember if some additional parameters needs to be passed

Implementation

const SetChatMemberStatus({
  required this.chatId,
  required this.memberId,
  required this.status,
});