// OnMessage handle any message type (photo, text, sticker etc.)
OnMessage handle any message type (photo, text, sticker etc.)
// OnMessage handle any message type ( photo text sticker etc . )
func (s *Scene) OnMessage(ef EventFn, mw ...Middleware) {
	ef = applyMiddleware(ef, append(s.middlewares, mw...)...)
	s.events = append(s.events, func(ctx Context) bool {
		if ctx.Upd().Message == nil {
			return false
		}
		ef(ctx)
		return true
	})
}
func ( s * Scene ) OnMessage ( ef EventFn , mw ... Middleware ) { ef = applyMiddleware ( ef , append ( s . middlewares , mw ... ) ... ) s . events = append ( s . events , func ( ctx Context ) bool { if ctx . Upd ( ) . Message == nil { return false } ef ( ctx ) return true } ) }
OnMessage handle any message type (photo, text, sticker etc.)
OnMessage handle any message type ( photo text sticker etc . )