package mtproto

import (
	

	

	
)

func ( *Conn) ( int64,  *bin.Buffer) error {
	var  proto.MessageContainer
	if  := .Decode();  != nil {
		return errors.Wrap(, "container")
	}
	for ,  := range .Messages {
		if  := .processContainerMessage(, );  != nil {
			return 
		}
	}
	return nil
}

func ( *Conn) ( int64,  proto.Message) error {
	 := &bin.Buffer{Buf: .Body}
	return .handleMessage(, )
}