amsync/obj.py
async def msg(
            type:  int,
            msgs:  list[str],
            reply: Reply
        ) -> list[Dict[str, Any]]:
            """
            Creates the data for sending a message
            """

            return [
                {'type': type, 'content': i, 'replyMessageId': reply}
                if reply
                else {'type': type, 'content': i}
                for i in msgs
            ]

            Creates the data for sending a message
            
Creates the data for sending a message
Creates the data for sending a message
async def msg(
            type:  int,
            msgs:  list[str],
            reply: Reply
        ) -> list[Dict[str, Any]]:
            return [
                {'type': type, 'content': i, 'replyMessageId': reply}
                if reply
                else {'type': type, 'content': i}
                for i in msgs
            ]
async def msg ( type : int , msgs : list [ str ] , reply : Reply ) -> list [ Dict [ str , Any ] ] : return [ { 'type' : type , 'content' : i , 'replyMessageId' : reply } if reply else { 'type' : type , 'content' : i } for i in msgs ]
Creates the data for sending a message
Creates the data for sending a message
"""
            Creates the data for sending a message
            """
type
int
msgs
list[str]
reply
Reply