add send method id into callback function
Merge pull request #2 from AlexMcArrow/master

add send method id into callback function