# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init


class MergeForwardMessageRequestBody(object):
    _types = {
        "receive_id": str,
        "message_id_list": List[str],
    }

    def __init__(self, d=None):
        self.receive_id: Optional[str] = None
        self.message_id_list: Optional[List[str]] = None
        init(self, d, self._types)

    @staticmethod
    def builder() -> "MergeForwardMessageRequestBodyBuilder":
        return MergeForwardMessageRequestBodyBuilder()


class MergeForwardMessageRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._merge_forward_message_request_body = MergeForwardMessageRequestBody()

    def receive_id(self, receive_id: str) -> "MergeForwardMessageRequestBodyBuilder":
        self._merge_forward_message_request_body.receive_id = receive_id
        return self

    def message_id_list(self, message_id_list: List[str]) -> "MergeForwardMessageRequestBodyBuilder":
        self._merge_forward_message_request_body.message_id_list = message_id_list
        return self

    def build(self) -> "MergeForwardMessageRequestBody":
        return self._merge_forward_message_request_body
